1 diff -urN atm.old/aclocal.m4 atm.dev/aclocal.m4
2 --- atm.old/aclocal.m4 2007-10-20 16:57:33.418005734 +0200
3 +++ atm.dev/aclocal.m4 2007-10-20 16:58:38.609720794 +0200
5 -dnl aclocal.m4 generated automatically by aclocal 1.4-p6
6 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8 -dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
9 -dnl This file is free software; the Free Software Foundation
10 -dnl gives unlimited permission to copy and/or distribute it,
11 -dnl with or without modifications, as long as this notice is preserved.
13 -dnl This program is distributed in the hope that it will be useful,
14 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
15 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16 -dnl PARTICULAR PURPOSE.
18 -# lib-prefix.m4 serial 4 (gettext-0.14.2)
19 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
20 -dnl This file is free software; the Free Software Foundation
21 -dnl gives unlimited permission to copy and/or distribute it,
22 -dnl with or without modifications, as long as this notice is preserved.
24 -dnl From Bruno Haible.
26 -dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
27 -dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
28 -dnl require excessive bracketing.
29 -ifdef([AC_HELP_STRING],
30 -[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
31 -[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
33 -dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
34 -dnl to access previously installed libraries. The basic assumption is that
35 -dnl a user will want packages to use other packages he previously installed
36 -dnl with the same --prefix option.
37 -dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
38 -dnl libraries, but is otherwise very convenient.
39 -AC_DEFUN([AC_LIB_PREFIX],
41 - AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
42 - AC_REQUIRE([AC_PROG_CC])
43 - AC_REQUIRE([AC_CANONICAL_HOST])
44 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
45 - dnl By default, look in $includedir and $libdir.
47 - AC_LIB_WITH_FINAL_PREFIX([
48 - eval additional_includedir=\"$includedir\"
49 - eval additional_libdir=\"$libdir\"
51 - AC_LIB_ARG_WITH([lib-prefix],
52 -[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
53 - --without-lib-prefix don't search for libraries in includedir and libdir],
55 - if test "X$withval" = "Xno"; then
58 - if test "X$withval" = "X"; then
59 - AC_LIB_WITH_FINAL_PREFIX([
60 - eval additional_includedir=\"$includedir\"
61 - eval additional_libdir=\"$libdir\"
64 - additional_includedir="$withval/include"
65 - additional_libdir="$withval/lib"
69 - if test $use_additional = yes; then
70 - dnl Potentially add $additional_includedir to $CPPFLAGS.
71 - dnl But don't add it
72 - dnl 1. if it's the standard /usr/include,
73 - dnl 2. if it's already present in $CPPFLAGS,
74 - dnl 3. if it's /usr/local/include and we are using GCC on Linux,
75 - dnl 4. if it doesn't exist as a directory.
76 - if test "X$additional_includedir" != "X/usr/include"; then
78 - for x in $CPPFLAGS; do
79 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
80 - if test "X$x" = "X-I$additional_includedir"; then
85 - if test -z "$haveit"; then
86 - if test "X$additional_includedir" = "X/usr/local/include"; then
87 - if test -n "$GCC"; then
89 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
93 - if test -z "$haveit"; then
94 - if test -d "$additional_includedir"; then
95 - dnl Really add $additional_includedir to $CPPFLAGS.
96 - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
101 - dnl Potentially add $additional_libdir to $LDFLAGS.
102 - dnl But don't add it
103 - dnl 1. if it's the standard /usr/lib,
104 - dnl 2. if it's already present in $LDFLAGS,
105 - dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
106 - dnl 4. if it doesn't exist as a directory.
107 - if test "X$additional_libdir" != "X/usr/lib"; then
109 - for x in $LDFLAGS; do
110 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
111 - if test "X$x" = "X-L$additional_libdir"; then
116 - if test -z "$haveit"; then
117 - if test "X$additional_libdir" = "X/usr/local/lib"; then
118 - if test -n "$GCC"; then
120 - linux*) haveit=yes;;
124 - if test -z "$haveit"; then
125 - if test -d "$additional_libdir"; then
126 - dnl Really add $additional_libdir to $LDFLAGS.
127 - LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
135 -dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
136 -dnl acl_final_exec_prefix, containing the values to which $prefix and
137 -dnl $exec_prefix will expand at the end of the configure script.
138 -AC_DEFUN([AC_LIB_PREPARE_PREFIX],
140 - dnl Unfortunately, prefix and exec_prefix get only finally determined
141 - dnl at the end of configure.
142 - if test "X$prefix" = "XNONE"; then
143 - acl_final_prefix="$ac_default_prefix"
145 - acl_final_prefix="$prefix"
147 - if test "X$exec_prefix" = "XNONE"; then
148 - acl_final_exec_prefix='${prefix}'
150 - acl_final_exec_prefix="$exec_prefix"
152 - acl_save_prefix="$prefix"
153 - prefix="$acl_final_prefix"
154 - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
155 - prefix="$acl_save_prefix"
158 -dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
159 -dnl variables prefix and exec_prefix bound to the values they will have
160 -dnl at the end of the configure script.
161 -AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
163 - acl_save_prefix="$prefix"
164 - prefix="$acl_final_prefix"
165 - acl_save_exec_prefix="$exec_prefix"
166 - exec_prefix="$acl_final_exec_prefix"
168 - exec_prefix="$acl_save_exec_prefix"
169 - prefix="$acl_save_prefix"
172 -# lib-link.m4 serial 6 (gettext-0.14.3)
173 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
174 -dnl This file is free software; the Free Software Foundation
175 -dnl gives unlimited permission to copy and/or distribute it,
176 -dnl with or without modifications, as long as this notice is preserved.
178 -dnl From Bruno Haible.
182 -dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
183 -dnl the libraries corresponding to explicit and implicit dependencies.
184 -dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
185 -dnl augments the CPPFLAGS variable.
186 -AC_DEFUN([AC_LIB_LINKFLAGS],
188 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
189 - AC_REQUIRE([AC_LIB_RPATH])
190 - define([Name],[translit([$1],[./-], [___])])
191 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
192 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
193 - AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
194 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
195 - ac_cv_lib[]Name[]_libs="$LIB[]NAME"
196 - ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
197 - ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
199 - LIB[]NAME="$ac_cv_lib[]Name[]_libs"
200 - LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
201 - INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
202 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
203 - AC_SUBST([LIB]NAME)
204 - AC_SUBST([LTLIB]NAME)
205 - dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
206 - dnl results of this search when this library appears as a dependency.
212 -dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
213 -dnl searches for libname and the libraries corresponding to explicit and
214 -dnl implicit dependencies, together with the specified include files and
215 -dnl the ability to compile and link the specified testcode. If found, it
216 -dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
217 -dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
218 -dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
219 -dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
220 -AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
222 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
223 - AC_REQUIRE([AC_LIB_RPATH])
224 - define([Name],[translit([$1],[./-], [___])])
225 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
226 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
228 - dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
230 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
232 - dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
233 - dnl because if the user has installed lib[]Name and not disabled its use
234 - dnl via --without-lib[]Name-prefix, he wants to use it.
235 - ac_save_CPPFLAGS="$CPPFLAGS"
236 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
238 - AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
239 - ac_save_LIBS="$LIBS"
240 - LIBS="$LIBS $LIB[]NAME"
241 - AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
242 - LIBS="$ac_save_LIBS"
244 - if test "$ac_cv_lib[]Name" = yes; then
246 - AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
247 - AC_MSG_CHECKING([how to link with lib[]$1])
248 - AC_MSG_RESULT([$LIB[]NAME])
251 - dnl If $LIB[]NAME didn't lead to a usable library, we don't need
252 - dnl $INC[]NAME either.
253 - CPPFLAGS="$ac_save_CPPFLAGS"
257 - AC_SUBST([HAVE_LIB]NAME)
258 - AC_SUBST([LIB]NAME)
259 - AC_SUBST([LTLIB]NAME)
264 -dnl Determine the platform dependent parameters needed to use rpath:
265 -dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
266 -dnl hardcode_direct, hardcode_minus_L.
267 -AC_DEFUN([AC_LIB_RPATH],
269 - dnl Tell automake >= 1.10 to complain if config.rpath is missing.
270 - m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
271 - AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
272 - AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
273 - AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
274 - AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
275 - AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
276 - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
277 - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
279 - rm -f ./conftest.sh
283 - libext="$acl_cv_libext"
284 - shlibext="$acl_cv_shlibext"
285 - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
286 - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
287 - hardcode_direct="$acl_cv_hardcode_direct"
288 - hardcode_minus_L="$acl_cv_hardcode_minus_L"
289 - dnl Determine whether the user wants rpath handling at all.
290 - AC_ARG_ENABLE(rpath,
291 - [ --disable-rpath do not hardcode runtime library paths],
292 - :, enable_rpath=yes)
295 -dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
296 -dnl the libraries corresponding to explicit and implicit dependencies.
297 -dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
298 -AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
300 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
301 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
302 - dnl By default, look in $includedir and $libdir.
304 - AC_LIB_WITH_FINAL_PREFIX([
305 - eval additional_includedir=\"$includedir\"
306 - eval additional_libdir=\"$libdir\"
308 - AC_LIB_ARG_WITH([lib$1-prefix],
309 -[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
310 - --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
312 - if test "X$withval" = "Xno"; then
315 - if test "X$withval" = "X"; then
316 - AC_LIB_WITH_FINAL_PREFIX([
317 - eval additional_includedir=\"$includedir\"
318 - eval additional_libdir=\"$libdir\"
321 - additional_includedir="$withval/include"
322 - additional_libdir="$withval/lib"
326 - dnl Search the library and its dependencies in $additional_libdir and
327 - dnl $LDFLAGS. Using breadth-first-seach.
333 - names_already_handled=
334 - names_next_round='$1 $2'
335 - while test -n "$names_next_round"; do
336 - names_this_round="$names_next_round"
338 - for name in $names_this_round; do
340 - for n in $names_already_handled; do
341 - if test "$n" = "$name"; then
342 - already_handled=yes
346 - if test -z "$already_handled"; then
347 - names_already_handled="$names_already_handled $name"
348 - dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
349 - dnl or AC_LIB_HAVE_LINKFLAGS call.
350 - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
351 - eval value=\"\$HAVE_LIB$uppername\"
352 - if test -n "$value"; then
353 - if test "$value" = yes; then
354 - eval value=\"\$LIB$uppername\"
355 - test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
356 - eval value=\"\$LTLIB$uppername\"
357 - test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
359 - dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
360 - dnl that this library doesn't exist. So just drop it.
364 - dnl Search the library lib$name in $additional_libdir and $LDFLAGS
365 - dnl and the already constructed $LIBNAME/$LTLIBNAME.
370 - if test $use_additional = yes; then
371 - if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
372 - found_dir="$additional_libdir"
373 - found_so="$additional_libdir/lib$name.$shlibext"
374 - if test -f "$additional_libdir/lib$name.la"; then
375 - found_la="$additional_libdir/lib$name.la"
378 - if test -f "$additional_libdir/lib$name.$libext"; then
379 - found_dir="$additional_libdir"
380 - found_a="$additional_libdir/lib$name.$libext"
381 - if test -f "$additional_libdir/lib$name.la"; then
382 - found_la="$additional_libdir/lib$name.la"
387 - if test "X$found_dir" = "X"; then
388 - for x in $LDFLAGS $LTLIB[]NAME; do
389 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
392 - dir=`echo "X$x" | sed -e 's/^X-L//'`
393 - if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
395 - found_so="$dir/lib$name.$shlibext"
396 - if test -f "$dir/lib$name.la"; then
397 - found_la="$dir/lib$name.la"
400 - if test -f "$dir/lib$name.$libext"; then
402 - found_a="$dir/lib$name.$libext"
403 - if test -f "$dir/lib$name.la"; then
404 - found_la="$dir/lib$name.la"
410 - if test "X$found_dir" != "X"; then
415 - if test "X$found_dir" != "X"; then
416 - dnl Found the library.
417 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
418 - if test "X$found_so" != "X"; then
419 - dnl Linking with a shared library. We attempt to hardcode its
420 - dnl directory into the executable's runpath, unless it's the
421 - dnl standard /usr/lib.
422 - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
423 - dnl No hardcoding is needed.
424 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
426 - dnl Use an explicit option to hardcode DIR into the resulting
428 - dnl Potentially add DIR to ltrpathdirs.
429 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
431 - for x in $ltrpathdirs; do
432 - if test "X$x" = "X$found_dir"; then
437 - if test -z "$haveit"; then
438 - ltrpathdirs="$ltrpathdirs $found_dir"
440 - dnl The hardcoding into $LIBNAME is system dependent.
441 - if test "$hardcode_direct" = yes; then
442 - dnl Using DIR/libNAME.so during linking hardcodes DIR into the
443 - dnl resulting binary.
444 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
446 - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
447 - dnl Use an explicit option to hardcode DIR into the resulting
449 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
450 - dnl Potentially add DIR to rpathdirs.
451 - dnl The rpathdirs will be appended to $LIBNAME at the end.
453 - for x in $rpathdirs; do
454 - if test "X$x" = "X$found_dir"; then
459 - if test -z "$haveit"; then
460 - rpathdirs="$rpathdirs $found_dir"
463 - dnl Rely on "-L$found_dir".
464 - dnl But don't add it if it's already contained in the LDFLAGS
465 - dnl or the already constructed $LIBNAME
467 - for x in $LDFLAGS $LIB[]NAME; do
468 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
469 - if test "X$x" = "X-L$found_dir"; then
474 - if test -z "$haveit"; then
475 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
477 - if test "$hardcode_minus_L" != no; then
478 - dnl FIXME: Not sure whether we should use
479 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
481 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
483 - dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
484 - dnl here, because this doesn't fit in flags passed to the
485 - dnl compiler. So give up. No hardcoding. This affects only
486 - dnl very old systems.
487 - dnl FIXME: Not sure whether we should use
488 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
490 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
496 - if test "X$found_a" != "X"; then
497 - dnl Linking with a static library.
498 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
500 - dnl We shouldn't come here, but anyway it's good to have a
502 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
505 - dnl Assume the include files are nearby.
506 - additional_includedir=
507 - case "$found_dir" in
509 - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
510 - additional_includedir="$basedir/include"
513 - if test "X$additional_includedir" != "X"; then
514 - dnl Potentially add $additional_includedir to $INCNAME.
515 - dnl But don't add it
516 - dnl 1. if it's the standard /usr/include,
517 - dnl 2. if it's /usr/local/include and we are using GCC on Linux,
518 - dnl 3. if it's already present in $CPPFLAGS or the already
519 - dnl constructed $INCNAME,
520 - dnl 4. if it doesn't exist as a directory.
521 - if test "X$additional_includedir" != "X/usr/include"; then
523 - if test "X$additional_includedir" = "X/usr/local/include"; then
524 - if test -n "$GCC"; then
526 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
530 - if test -z "$haveit"; then
531 - for x in $CPPFLAGS $INC[]NAME; do
532 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
533 - if test "X$x" = "X-I$additional_includedir"; then
538 - if test -z "$haveit"; then
539 - if test -d "$additional_includedir"; then
540 - dnl Really add $additional_includedir to $INCNAME.
541 - INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
547 - dnl Look for dependencies.
548 - if test -n "$found_la"; then
549 - dnl Read the .la file. It defines the variables
550 - dnl dlname, library_names, old_library, dependency_libs, current,
551 - dnl age, revision, installed, dlopen, dlpreopen, libdir.
552 - save_libdir="$libdir"
553 - case "$found_la" in
554 - */* | *\\*) . "$found_la" ;;
555 - *) . "./$found_la" ;;
557 - libdir="$save_libdir"
558 - dnl We use only dependency_libs.
559 - for dep in $dependency_libs; do
562 - additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
563 - dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
564 - dnl But don't add it
565 - dnl 1. if it's the standard /usr/lib,
566 - dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
567 - dnl 3. if it's already present in $LDFLAGS or the already
568 - dnl constructed $LIBNAME,
569 - dnl 4. if it doesn't exist as a directory.
570 - if test "X$additional_libdir" != "X/usr/lib"; then
572 - if test "X$additional_libdir" = "X/usr/local/lib"; then
573 - if test -n "$GCC"; then
575 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
579 - if test -z "$haveit"; then
581 - for x in $LDFLAGS $LIB[]NAME; do
582 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
583 - if test "X$x" = "X-L$additional_libdir"; then
588 - if test -z "$haveit"; then
589 - if test -d "$additional_libdir"; then
590 - dnl Really add $additional_libdir to $LIBNAME.
591 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
595 - for x in $LDFLAGS $LTLIB[]NAME; do
596 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
597 - if test "X$x" = "X-L$additional_libdir"; then
602 - if test -z "$haveit"; then
603 - if test -d "$additional_libdir"; then
604 - dnl Really add $additional_libdir to $LTLIBNAME.
605 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
612 - dir=`echo "X$dep" | sed -e 's/^X-R//'`
613 - if test "$enable_rpath" != no; then
614 - dnl Potentially add DIR to rpathdirs.
615 - dnl The rpathdirs will be appended to $LIBNAME at the end.
617 - for x in $rpathdirs; do
618 - if test "X$x" = "X$dir"; then
623 - if test -z "$haveit"; then
624 - rpathdirs="$rpathdirs $dir"
626 - dnl Potentially add DIR to ltrpathdirs.
627 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
629 - for x in $ltrpathdirs; do
630 - if test "X$x" = "X$dir"; then
635 - if test -z "$haveit"; then
636 - ltrpathdirs="$ltrpathdirs $dir"
641 - dnl Handle this in the next round.
642 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
645 - dnl Handle this in the next round. Throw away the .la's
646 - dnl directory; it is already contained in a preceding -L
648 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
651 - dnl Most likely an immediate library name.
652 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
653 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
659 - dnl Didn't find the library; assume it is in the system directories
660 - dnl known to the linker and runtime loader. (All the system
661 - dnl directories known to the linker should also be known to the
662 - dnl runtime loader, otherwise the system is severely misconfigured.)
663 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
664 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
670 - if test "X$rpathdirs" != "X"; then
671 - if test -n "$hardcode_libdir_separator"; then
672 - dnl Weird platform: only the last -rpath option counts, the user must
673 - dnl pass all path elements in one option. We can arrange that for a
674 - dnl single library, but not when more than one $LIBNAMEs are used.
676 - for found_dir in $rpathdirs; do
677 - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
679 - dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
680 - acl_save_libdir="$libdir"
682 - eval flag=\"$hardcode_libdir_flag_spec\"
683 - libdir="$acl_save_libdir"
684 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
686 - dnl The -rpath options are cumulative.
687 - for found_dir in $rpathdirs; do
688 - acl_save_libdir="$libdir"
689 - libdir="$found_dir"
690 - eval flag=\"$hardcode_libdir_flag_spec\"
691 - libdir="$acl_save_libdir"
692 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
696 - if test "X$ltrpathdirs" != "X"; then
697 - dnl When using libtool, the option that works for both libraries and
698 - dnl executables is -R. The -R options are cumulative.
699 - for found_dir in $ltrpathdirs; do
700 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
705 -dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
706 -dnl unless already present in VAR.
707 -dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
708 -dnl contains two or three consecutive elements that belong together.
709 -AC_DEFUN([AC_LIB_APPENDTOVAR],
711 - for element in [$2]; do
714 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
715 - if test "X$x" = "X$element"; then
720 - if test -z "$haveit"; then
721 - [$1]="${[$1]}${[$1]:+ }$element"
726 -# lib-ld.m4 serial 3 (gettext-0.13)
727 -dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
728 -dnl This file is free software; the Free Software Foundation
729 -dnl gives unlimited permission to copy and/or distribute it,
730 -dnl with or without modifications, as long as this notice is preserved.
732 -dnl Subroutines of libtool.m4,
733 -dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
734 -dnl with libtool.m4.
736 -dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
737 -AC_DEFUN([AC_LIB_PROG_LD_GNU],
738 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
739 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
740 -case `$LD -v 2>&1 </dev/null` in
741 -*GNU* | *'with BFD'*)
742 - acl_cv_prog_gnu_ld=yes ;;
744 - acl_cv_prog_gnu_ld=no ;;
746 -with_gnu_ld=$acl_cv_prog_gnu_ld
749 -dnl From libtool-1.4. Sets the variable LD.
750 -AC_DEFUN([AC_LIB_PROG_LD],
751 -[AC_ARG_WITH(gnu-ld,
752 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
753 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
754 -AC_REQUIRE([AC_PROG_CC])dnl
755 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
756 -# Prepare PATH_SEPARATOR.
757 -# The user is always right.
758 -if test "${PATH_SEPARATOR+set}" != set; then
759 - echo "#! /bin/sh" >conf$$.sh
760 - echo "exit 0" >>conf$$.sh
762 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
770 -if test "$GCC" = yes; then
771 - # Check if gcc -print-prog-name=ld gives a path.
772 - AC_MSG_CHECKING([for ld used by GCC])
775 - # gcc leaves a trailing carriage return which upsets mingw
776 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
778 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
781 - # Accept absolute paths.
782 - [[\\/]* | [A-Za-z]:[\\/]*)]
783 - [re_direlt='/[^/][^/]*/\.\./']
784 - # Canonicalize the path of ld
785 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
786 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
787 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
789 - test -z "$LD" && LD="$ac_prog"
792 - # If it fails, then pretend we aren't using GCC.
796 - # If it is relative, then search for the first ld in PATH.
797 - with_gnu_ld=unknown
800 -elif test "$with_gnu_ld" = yes; then
801 - AC_MSG_CHECKING([for GNU ld])
803 - AC_MSG_CHECKING([for non-GNU ld])
805 -AC_CACHE_VAL(acl_cv_path_LD,
806 -[if test -z "$LD"; then
807 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
808 - for ac_dir in $PATH; do
809 - test -z "$ac_dir" && ac_dir=.
810 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
811 - acl_cv_path_LD="$ac_dir/$ac_prog"
812 - # Check to see if the program is GNU ld. I'd rather use --version,
813 - # but apparently some GNU ld's only accept -v.
814 - # Break only if it was the GNU/non-GNU ld that we prefer.
815 - case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
816 - *GNU* | *'with BFD'*)
817 - test "$with_gnu_ld" != no && break ;;
819 - test "$with_gnu_ld" != yes && break ;;
825 - acl_cv_path_LD="$LD" # Let the user override the test with a path.
827 -LD="$acl_cv_path_LD"
828 -if test -n "$LD"; then
833 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
837 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
839 -AC_DEFUN([AM_CONFIG_HEADER],
841 -AC_CONFIG_HEADER([$1])
842 -dnl When config.status generates a header, we must update the stamp-h file.
843 -dnl This file resides in the same directory as the config header
844 -dnl that is generated. We must strip everything past the first ":",
845 -dnl and everything past the last "/".
846 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
847 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
848 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
850 -for am_file in <<$1>>; do
851 - case " <<$>>CONFIG_HEADERS " in
852 - *" <<$>>am_file "*<<)>>
853 - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
856 - am_indx=`expr "<<$>>am_indx" + 1`
860 -# Do all the work for Automake. This macro actually does too much --
861 -# some checks are only needed if your package does certain things.
862 -# But this isn't really a big deal.
867 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
869 -AC_DEFUN([AM_INIT_AUTOMAKE],
870 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
871 -AC_REQUIRE([AC_PROG_INSTALL])
876 -dnl test to see if srcdir already configured
877 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
878 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
881 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
882 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
883 -AC_REQUIRE([AM_SANITY_CHECK])
884 -AC_REQUIRE([AC_ARG_PROGRAM])
885 -dnl FIXME This is truly gross.
886 -missing_dir=`cd $ac_aux_dir && pwd`
887 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
888 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
889 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
890 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
891 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
892 -AC_REQUIRE([AC_PROG_MAKE_SET])])
894 -# Copyright 2002 Free Software Foundation, Inc.
896 -# This program is free software; you can redistribute it and/or modify
897 -# it under the terms of the GNU General Public License as published by
898 -# the Free Software Foundation; either version 2, or (at your option)
899 -# any later version.
900 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
901 +# 2005 Free Software Foundation, Inc.
902 +# This file is free software; the Free Software Foundation
903 +# gives unlimited permission to copy and/or distribute it,
904 +# with or without modifications, as long as this notice is preserved.
906 # This program is distributed in the hope that it will be useful,
907 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
908 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
909 -# GNU General Public License for more details.
911 -# You should have received a copy of the GNU General Public License
912 -# along with this program; if not, write to the Free Software
913 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
915 -# AM_AUTOMAKE_VERSION(VERSION)
916 -# ----------------------------
917 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
918 -# generated from the m4 files accompanying Automake X.Y.
919 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
921 -# AM_SET_CURRENT_AUTOMAKE_VERSION
922 -# -------------------------------
923 -# Call AM_AUTOMAKE_VERSION so it can be traced.
924 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
925 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
926 - [AM_AUTOMAKE_VERSION([1.4-p6])])
929 -# Check to make sure that the build environment is sane.
932 -AC_DEFUN([AM_SANITY_CHECK],
933 -[AC_MSG_CHECKING([whether build environment is sane])
936 -echo timestamp > conftestfile
937 -# Do `set' in a subshell so we don't clobber the current shell's
938 -# arguments. Must try -L first in case configure is actually a
939 -# symlink; some systems play weird games with the mod time of symlinks
940 -# (eg FreeBSD returns the mod time of the symlink's containing
943 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
944 - if test "[$]*" = "X"; then
946 - set X `ls -t $srcdir/configure conftestfile`
948 - if test "[$]*" != "X $srcdir/configure conftestfile" \
949 - && test "[$]*" != "X conftestfile $srcdir/configure"; then
951 - # If neither matched, then we have a broken ls. This can happen
952 - # if, for instance, CONFIG_SHELL is bash and it inherits a
953 - # broken ls alias from the environment. This has actually
954 - # happened. Such a system could not be considered "sane".
955 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
956 -alias in your environment])
959 - test "[$]2" = conftestfile
965 - AC_MSG_ERROR([newly created file is older than distributed files!
966 -Check your system clock])
969 -AC_MSG_RESULT(yes)])
971 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
972 -dnl The program must properly implement --version.
973 -AC_DEFUN([AM_MISSING_PROG],
974 -[AC_MSG_CHECKING(for working $2)
975 -# Run test in a subshell; some versions of sh will print an error if
976 -# an executable is not found, even if stderr is redirected.
977 -# Redirect stdin to placate older versions of autoconf. Sigh.
978 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
980 - AC_MSG_RESULT(found)
983 - AC_MSG_RESULT(missing)
989 -dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
990 -AC_DEFUN([AM_PROG_LEX],
991 -[missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
992 -AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex)
995 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
996 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
997 +# PARTICULAR PURPOSE.
999 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1001 -# serial 47 AC_PROG_LIBTOOL
1003 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
1006 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1007 @@ -1096,7 +123,7 @@
1009 # Sed substitution that helps us do robust quoting. It backslashifies
1010 # metacharacters that are still active within double-quoted strings.
1011 -Xsed='sed -e s/^X//'
1012 +Xsed='sed -e 1s/^X//'
1013 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1015 # Same as above, but do not quote variable references.
1016 @@ -1116,7 +143,7 @@
1017 default_ofile=libtool
1018 can_build_shared=yes
1020 -# All known linkers require a `.a' archive for static linking (except M$VC,
1021 +# All known linkers require a `.a' archive for static linking (except MSVC,
1022 # which needs '.lib').
1024 ltmain="$ac_aux_dir/ltmain.sh"
1025 @@ -1136,6 +163,7 @@
1026 test -z "$AS" && AS=as
1027 test -z "$CC" && CC=cc
1028 test -z "$LTCC" && LTCC=$CC
1029 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1030 test -z "$DLLTOOL" && DLLTOOL=dlltool
1031 test -z "$LD" && LD=ld
1032 test -z "$LN_S" && LN_S="ln -s"
1033 @@ -1155,15 +183,17 @@
1034 if test -n "$RANLIB"; then
1037 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1038 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1041 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1042 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1045 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1048 +_LT_CC_BASENAME([$compiler])
1050 # Only perform the check for file, if the check method requires it
1051 case $deplibs_check_method in
1053 @@ -1204,11 +234,56 @@
1054 # If no C compiler was specified, use CC.
1057 +# If no C compiler flags were specified, use CFLAGS.
1058 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1060 # Allow CC to be a program name with arguments.
1062 ])# _LT_AC_SYS_COMPILER
1065 +# _LT_CC_BASENAME(CC)
1066 +# -------------------
1067 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1068 +AC_DEFUN([_LT_CC_BASENAME],
1069 +[for cc_temp in $1""; do
1071 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1072 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1077 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1081 +# _LT_COMPILER_BOILERPLATE
1082 +# ------------------------
1083 +# Check for compiler boilerplate output or warnings with
1084 +# the simple compiler test code.
1085 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1086 +[ac_outfile=conftest.$ac_objext
1087 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1088 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1089 +_lt_compiler_boilerplate=`cat conftest.err`
1091 +])# _LT_COMPILER_BOILERPLATE
1094 +# _LT_LINKER_BOILERPLATE
1095 +# ----------------------
1096 +# Check for linker boilerplate output or warnings with
1097 +# the simple link test code.
1098 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
1099 +[ac_outfile=conftest.$ac_objext
1100 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
1101 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1102 +_lt_linker_boilerplate=`cat conftest.err`
1104 +])# _LT_LINKER_BOILERPLATE
1107 # _LT_AC_SYS_LIBPATH_AIX
1108 # ----------------------
1109 # Links a minimal program and checks the executable
1110 @@ -1281,15 +356,15 @@
1112 # The HP-UX ksh and POSIX shell print the target directory to stdout
1114 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1115 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1117 if test -z "$ECHO"; then
1118 if test "X${echo_test_string+set}" != Xset; then
1119 # find a string as large as possible, as long as the shell can cope with it
1120 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1121 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1122 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
1123 - echo_test_string="`eval $cmd`" &&
1124 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1125 + echo_test_string=`eval $cmd` &&
1126 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1129 @@ -1458,7 +533,7 @@
1130 # Find out which ABI we are using.
1131 echo 'int i;' > conftest.$ac_ext
1132 if AC_TRY_EVAL(ac_compile); then
1133 - case "`/usr/bin/file conftest.o`" in
1134 + case `/usr/bin/file conftest.o` in
1138 @@ -1509,6 +584,22 @@
1139 CFLAGS="$SAVE_CFLAGS"
1143 + # Find out which ABI we are using.
1144 + echo 'int i;' > conftest.$ac_ext
1145 + if AC_TRY_EVAL(ac_compile); then
1146 + case `/usr/bin/file conftest.o` in
1148 + case $lt_cv_prog_gnu_ld in
1149 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
1150 + *) LD="${LD-ld} -64" ;;
1158 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1159 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1160 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1161 @@ -1540,7 +631,7 @@
1162 # with a dollar sign (not a hyphen), so the echo should work correctly.
1163 # The option is referenced via a variable to avoid confusing sed.
1164 lt_compile=`echo "$ac_compile" | $SED \
1165 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1166 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1167 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1168 -e 's:$: $lt_compiler_flag:'`
1169 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1170 @@ -1550,8 +641,10 @@
1171 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1172 if (exit $ac_status) && test -s "$ac_outfile"; then
1173 # The compiler can only warn and ignore the option if not recognized
1174 - # So say no if there are warnings
1175 - if test ! -s conftest.err; then
1176 + # So say no if there are warnings other than the usual output.
1177 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1178 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1179 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1183 @@ -1577,11 +670,16 @@
1184 LDFLAGS="$LDFLAGS $3"
1185 printf "$lt_simple_link_test_code" > conftest.$ac_ext
1186 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1187 - # The compiler can only warn and ignore the option if not recognized
1188 + # The linker can only warn and ignore the option if not recognized
1189 # So say no if there are warnings
1190 if test -s conftest.err; then
1191 # Append any errors to the config.log.
1192 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1193 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1194 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1195 + if diff conftest.exp conftest.er2 >/dev/null; then
1201 @@ -1640,17 +738,61 @@
1202 lt_cv_sys_max_cmd_len=8192;
1206 - # If test is not a shell built-in, we'll probably end up computing a
1207 - # maximum length that is only half of the actual maximum length, but
1209 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1210 - = "XX$teststring") >/dev/null 2>&1 &&
1211 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1212 - lt_cv_sys_max_cmd_len=$new_result &&
1213 - test $i != 17 # 1/2 MB should be enough
1216 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1217 + # This has been around since 386BSD, at least. Likely further.
1218 + if test -x /sbin/sysctl; then
1219 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1220 + elif test -x /usr/sbin/sysctl; then
1221 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1223 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1225 + # And add a safety zone
1226 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1227 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1231 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
1232 + lt_cv_sys_max_cmd_len=196608
1236 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1237 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1238 + # nice to cause kernel panics so lets avoid the loop below.
1239 + # First set a reasonable default.
1240 + lt_cv_sys_max_cmd_len=16384
1242 + if test -x /sbin/sysconfig; then
1243 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1244 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
1249 + lt_cv_sys_max_cmd_len=102400
1251 + sysv5* | sco5v6* | sysv4.2uw2*)
1252 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1253 + if test -n "$kargmax"; then
1254 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1256 + lt_cv_sys_max_cmd_len=32768
1260 + # If test is not a shell built-in, we'll probably end up computing a
1261 + # maximum length that is only half of the actual maximum length, but
1263 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1264 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1265 + = "XX$teststring") >/dev/null 2>&1 &&
1266 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1267 + lt_cv_sys_max_cmd_len=$new_result &&
1268 + test $i != 17 # 1/2 MB should be enough
1271 teststring=$teststring$teststring
1274 @@ -1670,7 +812,7 @@
1277 # _LT_AC_CHECK_DLFCN
1278 -# --------------------
1279 +# ------------------
1280 AC_DEFUN([_LT_AC_CHECK_DLFCN],
1281 [AC_CHECK_HEADERS(dlfcn.h)dnl
1282 ])# _LT_AC_CHECK_DLFCN
1283 @@ -1678,7 +820,7 @@
1285 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1286 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1287 -# ------------------------------------------------------------------
1288 +# ---------------------------------------------------------------------
1289 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1290 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1291 if test "$cross_compiling" = yes; then :
1292 @@ -1744,17 +886,19 @@
1293 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1294 /* dlclose (self); */
1297 + puts (dlerror ());
1302 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1303 - (./conftest; exit; ) 2>/dev/null
1304 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1307 x$lt_dlno_uscore) $1 ;;
1308 x$lt_dlneed_uscore) $2 ;;
1309 - x$lt_unknown|x*) $3 ;;
1310 + x$lt_dlunknown|x*) $3 ;;
1313 # compilation failed
1314 @@ -1766,7 +910,7 @@
1317 # AC_LIBTOOL_DLOPEN_SELF
1318 -# -------------------
1319 +# ----------------------
1320 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1321 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1322 if test "x$enable_dlopen" != xyes; then
1323 @@ -1837,7 +981,7 @@
1324 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1326 save_LDFLAGS="$LDFLAGS"
1327 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1328 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1331 LIBS="$lt_cv_dlopen_libs $LIBS"
1332 @@ -1850,7 +994,7 @@
1335 if test "x$lt_cv_dlopen_self" = xyes; then
1336 - LDFLAGS="$LDFLAGS $link_static_flag"
1337 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1338 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1339 lt_cv_dlopen_self_static, [dnl
1340 _LT_AC_TRY_DLOPEN_SELF(
1341 @@ -1898,7 +1042,7 @@
1342 # Note that $ac_compile itself does not contain backslashes and begins
1343 # with a dollar sign (not a hyphen), so the echo should work correctly.
1344 lt_compile=`echo "$ac_compile" | $SED \
1345 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1346 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1347 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1348 -e 's:$: $lt_compiler_flag:'`
1349 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1350 @@ -1910,11 +1054,13 @@
1352 # The compiler can only warn and ignore the option if not recognized
1353 # So say no if there are warnings
1354 - if test ! -s out/conftest.err; then
1355 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1356 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1357 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1358 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1362 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
1364 # SGI C++ compiler will create directory out/ii_files/ for
1365 # template instantiation
1366 @@ -1978,8 +1124,8 @@
1367 [AC_MSG_CHECKING([how to hardcode library paths into programs])
1368 _LT_AC_TAGVAR(hardcode_action, $1)=
1369 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1370 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
1371 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
1372 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1373 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1375 # We can hardcode non-existant directories.
1376 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1377 @@ -2146,7 +1292,7 @@
1378 shlibpath_var=LIBRARY_PATH
1385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1386 @@ -2174,7 +1320,8 @@
1387 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1388 dldir=$destdir/`dirname \$dlpath`~
1389 test -d \$dldir || mkdir -p \$dldir~
1390 - $install_prog $dir/$dlname \$dldir/$dlname'
1391 + $install_prog $dir/$dlname \$dldir/$dlname~
1392 + chmod a+x \$dldir/$dlname'
1393 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1394 dlpath=$dir/\$dldll~
1396 @@ -2204,7 +1351,7 @@
1399 # pw32 DLLs use 'pw' prefix rather than 'lib'
1400 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1401 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1405 @@ -2227,7 +1374,7 @@
1406 soname_spec='${libname}${release}${major}$shared_ext'
1407 shlibpath_overrides_runpath=yes
1408 shlibpath_var=DYLD_LIBRARY_PATH
1409 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1410 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1411 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1412 if test "$GCC" = yes; then
1413 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1414 @@ -2250,20 +1397,17 @@
1419 - version_type=linux
1420 - need_lib_prefix=no
1422 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1423 - soname_spec='${libname}${release}${shared_ext}$major'
1424 - shlibpath_var=LD_LIBRARY_PATH
1425 - shlibpath_overrides_runpath=no
1426 - hardcode_into_libs=yes
1427 - dynamic_linker='GNU ld.so'
1431 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1432 +freebsd* | dragonfly*)
1433 + # DragonFly does not have aout. When/if they implement a new
1434 + # versioning mechanism, adjust this.
1435 + if test -x /usr/bin/objformat; then
1436 + objformat=`/usr/bin/objformat`
1439 + freebsd[[123]]*) objformat=aout ;;
1440 + *) objformat=elf ;;
1443 version_type=freebsd-$objformat
1444 case $version_type in
1446 @@ -2281,14 +1425,19 @@
1448 shlibpath_overrides_runpath=yes
1450 - freebsd3.[01]* | freebsdelf3.[01]*)
1451 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1452 shlibpath_overrides_runpath=yes
1453 hardcode_into_libs=yes
1456 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1457 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1458 shlibpath_overrides_runpath=no
1459 hardcode_into_libs=yes
1461 + freebsd*) # from 4.6 on
1462 + shlibpath_overrides_runpath=yes
1463 + hardcode_into_libs=yes
1468 @@ -2308,7 +1457,7 @@
1472 - case "$host_cpu" in
1476 hardcode_into_libs=yes
1477 @@ -2348,6 +1497,18 @@
1478 postinstall_cmds='chmod 555 $lib'
1482 + version_type=linux
1483 + need_lib_prefix=no
1485 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1486 + soname_spec='${libname}${release}${shared_ext}$major'
1487 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1488 + shlibpath_var=LD_LIBRARY_PATH
1489 + shlibpath_overrides_runpath=no
1490 + hardcode_into_libs=yes
1493 irix5* | irix6* | nonstopux*)
1495 nonstopux*) version_type=nonstopux ;;
1496 @@ -2391,7 +1552,7 @@
1499 # This must be Linux ELF.
1501 +linux* | k*bsd*-gnu)
1505 @@ -2407,7 +1568,7 @@
1507 # Append ld.so.conf contents to the search path
1508 if test -f /etc/ld.so.conf; then
1509 - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
1510 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1511 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1514 @@ -2432,18 +1593,6 @@
1515 dynamic_linker='NetBSD ld.elf_so'
1519 - version_type=linux
1520 - need_lib_prefix=no
1522 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1523 - soname_spec='${libname}${release}${shared_ext}$major'
1524 - shlibpath_var=LD_LIBRARY_PATH
1525 - shlibpath_overrides_runpath=no
1526 - hardcode_into_libs=yes
1527 - dynamic_linker='GNU ld.so'
1533 @@ -2481,8 +1630,13 @@
1537 + sys_lib_dlsearch_path_spec="/usr/lib"
1540 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1542 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1543 + *) need_version=no ;;
1545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1547 shlibpath_var=LD_LIBRARY_PATH
1548 @@ -2520,13 +1674,6 @@
1549 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1554 - soname_spec='${libname}${release}${shared_ext}$major'
1555 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1556 - shlibpath_var=LD_LIBRARY_PATH
1562 @@ -2552,7 +1699,7 @@
1566 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1570 soname_spec='${libname}${release}${shared_ext}$major'
1571 @@ -2585,6 +1732,29 @@
1575 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1576 + version_type=freebsd-elf
1577 + need_lib_prefix=no
1579 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1580 + soname_spec='${libname}${release}${shared_ext}$major'
1581 + shlibpath_var=LD_LIBRARY_PATH
1582 + hardcode_into_libs=yes
1583 + if test "$with_gnu_ld" = yes; then
1584 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1585 + shlibpath_overrides_runpath=no
1587 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1588 + shlibpath_overrides_runpath=yes
1591 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1595 + sys_lib_dlsearch_path_spec='/usr/lib'
1600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1601 @@ -2598,6 +1768,11 @@
1603 AC_MSG_RESULT([$dynamic_linker])
1604 test "$dynamic_linker" = no && can_build_shared=no
1606 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1607 +if test "$GCC" = yes; then
1608 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1610 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1613 @@ -2622,6 +1797,9 @@
1614 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1617 + if test -z "$LTCFLAGS"; then
1618 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1621 # Extract list of available tagged configurations in $ofile.
1622 # Note that this assumes the entire list is on one line.
1623 @@ -2648,7 +1826,9 @@
1627 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1628 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1629 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1630 + (test "X$CXX" != "Xg++"))) ; then
1631 AC_LIBTOOL_LANG_CXX_CONFIG
1634 @@ -2710,7 +1890,7 @@
1636 # AC_LIBTOOL_WIN32_DLL
1637 # --------------------
1638 -# declare package support for building win32 dll's
1639 +# declare package support for building win32 DLLs
1640 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1641 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1642 ])# AC_LIBTOOL_WIN32_DLL
1643 @@ -2748,7 +1928,7 @@
1647 -#- set the default shared flag to --disable-shared
1648 +# set the default shared flag to --disable-shared
1649 AC_DEFUN([AC_DISABLE_SHARED],
1650 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1651 AC_ENABLE_SHARED(no)
1652 @@ -2884,7 +2064,7 @@
1653 if test -n "$file_magic_test_file"; then
1654 case $deplibs_check_method in
1656 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1657 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1658 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1659 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1660 $EGREP "$file_magic_regex" > /dev/null; then
1661 @@ -2994,7 +2174,7 @@
1662 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1663 lt_cv_path_LD="$ac_dir/$ac_prog"
1664 # Check to see if the program is GNU ld. I'd rather use --version,
1665 - # but apparently some GNU ld's only accept -v.
1666 + # but apparently some variants of GNU ld only accept -v.
1667 # Break only if it was the GNU/non-GNU ld that we prefer.
1668 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1669 *GNU* | *'with BFD'*)
1670 @@ -3026,7 +2206,7 @@
1671 AC_DEFUN([AC_PROG_LD_GNU],
1672 [AC_REQUIRE([AC_PROG_EGREP])dnl
1673 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
1674 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1675 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
1676 case `$LD -v 2>&1 </dev/null` in
1677 *GNU* | *'with BFD'*)
1678 lt_cv_prog_gnu_ld=yes
1679 @@ -3053,6 +2233,15 @@
1680 *) reload_flag=" $reload_flag" ;;
1682 reload_cmds='$LD$reload_flag -o $output$reload_objs'
1685 + if test "$GCC" = yes; then
1686 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1688 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
1692 ])# AC_PROG_LD_RELOAD_FLAG
1695 @@ -3086,7 +2275,7 @@
1696 lt_cv_deplibs_check_method=pass_all
1701 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1702 lt_cv_file_magic_cmd='/usr/bin/file -L'
1703 lt_cv_file_magic_test_file=/shlib/libc.so
1704 @@ -3109,13 +2298,13 @@
1705 lt_cv_deplibs_check_method=pass_all
1708 -freebsd* | kfreebsd*-gnu)
1709 +freebsd* | dragonfly*)
1710 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1713 # Not sure whether the presence of OpenBSD here was a mistake.
1714 # Let's accept both of them until this is cleared up.
1715 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1716 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
1717 lt_cv_file_magic_cmd=/usr/bin/file
1718 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1720 @@ -3131,7 +2320,7 @@
1722 hpux10.20* | hpux11*)
1723 lt_cv_file_magic_cmd=/usr/bin/file
1724 - case "$host_cpu" in
1727 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
1728 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1729 @@ -3147,6 +2336,11 @@
1734 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
1735 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
1738 irix5* | irix6* | nonstopux*)
1740 *-32|*"-32 ") libmagic=32-bit;;
1741 @@ -3158,11 +2352,11 @@
1744 # This must be Linux ELF.
1746 +linux* | k*bsd*-gnu)
1747 lt_cv_deplibs_check_method=pass_all
1750 -netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1751 +netbsd* | netbsdelf*-gnu)
1752 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1753 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1755 @@ -3181,12 +2375,10 @@
1759 - lt_cv_file_magic_cmd=/usr/bin/file
1760 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1761 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1762 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1763 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
1765 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1766 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1770 @@ -3194,15 +2386,11 @@
1771 lt_cv_deplibs_check_method=pass_all
1775 - lt_cv_deplibs_check_method=pass_all
1779 lt_cv_deplibs_check_method=pass_all
1782 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1784 case $host_vendor in
1786 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]]'
1787 @@ -3223,10 +2411,13 @@
1789 lt_cv_deplibs_check_method=pass_all
1792 + lt_cv_deplibs_check_method=pass_all
1797 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
1798 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1799 lt_cv_deplibs_check_method=pass_all
1802 @@ -3246,36 +2437,43 @@
1803 # Let the user override the test.
1806 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1807 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1808 - IFS="$lt_save_ifs"
1809 - test -z "$ac_dir" && ac_dir=.
1810 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1811 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1812 - # Check to see if the nm accepts a BSD-compat flag.
1813 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1814 - # nm: unknown option "B" ignored
1815 - # Tru64's nm complains that /dev/null is an invalid object file
1816 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1817 - */dev/null* | *'Invalid file or object type'*)
1818 - lt_cv_path_NM="$tmp_nm -B"
1822 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1824 - lt_cv_path_NM="$tmp_nm -p"
1825 + lt_nm_to_check="${ac_tool_prefix}nm"
1826 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1827 + lt_nm_to_check="$lt_nm_to_check nm"
1829 + for lt_tmp_nm in $lt_nm_to_check; do
1830 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1831 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1832 + IFS="$lt_save_ifs"
1833 + test -z "$ac_dir" && ac_dir=.
1834 + tmp_nm="$ac_dir/$lt_tmp_nm"
1835 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1836 + # Check to see if the nm accepts a BSD-compat flag.
1837 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1838 + # nm: unknown option "B" ignored
1839 + # Tru64's nm complains that /dev/null is an invalid object file
1840 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1841 + */dev/null* | *'Invalid file or object type'*)
1842 + lt_cv_path_NM="$tmp_nm -B"
1846 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1847 - continue # so that we can try to find one that supports BSD flags
1848 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1850 + lt_cv_path_NM="$tmp_nm -p"
1854 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1855 + continue # so that we can try to find one that supports BSD flags
1864 + IFS="$lt_save_ifs"
1866 - IFS="$lt_save_ifs"
1867 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1870 @@ -3307,13 +2505,13 @@
1871 # -----------------------------------
1872 # sets LIBLTDL to the link flags for the libltdl convenience library and
1873 # LTDLINCL to the include flags for the libltdl header and adds
1874 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
1875 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1876 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
1877 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
1878 -# '${top_srcdir}/' (note the single quotes!). If your package is not
1879 -# flat and you're not using automake, define top_builddir and
1880 -# top_srcdir appropriately in the Makefiles.
1881 +# --enable-ltdl-convenience to the configure arguments. Note that
1882 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1883 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1884 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1885 +# (note the single quotes!). If your package is not flat and you're not
1886 +# using automake, define top_builddir and top_srcdir appropriately in
1888 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1889 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1890 case $enable_ltdl_convenience in
1891 @@ -3332,13 +2530,13 @@
1892 # -----------------------------------
1893 # sets LIBLTDL to the link flags for the libltdl installable library and
1894 # LTDLINCL to the include flags for the libltdl header and adds
1895 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
1896 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1897 -# DIRECTORY is not provided and an installed libltdl is not found, it is
1898 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
1899 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
1900 -# quotes!). If your package is not flat and you're not using automake,
1901 -# define top_builddir and top_srcdir appropriately in the Makefiles.
1902 +# --enable-ltdl-install to the configure arguments. Note that
1903 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1904 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
1905 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1906 +# '${top_srcdir}/' (note the single quotes!). If your package is not
1907 +# flat and you're not using automake, define top_builddir and top_srcdir
1908 +# appropriately in the Makefiles.
1909 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1910 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
1911 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1912 @@ -3376,10 +2574,21 @@
1914 AC_DEFUN([_LT_AC_LANG_CXX],
1915 [AC_REQUIRE([AC_PROG_CXX])
1916 -AC_REQUIRE([AC_PROG_CXXCPP])
1917 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1918 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
1921 +# _LT_AC_PROG_CXXCPP
1922 +# ------------------
1923 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
1925 +AC_REQUIRE([AC_PROG_CXX])
1926 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1927 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1928 + (test "X$CXX" != "Xg++"))) ; then
1931 +])# _LT_AC_PROG_CXXCPP
1935 @@ -3419,7 +2628,7 @@
1941 # enable support for Windows resource files
1942 AC_DEFUN([AC_LIBTOOL_RC],
1943 [AC_REQUIRE([LT_AC_PROG_RC])
1944 @@ -3452,36 +2661,9 @@
1949 -# Check for any special shared library compilation flags.
1951 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
1952 -if test "$GCC" = no; then
1955 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1959 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1960 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1961 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1963 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1964 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1970 -# Check to make sure the static flag actually works.
1972 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1973 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1974 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1976 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1978 +# save warnings/boilerplate of simple test code
1979 +_LT_COMPILER_BOILERPLATE
1980 +_LT_LINKER_BOILERPLATE
1982 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1983 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1984 @@ -3491,9 +2673,9 @@
1985 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1986 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1987 AC_LIBTOOL_SYS_LIB_STRIP
1988 -AC_LIBTOOL_DLOPEN_SELF($1)
1989 +AC_LIBTOOL_DLOPEN_SELF
1991 -# Report which librarie types wil actually be built
1992 +# Report which library types will actually be built
1993 AC_MSG_CHECKING([if libtool supports shared libraries])
1994 AC_MSG_RESULT([$can_build_shared])
1996 @@ -3502,7 +2684,7 @@
1998 # On AIX, shared libraries and static libraries use the same namespace, and
1999 # are all built from PIC.
2003 test "$enable_shared" = yes && enable_static=no
2004 if test -n "$RANLIB"; then
2005 @@ -3515,43 +2697,6 @@
2006 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2007 test "$enable_shared" = yes && enable_static=no
2010 - darwin* | rhapsody*)
2011 - if test "$GCC" = yes; then
2012 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2013 - case "$host_os" in
2014 - rhapsody* | darwin1.[[012]])
2015 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2017 - *) # Darwin 1.3 on
2018 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2019 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2021 - case ${MACOSX_DEPLOYMENT_TARGET} in
2023 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2026 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
2032 - output_verbose_link_cmd='echo'
2033 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
2034 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2035 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2036 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2037 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2038 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2039 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2040 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2041 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2042 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2044 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2048 AC_MSG_RESULT([$enable_shared])
2049 @@ -3577,7 +2722,7 @@
2050 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
2052 AC_REQUIRE([AC_PROG_CXX])
2053 -AC_REQUIRE([AC_PROG_CXXCPP])
2054 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2056 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2057 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
2058 @@ -3589,6 +2734,7 @@
2059 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2060 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2061 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2062 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2063 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
2064 _LT_AC_TAGVAR(module_cmds, $1)=
2065 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
2066 @@ -3606,7 +2752,7 @@
2067 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2069 # Source file extension for C++ test sources.
2073 # Object file extension for compiled C++ test sources.
2075 @@ -3616,11 +2762,15 @@
2076 lt_simple_compile_test_code="int some_variable = 0;\n"
2078 # Code to be used in simple link tests
2079 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
2080 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
2082 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2085 +# save warnings/boilerplate of simple test code
2086 +_LT_COMPILER_BOILERPLATE
2087 +_LT_LINKER_BOILERPLATE
2089 # Allow CC to be a program name with arguments.
2092 @@ -3631,18 +2781,18 @@
2093 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2094 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2096 - unset lt_cv_prog_gnu_ld
2097 + $as_unset lt_cv_prog_gnu_ld
2099 if test -n "${lt_cv_path_LDCXX+set}"; then
2100 lt_cv_path_LD=$lt_cv_path_LDCXX
2102 - unset lt_cv_path_LD
2103 + $as_unset lt_cv_path_LD
2105 test -z "${LDCXX+set}" || LD=$LDCXX
2108 _LT_AC_TAGVAR(compiler, $1)=$CC
2109 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2110 +_LT_CC_BASENAME([$compiler])
2112 # We don't want -fno-exception wen compiling C++ code, so set the
2113 # no_builtin_flag separately
2114 @@ -3731,6 +2881,7 @@
2121 exp_sym_flag='-bexport'
2122 @@ -3749,7 +2900,7 @@
2123 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2125 if test "$GXX" = yes; then
2126 - case $host_os in aix4.[012]|aix4.[012].*)
2127 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
2128 # We only want to do this on AIX 4.2 and lower, the check
2129 # below for broken collect2 doesn't work under 4.3+
2130 collect2name=`${CC} -print-prog-name=collect2`
2131 @@ -3768,8 +2919,12 @@
2132 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2133 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2137 shared_flag='-shared'
2138 + if test "$aix_use_runtimelinking" = yes; then
2139 + shared_flag="$shared_flag "'${wl}-G'
2143 if test "$host_cpu" = ia64; then
2144 @@ -3796,12 +2951,12 @@
2145 _LT_AC_SYS_LIBPATH_AIX
2146 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2148 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2149 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2151 if test "$host_cpu" = ia64; then
2152 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2153 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2154 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
2155 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
2157 # Determine the default libpath from the value encoded in an empty executable.
2158 _LT_AC_SYS_LIBPATH_AIX
2159 @@ -3810,16 +2965,26 @@
2160 # -berok will link without error, but may produce a broken library.
2161 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2162 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2163 - # -bexpall does not export symbols beginning with underscore (_)
2164 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
2165 # Exported symbols can be pulled into shared objects from archives
2166 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
2167 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2168 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2169 - # This is similar to how AIX traditionally builds it's shared libraries.
2170 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2171 + # This is similar to how AIX traditionally builds its shared libraries.
2172 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2178 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2179 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
2180 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2181 + # support --undefined. This deserves some investigation. FIXME
2182 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2184 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2189 case $cc_basename in
2191 @@ -3838,7 +3003,7 @@
2192 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2194 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2195 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2196 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2197 # If the export-symbols file already is a .def file (1st line
2198 # is EXPORTS), use it as is; otherwise, prepend...
2199 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
2200 @@ -3847,70 +3012,81 @@
2201 echo EXPORTS > $output_objdir/$soname.def;
2202 cat $export_symbols >> $output_objdir/$soname.def;
2204 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2205 + $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'
2207 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2210 + darwin* | rhapsody*)
2212 + rhapsody* | darwin1.[[012]])
2213 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
2215 + *) # Darwin 1.3 on
2216 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2217 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
2219 + case ${MACOSX_DEPLOYMENT_TARGET} in
2221 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
2224 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
2230 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2231 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
2232 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2233 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2234 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
2235 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2237 - darwin* | rhapsody*)
2238 - if test "$GXX" = yes; then
2239 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2240 - case "$host_os" in
2241 - rhapsody* | darwin1.[[012]])
2242 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2244 - *) # Darwin 1.3 on
2245 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2246 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2247 + if test "$GXX" = yes ; then
2248 + lt_int_apple_cc_single_mod=no
2249 + output_verbose_link_cmd='echo'
2250 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
2251 + lt_int_apple_cc_single_mod=yes
2253 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2254 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2256 - case ${MACOSX_DEPLOYMENT_TARGET} in
2258 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2261 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
2264 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2266 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2267 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2268 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2269 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2271 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2273 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2275 + case $cc_basename in
2277 + output_verbose_link_cmd='echo'
2278 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
2279 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2280 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2281 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2282 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2285 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2291 - lt_int_apple_cc_single_mod=no
2292 - output_verbose_link_cmd='echo'
2293 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
2294 - lt_int_apple_cc_single_mod=yes
2296 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2297 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2299 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2301 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2303 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2304 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2305 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2307 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2309 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2310 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2311 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2312 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2313 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2314 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2316 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2322 case $cc_basename in
2325 # FIXME: insert proper C++ library support
2326 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2330 # Green Hills C++ Compiler
2331 # FIXME: insert proper C++ library support
2332 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2333 @@ -3921,14 +3097,14 @@
2339 # C++ shared libraries reported to be fairly broken before switch to ELF
2340 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2343 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2345 - freebsd* | kfreebsd*-gnu)
2346 + freebsd* | dragonfly*)
2347 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
2349 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
2350 @@ -3945,11 +3121,11 @@
2351 # location of the library.
2353 case $cc_basename in
2356 # FIXME: insert proper C++ library support
2357 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2361 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
2362 # Commands to make compiler produce verbose output that lists
2363 # what "hidden" libraries, object files and flags are used when
2364 @@ -3959,7 +3135,7 @@
2365 # explicitly linking system object files so we need to strip them
2366 # from the output so that they don't get included in the library
2368 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
2369 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
2372 if test "$GXX" = yes; then
2373 @@ -3973,33 +3149,22 @@
2376 if test $with_gnu_ld = no; then
2377 - case "$host_cpu" in
2379 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2380 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2381 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2385 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
2386 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2389 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2392 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2393 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2394 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2398 - case "$host_cpu" in
2400 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2401 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2406 _LT_AC_TAGVAR(hardcode_direct, $1)=no
2407 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2408 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
2409 - # but as the default
2410 - # location of the library.
2413 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2414 @@ -4010,14 +3175,17 @@
2417 case $cc_basename in
2420 # FIXME: insert proper C++ library support
2421 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2424 - case "$host_cpu" in
2426 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2430 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2433 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2436 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2437 @@ -4036,9 +3204,12 @@
2439 if test "$GXX" = yes; then
2440 if test $with_gnu_ld = no; then
2441 - case "$host_cpu" in
2443 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2446 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2449 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2452 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2453 @@ -4052,11 +3223,25 @@
2458 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
2459 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2460 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2461 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2462 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2463 + # Instead, shared libraries are loaded at an image base (0x10000000 by
2464 + # default) and relocated if they conflict, which is a slow very memory
2465 + # consuming and fragmenting process. To avoid this, we pick a random,
2466 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2467 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
2468 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2469 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2472 case $cc_basename in
2476 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
2477 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
2479 # Archives containing C++ object files must be created using
2480 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
2481 @@ -4067,7 +3252,7 @@
2483 if test "$GXX" = yes; then
2484 if test "$with_gnu_ld" = no; then
2485 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
2486 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2488 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
2490 @@ -4078,9 +3263,9 @@
2491 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2492 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2495 + linux* | k*bsd*-gnu)
2496 case $cc_basename in
2499 # Kuck and Associates, Inc. (KAI) C++ Compiler
2501 # KCC will only create a shared library if the output file
2502 @@ -4105,17 +3290,41 @@
2503 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
2504 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2510 + # version 8.0 and above of icpc choke on multiply defined symbols
2511 + # if we add $predep_objects and $postdep_objects, however 7.1 and
2512 + # earlier do not add the objects themselves.
2513 + case `$CC -V 2>&1` in
2515 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2516 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2518 + *) # Version 8.0 or newer
2521 + ia64*) tmp_idyn=' -i_dynamic';;
2523 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2524 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2527 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2528 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2529 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2530 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2531 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2532 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2536 + # Portland Group C++ compiler
2537 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2538 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2540 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2541 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2542 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2546 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2547 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
2548 @@ -4146,7 +3355,7 @@
2551 case $cc_basename in
2554 # FIXME: insert proper C++ library support
2555 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2557 @@ -4156,7 +3365,7 @@
2561 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2562 + netbsd* | netbsdelf*-gnu)
2563 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2564 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2566 @@ -4167,15 +3376,31 @@
2567 # Workaround some broken pre-1.5 toolchains
2568 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
2571 - case $cc_basename in
2573 - # Kuck and Associates, Inc. (KAI) C++ Compiler
2575 - # KCC will only create a shared library if the output file
2576 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
2577 - # to its proper name (with version) after linking.
2578 - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
2580 + # C++ shared libraries are fairly broken
2581 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2584 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2585 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2586 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2587 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2588 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2589 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
2590 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2591 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2593 + output_verbose_link_cmd='echo'
2596 + case $cc_basename in
2598 + # Kuck and Associates, Inc. (KAI) C++ Compiler
2600 + # KCC will only create a shared library if the output file
2601 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
2602 + # to its proper name (with version) after linking.
2603 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
2605 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2606 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2607 @@ -4185,14 +3410,14 @@
2608 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2613 # Rational C++ 2.4.1
2614 # FIXME: insert proper C++ library support
2615 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2619 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2620 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
2621 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
2623 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2624 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2625 @@ -4210,7 +3435,7 @@
2627 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2628 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2629 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
2630 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2632 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2633 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2634 @@ -4229,7 +3454,7 @@
2637 case $cc_basename in
2640 # Kuck and Associates, Inc. (KAI) C++ Compiler
2642 # KCC will only create a shared library if the output file
2643 @@ -4244,17 +3469,17 @@
2644 # the KAI C++ compiler.
2645 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
2649 # Rational C++ 2.4.1
2650 # FIXME: insert proper C++ library support
2651 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2655 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2656 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
2657 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
2658 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
2659 echo "-hidden">> $lib.exp~
2660 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
2661 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
2664 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2665 @@ -4273,7 +3498,7 @@
2667 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2668 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2669 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
2670 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2672 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2673 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2674 @@ -4294,27 +3519,14 @@
2675 # FIXME: insert proper C++ library support
2676 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2679 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2680 - case $cc_basename in
2682 - # FIXME: insert proper C++ library support
2683 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2686 - # FIXME: insert proper C++ library support
2687 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2692 case $cc_basename in
2696 # FIXME: insert proper C++ library support
2697 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2702 # FIXME: insert proper C++ library support
2703 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2704 @@ -4327,36 +3539,33 @@
2707 case $cc_basename in
2710 # Sun C++ 4.2, 5.x and Centerline C++
2711 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
2712 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2713 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2714 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2715 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2716 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
2717 + $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'
2719 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2720 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2722 - solaris2.[0-5] | solaris2.[0-5].*) ;;
2723 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2725 # The C++ compiler is used as linker so we must use $wl
2726 # flag to pass the commands to the underlying system
2728 + # linker. We must also pass each convience library through
2729 + # to the system linker between allextract/defaultextract.
2730 + # The C++ compiler will combine linker options so we
2731 + # cannot just pass the convience library names through
2733 # Supported since Solaris 2.6 (maybe 2.5.1?)
2734 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2735 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
2738 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2740 - # Commands to make compiler produce verbose output that lists
2741 - # what "hidden" libraries, object files and flags are used when
2742 - # linking a shared library.
2744 - # There doesn't appear to be a way to prevent this compiler from
2745 - # explicitly linking system object files so we need to strip them
2746 - # from the output so that they don't get included in the library
2748 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
2749 + output_verbose_link_cmd='echo'
2751 # Archives containing C++ object files must be created using
2752 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2753 @@ -4364,7 +3573,7 @@
2755 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2759 # Green Hills C++ Compiler
2760 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
2762 @@ -4402,12 +3611,63 @@
2766 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2767 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
2768 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2769 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2770 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2771 + runpath_var='LD_RUN_PATH'
2773 + case $cc_basename in
2775 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2776 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2779 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2780 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2784 + sysv5* | sco3.2v5* | sco5v6*)
2785 + # Note: We can NOT use -z defs as we might desire, because we do not
2786 + # link with -lc, and that would cause any symbols used from libc to
2787 + # always be unresolved, which means just about no library would
2788 + # ever link correctly. If we're not using GNU ld we use -z text
2789 + # though, which does catch some bad symbols but isn't as heavy-handed
2791 + # For security reasons, it is highly recommended that you always
2792 + # use absolute paths for naming shared libraries, and exclude the
2793 + # DT_RUNPATH tag from executables and libraries. But doing so
2794 + # requires that you compile everything twice, which is a pain.
2795 + # So that behaviour is only enabled if SCOABSPATH is set to a
2796 + # non-empty value in the environment. Most likely only useful for
2797 + # creating official distributions of packages.
2798 + # This is a hack until libtool officially supports absolute path
2799 + # names for shared libraries.
2800 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2801 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2802 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2803 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2804 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2805 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2806 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2807 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2808 + runpath_var='LD_RUN_PATH'
2810 + case $cc_basename in
2812 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2813 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2816 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2817 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2822 case $cc_basename in
2825 # NonStop-UX NCC 3.20
2826 # FIXME: insert proper C++ library support
2827 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2828 @@ -4440,8 +3700,6 @@
2829 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2830 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2831 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2832 -AC_LIBTOOL_SYS_LIB_STRIP
2833 -AC_LIBTOOL_DLOPEN_SELF($1)
2835 AC_LIBTOOL_CONFIG($1)
2837 @@ -4459,7 +3717,7 @@
2838 ])# AC_LIBTOOL_LANG_CXX_CONFIG
2840 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
2841 -# ------------------------
2842 +# ------------------------------------
2843 # Figure out "hidden" library dependencies from verbose
2844 # compiler output when linking a shared library.
2845 # Parse the compiler output and extract the necessary
2846 @@ -4513,7 +3771,7 @@
2847 # The `*' in the case matches for architectures that use `case' in
2848 # $output_verbose_cmd can trigger glob expansion during the loop
2849 # eval without this substitution.
2850 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
2851 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
2853 for p in `eval $output_verbose_link_cmd`; do
2855 @@ -4589,13 +3847,37 @@
2857 $rm -f confest.$objext
2859 +# PORTME: override above test on systems where it is broken
2863 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
2864 + # hack all around it, let's just trust "g++" to DTRT.
2865 + _LT_AC_TAGVAR(predep_objects,$1)=
2866 + _LT_AC_TAGVAR(postdep_objects,$1)=
2867 + _LT_AC_TAGVAR(postdeps,$1)=
2871 + case $cc_basename in
2873 + # Adding this requires a known-good setup of shared libraries for
2874 + # Sun compiler versions before 5.6, else PIC objects from an old
2875 + # archive will be linked into the output, leading to subtle bugs.
2876 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
2883 case " $_LT_AC_TAGVAR(postdeps, $1) " in
2884 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
2886 ])# AC_LIBTOOL_POSTDEP_PREDEP
2888 # AC_LIBTOOL_LANG_F77_CONFIG
2889 -# ------------------------
2890 +# --------------------------
2891 # Ensure that the configuration vars for the C compiler are
2892 # suitably defined. Those variables are subsequently used by
2893 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2894 @@ -4639,12 +3921,16 @@
2895 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2898 +# save warnings/boilerplate of simple test code
2899 +_LT_COMPILER_BOILERPLATE
2900 +_LT_LINKER_BOILERPLATE
2902 # Allow CC to be a program name with arguments.
2906 _LT_AC_TAGVAR(compiler, $1)=$CC
2907 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2908 +_LT_CC_BASENAME([$compiler])
2910 AC_MSG_CHECKING([if libtool supports shared libraries])
2911 AC_MSG_RESULT([$can_build_shared])
2912 @@ -4654,7 +3940,7 @@
2914 # On AIX, shared libraries and static libraries use the same namespace, and
2915 # are all built from PIC.
2919 test "$enable_shared" = yes && enable_static=no
2920 if test -n "$RANLIB"; then
2921 @@ -4663,7 +3949,9 @@
2925 - test "$enable_shared" = yes && enable_static=no
2926 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2927 + test "$enable_shared" = yes && enable_static=no
2931 AC_MSG_RESULT([$enable_shared])
2932 @@ -4673,8 +3961,6 @@
2933 test "$enable_shared" = yes || enable_static=yes
2934 AC_MSG_RESULT([$enable_static])
2936 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2938 _LT_AC_TAGVAR(GCC, $1)="$G77"
2939 _LT_AC_TAGVAR(LD, $1)="$LD"
2941 @@ -4684,8 +3970,6 @@
2942 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2943 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2944 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2945 -AC_LIBTOOL_SYS_LIB_STRIP
2948 AC_LIBTOOL_CONFIG($1)
2950 @@ -4714,20 +3998,27 @@
2951 lt_simple_compile_test_code="class foo {}\n"
2953 # Code to be used in simple link tests
2954 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
2955 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
2957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2960 +# save warnings/boilerplate of simple test code
2961 +_LT_COMPILER_BOILERPLATE
2962 +_LT_LINKER_BOILERPLATE
2964 # Allow CC to be a program name with arguments.
2968 _LT_AC_TAGVAR(compiler, $1)=$CC
2969 +_LT_CC_BASENAME([$compiler])
2971 # GCJ did not exist at the time GCC didn't implicitly link libc in.
2972 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2974 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2976 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2977 AC_LIBTOOL_PROG_COMPILER_PIC($1)
2978 AC_LIBTOOL_PROG_CC_C_O($1)
2979 @@ -4735,8 +4026,6 @@
2980 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2981 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2982 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2983 -AC_LIBTOOL_SYS_LIB_STRIP
2984 -AC_LIBTOOL_DLOPEN_SELF($1)
2986 AC_LIBTOOL_CONFIG($1)
2988 @@ -4746,7 +4035,7 @@
2991 # AC_LIBTOOL_LANG_RC_CONFIG
2992 -# --------------------------
2993 +# -------------------------
2994 # Ensure that the configuration vars for the Windows resource compiler are
2995 # suitably defined. Those variables are subsequently used by
2996 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2997 @@ -4770,11 +4059,16 @@
2998 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
3001 +# save warnings/boilerplate of simple test code
3002 +_LT_COMPILER_BOILERPLATE
3003 +_LT_LINKER_BOILERPLATE
3005 # Allow CC to be a program name with arguments.
3009 _LT_AC_TAGVAR(compiler, $1)=$CC
3010 +_LT_CC_BASENAME([$compiler])
3011 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3013 AC_LIBTOOL_CONFIG($1)
3014 @@ -4804,7 +4098,7 @@
3015 # Now quote all the things that may contain metacharacters while being
3016 # careful not to overquote the AC_SUBSTed values. We take copies of the
3017 # variables and quote the copies for generation of the libtool script.
3018 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3019 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
3021 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3022 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3023 @@ -4910,7 +4204,7 @@
3025 # You should have received a copy of the GNU General Public License
3026 # along with this program; if not, write to the Free Software
3027 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
3028 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3030 # As a special exception to the GNU General Public License, if you
3031 # distribute this file as part of a program that contains a
3032 @@ -4921,11 +4215,11 @@
3035 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
3036 -Xsed="$SED -e s/^X//"
3037 +Xsed="$SED -e 1s/^X//"
3039 # The HP-UX ksh and POSIX shell print the target directory to stdout
3041 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
3042 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3044 # The names of the tagged configurations supported by this script.
3046 @@ -4956,6 +4250,12 @@
3048 host_alias=$host_alias
3052 +# The build system.
3053 +build_alias=$build_alias
3057 # An echo program that does not interpret backslashes.
3059 @@ -4967,6 +4267,9 @@
3063 +# LTCC compiler flags.
3064 +LTCFLAGS=$lt_LTCFLAGS
3066 # A language-specific compiler.
3067 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
3069 @@ -5032,7 +4335,7 @@
3070 # Does compiler simultaneously support -c and -o options?
3071 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
3073 -# Must we lock files when doing compilation ?
3074 +# Must we lock files when doing compilation?
3075 need_locks=$lt_need_locks
3077 # Do we need the lib prefix for modules?
3078 @@ -5306,9 +4609,6 @@
3079 # Regexp to match symbols that can be accessed directly from C.
3080 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3082 -# Transform the above into a raw symbol and a C symbol.
3083 -symxfrm='\1 \2\3 \3'
3085 # Transform an extracted symbol line into a proper C declaration
3086 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
3088 @@ -5330,15 +4630,31 @@
3089 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3090 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3092 +linux* | k*bsd*-gnu)
3093 + if test "$host_cpu" = ia64; then
3094 + symcode='[[ABCDGIRSTW]]'
3095 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3096 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3100 symcode='[[BCDEGRST]]'
3103 symcode='[[BCDEGQRST]]'
3115 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
3116 + symcode='[[ABDT]]'
3119 symcode='[[DFNSTU]]'
3121 @@ -5361,8 +4677,11 @@
3122 # Try without a prefix undercore, then with it.
3123 for ac_symprfx in "" "_"; do
3125 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3126 + symxfrm="\\1 $ac_symprfx\\2 \\2"
3128 # Write the raw and C identifiers.
3129 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
3130 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3132 # Check to see that the pipe works correctly.
3134 @@ -5518,6 +4837,10 @@
3135 # DJGPP does not support shared libraries at all
3136 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3139 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3140 + # Instead, we relocate shared libraries at runtime.
3143 if test -d /usr/nec; then
3144 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3145 @@ -5526,7 +4849,7 @@
3147 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3149 - case "$host_cpu" in
3154 @@ -5551,18 +4874,28 @@
3157 case $cc_basename in
3160 # Green Hills C++ Compiler
3161 # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
3166 + # PIC is the default on this platform
3167 + # Common symbols not allowed in MH_DYLIB files
3168 + case $cc_basename in
3170 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3171 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3176 case $cc_basename in
3179 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3183 # Green Hills C++ Compiler
3184 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3186 @@ -5570,22 +4903,22 @@
3190 - freebsd* | kfreebsd*-gnu)
3191 + freebsd* | dragonfly*)
3192 # FreeBSD uses GNU C++
3194 hpux9* | hpux10* | hpux11*)
3195 case $cc_basename in
3198 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3199 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3200 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3201 if test "$host_cpu" != ia64; then
3202 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3207 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3208 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3209 - case "$host_cpu" in
3210 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3215 @@ -5598,9 +4931,13 @@
3220 + # This is c89, which is MS Visual C++ (no shared libs)
3221 + # Anyone wants to do a port?
3223 irix5* | irix6* | nonstopux*)
3224 case $cc_basename in
3227 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3228 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3229 # CC pic flag -KPIC is the default.
3230 @@ -5609,20 +4946,26 @@
3235 + linux* | k*bsd*-gnu)
3236 case $cc_basename in
3240 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3241 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3246 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3247 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3248 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3252 + # Portland Group C++ compiler.
3253 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3254 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3255 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3259 # Make sure the PIC flag is empty. It appears that all Alpha
3260 # Linux and Compaq Tru64 Unix objects are PIC.
3261 @@ -5639,25 +4982,25 @@
3264 case $cc_basename in
3267 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3273 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3274 + netbsd* | netbsdelf*-gnu)
3276 osf3* | osf4* | osf5*)
3277 case $cc_basename in
3280 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3284 # Rational C++ 2.4.1
3285 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3289 # Digital/Compaq C++
3290 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3291 # Make sure the PIC flag is empty. It appears that all Alpha
3292 @@ -5671,24 +5014,15 @@
3297 - case $cc_basename in
3299 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3306 case $cc_basename in
3309 # Sun C++ 4.2, 5.x and Centerline C++
3310 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3311 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3312 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3316 # Green Hills C++ Compiler
3317 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3319 @@ -5698,12 +5032,12 @@
3322 case $cc_basename in
3326 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3327 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3332 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3334 @@ -5713,7 +5047,7 @@
3337 case $cc_basename in
3340 # NonStop-UX NCC 3.20
3341 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3343 @@ -5721,7 +5055,14 @@
3348 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3349 + case $cc_basename in
3351 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3352 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3353 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3359 @@ -5768,6 +5109,11 @@
3360 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3364 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3365 + # Instead, we relocate shared libraries at runtime.
3369 # Just because we use GCC doesn't mean we suddenly get shared libraries
3370 # on systems that don't support them.
3371 @@ -5784,7 +5130,7 @@
3373 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3375 - case "$host_cpu" in
3380 @@ -5810,6 +5156,16 @@
3381 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3385 + # PIC is the default on this platform
3386 + # Common symbols not allowed in MH_DYLIB files
3387 + case $cc_basename in
3389 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3390 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3395 mingw* | pw32* | os2*)
3396 # This hack is so that the source file can tell whether it is being
3397 @@ -5821,7 +5177,7 @@
3398 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3399 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3401 - case "$host_cpu" in
3406 @@ -5844,13 +5200,20 @@
3407 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3412 + linux* | k*bsd*-gnu)
3413 + case $cc_basename in
3415 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3416 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3417 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3419 + pgcc* | pgf77* | pgf90* | pgf95*)
3420 + # Portland Group compilers (*not* the Pentium gcc compiler,
3421 + # which looks to be a dead project)
3422 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3423 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3424 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3427 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3428 # All Alpha code is PIC.
3429 @@ -5865,15 +5228,15 @@
3430 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3434 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3435 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3439 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3440 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3441 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3442 + case $cc_basename in
3443 + f77* | f90* | f95*)
3444 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3446 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3451 @@ -5882,7 +5245,7 @@
3452 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3455 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3456 + sysv4 | sysv4.2uw2* | sysv4.3*)
3457 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3458 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3459 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3460 @@ -5895,6 +5258,17 @@
3464 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3465 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3466 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3467 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3471 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3472 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3476 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3477 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3478 @@ -5922,7 +5296,7 @@
3479 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3480 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3484 # For platforms which do not support PIC, -DPIC is meaningless:
3486 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3487 @@ -5931,6 +5305,16 @@
3488 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3493 +# Check to make sure the static flag actually works.
3495 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
3496 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
3497 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3498 + $lt_tmp_static_flag,
3500 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3504 @@ -5955,9 +5339,9 @@
3505 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3508 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3509 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3512 + linux* | k*bsd*-gnu)
3513 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3516 @@ -6001,7 +5385,8 @@
3517 # rely on this symbol name, it's probably fine to never include it in
3518 # preloaded symbol tables.
3519 extract_expsyms_cmds=
3521 + # Just being paranoid about ensuring that cc_basename is set.
3522 + _LT_CC_BASENAME([$compiler])
3524 cygwin* | mingw* | pw32*)
3525 # FIXME: the MSVC++ port hasn't been tested in a loooong time
3526 @@ -6011,6 +5396,10 @@
3531 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3537 @@ -6021,6 +5410,27 @@
3538 # If archive_cmds runs LD, not CC, wlarc should be empty
3541 + # Set some defaults for GNU ld with shared library support. These
3542 + # are reset later if shared libraries are not supported. Putting them
3543 + # here allows them to be overridden if necessary.
3544 + runpath_var=LD_RUN_PATH
3545 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3546 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3547 + # ancient GNU ld didn't support --whole-archive et. al.
3548 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3549 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3551 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3553 + supports_anon_versioning=no
3554 + case `$LD -v 2>/dev/null` in
3555 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3556 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3557 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3558 + *\ 2.11.*) ;; # other 2.11 versions
3559 + *) supports_anon_versioning=yes ;;
3562 # See if GNU ld supports shared libraries.
3564 aix3* | aix4* | aix5*)
3565 @@ -6071,10 +5481,10 @@
3566 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3567 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3568 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3569 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3570 + _LT_AC_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'
3572 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3573 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3574 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3575 # If the export-symbols file already is a .def file (1st line
3576 # is EXPORTS), use it as is; otherwise, prepend...
3577 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3578 @@ -6083,13 +5493,60 @@
3579 echo EXPORTS > $output_objdir/$soname.def;
3580 cat $export_symbols >> $output_objdir/$soname.def;
3582 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3583 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3586 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3590 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3592 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
3593 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3594 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3595 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3596 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3597 + # Instead, shared libraries are loaded at an image base (0x10000000 by
3598 + # default) and relocated if they conflict, which is a slow very memory
3599 + # consuming and fragmenting process. To avoid this, we pick a random,
3600 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3601 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3602 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3603 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3606 + linux* | k*bsd*-gnu)
3607 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3609 + case $cc_basename,$host_cpu in
3610 + pgcc*) # Portland Group C compiler
3611 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3612 + tmp_addflag=' $pic_flag'
3614 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3615 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3616 + tmp_addflag=' $pic_flag -Mnomain' ;;
3617 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3618 + tmp_addflag=' -i_dynamic' ;;
3619 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3620 + tmp_addflag=' -i_dynamic -nofor_main' ;;
3621 + ifc* | ifort*) # Intel Fortran compiler
3622 + tmp_addflag=' -nofor_main' ;;
3624 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3626 + if test $supports_anon_versioning = yes; then
3627 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3628 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3629 + $echo "local: *; };" >> $output_objdir/$libname.ver~
3630 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3632 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3634 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3638 + netbsd* | netbsdelf*-gnu)
3639 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3640 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3642 @@ -6099,7 +5556,7 @@
3646 - solaris* | sysv5*)
3648 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3649 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3651 @@ -6120,6 +5577,33 @@
3655 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3656 + case `$LD -v 2>&1` in
3657 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
3658 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3659 + cat <<_LT_EOF 1>&2
3661 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3662 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3663 +*** is disabling shared libraries support. We urge you to upgrade GNU
3664 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3665 +*** your PATH or compiler configuration so that the native linker is
3666 +*** used, and then restart.
3671 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3672 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3673 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3674 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
3676 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3683 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3685 @@ -6127,32 +5611,6 @@
3686 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3690 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3691 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3692 - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3693 - supports_anon_versioning=no
3694 - case `$LD -v 2>/dev/null` in
3695 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3696 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3697 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3698 - *\ 2.11.*) ;; # other 2.11 versions
3699 - *) supports_anon_versioning=yes ;;
3701 - if test $supports_anon_versioning = yes; then
3702 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3703 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3704 -$echo "local: *; };" >> $output_objdir/$libname.ver~
3705 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3707 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3709 - _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3711 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3716 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3717 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3718 @@ -6163,16 +5621,11 @@
3722 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
3723 - runpath_var=LD_RUN_PATH
3724 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3725 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3726 - # ancient GNU ld didn't support --whole-archive et. al.
3727 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3728 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3730 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3732 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3734 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3735 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3736 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3739 # PORTME fill in a description of your system's linker (not GNU ld)
3740 @@ -6184,7 +5637,7 @@
3741 # Note: this linker hardcodes the directories in LIBPATH if there
3742 # are no directories specified by -L.
3743 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3744 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3745 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3746 # Neither direct hardcoding nor static linking is supported with a
3748 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3749 @@ -6218,6 +5671,7 @@
3756 exp_sym_flag='-bexport'
3757 @@ -6236,7 +5690,7 @@
3758 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3760 if test "$GCC" = yes; then
3761 - case $host_os in aix4.[012]|aix4.[012].*)
3762 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3763 # We only want to do this on AIX 4.2 and lower, the check
3764 # below for broken collect2 doesn't work under 4.3+
3765 collect2name=`${CC} -print-prog-name=collect2`
3766 @@ -6255,8 +5709,12 @@
3767 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3768 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3772 shared_flag='-shared'
3773 + if test "$aix_use_runtimelinking" = yes; then
3774 + shared_flag="$shared_flag "'${wl}-G'
3778 if test "$host_cpu" = ia64; then
3779 @@ -6264,11 +5722,11 @@
3780 # chokes on -Wl,-G. The following line is correct:
3783 - if test "$aix_use_runtimelinking" = yes; then
3784 + if test "$aix_use_runtimelinking" = yes; then
3785 shared_flag='${wl}-G'
3787 shared_flag='${wl}-bM:SRE'
3793 @@ -6282,12 +5740,12 @@
3794 # Determine the default libpath from the value encoded in an empty executable.
3795 _LT_AC_SYS_LIBPATH_AIX
3796 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3797 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3798 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3800 if test "$host_cpu" = ia64; then
3801 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3802 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3803 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3804 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
3806 # Determine the default libpath from the value encoded in an empty executable.
3807 _LT_AC_SYS_LIBPATH_AIX
3808 @@ -6296,13 +5754,11 @@
3809 # -berok will link without error, but may produce a broken library.
3810 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3811 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3812 - # -bexpall does not export symbols beginning with underscore (_)
3813 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3814 # Exported symbols can be pulled into shared objects from archives
3815 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3816 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3817 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3818 - # This is similar to how AIX traditionally builds it's shared libraries.
3819 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3820 + # This is similar to how AIX traditionally builds its shared libraries.
3821 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3825 @@ -6315,7 +5771,7 @@
3826 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3831 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3834 @@ -6336,57 +5792,57 @@
3835 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3836 # FIXME: Should let the user specify the lib program.
3837 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3838 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3839 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3840 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3843 darwin* | rhapsody*)
3844 - if test "$GXX" = yes ; then
3845 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3846 - case "$host_os" in
3847 - rhapsody* | darwin1.[[012]])
3848 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3850 - *) # Darwin 1.3 on
3851 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3852 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3854 - case ${MACOSX_DEPLOYMENT_TARGET} in
3856 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3859 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3865 + rhapsody* | darwin1.[[012]])
3866 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3868 + *) # Darwin 1.3 on
3869 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3870 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3872 + case ${MACOSX_DEPLOYMENT_TARGET} in
3874 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3877 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3883 - lt_int_apple_cc_single_mod=no
3884 - output_verbose_link_cmd='echo'
3885 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3886 - lt_int_apple_cc_single_mod=yes
3888 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3889 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3891 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3893 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3894 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3895 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3896 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3898 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3900 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3901 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3902 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3903 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3904 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3905 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3906 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3907 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3908 + if test "$GCC" = yes ; then
3909 + output_verbose_link_cmd='echo'
3910 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3911 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3912 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3913 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3914 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3916 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3917 + case $cc_basename in
3919 + output_verbose_link_cmd='echo'
3920 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
3921 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3922 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3923 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3924 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3927 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3933 @@ -6420,7 +5876,7 @@
3936 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3937 - freebsd* | kfreebsd*-gnu)
3938 + freebsd* | dragonfly*)
3939 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3940 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3941 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3942 @@ -6443,47 +5899,62 @@
3943 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3946 - hpux10* | hpux11*)
3948 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3949 - case "$host_cpu" in
3951 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3953 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3955 + if test "$with_gnu_ld" = no; then
3956 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3957 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3959 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3960 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3962 + # hardcode_minus_L: Not really in the search PATH,
3963 + # but as the default location of the library.
3964 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3969 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3972 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3975 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3978 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3982 - case "$host_cpu" in
3984 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3987 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3990 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3993 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3994 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3998 if test "$with_gnu_ld" = no; then
3999 - case "$host_cpu" in
4001 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4002 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4003 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4007 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4008 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4009 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
4010 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4013 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4014 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4015 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4017 - # hardcode_minus_L: Not really in the search PATH,
4018 - # but as the default location of the library.
4019 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4022 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4023 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4024 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4025 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4027 @@ -6507,7 +5978,7 @@
4028 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4031 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4032 + netbsd* | netbsdelf*-gnu)
4033 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4034 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4036 @@ -6531,6 +6002,7 @@
4037 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4038 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4039 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4040 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
4041 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4042 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4044 @@ -6576,7 +6048,7 @@
4045 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4046 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4047 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
4048 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
4049 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
4051 # Both c and cxx compiler support -rpath directly
4052 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4053 @@ -6584,21 +6056,15 @@
4054 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4058 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4059 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4060 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4061 - runpath_var=LD_RUN_PATH
4062 - hardcode_runpath_var=yes
4066 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4067 if test "$GCC" = yes; then
4069 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4070 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4071 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
4074 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4075 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4076 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4077 @@ -6607,8 +6073,18 @@
4078 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4080 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4081 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4082 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4084 + # The compiler driver will combine linker options so we
4085 + # cannot just pass the convience library names through
4086 + # without $wl, iff we do not link with $LD.
4087 + # Luckily, gcc supports the same syntax we need for Sun Studio.
4088 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4091 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4093 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
4096 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4098 @@ -6665,36 +6141,45 @@
4103 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4104 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4105 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4106 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
4107 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4108 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4109 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4110 - hardcode_runpath_var=yes
4111 - runpath_var=LD_RUN_PATH
4113 + runpath_var='LD_RUN_PATH'
4115 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4116 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
4117 if test "$GCC" = yes; then
4118 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4119 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4120 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4122 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4123 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4124 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4126 - runpath_var='LD_RUN_PATH'
4127 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4131 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4132 - # $CC -shared without GNU ld will not create a library from C++
4133 - # object files and a static libstdc++, better avoid it by now
4134 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4135 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4136 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4137 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4138 + sysv5* | sco3.2v5* | sco5v6*)
4139 + # Note: We can NOT use -z defs as we might desire, because we do not
4140 + # link with -lc, and that would cause any symbols used from libc to
4141 + # always be unresolved, which means just about no library would
4142 + # ever link correctly. If we're not using GNU ld we use -z text
4143 + # though, which does catch some bad symbols but isn't as heavy-handed
4145 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4146 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
4147 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4148 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4149 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
4150 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4151 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4152 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4153 runpath_var='LD_RUN_PATH'
4155 + if test "$GCC" = yes; then
4156 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4157 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4159 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4160 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4165 @@ -6712,11 +6197,6 @@
4166 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4167 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4169 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4170 -if test "$GCC" = yes; then
4171 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4175 # Do we need to explicitly link libc?
4177 @@ -6744,6 +6224,7 @@
4178 libobjs=conftest.$ac_objext
4180 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4181 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4185 @@ -6869,7 +6350,7 @@
4186 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4187 # along with /bin/sed that truncates output.
4188 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4189 - test ! -f $lt_ac_sed && break
4190 + test ! -f $lt_ac_sed && continue
4191 cat /dev/null > conftest.in
4193 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4194 @@ -6894,8 +6375,878 @@
4198 -SED=$lt_cv_path_SED
4200 +SED=$lt_cv_path_SED
4201 AC_MSG_RESULT([$SED])
4204 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
4206 +# This file is free software; the Free Software Foundation
4207 +# gives unlimited permission to copy and/or distribute it,
4208 +# with or without modifications, as long as this notice is preserved.
4210 +# AM_AUTOMAKE_VERSION(VERSION)
4211 +# ----------------------------
4212 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
4213 +# generated from the m4 files accompanying Automake X.Y.
4214 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
4216 +# AM_SET_CURRENT_AUTOMAKE_VERSION
4217 +# -------------------------------
4218 +# Call AM_AUTOMAKE_VERSION so it can be traced.
4219 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4220 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4221 + [AM_AUTOMAKE_VERSION([1.9.6])])
4223 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
4225 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4227 +# This file is free software; the Free Software Foundation
4228 +# gives unlimited permission to copy and/or distribute it,
4229 +# with or without modifications, as long as this notice is preserved.
4231 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4232 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4233 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
4235 +# Of course, Automake must honor this variable whenever it calls a
4236 +# tool from the auxiliary directory. The problem is that $srcdir (and
4237 +# therefore $ac_aux_dir as well) can be either absolute or relative,
4238 +# depending on how configure is run. This is pretty annoying, since
4239 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
4240 +# source directory, any form will work fine, but in subdirectories a
4241 +# relative path needs to be adjusted first.
4243 +# $ac_aux_dir/missing
4244 +# fails when called from a subdirectory if $ac_aux_dir is relative
4245 +# $top_srcdir/$ac_aux_dir/missing
4246 +# fails if $ac_aux_dir is absolute,
4247 +# fails when called from a subdirectory in a VPATH build with
4248 +# a relative $ac_aux_dir
4250 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
4251 +# are both prefixed by $srcdir. In an in-source build this is usually
4252 +# harmless because $srcdir is `.', but things will broke when you
4253 +# start a VPATH build or use an absolute $srcdir.
4255 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
4256 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
4257 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
4258 +# and then we would define $MISSING as
4259 +# MISSING="\${SHELL} $am_aux_dir/missing"
4260 +# This will work as long as MISSING is not called from configure, because
4261 +# unfortunately $(top_srcdir) has no meaning in configure.
4262 +# However there are other variables, like CC, which are often used in
4263 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
4265 +# Another solution, used here, is to always expand $ac_aux_dir to an
4266 +# absolute PATH. The drawback is that using absolute paths prevent a
4267 +# configured tree to be moved without reconfiguration.
4269 +AC_DEFUN([AM_AUX_DIR_EXPAND],
4270 +[dnl Rely on autoconf to set up CDPATH properly.
4271 +AC_PREREQ([2.50])dnl
4272 +# expand $ac_aux_dir to an absolute path
4273 +am_aux_dir=`cd $ac_aux_dir && pwd`
4276 +# AM_CONDITIONAL -*- Autoconf -*-
4278 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
4279 +# Free Software Foundation, Inc.
4281 +# This file is free software; the Free Software Foundation
4282 +# gives unlimited permission to copy and/or distribute it,
4283 +# with or without modifications, as long as this notice is preserved.
4287 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
4288 +# -------------------------------------
4289 +# Define a conditional.
4290 +AC_DEFUN([AM_CONDITIONAL],
4291 +[AC_PREREQ(2.52)dnl
4292 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
4293 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
4294 +AC_SUBST([$1_TRUE])
4295 +AC_SUBST([$1_FALSE])
4303 +AC_CONFIG_COMMANDS_PRE(
4304 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
4305 + AC_MSG_ERROR([[conditional "$1" was never defined.
4306 +Usually this means the macro was only invoked conditionally.]])
4310 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4311 +# Free Software Foundation, Inc.
4313 +# This file is free software; the Free Software Foundation
4314 +# gives unlimited permission to copy and/or distribute it,
4315 +# with or without modifications, as long as this notice is preserved.
4319 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4320 +# written in clear, in which case automake, when reading aclocal.m4,
4321 +# will think it sees a *use*, and therefore will trigger all it's
4322 +# C support machinery. Also note that it means that autoscan, seeing
4323 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4326 +# _AM_DEPENDENCIES(NAME)
4327 +# ----------------------
4328 +# See how the compiler implements dependency checking.
4329 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
4330 +# We try a few techniques and use that to set a single cache variable.
4332 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
4333 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
4334 +# dependency, and given that the user is not expected to run this macro,
4335 +# just rely on AC_PROG_CC.
4336 +AC_DEFUN([_AM_DEPENDENCIES],
4337 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
4338 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
4339 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
4340 +AC_REQUIRE([AM_DEP_TRACK])dnl
4342 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
4343 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
4344 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
4345 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
4346 + [depcc="$$1" am_compiler_list=])
4348 +AC_CACHE_CHECK([dependency style of $depcc],
4349 + [am_cv_$1_dependencies_compiler_type],
4350 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4351 + # We make a subdir and do the tests there. Otherwise we can end up
4352 + # making bogus files that we don't know about and never remove. For
4353 + # instance it was reported that on HP-UX the gcc test will end up
4354 + # making a dummy file named `D' -- because `-MD' means `put the output
4356 + mkdir conftest.dir
4357 + # Copy depcomp to subdir because otherwise we won't find it if we're
4358 + # using a relative directory.
4359 + cp "$am_depcomp" conftest.dir
4361 + # We will build objects and dependencies in a subdirectory because
4362 + # it helps to detect inapplicable dependency modes. For instance
4363 + # both Tru64's cc and ICC support -MD to output dependencies as a
4364 + # side effect of compilation, but ICC will put the dependencies in
4365 + # the current directory while Tru64 will put them in the object
4369 + am_cv_$1_dependencies_compiler_type=none
4370 + if test "$am_compiler_list" = ""; then
4371 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
4373 + for depmode in $am_compiler_list; do
4374 + # Setup a source with many dependencies, because some compilers
4375 + # like to wrap large dependency lists on column 80 (with \), and
4376 + # we should not choose a depcomp mode which is confused by this.
4378 + # We need to recreate these files for each test, as the compiler may
4379 + # overwrite some of them when testing with obscure command lines.
4380 + # This happens at least with the AIX C compiler.
4381 + : > sub/conftest.c
4382 + for i in 1 2 3 4 5 6; do
4383 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4384 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4385 + # Solaris 8's {/usr,}/bin/sh.
4386 + touch sub/conftst$i.h
4388 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4392 + # after this tag, mechanisms are not by side-effect, so they'll
4393 + # only be used when explicitly requested
4394 + if test "x$enable_dependency_tracking" = xyes; then
4402 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
4403 + # mode. It turns out that the SunPro C++ compiler does not properly
4404 + # handle `-M -o', and we need to detect this.
4405 + if depmode=$depmode \
4406 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4407 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4408 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4409 + >/dev/null 2>conftest.err &&
4410 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4411 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4412 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4413 + # icc doesn't choke on unknown options, it will just issue warnings
4414 + # or remarks (even with -Werror). So we grep stderr for any message
4415 + # that says an option was ignored or not supported.
4416 + # When given -MP, icc 7.0 and 7.1 complain thusly:
4417 + # icc: Command line warning: ignoring option '-M'; no argument required
4418 + # The diagnosis changed in icc 8.0:
4419 + # icc: Command line remark: option '-MP' not supported
4420 + if (grep 'ignoring option' conftest.err ||
4421 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4422 + am_cv_$1_dependencies_compiler_type=$depmode
4429 + rm -rf conftest.dir
4431 + am_cv_$1_dependencies_compiler_type=none
4434 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
4435 +AM_CONDITIONAL([am__fastdep$1], [
4436 + test "x$enable_dependency_tracking" != xno \
4437 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
4443 +# Choose a directory name for dependency files.
4444 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
4445 +AC_DEFUN([AM_SET_DEPDIR],
4446 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4447 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
4453 +AC_DEFUN([AM_DEP_TRACK],
4454 +[AC_ARG_ENABLE(dependency-tracking,
4455 +[ --disable-dependency-tracking speeds up one-time build
4456 + --enable-dependency-tracking do not reject slow dependency extractors])
4457 +if test "x$enable_dependency_tracking" != xno; then
4458 + am_depcomp="$ac_aux_dir/depcomp"
4459 + AMDEPBACKSLASH='\'
4461 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4462 +AC_SUBST([AMDEPBACKSLASH])
4465 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4467 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4468 +# Free Software Foundation, Inc.
4470 +# This file is free software; the Free Software Foundation
4471 +# gives unlimited permission to copy and/or distribute it,
4472 +# with or without modifications, as long as this notice is preserved.
4476 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
4477 +# ------------------------------
4478 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
4479 +[for mf in $CONFIG_FILES; do
4480 + # Strip MF so we end up with the name of the file.
4481 + mf=`echo "$mf" | sed -e 's/:.*$//'`
4482 + # Check whether this is an Automake generated Makefile or not.
4483 + # We used to match only the files named `Makefile.in', but
4484 + # some people rename them; so instead we look at the file content.
4485 + # Grep'ing the first line is not enough: some people post-process
4486 + # each Makefile.in and add a new line on top of each file to say so.
4487 + # So let's grep whole file.
4488 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4489 + dirpart=`AS_DIRNAME("$mf")`
4493 + # Extract the definition of DEPDIR, am__include, and am__quote
4494 + # from the Makefile without running `make'.
4495 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4496 + test -z "$DEPDIR" && continue
4497 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
4498 + test -z "am__include" && continue
4499 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4500 + # When using ansi2knr, U may be empty or an underscore; expand it
4501 + U=`sed -n 's/^U = //p' < "$mf"`
4502 + # Find all dependency output files, they are included files with
4503 + # $(DEPDIR) in their names. We invoke sed twice because it is the
4504 + # simplest approach to changing $(DEPDIR) to its actual value in the
4506 + for file in `sed -n "
4507 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4508 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4509 + # Make sure the directory exists.
4510 + test -f "$dirpart/$file" && continue
4511 + fdir=`AS_DIRNAME(["$file"])`
4512 + AS_MKDIR_P([$dirpart/$fdir])
4513 + # echo "creating $dirpart/$file"
4514 + echo '# dummy' > "$dirpart/$file"
4517 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
4520 +# AM_OUTPUT_DEPENDENCY_COMMANDS
4521 +# -----------------------------
4522 +# This macro should only be invoked once -- use via AC_REQUIRE.
4524 +# This code is only required when automatic dependency tracking
4525 +# is enabled. FIXME. This creates each `.P' file that we will
4526 +# need in order to bootstrap the dependency handling code.
4527 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4528 +[AC_CONFIG_COMMANDS([depfiles],
4529 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
4530 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4533 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4534 +# Free Software Foundation, Inc.
4536 +# This file is free software; the Free Software Foundation
4537 +# gives unlimited permission to copy and/or distribute it,
4538 +# with or without modifications, as long as this notice is preserved.
4542 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4543 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4545 +# Do all the work for Automake. -*- Autoconf -*-
4547 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4548 +# Free Software Foundation, Inc.
4550 +# This file is free software; the Free Software Foundation
4551 +# gives unlimited permission to copy and/or distribute it,
4552 +# with or without modifications, as long as this notice is preserved.
4556 +# This macro actually does too much. Some checks are only needed if
4557 +# your package does certain things. But this isn't really a big deal.
4559 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4560 +# AM_INIT_AUTOMAKE([OPTIONS])
4561 +# -----------------------------------------------
4562 +# The call with PACKAGE and VERSION arguments is the old style
4563 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
4564 +# and VERSION should now be passed to AC_INIT and removed from
4565 +# the call to AM_INIT_AUTOMAKE.
4566 +# We support both call styles for the transition. After
4567 +# the next Automake release, Autoconf can make the AC_INIT
4568 +# arguments mandatory, and then we can depend on a new Autoconf
4569 +# release and drop the old call support.
4570 +AC_DEFUN([AM_INIT_AUTOMAKE],
4571 +[AC_PREREQ([2.58])dnl
4572 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
4573 +dnl the ones we care about.
4574 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
4575 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
4576 +AC_REQUIRE([AC_PROG_INSTALL])dnl
4577 +# test to see if srcdir already configured
4578 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
4579 + test -f $srcdir/config.status; then
4580 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
4583 +# test whether we have cygpath
4584 +if test -z "$CYGPATH_W"; then
4585 + if (cygpath --version) >/dev/null 2>/dev/null; then
4586 + CYGPATH_W='cygpath -w'
4591 +AC_SUBST([CYGPATH_W])
4593 +# Define the identity of the package.
4594 +dnl Distinguish between old-style and new-style calls.
4596 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
4597 + AC_SUBST([PACKAGE], [$1])dnl
4598 + AC_SUBST([VERSION], [$2])],
4599 +[_AM_SET_OPTIONS([$1])dnl
4600 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4601 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4603 +_AM_IF_OPTION([no-define],,
4604 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4605 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
4607 +# Some tools Automake needs.
4608 +AC_REQUIRE([AM_SANITY_CHECK])dnl
4609 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
4610 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
4611 +AM_MISSING_PROG(AUTOCONF, autoconf)
4612 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
4613 +AM_MISSING_PROG(AUTOHEADER, autoheader)
4614 +AM_MISSING_PROG(MAKEINFO, makeinfo)
4616 +AM_PROG_INSTALL_STRIP
4617 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
4618 +# We need awk for the "check" target. The system "awk" is bad on
4620 +AC_REQUIRE([AC_PROG_AWK])dnl
4621 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4622 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4623 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
4624 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
4625 + [_AM_PROG_TAR([v7])])])
4626 +_AM_IF_OPTION([no-dependencies],,
4627 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
4628 + [_AM_DEPENDENCIES(CC)],
4629 + [define([AC_PROG_CC],
4630 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4631 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
4632 + [_AM_DEPENDENCIES(CXX)],
4633 + [define([AC_PROG_CXX],
4634 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4639 +# When config.status generates a header, we must update the stamp-h file.
4640 +# This file resides in the same directory as the config header
4641 +# that is generated. The stamp files are numbered to have different names.
4643 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
4644 +# loop where config.status creates the headers, so we can generate
4645 +# our stamp files there.
4646 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
4647 +[# Compute $1's index in $config_headers.
4649 +for _am_header in $config_headers :; do
4650 + case $_am_header in
4654 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4657 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4659 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4661 +# This file is free software; the Free Software Foundation
4662 +# gives unlimited permission to copy and/or distribute it,
4663 +# with or without modifications, as long as this notice is preserved.
4665 +# AM_PROG_INSTALL_SH
4666 +# ------------------
4667 +# Define $install_sh.
4668 +AC_DEFUN([AM_PROG_INSTALL_SH],
4669 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4670 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
4671 +AC_SUBST(install_sh)])
4673 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4675 +# This file is free software; the Free Software Foundation
4676 +# gives unlimited permission to copy and/or distribute it,
4677 +# with or without modifications, as long as this notice is preserved.
4681 +# Check whether the underlying file-system supports filenames
4682 +# with a leading dot. For instance MS-DOS doesn't.
4683 +AC_DEFUN([AM_SET_LEADING_DOT],
4684 +[rm -rf .tst 2>/dev/null
4685 +mkdir .tst 2>/dev/null
4686 +if test -d .tst; then
4691 +rmdir .tst 2>/dev/null
4692 +AC_SUBST([am__leading_dot])])
4694 +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
4695 +# Free Software Foundation, Inc.
4697 +# This file is free software; the Free Software Foundation
4698 +# gives unlimited permission to copy and/or distribute it,
4699 +# with or without modifications, as long as this notice is preserved.
4705 +# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
4706 +# "missing" invocation, for better error output.
4707 +AC_DEFUN([AM_PROG_LEX],
4708 +[AC_PREREQ(2.50)dnl
4709 +AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
4710 +AC_REQUIRE([AC_PROG_LEX])dnl
4711 +if test "$LEX" = :; then
4712 + LEX=${am_missing_run}flex
4715 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4717 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4719 +# This file is free software; the Free Software Foundation
4720 +# gives unlimited permission to copy and/or distribute it,
4721 +# with or without modifications, as long as this notice is preserved.
4725 +# AM_MAKE_INCLUDE()
4726 +# -----------------
4727 +# Check to see how make treats includes.
4728 +AC_DEFUN([AM_MAKE_INCLUDE],
4729 +[am_make=${MAKE-make}
4730 +cat > confinc << 'END'
4735 +# If we don't find an include directive, just comment out the code.
4736 +AC_MSG_CHECKING([for style of include used by $am_make])
4740 +# First try GNU make style include.
4741 +echo "include confinc" > confmf
4742 +# We grep out `Entering directory' and `Leaving directory'
4743 +# messages which can occur if `w' ends up in MAKEFLAGS.
4744 +# In particular we don't look at `^make:' because GNU make might
4745 +# be invoked under some other name (usually "gmake"), in which
4746 +# case it prints its new name instead of `make'.
4747 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4748 + am__include=include
4752 +# Now try BSD make style include.
4753 +if test "$am__include" = "#"; then
4754 + echo '.include "confinc"' > confmf
4755 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4756 + am__include=.include
4761 +AC_SUBST([am__include])
4762 +AC_SUBST([am__quote])
4763 +AC_MSG_RESULT([$_am_result])
4764 +rm -f confinc confmf
4767 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4769 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
4770 +# Free Software Foundation, Inc.
4772 +# This file is free software; the Free Software Foundation
4773 +# gives unlimited permission to copy and/or distribute it,
4774 +# with or without modifications, as long as this notice is preserved.
4778 +# AM_MISSING_PROG(NAME, PROGRAM)
4779 +# ------------------------------
4780 +AC_DEFUN([AM_MISSING_PROG],
4781 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
4782 +$1=${$1-"${am_missing_run}$2"}
4786 +# AM_MISSING_HAS_RUN
4787 +# ------------------
4788 +# Define MISSING if not defined so far and test if it supports --run.
4789 +# If it does, set am_missing_run to use it, otherwise, to nothing.
4790 +AC_DEFUN([AM_MISSING_HAS_RUN],
4791 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4792 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4793 +# Use eval to expand $SHELL
4794 +if eval "$MISSING --run true"; then
4795 + am_missing_run="$MISSING --run "
4798 + AC_MSG_WARN([`missing' script is too old or missing])
4802 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4804 +# This file is free software; the Free Software Foundation
4805 +# gives unlimited permission to copy and/or distribute it,
4806 +# with or without modifications, as long as this notice is preserved.
4810 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4812 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4813 +# created by `make install' are always world readable, even if the
4814 +# installer happens to have an overly restrictive umask (e.g. 077).
4815 +# This was a mistake. There are at least two reasons why we must not
4817 +# - it causes special bits like SGID to be ignored,
4818 +# - it may be too restrictive (some setups expect 775 directories).
4820 +# Do not use -m 0755 and let people choose whatever they expect by
4823 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
4824 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
4825 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
4826 +# concurrently, both version can detect that a/ is missing, but only
4827 +# one can create it and the other will error out. Consequently we
4828 +# restrict ourselves to GNU make (using the --version option ensures
4830 +AC_DEFUN([AM_PROG_MKDIR_P],
4831 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
4832 + # We used to keeping the `.' as first argument, in order to
4833 + # allow $(mkdir_p) to be used without argument. As in
4834 + # $(mkdir_p) $(somedir)
4835 + # where $(somedir) is conditionally defined. However this is wrong
4836 + # for two reasons:
4837 + # 1. if the package is installed by a user who cannot write `.'
4838 + # make install will fail,
4839 + # 2. the above comment should most certainly read
4840 + # $(mkdir_p) $(DESTDIR)$(somedir)
4841 + # so it does not work when $(somedir) is undefined and
4842 + # $(DESTDIR) is not.
4843 + # To support the latter case, we have to write
4844 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
4845 + # so the `.' trick is pointless.
4846 + mkdir_p='mkdir -p --'
4848 + # On NextStep and OpenStep, the `mkdir' command does not
4849 + # recognize any option. It will interpret all options as
4850 + # directories to create, and then abort because `.' already
4852 + for d in ./-p ./--version;
4854 + test -d $d && rmdir $d
4856 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
4857 + if test -f "$ac_aux_dir/mkinstalldirs"; then
4858 + mkdir_p='$(mkinstalldirs)'
4860 + mkdir_p='$(install_sh) -d'
4863 +AC_SUBST([mkdir_p])])
4865 +# Helper functions for option handling. -*- Autoconf -*-
4867 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4869 +# This file is free software; the Free Software Foundation
4870 +# gives unlimited permission to copy and/or distribute it,
4871 +# with or without modifications, as long as this notice is preserved.
4875 +# _AM_MANGLE_OPTION(NAME)
4876 +# -----------------------
4877 +AC_DEFUN([_AM_MANGLE_OPTION],
4878 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
4880 +# _AM_SET_OPTION(NAME)
4881 +# ------------------------------
4882 +# Set option NAME. Presently that only means defining a flag for this option.
4883 +AC_DEFUN([_AM_SET_OPTION],
4884 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
4886 +# _AM_SET_OPTIONS(OPTIONS)
4887 +# ----------------------------------
4888 +# OPTIONS is a space-separated list of Automake options.
4889 +AC_DEFUN([_AM_SET_OPTIONS],
4890 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
4892 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
4893 +# -------------------------------------------
4894 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
4895 +AC_DEFUN([_AM_IF_OPTION],
4896 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4898 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
4900 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4901 +# Free Software Foundation, Inc.
4903 +# This file is free software; the Free Software Foundation
4904 +# gives unlimited permission to copy and/or distribute it,
4905 +# with or without modifications, as long as this notice is preserved.
4911 +AC_DEFUN([AM_SANITY_CHECK],
4912 +[AC_MSG_CHECKING([whether build environment is sane])
4915 +echo timestamp > conftest.file
4916 +# Do `set' in a subshell so we don't clobber the current shell's
4917 +# arguments. Must try -L first in case configure is actually a
4918 +# symlink; some systems play weird games with the mod time of symlinks
4919 +# (eg FreeBSD returns the mod time of the symlink's containing
4922 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4923 + if test "$[*]" = "X"; then
4925 + set X `ls -t $srcdir/configure conftest.file`
4927 + rm -f conftest.file
4928 + if test "$[*]" != "X $srcdir/configure conftest.file" \
4929 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
4931 + # If neither matched, then we have a broken ls. This can happen
4932 + # if, for instance, CONFIG_SHELL is bash and it inherits a
4933 + # broken ls alias from the environment. This has actually
4934 + # happened. Such a system could not be considered "sane".
4935 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
4936 +alias in your environment])
4939 + test "$[2]" = conftest.file
4945 + AC_MSG_ERROR([newly created file is older than distributed files!
4946 +Check your system clock])
4948 +AC_MSG_RESULT(yes)])
4950 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4952 +# This file is free software; the Free Software Foundation
4953 +# gives unlimited permission to copy and/or distribute it,
4954 +# with or without modifications, as long as this notice is preserved.
4956 +# AM_PROG_INSTALL_STRIP
4957 +# ---------------------
4958 +# One issue with vendor `install' (even GNU) is that you can't
4959 +# specify the program used to strip binaries. This is especially
4960 +# annoying in cross-compiling environments, where the build's strip
4961 +# is unlikely to handle the host's binaries.
4962 +# Fortunately install-sh will honor a STRIPPROG variable, so we
4963 +# always use install-sh in `make install-strip', and initialize
4964 +# STRIPPROG with the value of the STRIP variable (set by the user).
4965 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
4966 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4967 +# Installed binaries are usually stripped using `strip' when the user
4968 +# run `make install-strip'. However `strip' might not be the right
4969 +# tool to use in cross-compilation environments, therefore Automake
4970 +# will honor the `STRIP' environment variable to overrule this program.
4971 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
4972 +if test "$cross_compiling" != no; then
4973 + AC_CHECK_TOOL([STRIP], [strip], :)
4975 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4976 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
4978 +# Check how to create a tarball. -*- Autoconf -*-
4980 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4982 +# This file is free software; the Free Software Foundation
4983 +# gives unlimited permission to copy and/or distribute it,
4984 +# with or without modifications, as long as this notice is preserved.
4988 +# _AM_PROG_TAR(FORMAT)
4989 +# --------------------
4990 +# Check how to create a tarball in format FORMAT.
4991 +# FORMAT should be one of `v7', `ustar', or `pax'.
4993 +# Substitute a variable $(am__tar) that is a command
4994 +# writing to stdout a FORMAT-tarball containing the directory
4996 +# tardir=directory && $(am__tar) > result.tar
4998 +# Substitute a variable $(am__untar) that extract such
4999 +# a tarball read from stdin.
5000 +# $(am__untar) < result.tar
5001 +AC_DEFUN([_AM_PROG_TAR],
5002 +[# Always define AMTAR for backward compatibility.
5003 +AM_MISSING_PROG([AMTAR], [tar])
5005 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
5006 + [m4_case([$1], [ustar],, [pax],,
5007 + [m4_fatal([Unknown tar format])])
5008 +AC_MSG_CHECKING([how to create a $1 tar archive])
5009 +# Loop over all known methods to create a tar archive until one works.
5010 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
5011 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
5012 +# Do not fold the above two line into one, because Tru64 sh and
5013 +# Solaris sh will not grok spaces in the rhs of `-'.
5014 +for _am_tool in $_am_tools
5018 + for _am_tar in tar gnutar gtar;
5020 + AM_RUN_LOG([$_am_tar --version]) && break
5022 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
5023 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
5024 + am__untar="$_am_tar -xf -"
5027 + # Must skip GNU tar: if it does not support --format= it doesn't create
5028 + # ustar tarball either.
5029 + (tar --version) >/dev/null 2>&1 && continue
5030 + am__tar='tar chf - "$$tardir"'
5031 + am__tar_='tar chf - "$tardir"'
5032 + am__untar='tar xf -'
5035 + am__tar='pax -L -x $1 -w "$$tardir"'
5036 + am__tar_='pax -L -x $1 -w "$tardir"'
5037 + am__untar='pax -r'
5040 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
5041 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
5042 + am__untar='cpio -i -H $1 -d'
5051 + # If the value was cached, stop now. We just wanted to have am__tar
5052 + # and am__untar set.
5053 + test -n "${am_cv_prog_tar_$1}" && break
5055 + # tar/untar a dummy directory, and stop if the command works
5056 + rm -rf conftest.dir
5057 + mkdir conftest.dir
5058 + echo GrepMe > conftest.dir/file
5059 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
5060 + rm -rf conftest.dir
5061 + if test -s conftest.tar; then
5062 + AM_RUN_LOG([$am__untar <conftest.tar])
5063 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
5066 +rm -rf conftest.dir
5068 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
5069 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
5070 +AC_SUBST([am__tar])
5071 +AC_SUBST([am__untar])
5074 diff -urN atm.old/configure atm.dev/configure
5075 --- atm.old/configure 2007-10-20 16:57:33.442007099 +0200
5076 +++ atm.dev/configure 2007-10-20 16:59:45.781548702 +0200
5079 # Guess values for system-dependent variables and create Makefiles.
5080 -# Generated by GNU Autoconf 2.59.
5081 +# Generated by GNU Autoconf 2.61.
5083 -# Copyright (C) 2003 Free Software Foundation, Inc.
5084 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5085 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5086 # This configure script is free software; the Free Software Foundation
5087 # gives unlimited permission to copy, distribute and modify it.
5088 ## --------------------- ##
5089 ## M4sh Initialization. ##
5090 ## --------------------- ##
5092 -# Be Bourne compatible
5093 +# Be more Bourne compatible
5094 +DUALCASE=1; export DUALCASE # for MKS sh
5095 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5098 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5099 # is contrary to our usage. Disable this feature.
5100 alias -g '${1+"$@"}'='"$@"'
5101 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5103 + setopt NO_GLOB_SUBST
5105 + case `(set -o) 2>/dev/null` in
5106 + *posix*) set -o posix ;;
5115 +# Avoid depending upon Character Ranges.
5116 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5117 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5118 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5119 +as_cr_digits='0123456789'
5120 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5122 +# The user is always right.
5123 +if test "${PATH_SEPARATOR+set}" != set; then
5124 + echo "#! /bin/sh" >conf$$.sh
5125 + echo "exit 0" >>conf$$.sh
5126 + chmod +x conf$$.sh
5127 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5128 + PATH_SEPARATOR=';'
5134 -DUALCASE=1; export DUALCASE # for MKS sh
5136 # Support unset when possible.
5137 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5143 +# We need space, tab and new line, in precisely that order. Quoting is
5144 +# there to prevent editors from complaining about space-tab.
5145 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5146 +# splitting by setting IFS to empty value.)
5151 +# Find who we are. Look in the path if we contain no directory separator.
5153 + *[\\/]* ) as_myself=$0 ;;
5154 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 +for as_dir in $PATH
5158 + test -z "$as_dir" && as_dir=.
5159 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5165 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5166 +# in which case we are not to be found in the path.
5167 +if test "x$as_myself" = x; then
5170 +if test ! -f "$as_myself"; then
5171 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5172 + { (exit 1); exit 1; }
5175 # Work around bugs in pre-3.0 UWIN ksh.
5176 -$as_unset ENV MAIL MAILPATH
5177 +for as_var in ENV MAIL MAILPATH
5178 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5183 @@ -44,18 +108,19 @@
5184 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5185 eval $as_var=C; export $as_var
5188 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5192 # Required to use basename.
5193 -if expr a : '\(a\)' >/dev/null 2>&1; then
5194 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5195 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5201 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5202 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5203 as_basename=basename
5206 @@ -63,157 +128,388 @@
5209 # Name of the executable.
5210 -as_me=`$as_basename "$0" ||
5211 +as_me=`$as_basename -- "$0" ||
5212 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5213 X"$0" : 'X\(//\)$' \| \
5214 - X"$0" : 'X\(/\)$' \| \
5215 - . : '\(.\)' 2>/dev/null ||
5216 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5218 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5219 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5220 - /^X\/\(\/\).*/{ s//\1/; q; }
5222 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5239 -# PATH needs CR, and LINENO needs CR and PATH.
5240 -# Avoid depending upon Character Ranges.
5241 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5242 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5243 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5244 -as_cr_digits='0123456789'
5245 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5247 -# The user is always right.
5248 -if test "${PATH_SEPARATOR+set}" != set; then
5249 - echo "#! /bin/sh" >conf$$.sh
5250 - echo "exit 0" >>conf$$.sh
5251 - chmod +x conf$$.sh
5252 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5253 - PATH_SEPARATOR=';'
5258 +if test "x$CONFIG_SHELL" = x; then
5259 + if (eval ":") 2>/dev/null; then
5260 + as_have_required=yes
5262 + as_have_required=no
5265 + if test $as_have_required = yes && (eval ":
5266 +(as_func_return () {
5269 +as_func_success () {
5272 +as_func_failure () {
5275 +as_func_ret_success () {
5278 +as_func_ret_failure () {
5283 +if as_func_success; then
5287 + echo as_func_success failed.
5290 +if as_func_failure; then
5292 + echo as_func_failure succeeded.
5295 - as_lineno_1=$LINENO
5296 - as_lineno_2=$LINENO
5297 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5298 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5299 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5300 - # Find who we are. Look in the path if we contain no path at all
5301 - # relative or not.
5303 - *[\\/]* ) as_myself=$0 ;;
5304 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 -for as_dir in $PATH
5308 - test -z "$as_dir" && as_dir=.
5309 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5311 +if as_func_ret_success; then
5315 + echo as_func_ret_success failed.
5320 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5321 - # in which case we are not to be found in the path.
5322 - if test "x$as_myself" = x; then
5325 - if test ! -f "$as_myself"; then
5326 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5327 - { (exit 1); exit 1; }; }
5329 - case $CONFIG_SHELL in
5331 +if as_func_ret_failure; then
5333 + echo as_func_ret_failure succeeded.
5336 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5340 + echo positional parameters were not saved.
5343 +test \$exitcode = 0) || { (exit 1); exit 1; }
5346 + as_lineno_1=\$LINENO
5347 + as_lineno_2=\$LINENO
5348 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5349 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5350 +") 2> /dev/null; then
5353 + as_candidate_shells=
5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5358 test -z "$as_dir" && as_dir=.
5359 - for as_base in sh bash ksh sh5; do
5363 - if ("$as_dir/$as_base" -c '
5364 + for as_base in sh bash ksh sh5; do
5365 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5372 + for as_shell in $as_candidate_shells $SHELL; do
5373 + # Try only shells that exist, to save several forks.
5374 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5375 + { ("$as_shell") 2> /dev/null <<\_ASEOF
5376 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5379 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5380 + # is contrary to our usage. Disable this feature.
5381 + alias -g '${1+"$@"}'='"$@"'
5382 + setopt NO_GLOB_SUBST
5384 + case `(set -o) 2>/dev/null` in
5385 + *posix*) set -o posix ;;
5394 + CONFIG_SHELL=$as_shell
5395 + as_have_required=yes
5396 + if { "$as_shell" 2> /dev/null <<\_ASEOF
5397 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5400 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5401 + # is contrary to our usage. Disable this feature.
5402 + alias -g '${1+"$@"}'='"$@"'
5403 + setopt NO_GLOB_SUBST
5405 + case `(set -o) 2>/dev/null` in
5406 + *posix*) set -o posix ;;
5413 +(as_func_return () {
5416 +as_func_success () {
5419 +as_func_failure () {
5422 +as_func_ret_success () {
5425 +as_func_ret_failure () {
5430 +if as_func_success; then
5434 + echo as_func_success failed.
5437 +if as_func_failure; then
5439 + echo as_func_failure succeeded.
5442 +if as_func_ret_success; then
5446 + echo as_func_ret_success failed.
5449 +if as_func_ret_failure; then
5451 + echo as_func_ret_failure succeeded.
5454 +if ( set x; as_func_ret_success y && test x = "$1" ); then
5458 + echo positional parameters were not saved.
5461 +test $exitcode = 0) || { (exit 1); exit 1; }
5466 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5467 test "x$as_lineno_1" != "x$as_lineno_2" &&
5468 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5469 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5470 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5471 - CONFIG_SHELL=$as_dir/$as_base
5472 - export CONFIG_SHELL
5473 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5480 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
5491 + if test "x$CONFIG_SHELL" != x; then
5492 + for as_var in BASH_ENV ENV
5493 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5495 + export CONFIG_SHELL
5496 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5500 + if test $as_have_required = no; then
5501 + echo This script requires a shell more modern than all the
5502 + echo shells that I found on your system. Please install a
5503 + echo modern shell, or manually run the script under such a
5504 + echo shell if you do have one.
5505 + { (exit 1); exit 1; }
5515 +(eval "as_func_return () {
5518 +as_func_success () {
5521 +as_func_failure () {
5524 +as_func_ret_success () {
5527 +as_func_ret_failure () {
5532 +if as_func_success; then
5536 + echo as_func_success failed.
5539 +if as_func_failure; then
5541 + echo as_func_failure succeeded.
5544 +if as_func_ret_success; then
5548 + echo as_func_ret_success failed.
5551 +if as_func_ret_failure; then
5553 + echo as_func_ret_failure succeeded.
5556 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5560 + echo positional parameters were not saved.
5563 +test \$exitcode = 0") || {
5564 + echo No shell found that supports shell functions.
5565 + echo Please tell autoconf@gnu.org about your system,
5566 + echo including any error possibly output before this
5572 + as_lineno_1=$LINENO
5573 + as_lineno_2=$LINENO
5574 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5575 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5577 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5578 # uniformly replaced by the line number. The first 'sed' inserts a
5579 - # line-number line before each line; the second 'sed' does the real
5580 - # work. The second script uses 'N' to pair each line-number line
5581 - # with the numbered line, and appends trailing '-' during
5582 - # substitution so that $LINENO is not a special case at line end.
5583 + # line-number line after each line using $LINENO; the second 'sed'
5584 + # does the real work. The second script uses 'N' to pair each
5585 + # line-number line with the line containing $LINENO, and appends
5586 + # trailing '-' during substitution so that $LINENO is not a special
5587 + # case at line end.
5588 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5589 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5590 - sed '=' <$as_myself |
5591 + # scripts with optimization help from Paolo Bonzini. Blame Lee
5592 + # E. McMahon (1931-1989) for sed's syntax. :-)
5605 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5607 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5610 - s,^['$as_cr_digits']*\n,,
5613 - chmod +x $as_me.lineno ||
5614 + chmod +x "$as_me.lineno" ||
5615 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5616 { (exit 1); exit 1; }; }
5618 # Don't try to exec as it changes $[0], causing all sort of problems
5619 # (the dirname of $[0] is not the place where we might find the
5620 - # original and so on. Autoconf is especially sensible to this).
5622 + # original and so on. Autoconf is especially sensitive to this).
5623 + . "./$as_me.lineno"
5624 # Exit status is that of the last command.
5629 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5630 - *c*,-n*) ECHO_N= ECHO_C='
5632 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5633 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5634 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5635 + as_dirname=dirname
5640 +ECHO_C= ECHO_N= ECHO_T=
5641 +case `echo -n x` in
5643 + case `echo 'x\c'` in
5644 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5651 -if expr a : '\(a\)' >/dev/null 2>&1; then
5652 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5653 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5659 rm -f conf$$ conf$$.exe conf$$.file
5660 +if test -d conf$$.dir; then
5661 + rm -f conf$$.dir/conf$$.file
5667 if ln -s conf$$.file conf$$ 2>/dev/null; then
5668 - # We could just check for DJGPP; but this test a) works b) is more generic
5669 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5670 - if test -f conf$$.exe; then
5671 - # Don't use ln at all; we don't have any links
5673 + # ... but there are two gotchas:
5674 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5675 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5676 + # In both cases, we have to default to `cp -p'.
5677 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5682 elif ln conf$$.file conf$$ 2>/dev/null; then
5687 -rm -f conf$$ conf$$.exe conf$$.file
5688 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5689 +rmdir conf$$.dir 2>/dev/null
5691 if mkdir -p . 2>/dev/null; then
5693 @@ -222,7 +518,28 @@
5697 -as_executable_p="test -f"
5698 +if test -x / >/dev/null 2>&1; then
5699 + as_test_x='test -x'
5701 + if ls -dL / >/dev/null 2>&1; then
5708 + if test -d "$1"; then
5714 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5715 + ???[sx]*):;;*)false;;esac;fi
5719 +as_executable_p=$as_test_x
5721 # Sed expression to map a string onto a valid CPP name.
5722 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5723 @@ -231,26 +548,6 @@
5724 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5728 -# We need space, tab and new line, in precisely that order.
5737 -# Find the correct PATH separator. Usually this is `:', but
5738 -# DJGPP uses `;' like DOS.
5739 -if test "X${PATH_SEPARATOR+set}" != Xset; then
5740 - UNAME=${UNAME-`uname 2>/dev/null`}
5742 - *-DOS) lt_cv_sys_path_separator=';' ;;
5743 - *) lt_cv_sys_path_separator=':' ;;
5745 - PATH_SEPARATOR=$lt_cv_sys_path_separator
5749 # Check that we are running under the correct shell.
5751 elif test "X$1" = X--fallback-echo; then
5752 # Avoid inline document here, it may be left over
5754 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
5755 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
5756 # Yippee, $echo works!
5759 @@ -282,22 +579,22 @@
5760 # used as fallback echo
5769 # The HP-UX ksh and POSIX shell print the target directory to stdout
5771 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
5772 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5774 if test -z "$ECHO"; then
5775 if test "X${echo_test_string+set}" != Xset; then
5776 # find a string as large as possible, as long as the shell can cope with it
5777 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
5778 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
5779 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
5780 - echo_test_string="`eval $cmd`" &&
5781 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
5782 + echo_test_string=`eval $cmd` &&
5783 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
5788 # So, first we look for a working echo in the user's PATH.
5790 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5791 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5792 for dir in $PATH /usr/ucb; do
5793 + IFS="$lt_save_ifs"
5794 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
5795 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
5796 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
5802 + IFS="$lt_save_ifs"
5804 if test "X$echo" = Xecho; then
5805 # We didn't find a better echo, so look for alternatives.
5806 @@ -400,29 +698,31 @@
5811 +tagnames=${tagnames+${tagnames},}CXX
5813 +tagnames=${tagnames+${tagnames},}F77
5815 +exec 7<&0 </dev/null 6>&1
5818 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5819 # so uname gets run too.
5820 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5827 ac_default_prefix=/usr/local
5829 ac_config_libobj_dir=.
5835 SHELL=${CONFIG_SHELL-/bin/sh}
5837 -# Maximum number of lines to put in a shell here document.
5838 -# This variable seems obsolete. It should probably be removed, and
5839 -# only ac_max_sed_lines should be used.
5840 -: ${ac_max_here_lines=38}
5842 # Identity of this package.
5845 @@ -434,42 +734,174 @@
5846 # Factoring default headers for most tests.
5847 ac_includes_default="\
5849 -#if HAVE_SYS_TYPES_H
5850 +#ifdef HAVE_SYS_TYPES_H
5851 # include <sys/types.h>
5853 -#if HAVE_SYS_STAT_H
5854 +#ifdef HAVE_SYS_STAT_H
5855 # include <sys/stat.h>
5858 +#ifdef STDC_HEADERS
5859 # include <stdlib.h>
5860 # include <stddef.h>
5863 +# ifdef HAVE_STDLIB_H
5864 # include <stdlib.h>
5868 -# if !STDC_HEADERS && HAVE_MEMORY_H
5869 +#ifdef HAVE_STRING_H
5870 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5871 # include <memory.h>
5873 # include <string.h>
5876 +#ifdef HAVE_STRINGS_H
5877 # include <strings.h>
5879 -#if HAVE_INTTYPES_H
5880 +#ifdef HAVE_INTTYPES_H
5881 # include <inttypes.h>
5884 -# include <stdint.h>
5888 +#ifdef HAVE_STDINT_H
5889 +# include <stdint.h>
5891 +#ifdef HAVE_UNISTD_H
5892 # include <unistd.h>
5895 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE LIBVER_CURRENT LIBVER_REVISION LIBVER_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBTOOL_DEPS PERL LIBOBJS LTLIBOBJS'
5896 +ac_subst_vars='SHELL
5905 +program_transform_name
5958 +INSTALL_STRIP_PROGRAM
5984 +am__fastdepCC_FALSE
6001 +am__fastdepCXX_TRUE
6002 +am__fastdepCXX_FALSE
6013 + ac_precious_vars='build_alias
6032 # Initialize some variables set by options.
6034 @@ -496,34 +928,48 @@
6035 # and all the variables that are supposed to be based on exec_prefix
6036 # by default will actually change.
6037 # Use braces instead of parens because sh, perl, etc. also accept them.
6038 +# (The list follows the same order as the GNU Coding Standards.)
6039 bindir='${exec_prefix}/bin'
6040 sbindir='${exec_prefix}/sbin'
6041 libexecdir='${exec_prefix}/libexec'
6042 -datadir='${prefix}/share'
6043 +datarootdir='${prefix}/share'
6044 +datadir='${datarootdir}'
6045 sysconfdir='${prefix}/etc'
6046 sharedstatedir='${prefix}/com'
6047 localstatedir='${prefix}/var'
6048 -libdir='${exec_prefix}/lib'
6049 includedir='${prefix}/include'
6050 oldincludedir='/usr/include'
6051 -infodir='${prefix}/info'
6052 -mandir='${prefix}/man'
6053 +docdir='${datarootdir}/doc/${PACKAGE}'
6054 +infodir='${datarootdir}/info'
6055 +htmldir='${docdir}'
6059 +libdir='${exec_prefix}/lib'
6060 +localedir='${datarootdir}/locale'
6061 +mandir='${datarootdir}/man'
6067 # If the previous option needs an argument, assign it.
6068 if test -n "$ac_prev"; then
6069 - eval "$ac_prev=\$ac_option"
6070 + eval $ac_prev=\$ac_option
6075 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6076 + case $ac_option in
6077 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
6078 + *) ac_optarg=yes ;;
6081 # Accept the important Cygnus configure options, so we can diagnose typos.
6083 - case $ac_option in
6084 + case $ac_dashdash$ac_option in
6086 + ac_dashdash=yes ;;
6088 -bindir | --bindir | --bindi | --bind | --bin | --bi)
6090 @@ -545,33 +991,45 @@
6091 --config-cache | -C)
6092 cache_file=config.cache ;;
6094 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6095 + -datadir | --datadir | --datadi | --datad)
6097 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6099 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
6100 datadir=$ac_optarg ;;
6102 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
6103 + | --dataroo | --dataro | --datar)
6104 + ac_prev=datarootdir ;;
6105 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
6106 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
6107 + datarootdir=$ac_optarg ;;
6109 -disable-* | --disable-*)
6110 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6111 # Reject names that are not valid shell variable names.
6112 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6113 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6114 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6115 { (exit 1); exit 1; }; }
6116 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6117 - eval "enable_$ac_feature=no" ;;
6118 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6119 + eval enable_$ac_feature=no ;;
6121 + -docdir | --docdir | --docdi | --doc | --do)
6123 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
6124 + docdir=$ac_optarg ;;
6126 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
6128 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
6129 + dvidir=$ac_optarg ;;
6131 -enable-* | --enable-*)
6132 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6133 # Reject names that are not valid shell variable names.
6134 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6135 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6136 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6137 { (exit 1); exit 1; }; }
6138 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6139 - case $ac_option in
6140 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6141 - *) ac_optarg=yes ;;
6143 - eval "enable_$ac_feature='$ac_optarg'" ;;
6144 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6145 + eval enable_$ac_feature=\$ac_optarg ;;
6147 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6148 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6149 @@ -598,6 +1056,12 @@
6150 -host=* | --host=* | --hos=* | --ho=*)
6151 host_alias=$ac_optarg ;;
6153 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
6154 + ac_prev=htmldir ;;
6155 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
6157 + htmldir=$ac_optarg ;;
6159 -includedir | --includedir | --includedi | --included | --include \
6160 | --includ | --inclu | --incl | --inc)
6161 ac_prev=includedir ;;
6162 @@ -622,13 +1086,16 @@
6163 | --libexe=* | --libex=* | --libe=*)
6164 libexecdir=$ac_optarg ;;
6166 + -localedir | --localedir | --localedi | --localed | --locale)
6167 + ac_prev=localedir ;;
6168 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
6169 + localedir=$ac_optarg ;;
6171 -localstatedir | --localstatedir | --localstatedi | --localstated \
6172 - | --localstate | --localstat | --localsta | --localst \
6173 - | --locals | --local | --loca | --loc | --lo)
6174 + | --localstate | --localstat | --localsta | --localst | --locals)
6175 ac_prev=localstatedir ;;
6176 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6177 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6178 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6179 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6180 localstatedir=$ac_optarg ;;
6182 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6183 @@ -693,6 +1160,16 @@
6184 | --progr-tra=* | --program-tr=* | --program-t=*)
6185 program_transform_name=$ac_optarg ;;
6187 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
6189 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
6190 + pdfdir=$ac_optarg ;;
6192 + -psdir | --psdir | --psdi | --psd | --ps)
6194 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6195 + psdir=$ac_optarg ;;
6197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6198 | -silent | --silent | --silen | --sile | --sil)
6200 @@ -745,24 +1222,20 @@
6202 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6203 # Reject names that are not valid shell variable names.
6204 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6205 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6206 { echo "$as_me: error: invalid package name: $ac_package" >&2
6207 { (exit 1); exit 1; }; }
6208 - ac_package=`echo $ac_package| sed 's/-/_/g'`
6209 - case $ac_option in
6210 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6211 - *) ac_optarg=yes ;;
6213 - eval "with_$ac_package='$ac_optarg'" ;;
6214 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6215 + eval with_$ac_package=\$ac_optarg ;;
6217 -without-* | --without-*)
6218 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6219 # Reject names that are not valid shell variable names.
6220 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6221 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6222 { echo "$as_me: error: invalid package name: $ac_package" >&2
6223 { (exit 1); exit 1; }; }
6224 - ac_package=`echo $ac_package | sed 's/-/_/g'`
6225 - eval "with_$ac_package=no" ;;
6226 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6227 + eval with_$ac_package=no ;;
6230 # Obsolete; use --with-x.
6231 @@ -793,8 +1266,7 @@
6232 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6233 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6234 { (exit 1); exit 1; }; }
6235 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6236 - eval "$ac_envvar='$ac_optarg'"
6237 + eval $ac_envvar=\$ac_optarg
6238 export $ac_envvar ;;
6241 @@ -814,27 +1286,19 @@
6242 { (exit 1); exit 1; }; }
6245 -# Be sure to have absolute paths.
6246 -for ac_var in exec_prefix prefix
6247 +# Be sure to have absolute directory names.
6248 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
6249 + datadir sysconfdir sharedstatedir localstatedir includedir \
6250 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6251 + libdir localedir mandir
6253 - eval ac_val=$`echo $ac_var`
6254 + eval ac_val=\$$ac_var
6256 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6257 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6258 - { (exit 1); exit 1; }; };;
6262 -# Be sure to have absolute paths.
6263 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6264 - localstatedir libdir includedir oldincludedir infodir mandir
6266 - eval ac_val=$`echo $ac_var`
6268 - [\\/$]* | ?:[\\/]* ) ;;
6269 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6270 - { (exit 1); exit 1; }; };;
6271 + [\\/$]* | ?:[\\/]* ) continue;;
6272 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6274 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6275 + { (exit 1); exit 1; }; }
6278 # There might be people who depend on the old broken behavior: `$host'
6279 @@ -861,74 +1325,76 @@
6280 test "$silent" = yes && exec 6>/dev/null
6283 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
6284 +ac_ls_di=`ls -di .` &&
6285 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6286 + { echo "$as_me: error: Working directory cannot be determined" >&2
6287 + { (exit 1); exit 1; }; }
6288 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6289 + { echo "$as_me: error: pwd does not report name of working directory" >&2
6290 + { (exit 1); exit 1; }; }
6293 # Find the source files, if location was not specified.
6294 if test -z "$srcdir"; then
6295 ac_srcdir_defaulted=yes
6296 - # Try the directory containing this script, then its parent.
6297 - ac_confdir=`(dirname "$0") 2>/dev/null ||
6298 + # Try the directory containing this script, then the parent directory.
6299 + ac_confdir=`$as_dirname -- "$0" ||
6300 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6301 X"$0" : 'X\(//\)[^/]' \| \
6302 X"$0" : 'X\(//\)$' \| \
6303 - X"$0" : 'X\(/\)' \| \
6304 - . : '\(.\)' 2>/dev/null ||
6305 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6307 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6308 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6309 - /^X\(\/\/\)$/{ s//\1/; q; }
6310 - /^X\(\/\).*/{ s//\1/; q; }
6312 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6316 + /^X\(\/\/\)[^/].*/{
6330 - if test ! -r $srcdir/$ac_unique_file; then
6331 + if test ! -r "$srcdir/$ac_unique_file"; then
6335 ac_srcdir_defaulted=no
6337 -if test ! -r $srcdir/$ac_unique_file; then
6338 - if test "$ac_srcdir_defaulted" = yes; then
6339 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6340 - { (exit 1); exit 1; }; }
6342 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6343 +if test ! -r "$srcdir/$ac_unique_file"; then
6344 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6345 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6346 { (exit 1); exit 1; }; }
6349 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6350 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6351 - { (exit 1); exit 1; }; }
6352 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6353 -ac_env_build_alias_set=${build_alias+set}
6354 -ac_env_build_alias_value=$build_alias
6355 -ac_cv_env_build_alias_set=${build_alias+set}
6356 -ac_cv_env_build_alias_value=$build_alias
6357 -ac_env_host_alias_set=${host_alias+set}
6358 -ac_env_host_alias_value=$host_alias
6359 -ac_cv_env_host_alias_set=${host_alias+set}
6360 -ac_cv_env_host_alias_value=$host_alias
6361 -ac_env_target_alias_set=${target_alias+set}
6362 -ac_env_target_alias_value=$target_alias
6363 -ac_cv_env_target_alias_set=${target_alias+set}
6364 -ac_cv_env_target_alias_value=$target_alias
6365 -ac_env_CC_set=${CC+set}
6366 -ac_env_CC_value=$CC
6367 -ac_cv_env_CC_set=${CC+set}
6368 -ac_cv_env_CC_value=$CC
6369 -ac_env_CFLAGS_set=${CFLAGS+set}
6370 -ac_env_CFLAGS_value=$CFLAGS
6371 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
6372 -ac_cv_env_CFLAGS_value=$CFLAGS
6373 -ac_env_LDFLAGS_set=${LDFLAGS+set}
6374 -ac_env_LDFLAGS_value=$LDFLAGS
6375 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6376 -ac_cv_env_LDFLAGS_value=$LDFLAGS
6377 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6378 -ac_env_CPPFLAGS_value=$CPPFLAGS
6379 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6380 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6381 -ac_env_CPP_set=${CPP+set}
6382 -ac_env_CPP_value=$CPP
6383 -ac_cv_env_CPP_set=${CPP+set}
6384 -ac_cv_env_CPP_value=$CPP
6385 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6387 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6388 + { (exit 1); exit 1; }; }
6390 +# When building in place, set srcdir=.
6391 +if test "$ac_abs_confdir" = "$ac_pwd"; then
6394 +# Remove unnecessary trailing slashes from srcdir.
6395 +# Double slashes in file names in object file debugging info
6396 +# mess up M-x gdb in Emacs.
6398 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6400 +for ac_var in $ac_precious_vars; do
6401 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
6402 + eval ac_env_${ac_var}_value=\$${ac_var}
6403 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6404 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
6408 # Report the --help message.
6409 @@ -957,9 +1423,6 @@
6410 -n, --no-create do not create output files
6411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
6416 Installation directories:
6417 --prefix=PREFIX install architecture-independent files in PREFIX
6418 [$ac_default_prefix]
6419 @@ -977,15 +1440,22 @@
6420 --bindir=DIR user executables [EPREFIX/bin]
6421 --sbindir=DIR system admin executables [EPREFIX/sbin]
6422 --libexecdir=DIR program executables [EPREFIX/libexec]
6423 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
6424 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6425 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6426 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6427 --libdir=DIR object code libraries [EPREFIX/lib]
6428 --includedir=DIR C header files [PREFIX/include]
6429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
6430 - --infodir=DIR info documentation [PREFIX/info]
6431 - --mandir=DIR man documentation [PREFIX/man]
6432 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
6433 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
6434 + --infodir=DIR info documentation [DATAROOTDIR/info]
6435 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
6436 + --mandir=DIR man documentation [DATAROOTDIR/man]
6437 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
6438 + --htmldir=DIR html documentation [DOCDIR]
6439 + --dvidir=DIR dvi documentation [DOCDIR]
6440 + --pdfdir=DIR pdf documentation [DOCDIR]
6441 + --psdir=DIR ps documentation [DOCDIR]
6445 @@ -1009,9 +1479,12 @@
6447 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6448 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6449 - --enable-shared=PKGS build shared libraries default=yes
6450 - --enable-static=PKGS build static libraries default=yes
6451 - --enable-fast-install=PKGS optimize for fast installation default=yes
6452 + --disable-dependency-tracking speeds up one-time build
6453 + --enable-dependency-tracking do not reject slow dependency extractors
6454 + --enable-shared[=PKGS] build shared libraries [default=yes]
6455 + --enable-static[=PKGS] build static libraries [default=yes]
6456 + --enable-fast-install[=PKGS]
6457 + optimize for fast installation [default=yes]
6458 --disable-libtool-lock avoid locking (might break parallel builds)
6459 --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)
6460 --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)
6461 @@ -1023,8 +1496,10 @@
6463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6465 - --with-gnu-ld assume the C compiler uses GNU ld default=no
6466 - --with-pic try to use only PIC/non-PIC objects default=use both
6467 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
6468 + --with-pic try to use only PIC/non-PIC objects [default=use
6470 + --with-tags[=TAGS] include additional configurations [automatic]
6471 --with-uni=VERSION UNI version to use (3.0,3.1,4.0) default=dynamic
6473 Some influential environment variables:
6474 @@ -1032,126 +1507,105 @@
6475 CFLAGS C compiler flags
6476 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6477 nonstandard directory <lib dir>
6478 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6479 - headers in a nonstandard directory <include dir>
6480 + LIBS libraries to pass to the linker, e.g. -l<library>
6481 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
6482 + you have headers in a nonstandard directory <include dir>
6483 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
6484 + the first program found out of: `bison -y', `byacc', `yacc'.
6485 + YFLAGS The list of arguments that will be passed by default to $YACC.
6486 + This script will default YFLAGS to the empty string to avoid a
6487 + default value of `-d' given by some make applications.
6489 + CXX C++ compiler command
6490 + CXXFLAGS C++ compiler flags
6491 + CXXCPP C++ preprocessor
6492 + F77 Fortran 77 compiler command
6493 + FFLAGS Fortran 77 compiler flags
6495 Use these variables to override the choices made by `configure' or to help
6496 it to find libraries and programs with nonstandard names/locations.
6502 if test "$ac_init_help" = "recursive"; then
6503 # If there are subdirs, report their specific --help.
6505 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6506 - test -d $ac_dir || continue
6507 + test -d "$ac_dir" || continue
6510 -if test "$ac_dir" != .; then
6512 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6514 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6515 - # A "../" for each directory in $ac_dir_suffix.
6516 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6518 - ac_dir_suffix= ac_top_builddir=
6520 + # A ".." for each directory in $ac_dir_suffix.
6521 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6522 + case $ac_top_builddir_sub in
6523 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6524 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6527 +ac_abs_top_builddir=$ac_pwd
6528 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6529 +# for backward compatibility:
6530 +ac_top_builddir=$ac_top_build_prefix
6533 - .) # No --srcdir option. We are building in place.
6534 + .) # We are building in place.
6536 - if test -z "$ac_top_builddir"; then
6539 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6541 - [\\/]* | ?:[\\/]* ) # Absolute path.
6542 + ac_top_srcdir=$ac_top_builddir_sub
6543 + ac_abs_top_srcdir=$ac_pwd ;;
6544 + [\\/]* | ?:[\\/]* ) # Absolute name.
6545 ac_srcdir=$srcdir$ac_dir_suffix;
6546 - ac_top_srcdir=$srcdir ;;
6547 - *) # Relative path.
6548 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6549 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6552 -# Do not use `cd foo && pwd` to compute absolute paths, because
6553 -# the directories may not exist.
6555 -.) ac_abs_builddir="$ac_dir";;
6558 - .) ac_abs_builddir=`pwd`;;
6559 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6560 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6563 -case $ac_abs_builddir in
6564 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6566 - case ${ac_top_builddir}. in
6567 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6568 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6569 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6572 -case $ac_abs_builddir in
6573 -.) ac_abs_srcdir=$ac_srcdir;;
6575 - case $ac_srcdir in
6576 - .) ac_abs_srcdir=$ac_abs_builddir;;
6577 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6578 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6581 -case $ac_abs_builddir in
6582 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6584 - case $ac_top_srcdir in
6585 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6586 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6587 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6589 + ac_top_srcdir=$srcdir
6590 + ac_abs_top_srcdir=$srcdir ;;
6591 + *) # Relative name.
6592 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6593 + ac_top_srcdir=$ac_top_build_prefix$srcdir
6594 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6596 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6599 - # Check for guested configure; otherwise get Cygnus style configure.
6600 - if test -f $ac_srcdir/configure.gnu; then
6602 - $SHELL $ac_srcdir/configure.gnu --help=recursive
6603 - elif test -f $ac_srcdir/configure; then
6605 - $SHELL $ac_srcdir/configure --help=recursive
6606 - elif test -f $ac_srcdir/configure.ac ||
6607 - test -f $ac_srcdir/configure.in; then
6609 - $ac_configure --help
6610 + cd "$ac_dir" || { ac_status=$?; continue; }
6611 + # Check for guested configure.
6612 + if test -f "$ac_srcdir/configure.gnu"; then
6614 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
6615 + elif test -f "$ac_srcdir/configure"; then
6617 + $SHELL "$ac_srcdir/configure" --help=recursive
6619 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6622 + fi || ac_status=$?
6623 + cd "$ac_pwd" || { ac_status=$?; break; }
6627 -test -n "$ac_init_help" && exit 0
6628 +test -n "$ac_init_help" && exit $ac_status
6629 if $ac_init_version; then
6632 +generated by GNU Autoconf 2.61
6634 -Copyright (C) 2003 Free Software Foundation, Inc.
6635 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6636 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6637 This configure script is free software; the Free Software Foundation
6638 gives unlimited permission to copy, distribute and modify it.
6645 +cat >config.log <<_ACEOF
6646 This file contains any messages produced by compilers while
6647 running configure, to aid debugging if configure makes a mistake.
6649 It was created by $as_me, which was
6650 -generated by GNU Autoconf 2.59. Invocation command line was
6651 +generated by GNU Autoconf 2.61. Invocation command line was
6660 @@ -1170,7 +1624,7 @@
6661 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6662 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6663 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6664 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6665 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
6666 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6667 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6668 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6669 @@ -1184,6 +1638,7 @@
6670 test -z "$as_dir" && as_dir=.
6671 echo "PATH: $as_dir"
6677 @@ -1205,7 +1660,6 @@
6682 ac_must_keep_next=false
6685 @@ -1216,7 +1670,7 @@
6686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6687 | -silent | --silent | --silen | --sile | --sil)
6689 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6691 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6694 @@ -1238,9 +1692,7 @@
6695 -* ) ac_must_keep_next=true ;;
6698 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6699 - # Get rid of the leading space.
6701 + ac_configure_args="$ac_configure_args '$ac_arg'"
6705 @@ -1251,8 +1703,8 @@
6706 # When interrupted or exit'd, cleanup temporary files, and complete
6707 # config.log. We remove comments because anyway the quotes in there
6708 # would cause problems or look ugly.
6709 -# WARNING: Be sure not to use single quotes in there, as some shells,
6710 -# such as our DU 5.0 friend, will then `close' the trap.
6711 +# WARNING: Use '\'' to represent an apostrophe within the trap.
6712 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
6713 trap 'exit_status=$?
6714 # Save into config.log some information that might help in debugging.
6716 @@ -1265,20 +1717,34 @@
6719 # The following way of writing the cache mishandles newlines in values,
6722 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
6723 + eval ac_val=\$$ac_var
6724 + case $ac_val in #(
6726 + case $ac_var in #(
6727 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6728 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6730 + case $ac_var in #(
6731 + _ | IFS | as_nl) ;; #(
6732 + *) $as_unset $ac_var ;;
6737 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6739 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
6740 + *${as_nl}ac_space=\ *)
6742 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6743 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6745 + "s/'\''/'\''\\\\'\'''\''/g;
6746 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
6750 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6751 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6761 @@ -1289,22 +1755,28 @@
6763 for ac_var in $ac_subst_vars
6765 - eval ac_val=$`echo $ac_var`
6766 - echo "$ac_var='"'"'$ac_val'"'"'"
6767 + eval ac_val=\$$ac_var
6769 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6771 + echo "$ac_var='\''$ac_val'\''"
6775 if test -n "$ac_subst_files"; then
6777 -## ------------- ##
6778 -## Output files. ##
6779 -## ------------- ##
6780 +## ------------------- ##
6781 +## File substitutions. ##
6782 +## ------------------- ##
6785 for ac_var in $ac_subst_files
6787 - eval ac_val=$`echo $ac_var`
6788 - echo "$ac_var='"'"'$ac_val'"'"'"
6789 + eval ac_val=\$$ac_var
6791 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6793 + echo "$ac_var='\''$ac_val'\''"
6797 @@ -1316,26 +1788,24 @@
6801 - sed "/^$/d" confdefs.h | sort
6805 test "$ac_signal" != 0 &&
6806 echo "$as_me: caught signal $ac_signal"
6807 echo "$as_me: exit $exit_status"
6809 - rm -f core *.core &&
6810 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6811 + rm -f core *.core core.conftest.* &&
6812 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
6816 for ac_signal in 1 2 13 15; do
6817 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6821 # confdefs.h avoids OS command line length limits that DEFS can exceed.
6822 -rm -rf conftest* confdefs.h
6823 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6825 +rm -f -r conftest* confdefs.h
6827 # Predefined preprocessor variables.
6829 @@ -1366,14 +1836,17 @@
6831 # Let the site file select an alternate cache file if it wants to.
6832 # Prefer explicitly selected file to automatically selected ones.
6833 -if test -z "$CONFIG_SITE"; then
6834 - if test "x$prefix" != xNONE; then
6835 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6837 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6839 +if test -n "$CONFIG_SITE"; then
6840 + set x "$CONFIG_SITE"
6841 +elif test "x$prefix" != xNONE; then
6842 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
6844 + set x "$ac_default_prefix/share/config.site" \
6845 + "$ac_default_prefix/etc/config.site"
6847 -for ac_site_file in $CONFIG_SITE; do
6851 if test -r "$ac_site_file"; then
6852 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6853 echo "$as_me: loading site script $ac_site_file" >&6;}
6854 @@ -1389,8 +1862,8 @@
6855 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6856 echo "$as_me: loading cache $cache_file" >&6;}
6858 - [\\/]* | ?:[\\/]* ) . $cache_file;;
6859 - *) . ./$cache_file;;
6860 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
6861 + *) . "./$cache_file";;
6865 @@ -1402,12 +1875,11 @@
6866 # Check that the precious variables saved in the cache have kept the same
6868 ac_cache_corrupted=false
6869 -for ac_var in `(set) 2>&1 |
6870 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6871 +for ac_var in $ac_precious_vars; do
6872 eval ac_old_set=\$ac_cv_env_${ac_var}_set
6873 eval ac_new_set=\$ac_env_${ac_var}_set
6874 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6875 - eval ac_new_val="\$ac_env_${ac_var}_value"
6876 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
6877 + eval ac_new_val=\$ac_env_${ac_var}_value
6878 case $ac_old_set,$ac_new_set in
6880 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6881 @@ -1432,8 +1904,7 @@
6882 # Pass precious variables to config.status.
6883 if test "$ac_new_set" = set; then
6885 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6886 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6887 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6888 *) ac_arg=$ac_var=$ac_new_val ;;
6890 case " $ac_configure_args " in
6891 @@ -1450,14 +1921,6 @@
6892 { (exit 1); exit 1; }; }
6896 -ac_cpp='$CPP $CPPFLAGS'
6897 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6898 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6899 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6906 @@ -1474,111 +1937,165 @@
6911 +ac_cpp='$CPP $CPPFLAGS'
6912 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6913 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6914 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6916 - ac_config_headers="$ac_config_headers config.h"
6918 - ac_config_commands="$ac_config_commands default-1"
6919 +ac_config_headers="$ac_config_headers config.h"
6923 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6924 - if test -f $ac_dir/install-sh; then
6925 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6926 + if test -f "$ac_dir/install-sh"; then
6928 ac_install_sh="$ac_aux_dir/install-sh -c"
6930 - elif test -f $ac_dir/install.sh; then
6931 + elif test -f "$ac_dir/install.sh"; then
6933 ac_install_sh="$ac_aux_dir/install.sh -c"
6935 - elif test -f $ac_dir/shtool; then
6936 + elif test -f "$ac_dir/shtool"; then
6938 ac_install_sh="$ac_aux_dir/shtool install -c"
6942 if test -z "$ac_aux_dir"; then
6943 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6944 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6945 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6946 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6947 { (exit 1); exit 1; }; }
6949 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6950 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6951 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6953 +# These three variables are undocumented and unsupported,
6954 +# and are intended to be withdrawn in a future Autoconf release.
6955 +# They can cause serious problems if a builder's source tree is in a directory
6956 +# whose full name contains unusual characters.
6957 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6958 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6959 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6962 # Make sure we can run config.sub.
6963 -$ac_config_sub sun4 >/dev/null 2>&1 ||
6964 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6965 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6966 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6967 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6968 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6969 { (exit 1); exit 1; }; }
6971 -echo "$as_me:$LINENO: checking build system type" >&5
6972 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
6973 +{ echo "$as_me:$LINENO: checking build system type" >&5
6974 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6975 if test "${ac_cv_build+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 - ac_cv_build_alias=$build_alias
6979 -test -z "$ac_cv_build_alias" &&
6980 - ac_cv_build_alias=`$ac_config_guess`
6981 -test -z "$ac_cv_build_alias" &&
6982 + ac_build_alias=$build_alias
6983 +test "x$ac_build_alias" = x &&
6984 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6985 +test "x$ac_build_alias" = x &&
6986 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6987 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6988 { (exit 1); exit 1; }; }
6989 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6990 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6991 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6992 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6993 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6994 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6995 { (exit 1); exit 1; }; }
6998 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6999 -echo "${ECHO_T}$ac_cv_build" >&6
7000 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7001 +echo "${ECHO_T}$ac_cv_build" >&6; }
7002 +case $ac_cv_build in
7004 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7005 +echo "$as_me: error: invalid value of canonical build" >&2;}
7006 + { (exit 1); exit 1; }; };;
7009 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7010 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7011 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7012 +ac_save_IFS=$IFS; IFS='-'
7018 +# Remember, the first character of IFS is used to create $*,
7019 +# except with old shells:
7022 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7025 -echo "$as_me:$LINENO: checking host system type" >&5
7026 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
7027 +{ echo "$as_me:$LINENO: checking host system type" >&5
7028 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7029 if test "${ac_cv_host+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 - ac_cv_host_alias=$host_alias
7033 -test -z "$ac_cv_host_alias" &&
7034 - ac_cv_host_alias=$ac_cv_build_alias
7035 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7036 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7037 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7038 + if test "x$host_alias" = x; then
7039 + ac_cv_host=$ac_cv_build
7041 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7042 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7043 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7044 { (exit 1); exit 1; }; }
7048 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7049 -echo "${ECHO_T}$ac_cv_host" >&6
7050 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7051 +echo "${ECHO_T}$ac_cv_host" >&6; }
7052 +case $ac_cv_host in
7054 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7055 +echo "$as_me: error: invalid value of canonical host" >&2;}
7056 + { (exit 1); exit 1; }; };;
7059 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7060 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7061 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7062 +ac_save_IFS=$IFS; IFS='-'
7068 +# Remember, the first character of IFS is used to create $*,
7069 +# except with old shells:
7072 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7075 -echo "$as_me:$LINENO: checking target system type" >&5
7076 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
7077 +{ echo "$as_me:$LINENO: checking target system type" >&5
7078 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
7079 if test "${ac_cv_target+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 - ac_cv_target_alias=$target_alias
7083 -test "x$ac_cv_target_alias" = "x" &&
7084 - ac_cv_target_alias=$ac_cv_host_alias
7085 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
7086 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7087 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7088 + if test "x$target_alias" = x; then
7089 + ac_cv_target=$ac_cv_host
7091 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
7092 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
7093 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
7094 { (exit 1); exit 1; }; }
7098 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7099 -echo "${ECHO_T}$ac_cv_target" >&6
7100 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7101 +echo "${ECHO_T}$ac_cv_target" >&6; }
7102 +case $ac_cv_target in
7104 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
7105 +echo "$as_me: error: invalid value of canonical target" >&2;}
7106 + { (exit 1); exit 1; }; };;
7108 target=$ac_cv_target
7109 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7110 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7111 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7112 +ac_save_IFS=$IFS; IFS='-'
7113 +set x $ac_cv_target
7118 +# Remember, the first character of IFS is used to create $*,
7119 +# except with old shells:
7122 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
7125 # The aliases save the names the user supplied, while $host etc.
7126 @@ -1588,7 +2105,7 @@
7128 program_prefix=${target_alias}-
7130 -am__api_version="1.4"
7131 +am__api_version="1.9"
7132 # Find a good install program. We prefer a C program (faster),
7133 # so one script is as good as another. But avoid the broken or
7134 # incompatible versions:
7135 @@ -1602,8 +2119,8 @@
7136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7137 # OS/2's system install, which has a completely different semantic
7138 # ./install, which can be erroneously created by make from ./install.sh.
7139 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7140 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7141 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7142 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7143 if test -z "$INSTALL"; then
7144 if test "${ac_cv_path_install+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7146 @@ -1625,7 +2142,7 @@
7148 for ac_prog in ginstall scoinst install; do
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7151 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7152 if test $ac_prog = install &&
7153 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7154 # AIX install. It has an incompatible calling convention.
7155 @@ -1644,21 +2161,22 @@
7163 if test "${ac_cv_path_install+set}" = set; then
7164 INSTALL=$ac_cv_path_install
7166 - # As a last resort, use the slow shell script. We don't cache a
7167 - # path for INSTALL within a source directory, because that will
7168 + # As a last resort, use the slow shell script. Don't cache a
7169 + # value for INSTALL within a source directory, because that will
7170 # break other packages using the cache if that directory is
7171 - # removed, or if the path is relative.
7172 + # removed, or if the value is a relative name.
7173 INSTALL=$ac_install_sh
7176 -echo "$as_me:$LINENO: result: $INSTALL" >&5
7177 -echo "${ECHO_T}$INSTALL" >&6
7178 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7179 +echo "${ECHO_T}$INSTALL" >&6; }
7181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7182 # It thinks the first close brace ends the variable substitution.
7183 @@ -1668,24 +2186,25 @@
7185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7187 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7188 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7189 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7190 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7193 -echo timestamp > conftestfile
7194 +echo timestamp > conftest.file
7195 # Do `set' in a subshell so we don't clobber the current shell's
7196 # arguments. Must try -L first in case configure is actually a
7197 # symlink; some systems play weird games with the mod time of symlinks
7198 # (eg FreeBSD returns the mod time of the symlink's containing
7201 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
7202 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7203 if test "$*" = "X"; then
7205 - set X `ls -t $srcdir/configure conftestfile`
7206 + set X `ls -t $srcdir/configure conftest.file`
7208 - if test "$*" != "X $srcdir/configure conftestfile" \
7209 - && test "$*" != "X conftestfile $srcdir/configure"; then
7210 + rm -f conftest.file
7211 + if test "$*" != "X $srcdir/configure conftest.file" \
7212 + && test "$*" != "X conftest.file $srcdir/configure"; then
7214 # If neither matched, then we have a broken ls. This can happen
7215 # if, for instance, CONFIG_SHELL is bash and it inherits a
7216 @@ -1698,7 +2217,7 @@
7217 { (exit 1); exit 1; }; }
7220 - test "$2" = conftestfile
7221 + test "$2" = conftest.file
7225 @@ -1710,62 +2229,171 @@
7226 Check your system clock" >&2;}
7227 { (exit 1); exit 1; }; }
7230 -echo "$as_me:$LINENO: result: yes" >&5
7231 -echo "${ECHO_T}yes" >&6
7232 +{ echo "$as_me:$LINENO: result: yes" >&5
7233 +echo "${ECHO_T}yes" >&6; }
7234 test "$program_prefix" != NONE &&
7235 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
7236 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
7237 # Use a double $ so make ignores it.
7238 test "$program_suffix" != NONE &&
7239 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7240 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7241 # Double any \ or $. echo might interpret backslashes.
7242 # By default was `s,x,x', remove it if useless.
7243 cat <<\_ACEOF >conftest.sed
7244 s/[\\$]/&&/g;s/;s,x,x,$//
7246 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7250 +# expand $ac_aux_dir to an absolute path
7251 +am_aux_dir=`cd $ac_aux_dir && pwd`
7253 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7254 +# Use eval to expand $SHELL
7255 +if eval "$MISSING --run true"; then
7256 + am_missing_run="$MISSING --run "
7259 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7260 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7263 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7264 + # We used to keeping the `.' as first argument, in order to
7265 + # allow $(mkdir_p) to be used without argument. As in
7266 + # $(mkdir_p) $(somedir)
7267 + # where $(somedir) is conditionally defined. However this is wrong
7268 + # for two reasons:
7269 + # 1. if the package is installed by a user who cannot write `.'
7270 + # make install will fail,
7271 + # 2. the above comment should most certainly read
7272 + # $(mkdir_p) $(DESTDIR)$(somedir)
7273 + # so it does not work when $(somedir) is undefined and
7274 + # $(DESTDIR) is not.
7275 + # To support the latter case, we have to write
7276 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7277 + # so the `.' trick is pointless.
7278 + mkdir_p='mkdir -p --'
7280 + # On NextStep and OpenStep, the `mkdir' command does not
7281 + # recognize any option. It will interpret all options as
7282 + # directories to create, and then abort because `.' already
7284 + for d in ./-p ./--version;
7286 + test -d $d && rmdir $d
7288 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7289 + if test -f "$ac_aux_dir/mkinstalldirs"; then
7290 + mkdir_p='$(mkinstalldirs)'
7292 + mkdir_p='$(install_sh) -d'
7296 +for ac_prog in gawk mawk nawk awk
7298 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7299 +set dummy $ac_prog; ac_word=$2
7300 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7301 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7302 +if test "${ac_cv_prog_AWK+set}" = set; then
7303 + echo $ECHO_N "(cached) $ECHO_C" >&6
7305 + if test -n "$AWK"; then
7306 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
7308 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 +for as_dir in $PATH
7312 + test -z "$as_dir" && as_dir=.
7313 + for ac_exec_ext in '' $ac_executable_extensions; do
7314 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7315 + ac_cv_prog_AWK="$ac_prog"
7316 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 +AWK=$ac_cv_prog_AWK
7326 +if test -n "$AWK"; then
7327 + { echo "$as_me:$LINENO: result: $AWK" >&5
7328 +echo "${ECHO_T}$AWK" >&6; }
7330 + { echo "$as_me:$LINENO: result: no" >&5
7331 +echo "${ECHO_T}no" >&6; }
7335 + test -n "$AWK" && break
7338 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7339 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7340 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7341 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7342 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7343 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7344 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7345 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 cat >conftest.make <<\_ACEOF
7351 - @echo 'ac_maketemp="$(MAKE)"'
7352 + @echo '@@@%%%=$(MAKE)=@@@%%%'
7354 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7355 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7356 -if test -n "$ac_maketemp"; then
7357 - eval ac_cv_prog_make_${ac_make}_set=yes
7359 - eval ac_cv_prog_make_${ac_make}_set=no
7361 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
7362 + *@@@%%%=?*=@@@%%%*)
7363 + eval ac_cv_prog_make_${ac_make}_set=yes;;
7365 + eval ac_cv_prog_make_${ac_make}_set=no;;
7369 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7370 - echo "$as_me:$LINENO: result: yes" >&5
7371 -echo "${ECHO_T}yes" >&6
7372 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7373 + { echo "$as_me:$LINENO: result: yes" >&5
7374 +echo "${ECHO_T}yes" >&6; }
7377 - echo "$as_me:$LINENO: result: no" >&5
7378 -echo "${ECHO_T}no" >&6
7379 + { echo "$as_me:$LINENO: result: no" >&5
7380 +echo "${ECHO_T}no" >&6; }
7381 SET_MAKE="MAKE=${MAKE-make}"
7389 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
7390 +rm -rf .tst 2>/dev/null
7391 +mkdir .tst 2>/dev/null
7392 +if test -d .tst; then
7397 +rmdir .tst 2>/dev/null
7399 +# test to see if srcdir already configured
7400 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
7401 + test -f $srcdir/config.status; then
7402 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7403 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7404 { (exit 1); exit 1; }; }
7407 +# test whether we have cygpath
7408 +if test -z "$CYGPATH_W"; then
7409 + if (cygpath --version) >/dev/null 2>/dev/null; then
7410 + CYGPATH_W='cygpath -w'
7417 +# Define the identity of the package.
7422 cat >>confdefs.h <<_ACEOF
7423 #define PACKAGE "$PACKAGE"
7425 @@ -1775,83 +2403,138 @@
7426 #define VERSION "$VERSION"
7429 +# Some tools Automake needs.
7431 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7434 -missing_dir=`cd $ac_aux_dir && pwd`
7435 -echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
7436 -echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
7437 -# Run test in a subshell; some versions of sh will print an error if
7438 -# an executable is not found, even if stderr is redirected.
7439 -# Redirect stdin to placate older versions of autoconf. Sigh.
7440 -if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7441 - ACLOCAL=aclocal-${am__api_version}
7442 - echo "$as_me:$LINENO: result: found" >&5
7443 -echo "${ECHO_T}found" >&6
7445 - ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
7446 - echo "$as_me:$LINENO: result: missing" >&5
7447 -echo "${ECHO_T}missing" >&6
7450 -echo "$as_me:$LINENO: checking for working autoconf" >&5
7451 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
7452 -# Run test in a subshell; some versions of sh will print an error if
7453 -# an executable is not found, even if stderr is redirected.
7454 -# Redirect stdin to placate older versions of autoconf. Sigh.
7455 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
7457 - echo "$as_me:$LINENO: result: found" >&5
7458 -echo "${ECHO_T}found" >&6
7460 - AUTOCONF="$missing_dir/missing autoconf"
7461 - echo "$as_me:$LINENO: result: missing" >&5
7462 -echo "${ECHO_T}missing" >&6
7465 -echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
7466 -echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
7467 -# Run test in a subshell; some versions of sh will print an error if
7468 -# an executable is not found, even if stderr is redirected.
7469 -# Redirect stdin to placate older versions of autoconf. Sigh.
7470 -if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7471 - AUTOMAKE=automake-${am__api_version}
7472 - echo "$as_me:$LINENO: result: found" >&5
7473 -echo "${ECHO_T}found" >&6
7475 - AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
7476 - echo "$as_me:$LINENO: result: missing" >&5
7477 -echo "${ECHO_T}missing" >&6
7480 -echo "$as_me:$LINENO: checking for working autoheader" >&5
7481 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
7482 -# Run test in a subshell; some versions of sh will print an error if
7483 -# an executable is not found, even if stderr is redirected.
7484 -# Redirect stdin to placate older versions of autoconf. Sigh.
7485 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
7486 - AUTOHEADER=autoheader
7487 - echo "$as_me:$LINENO: result: found" >&5
7488 -echo "${ECHO_T}found" >&6
7490 - AUTOHEADER="$missing_dir/missing autoheader"
7491 - echo "$as_me:$LINENO: result: missing" >&5
7492 -echo "${ECHO_T}missing" >&6
7495 -echo "$as_me:$LINENO: checking for working makeinfo" >&5
7496 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
7497 -# Run test in a subshell; some versions of sh will print an error if
7498 -# an executable is not found, even if stderr is redirected.
7499 -# Redirect stdin to placate older versions of autoconf. Sigh.
7500 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
7502 - echo "$as_me:$LINENO: result: found" >&5
7503 -echo "${ECHO_T}found" >&6
7505 - MAKEINFO="$missing_dir/missing makeinfo"
7506 - echo "$as_me:$LINENO: result: missing" >&5
7507 -echo "${ECHO_T}missing" >&6
7508 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7511 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7514 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7517 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7519 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
7521 +# Installed binaries are usually stripped using `strip' when the user
7522 +# run `make install-strip'. However `strip' might not be the right
7523 +# tool to use in cross-compilation environments, therefore Automake
7524 +# will honor the `STRIP' environment variable to overrule this program.
7525 +if test "$cross_compiling" != no; then
7526 + if test -n "$ac_tool_prefix"; then
7527 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7528 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7529 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7530 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7531 +if test "${ac_cv_prog_STRIP+set}" = set; then
7532 + echo $ECHO_N "(cached) $ECHO_C" >&6
7534 + if test -n "$STRIP"; then
7535 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7537 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 +for as_dir in $PATH
7541 + test -z "$as_dir" && as_dir=.
7542 + for ac_exec_ext in '' $ac_executable_extensions; do
7543 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7544 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7545 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 +STRIP=$ac_cv_prog_STRIP
7555 +if test -n "$STRIP"; then
7556 + { echo "$as_me:$LINENO: result: $STRIP" >&5
7557 +echo "${ECHO_T}$STRIP" >&6; }
7559 + { echo "$as_me:$LINENO: result: no" >&5
7560 +echo "${ECHO_T}no" >&6; }
7565 +if test -z "$ac_cv_prog_STRIP"; then
7566 + ac_ct_STRIP=$STRIP
7567 + # Extract the first word of "strip", so it can be a program name with args.
7568 +set dummy strip; ac_word=$2
7569 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7570 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7571 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7572 + echo $ECHO_N "(cached) $ECHO_C" >&6
7574 + if test -n "$ac_ct_STRIP"; then
7575 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7577 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 +for as_dir in $PATH
7581 + test -z "$as_dir" && as_dir=.
7582 + for ac_exec_ext in '' $ac_executable_extensions; do
7583 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7584 + ac_cv_prog_ac_ct_STRIP="strip"
7585 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7595 +if test -n "$ac_ct_STRIP"; then
7596 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7597 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7599 + { echo "$as_me:$LINENO: result: no" >&5
7600 +echo "${ECHO_T}no" >&6; }
7603 + if test "x$ac_ct_STRIP" = x; then
7606 + case $cross_compiling:$ac_tool_warned in
7608 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7609 +whose name does not start with the host triplet. If you think this
7610 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7611 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7612 +whose name does not start with the host triplet. If you think this
7613 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7614 +ac_tool_warned=yes ;;
7616 + STRIP=$ac_ct_STRIP
7619 + STRIP="$ac_cv_prog_STRIP"
7623 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7625 +# We need awk for the "check" target. The system "awk" is bad on
7627 +# Always define AMTAR for backward compatibility.
7629 +AMTAR=${AMTAR-"${am_missing_run}tar"}
7631 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
7638 @@ -1870,8 +2553,8 @@
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7642 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7643 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7644 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7645 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7646 if test "${ac_cv_prog_CC+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 @@ -1884,32 +2567,34 @@
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 if test -n "$CC"; then
7667 - echo "$as_me:$LINENO: result: $CC" >&5
7668 -echo "${ECHO_T}$CC" >&6
7669 + { echo "$as_me:$LINENO: result: $CC" >&5
7670 +echo "${ECHO_T}$CC" >&6; }
7672 - echo "$as_me:$LINENO: result: no" >&5
7673 -echo "${ECHO_T}no" >&6
7674 + { echo "$as_me:$LINENO: result: no" >&5
7675 +echo "${ECHO_T}no" >&6; }
7680 if test -z "$ac_cv_prog_CC"; then
7682 # Extract the first word of "gcc", so it can be a program name with args.
7683 set dummy gcc; ac_word=$2
7684 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7685 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7686 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7687 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 @@ -1922,36 +2607,51 @@
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7697 ac_cv_prog_ac_ct_CC="gcc"
7698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7708 if test -n "$ac_ct_CC"; then
7709 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7710 -echo "${ECHO_T}$ac_ct_CC" >&6
7711 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7712 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7714 - echo "$as_me:$LINENO: result: no" >&5
7715 -echo "${ECHO_T}no" >&6
7716 + { echo "$as_me:$LINENO: result: no" >&5
7717 +echo "${ECHO_T}no" >&6; }
7721 + if test "x$ac_ct_CC" = x; then
7724 + case $cross_compiling:$ac_tool_warned in
7726 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7727 +whose name does not start with the host triplet. If you think this
7728 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7729 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7730 +whose name does not start with the host triplet. If you think this
7731 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7732 +ac_tool_warned=yes ;;
7740 if test -z "$CC"; then
7741 - if test -n "$ac_tool_prefix"; then
7742 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7743 + if test -n "$ac_tool_prefix"; then
7744 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7745 set dummy ${ac_tool_prefix}cc; ac_word=$2
7746 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7747 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7748 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7750 if test "${ac_cv_prog_CC+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 @@ -1964,74 +2664,34 @@
7755 test -z "$as_dir" && as_dir=.
7756 for ac_exec_ext in '' $ac_executable_extensions; do
7757 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7758 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7759 ac_cv_prog_CC="${ac_tool_prefix}cc"
7760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7770 if test -n "$CC"; then
7771 - echo "$as_me:$LINENO: result: $CC" >&5
7772 -echo "${ECHO_T}$CC" >&6
7774 - echo "$as_me:$LINENO: result: no" >&5
7775 -echo "${ECHO_T}no" >&6
7779 -if test -z "$ac_cv_prog_CC"; then
7781 - # Extract the first word of "cc", so it can be a program name with args.
7782 -set dummy cc; ac_word=$2
7783 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7784 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7785 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7786 - echo $ECHO_N "(cached) $ECHO_C" >&6
7788 - if test -n "$ac_ct_CC"; then
7789 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7791 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 -for as_dir in $PATH
7795 - test -z "$as_dir" && as_dir=.
7796 - for ac_exec_ext in '' $ac_executable_extensions; do
7797 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 - ac_cv_prog_ac_ct_CC="cc"
7799 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
7808 -if test -n "$ac_ct_CC"; then
7809 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7810 -echo "${ECHO_T}$ac_ct_CC" >&6
7811 + { echo "$as_me:$LINENO: result: $CC" >&5
7812 +echo "${ECHO_T}$CC" >&6; }
7814 - echo "$as_me:$LINENO: result: no" >&5
7815 -echo "${ECHO_T}no" >&6
7816 + { echo "$as_me:$LINENO: result: no" >&5
7817 +echo "${ECHO_T}no" >&6; }
7822 - CC="$ac_cv_prog_CC"
7827 if test -z "$CC"; then
7828 # Extract the first word of "cc", so it can be a program name with args.
7829 set dummy cc; ac_word=$2
7830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7834 if test "${ac_cv_prog_CC+set}" = set; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7837 @@ -2045,7 +2705,7 @@
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7842 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7844 ac_prog_rejected=yes
7846 @@ -2056,6 +2716,7 @@
7852 if test $ac_prog_rejected = yes; then
7853 # We found a bogon in the path, so make sure we never use it.
7854 @@ -2073,22 +2734,23 @@
7857 if test -n "$CC"; then
7858 - echo "$as_me:$LINENO: result: $CC" >&5
7859 -echo "${ECHO_T}$CC" >&6
7860 + { echo "$as_me:$LINENO: result: $CC" >&5
7861 +echo "${ECHO_T}$CC" >&6; }
7863 - echo "$as_me:$LINENO: result: no" >&5
7864 -echo "${ECHO_T}no" >&6
7865 + { echo "$as_me:$LINENO: result: no" >&5
7866 +echo "${ECHO_T}no" >&6; }
7871 if test -z "$CC"; then
7872 if test -n "$ac_tool_prefix"; then
7874 + for ac_prog in cl.exe
7876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7878 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7879 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7880 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7881 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7882 if test "${ac_cv_prog_CC+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 @@ -2101,36 +2763,38 @@
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 if test -n "$CC"; then
7903 - echo "$as_me:$LINENO: result: $CC" >&5
7904 -echo "${ECHO_T}$CC" >&6
7905 + { echo "$as_me:$LINENO: result: $CC" >&5
7906 +echo "${ECHO_T}$CC" >&6; }
7908 - echo "$as_me:$LINENO: result: no" >&5
7909 -echo "${ECHO_T}no" >&6
7910 + { echo "$as_me:$LINENO: result: no" >&5
7911 +echo "${ECHO_T}no" >&6; }
7915 test -n "$CC" && break
7918 if test -z "$CC"; then
7921 + for ac_prog in cl.exe
7923 # Extract the first word of "$ac_prog", so it can be a program name with args.
7924 set dummy $ac_prog; ac_word=$2
7925 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7926 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7927 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7928 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7930 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 @@ -2143,29 +2807,45 @@
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7938 ac_cv_prog_ac_ct_CC="$ac_prog"
7939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7949 if test -n "$ac_ct_CC"; then
7950 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7951 -echo "${ECHO_T}$ac_ct_CC" >&6
7952 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7953 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7955 - echo "$as_me:$LINENO: result: no" >&5
7956 -echo "${ECHO_T}no" >&6
7957 + { echo "$as_me:$LINENO: result: no" >&5
7958 +echo "${ECHO_T}no" >&6; }
7962 test -n "$ac_ct_CC" && break
7966 + if test "x$ac_ct_CC" = x; then
7969 + case $cross_compiling:$ac_tool_warned in
7971 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7972 +whose name does not start with the host triplet. If you think this
7973 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7974 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7975 +whose name does not start with the host triplet. If you think this
7976 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7977 +ac_tool_warned=yes ;;
7984 @@ -2178,21 +2858,35 @@
7985 { (exit 1); exit 1; }; }
7987 # Provide some information about the compiler.
7988 -echo "$as_me:$LINENO:" \
7989 - "checking for C compiler version" >&5
7990 +echo "$as_me:$LINENO: checking for C compiler version" >&5
7991 ac_compiler=`set X $ac_compile; echo $2`
7992 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7993 - (eval $ac_compiler --version </dev/null >&5) 2>&5
7994 +{ (ac_try="$ac_compiler --version >&5"
7995 +case "(($ac_try" in
7996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7997 + *) ac_try_echo=$ac_try;;
7999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8000 + (eval "$ac_compiler --version >&5") 2>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }
8004 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8005 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8006 +{ (ac_try="$ac_compiler -v >&5"
8007 +case "(($ac_try" in
8008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 + *) ac_try_echo=$ac_try;;
8011 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 + (eval "$ac_compiler -v >&5") 2>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }
8016 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8017 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8018 +{ (ac_try="$ac_compiler -V >&5"
8019 +case "(($ac_try" in
8020 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8021 + *) ac_try_echo=$ac_try;;
8023 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8024 + (eval "$ac_compiler -V >&5") 2>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }
8028 @@ -2217,47 +2911,77 @@
8029 # Try to create an executable without -o first, disregard a.out.
8030 # It will help us diagnose broken compilers, and finding out an intuition
8032 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8033 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
8034 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8035 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
8036 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8037 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
8038 - (eval $ac_link_default) 2>&5
8040 +# List of possible output files, starting from the most likely.
8041 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
8042 +# only as a last resort. b.out is created by i960 compilers.
8043 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
8045 +# The IRIX 6 linker writes into existing files which may not be
8046 +# executable, retaining their permissions. Remove them first so a
8047 +# subsequent execution test works.
8049 +for ac_file in $ac_files
8052 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8053 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8058 +if { (ac_try="$ac_link_default"
8059 +case "(($ac_try" in
8060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8061 + *) ac_try_echo=$ac_try;;
8063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8064 + (eval "$ac_link_default") 2>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; then
8068 - # Find the output, starting from the most likely. This scheme is
8069 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
8072 -# Be careful to initialize this variable, since it used to be cached.
8073 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
8075 -# b.out is created by i960 compilers.
8076 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
8077 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8078 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8079 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
8080 +# so that the user can short-circuit this test for compilers unknown to
8082 +for ac_file in $ac_files ''
8084 test -f "$ac_file" || continue
8086 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
8088 - conftest.$ac_ext )
8089 - # This is the source file.
8090 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
8093 # We found the default executable, but exeext='' is most
8097 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8098 - # FIXME: I believe we export ac_cv_exeext for Libtool,
8099 - # but it would be cool to find out if it's true. Does anybody
8100 - # maintain Libtool? --akim.
8101 - export ac_cv_exeext
8102 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8104 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8106 + # We set ac_cv_exeext here because the later test for it is not
8107 + # safe: cross compilers may not add the suffix if given an `-o'
8108 + # argument, so we may need to know it at that point already.
8109 + # Even if this section looks crufty: it has the advantage of
8110 + # actually working.
8116 +test "$ac_cv_exeext" = no && ac_cv_exeext=
8122 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
8123 +echo "${ECHO_T}$ac_file" >&6; }
8124 +if test -z "$ac_file"; then
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.$ac_ext >&5
8128 @@ -2269,19 +2993,21 @@
8131 ac_exeext=$ac_cv_exeext
8132 -echo "$as_me:$LINENO: result: $ac_file" >&5
8133 -echo "${ECHO_T}$ac_file" >&6
8135 -# Check the compiler produces executables we can run. If not, either
8136 +# Check that the compiler produces executables we can run. If not, either
8137 # the compiler is broken, or we cross compile.
8138 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8139 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
8140 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8141 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
8142 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8143 # If not cross compiling, check that we can run a simple program.
8144 if test "$cross_compiling" != yes; then
8145 if { ac_try='./$ac_file'
8146 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 - (eval $ac_try) 2>&5
8148 + { (case "(($ac_try" in
8149 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8150 + *) ac_try_echo=$ac_try;;
8152 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8153 + (eval "$ac_try") 2>&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; }; then
8157 @@ -2300,22 +3026,27 @@
8161 -echo "$as_me:$LINENO: result: yes" >&5
8162 -echo "${ECHO_T}yes" >&6
8163 +{ echo "$as_me:$LINENO: result: yes" >&5
8164 +echo "${ECHO_T}yes" >&6; }
8166 rm -f a.out a.exe conftest$ac_cv_exeext b.out
8167 ac_clean_files=$ac_clean_files_save
8168 -# Check the compiler produces executables we can run. If not, either
8169 +# Check that the compiler produces executables we can run. If not, either
8170 # the compiler is broken, or we cross compile.
8171 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8172 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
8173 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
8174 -echo "${ECHO_T}$cross_compiling" >&6
8176 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
8177 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
8178 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8179 - (eval $ac_link) 2>&5
8180 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8181 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
8182 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
8183 +echo "${ECHO_T}$cross_compiling" >&6; }
8185 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
8186 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
8187 +if { (ac_try="$ac_link"
8188 +case "(($ac_try" in
8189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8190 + *) ac_try_echo=$ac_try;;
8192 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193 + (eval "$ac_link") 2>&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; then
8197 @@ -2326,9 +3057,8 @@
8198 for ac_file in conftest.exe conftest conftest.*; do
8199 test -f "$ac_file" || continue
8201 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
8202 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8203 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8204 - export ac_cv_exeext
8208 @@ -2342,14 +3072,14 @@
8211 rm -f conftest$ac_cv_exeext
8212 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8213 -echo "${ECHO_T}$ac_cv_exeext" >&6
8214 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8215 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
8217 rm -f conftest.$ac_ext
8218 EXEEXT=$ac_cv_exeext
8220 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
8221 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
8222 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
8223 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
8224 if test "${ac_cv_objext+set}" = set; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 @@ -2369,14 +3099,20 @@
8230 rm -f conftest.o conftest.obj
8231 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8232 - (eval $ac_compile) 2>&5
8233 +if { (ac_try="$ac_compile"
8234 +case "(($ac_try" in
8235 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8236 + *) ac_try_echo=$ac_try;;
8238 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8239 + (eval "$ac_compile") 2>&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; then
8243 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
8244 + for ac_file in conftest.o conftest.obj conftest.*; do
8245 + test -f "$ac_file" || continue;
8247 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
8248 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
8249 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8252 @@ -2394,12 +3130,12 @@
8254 rm -f conftest.$ac_cv_objext conftest.$ac_ext
8256 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8257 -echo "${ECHO_T}$ac_cv_objext" >&6
8258 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8259 +echo "${ECHO_T}$ac_cv_objext" >&6; }
8260 OBJEXT=$ac_cv_objext
8262 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8263 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
8264 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8265 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
8266 if test "${ac_cv_c_compiler_gnu+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 @@ -2422,49 +3158,49 @@
8272 rm -f conftest.$ac_objext
8273 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8274 - (eval $ac_compile) 2>conftest.er1
8275 +if { (ac_try="$ac_compile"
8276 +case "(($ac_try" in
8277 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8278 + *) ac_try_echo=$ac_try;;
8280 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8281 + (eval "$ac_compile") 2>conftest.er1
8283 grep -v '^ *+' conftest.er1 >conftest.err
8285 cat conftest.err >&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 - (exit $ac_status); } &&
8288 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8289 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 - (eval $ac_try) 2>&5
8292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 - (exit $ac_status); }; } &&
8294 - { ac_try='test -s conftest.$ac_objext'
8295 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 - (eval $ac_try) 2>&5
8298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 - (exit $ac_status); }; }; then
8300 + (exit $ac_status); } && {
8301 + test -z "$ac_c_werror_flag" ||
8302 + test ! -s conftest.err
8303 + } && test -s conftest.$ac_objext; then
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.$ac_ext >&5
8310 + ac_compiler_gnu=no
8312 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8314 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8318 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8319 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
8320 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8321 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
8322 GCC=`test $ac_compiler_gnu = yes && echo yes`
8323 ac_test_CFLAGS=${CFLAGS+set}
8324 ac_save_CFLAGS=$CFLAGS
8326 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8327 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
8328 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8329 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
8330 if test "${ac_cv_prog_cc_g+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 - cat >conftest.$ac_ext <<_ACEOF
8334 + ac_save_c_werror_flag=$ac_c_werror_flag
8335 + ac_c_werror_flag=yes
8336 + ac_cv_prog_cc_g=no
8338 + cat >conftest.$ac_ext <<_ACEOF
8341 cat confdefs.h >>conftest.$ac_ext
8342 @@ -2480,37 +3216,118 @@
8345 rm -f conftest.$ac_objext
8346 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8347 - (eval $ac_compile) 2>conftest.er1
8348 +if { (ac_try="$ac_compile"
8349 +case "(($ac_try" in
8350 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8351 + *) ac_try_echo=$ac_try;;
8353 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8354 + (eval "$ac_compile") 2>conftest.er1
8356 grep -v '^ *+' conftest.er1 >conftest.err
8358 cat conftest.err >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 - (exit $ac_status); } &&
8361 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8362 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 - (eval $ac_try) 2>&5
8364 + (exit $ac_status); } && {
8365 + test -z "$ac_c_werror_flag" ||
8366 + test ! -s conftest.err
8367 + } && test -s conftest.$ac_objext; then
8368 + ac_cv_prog_cc_g=yes
8370 + echo "$as_me: failed program was:" >&5
8371 +sed 's/^/| /' conftest.$ac_ext >&5
8374 + cat >conftest.$ac_ext <<_ACEOF
8377 +cat confdefs.h >>conftest.$ac_ext
8378 +cat >>conftest.$ac_ext <<_ACEOF
8379 +/* end confdefs.h. */
8389 +rm -f conftest.$ac_objext
8390 +if { (ac_try="$ac_compile"
8391 +case "(($ac_try" in
8392 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8393 + *) ac_try_echo=$ac_try;;
8395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8396 + (eval "$ac_compile") 2>conftest.er1
8398 + grep -v '^ *+' conftest.er1 >conftest.err
8399 + rm -f conftest.er1
8400 + cat conftest.err >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 - (exit $ac_status); }; } &&
8403 - { ac_try='test -s conftest.$ac_objext'
8404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 - (eval $ac_try) 2>&5
8406 + (exit $ac_status); } && {
8407 + test -z "$ac_c_werror_flag" ||
8408 + test ! -s conftest.err
8409 + } && test -s conftest.$ac_objext; then
8412 + echo "$as_me: failed program was:" >&5
8413 +sed 's/^/| /' conftest.$ac_ext >&5
8415 + ac_c_werror_flag=$ac_save_c_werror_flag
8417 + cat >conftest.$ac_ext <<_ACEOF
8420 +cat confdefs.h >>conftest.$ac_ext
8421 +cat >>conftest.$ac_ext <<_ACEOF
8422 +/* end confdefs.h. */
8432 +rm -f conftest.$ac_objext
8433 +if { (ac_try="$ac_compile"
8434 +case "(($ac_try" in
8435 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8436 + *) ac_try_echo=$ac_try;;
8438 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 + (eval "$ac_compile") 2>conftest.er1
8441 + grep -v '^ *+' conftest.er1 >conftest.err
8442 + rm -f conftest.er1
8443 + cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 - (exit $ac_status); }; }; then
8446 + (exit $ac_status); } && {
8447 + test -z "$ac_c_werror_flag" ||
8448 + test ! -s conftest.err
8449 + } && test -s conftest.$ac_objext; then
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8459 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8463 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8467 + ac_c_werror_flag=$ac_save_c_werror_flag
8469 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8470 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
8471 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8472 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8473 if test "$ac_test_CFLAGS" = set; then
8474 CFLAGS=$ac_save_CFLAGS
8475 elif test $ac_cv_prog_cc_g = yes; then
8476 @@ -2526,12 +3343,12 @@
8480 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
8481 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8482 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
8483 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
8484 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
8485 +if test "${ac_cv_prog_cc_c89+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 - ac_cv_prog_cc_stdc=no
8489 + ac_cv_prog_cc_c89=no
8491 cat >conftest.$ac_ext <<_ACEOF
8493 @@ -2565,12 +3382,17 @@
8494 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8495 function prototypes and stuff, but not '\xHH' hex character constants.
8496 These don't provoke an error unfortunately, instead are silently treated
8497 - as 'x'. The following induces an error, until -std1 is added to get
8498 + as 'x'. The following induces an error, until -std is added to get
8499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8500 array size at least. It's necessary to write '\x00'==0 to get something
8501 - that's true only with -std1. */
8502 + that's true only with -std. */
8503 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8505 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8506 + inside strings and character constants. */
8508 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8510 int test (int i, double x);
8511 struct s1 {int (*f) (int a);};
8512 struct s2 {int (*f) (double a);};
8513 @@ -2585,256 +3407,244 @@
8517 -# Don't try gcc -ansi; that turns off useful extensions and
8518 -# breaks some systems' header files.
8519 -# AIX -qlanglvl=ansi
8520 -# Ultrix and OSF/1 -std1
8521 -# HP-UX 10.20 and later -Ae
8522 -# HP-UX older versions -Aa -D_HPUX_SOURCE
8523 -# SVR4 -Xc -D__EXTENSIONS__
8524 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8525 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8526 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8528 CC="$ac_save_CC $ac_arg"
8529 rm -f conftest.$ac_objext
8530 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8531 - (eval $ac_compile) 2>conftest.er1
8532 +if { (ac_try="$ac_compile"
8533 +case "(($ac_try" in
8534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 + *) ac_try_echo=$ac_try;;
8537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 + (eval "$ac_compile") 2>conftest.er1
8540 grep -v '^ *+' conftest.er1 >conftest.err
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 - (exit $ac_status); } &&
8545 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 - (eval $ac_try) 2>&5
8549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 - (exit $ac_status); }; } &&
8551 - { ac_try='test -s conftest.$ac_objext'
8552 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 - (eval $ac_try) 2>&5
8555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 - (exit $ac_status); }; }; then
8557 - ac_cv_prog_cc_stdc=$ac_arg
8559 + (exit $ac_status); } && {
8560 + test -z "$ac_c_werror_flag" ||
8561 + test ! -s conftest.err
8562 + } && test -s conftest.$ac_objext; then
8563 + ac_cv_prog_cc_c89=$ac_arg
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8570 -rm -f conftest.err conftest.$ac_objext
8572 +rm -f core conftest.err conftest.$ac_objext
8573 + test "x$ac_cv_prog_cc_c89" != "xno" && break
8575 -rm -f conftest.$ac_ext conftest.$ac_objext
8576 +rm -f conftest.$ac_ext
8581 -case "x$ac_cv_prog_cc_stdc" in
8583 - echo "$as_me:$LINENO: result: none needed" >&5
8584 -echo "${ECHO_T}none needed" >&6 ;;
8586 +case "x$ac_cv_prog_cc_c89" in
8588 + { echo "$as_me:$LINENO: result: none needed" >&5
8589 +echo "${ECHO_T}none needed" >&6; } ;;
8591 + { echo "$as_me:$LINENO: result: unsupported" >&5
8592 +echo "${ECHO_T}unsupported" >&6; } ;;
8594 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
8595 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8596 - CC="$CC $ac_cv_prog_cc_stdc" ;;
8597 + CC="$CC $ac_cv_prog_cc_c89"
8598 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
8599 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
8602 -# Some people use a C++ compiler to compile C. Since we use `exit',
8603 -# in C++ we need to declare it. In case someone uses the same compiler
8604 -# for both compiling C and C++ we need to have the C++ compiler decide
8605 -# the declaration of exit, since it's the most demanding environment.
8606 -cat >conftest.$ac_ext <<_ACEOF
8607 -#ifndef __cplusplus
8611 -rm -f conftest.$ac_objext
8612 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8613 - (eval $ac_compile) 2>conftest.er1
8615 - grep -v '^ *+' conftest.er1 >conftest.err
8616 - rm -f conftest.er1
8617 - cat conftest.err >&5
8618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 - (exit $ac_status); } &&
8620 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8621 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 - (eval $ac_try) 2>&5
8624 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 - (exit $ac_status); }; } &&
8626 - { ac_try='test -s conftest.$ac_objext'
8627 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 - (eval $ac_try) 2>&5
8630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 - (exit $ac_status); }; }; then
8632 - for ac_declaration in \
8634 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
8635 - 'extern "C" void std::exit (int); using std::exit;' \
8636 - 'extern "C" void exit (int) throw ();' \
8637 - 'extern "C" void exit (int);' \
8638 - 'void exit (int);'
8640 - cat >conftest.$ac_ext <<_ACEOF
8643 -cat confdefs.h >>conftest.$ac_ext
8644 -cat >>conftest.$ac_ext <<_ACEOF
8645 -/* end confdefs.h. */
8647 -#include <stdlib.h>
8656 -rm -f conftest.$ac_objext
8657 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8658 - (eval $ac_compile) 2>conftest.er1
8660 - grep -v '^ *+' conftest.er1 >conftest.err
8661 - rm -f conftest.er1
8662 - cat conftest.err >&5
8663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 - (exit $ac_status); } &&
8665 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 - (eval $ac_try) 2>&5
8669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 - (exit $ac_status); }; } &&
8671 - { ac_try='test -s conftest.$ac_objext'
8672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 - (eval $ac_try) 2>&5
8675 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 - (exit $ac_status); }; }; then
8679 - echo "$as_me: failed program was:" >&5
8680 -sed 's/^/| /' conftest.$ac_ext >&5
8684 +ac_cpp='$CPP $CPPFLAGS'
8685 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8686 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8687 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8688 +DEPDIR="${am__leading_dot}deps"
8690 +ac_config_commands="$ac_config_commands depfiles"
8693 +am_make=${MAKE-make}
8694 +cat > confinc << 'END'
8699 +# If we don't find an include directive, just comment out the code.
8700 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
8701 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
8705 +# First try GNU make style include.
8706 +echo "include confinc" > confmf
8707 +# We grep out `Entering directory' and `Leaving directory'
8708 +# messages which can occur if `w' ends up in MAKEFLAGS.
8709 +# In particular we don't look at `^make:' because GNU make might
8710 +# be invoked under some other name (usually "gmake"), in which
8711 +# case it prints its new name instead of `make'.
8712 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8713 + am__include=include
8717 +# Now try BSD make style include.
8718 +if test "$am__include" = "#"; then
8719 + echo '.include "confinc"' > confmf
8720 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8721 + am__include=.include
8726 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8727 - cat >conftest.$ac_ext <<_ACEOF
8730 -cat confdefs.h >>conftest.$ac_ext
8731 -cat >>conftest.$ac_ext <<_ACEOF
8732 -/* end confdefs.h. */
8742 -rm -f conftest.$ac_objext
8743 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8744 - (eval $ac_compile) 2>conftest.er1
8746 - grep -v '^ *+' conftest.er1 >conftest.err
8747 - rm -f conftest.er1
8748 - cat conftest.err >&5
8749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 - (exit $ac_status); } &&
8751 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8752 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753 - (eval $ac_try) 2>&5
8755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 - (exit $ac_status); }; } &&
8757 - { ac_try='test -s conftest.$ac_objext'
8758 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 - (eval $ac_try) 2>&5
8761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 - (exit $ac_status); }; }; then
8765 - echo "$as_me: failed program was:" >&5
8766 -sed 's/^/| /' conftest.$ac_ext >&5
8769 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
8770 +echo "${ECHO_T}$_am_result" >&6; }
8771 +rm -f confinc confmf
8773 +# Check whether --enable-dependency-tracking was given.
8774 +if test "${enable_dependency_tracking+set}" = set; then
8775 + enableval=$enable_dependency_tracking;
8777 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780 -if test -n "$ac_declaration"; then
8781 - echo '#ifdef __cplusplus' >>confdefs.h
8782 - echo $ac_declaration >>confdefs.h
8783 - echo '#endif' >>confdefs.h
8785 +if test "x$enable_dependency_tracking" != xno; then
8786 + am_depcomp="$ac_aux_dir/depcomp"
8787 + AMDEPBACKSLASH='\'
8791 - echo "$as_me: failed program was:" >&5
8792 -sed 's/^/| /' conftest.$ac_ext >&5
8794 +if test "x$enable_dependency_tracking" != xno; then
8801 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8803 -ac_cpp='$CPP $CPPFLAGS'
8804 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8805 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8806 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
8809 -missing_dir=`cd $ac_aux_dir && pwd`
8810 -for ac_prog in flex lex
8812 - # Extract the first word of "$ac_prog", so it can be a program name with args.
8813 -set dummy $ac_prog; ac_word=$2
8814 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8815 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8816 -if test "${ac_cv_prog_LEX+set}" = set; then
8819 +depcc="$CC" am_compiler_list=
8821 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8822 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8823 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8826 - if test -n "$LEX"; then
8827 - ac_cv_prog_LEX="$LEX" # Let the user override the test.
8829 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8830 -for as_dir in $PATH
8833 - test -z "$as_dir" && as_dir=.
8834 - for ac_exec_ext in '' $ac_executable_extensions; do
8835 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8836 - ac_cv_prog_LEX="$ac_prog"
8837 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8842 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8843 + # We make a subdir and do the tests there. Otherwise we can end up
8844 + # making bogus files that we don't know about and never remove. For
8845 + # instance it was reported that on HP-UX the gcc test will end up
8846 + # making a dummy file named `D' -- because `-MD' means `put the output
8848 + mkdir conftest.dir
8849 + # Copy depcomp to subdir because otherwise we won't find it if we're
8850 + # using a relative directory.
8851 + cp "$am_depcomp" conftest.dir
8853 + # We will build objects and dependencies in a subdirectory because
8854 + # it helps to detect inapplicable dependency modes. For instance
8855 + # both Tru64's cc and ICC support -MD to output dependencies as a
8856 + # side effect of compilation, but ICC will put the dependencies in
8857 + # the current directory while Tru64 will put them in the object
8861 + am_cv_CC_dependencies_compiler_type=none
8862 + if test "$am_compiler_list" = ""; then
8863 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8865 + for depmode in $am_compiler_list; do
8866 + # Setup a source with many dependencies, because some compilers
8867 + # like to wrap large dependency lists on column 80 (with \), and
8868 + # we should not choose a depcomp mode which is confused by this.
8870 + # We need to recreate these files for each test, as the compiler may
8871 + # overwrite some of them when testing with obscure command lines.
8872 + # This happens at least with the AIX C compiler.
8873 + : > sub/conftest.c
8874 + for i in 1 2 3 4 5 6; do
8875 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
8876 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8877 + # Solaris 8's {/usr,}/bin/sh.
8878 + touch sub/conftst$i.h
8880 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8884 + # after this tag, mechanisms are not by side-effect, so they'll
8885 + # only be used when explicitly requested
8886 + if test "x$enable_dependency_tracking" = xyes; then
8894 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
8895 + # mode. It turns out that the SunPro C++ compiler does not properly
8896 + # handle `-M -o', and we need to detect this.
8897 + if depmode=$depmode \
8898 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8899 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8900 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8901 + >/dev/null 2>conftest.err &&
8902 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8903 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8904 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8905 + # icc doesn't choke on unknown options, it will just issue warnings
8906 + # or remarks (even with -Werror). So we grep stderr for any message
8907 + # that says an option was ignored or not supported.
8908 + # When given -MP, icc 7.0 and 7.1 complain thusly:
8909 + # icc: Command line warning: ignoring option '-M'; no argument required
8910 + # The diagnosis changed in icc 8.0:
8911 + # icc: Command line remark: option '-MP' not supported
8912 + if (grep 'ignoring option' conftest.err ||
8913 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8914 + am_cv_CC_dependencies_compiler_type=$depmode
8921 + rm -rf conftest.dir
8923 + am_cv_CC_dependencies_compiler_type=none
8927 -LEX=$ac_cv_prog_LEX
8928 -if test -n "$LEX"; then
8929 - echo "$as_me:$LINENO: result: $LEX" >&5
8930 -echo "${ECHO_T}$LEX" >&6
8931 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
8932 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
8933 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8938 + test "x$enable_dependency_tracking" != xno \
8939 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8940 + am__fastdepCC_TRUE=
8941 + am__fastdepCC_FALSE='#'
8943 - echo "$as_me:$LINENO: result: no" >&5
8944 -echo "${ECHO_T}no" >&6
8945 + am__fastdepCC_TRUE='#'
8946 + am__fastdepCC_FALSE=
8949 - test -n "$LEX" && break
8951 -test -n "$LEX" || LEX="$missing_dir/missing flex"
8954 for ac_prog in flex lex
8956 # Extract the first word of "$ac_prog", so it can be a program name with args.
8957 set dummy $ac_prog; ac_word=$2
8958 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8959 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8960 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8961 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8962 if test "${ac_cv_prog_LEX+set}" = set; then
8963 echo $ECHO_N "(cached) $ECHO_C" >&6
8965 @@ -2847,250 +3657,182 @@
8967 test -z "$as_dir" && as_dir=.
8968 for ac_exec_ext in '' $ac_executable_extensions; do
8969 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8970 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8971 ac_cv_prog_LEX="$ac_prog"
8972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8982 if test -n "$LEX"; then
8983 - echo "$as_me:$LINENO: result: $LEX" >&5
8984 -echo "${ECHO_T}$LEX" >&6
8985 + { echo "$as_me:$LINENO: result: $LEX" >&5
8986 +echo "${ECHO_T}$LEX" >&6; }
8988 - echo "$as_me:$LINENO: result: no" >&5
8989 -echo "${ECHO_T}no" >&6
8990 + { echo "$as_me:$LINENO: result: no" >&5
8991 +echo "${ECHO_T}no" >&6; }
8995 test -n "$LEX" && break
8997 test -n "$LEX" || LEX=":"
8999 -if test -z "$LEXLIB"
9001 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
9002 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
9003 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
9004 - echo $ECHO_N "(cached) $ECHO_C" >&6
9006 - ac_check_lib_save_LIBS=$LIBS
9008 -cat >conftest.$ac_ext <<_ACEOF
9010 +if test "x$LEX" != "x:"; then
9011 + cat >conftest.l <<_ACEOF
9017 +e { yyless (input () != 0); }
9018 +f { unput (yytext[0]); }
9019 +. { BEGIN INITIAL; }
9021 +#ifdef YYTEXT_POINTER
9022 +extern char *yytext;
9027 + return ! yylex () + ! yywrap ();
9030 -cat confdefs.h >>conftest.$ac_ext
9031 -cat >>conftest.$ac_ext <<_ACEOF
9032 -/* end confdefs.h. */
9034 -/* Override any gcc2 internal prototype to avoid an error. */
9038 -/* We use char because int might match the return type of a gcc2
9039 - builtin and then its argument prototype would still apply. */
9049 -rm -f conftest.$ac_objext conftest$ac_exeext
9050 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9051 - (eval $ac_link) 2>conftest.er1
9053 - grep -v '^ *+' conftest.er1 >conftest.err
9054 - rm -f conftest.er1
9055 - cat conftest.err >&5
9056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 - (exit $ac_status); } &&
9058 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9059 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 - (eval $ac_try) 2>&5
9062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 - (exit $ac_status); }; } &&
9064 - { ac_try='test -s conftest$ac_exeext'
9065 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 - (eval $ac_try) 2>&5
9067 +{ (ac_try="$LEX conftest.l"
9068 +case "(($ac_try" in
9069 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9070 + *) ac_try_echo=$ac_try;;
9072 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9073 + (eval "$LEX conftest.l") 2>&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 - (exit $ac_status); }; }; then
9077 - ac_cv_lib_fl_yywrap=yes
9078 + (exit $ac_status); }
9079 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
9080 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
9081 +if test "${ac_cv_prog_lex_root+set}" = set; then
9082 + echo $ECHO_N "(cached) $ECHO_C" >&6
9084 - echo "$as_me: failed program was:" >&5
9085 -sed 's/^/| /' conftest.$ac_ext >&5
9087 -ac_cv_lib_fl_yywrap=no
9088 +if test -f lex.yy.c; then
9089 + ac_cv_prog_lex_root=lex.yy
9090 +elif test -f lexyy.c; then
9091 + ac_cv_prog_lex_root=lexyy
9093 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9094 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9095 + { (exit 1); exit 1; }; }
9097 -rm -f conftest.err conftest.$ac_objext \
9098 - conftest$ac_exeext conftest.$ac_ext
9099 -LIBS=$ac_check_lib_save_LIBS
9101 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
9102 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
9103 -if test $ac_cv_lib_fl_yywrap = yes; then
9106 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
9107 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
9108 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
9109 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9110 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
9111 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9113 +if test -z "${LEXLIB+set}"; then
9114 + { echo "$as_me:$LINENO: checking lex library" >&5
9115 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
9116 +if test "${ac_cv_lib_lex+set}" = set; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 - ac_check_lib_save_LIBS=$LIBS
9121 -cat >conftest.$ac_ext <<_ACEOF
9124 -cat confdefs.h >>conftest.$ac_ext
9125 -cat >>conftest.$ac_ext <<_ACEOF
9126 -/* end confdefs.h. */
9128 -/* Override any gcc2 internal prototype to avoid an error. */
9132 -/* We use char because int might match the return type of a gcc2
9133 - builtin and then its argument prototype would still apply. */
9142 + ac_save_LIBS=$LIBS
9143 + ac_cv_lib_lex='none needed'
9144 + for ac_lib in '' -lfl -ll; do
9145 + LIBS="$ac_lib $ac_save_LIBS"
9146 + cat >conftest.$ac_ext <<_ACEOF
9147 +`cat $LEX_OUTPUT_ROOT.c`
9149 rm -f conftest.$ac_objext conftest$ac_exeext
9150 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9151 - (eval $ac_link) 2>conftest.er1
9152 +if { (ac_try="$ac_link"
9153 +case "(($ac_try" in
9154 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9155 + *) ac_try_echo=$ac_try;;
9157 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9158 + (eval "$ac_link") 2>conftest.er1
9160 grep -v '^ *+' conftest.er1 >conftest.err
9162 cat conftest.err >&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 - (exit $ac_status); } &&
9165 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9166 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9167 - (eval $ac_try) 2>&5
9169 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 - (exit $ac_status); }; } &&
9171 - { ac_try='test -s conftest$ac_exeext'
9172 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 - (eval $ac_try) 2>&5
9175 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 - (exit $ac_status); }; }; then
9177 - ac_cv_lib_l_yywrap=yes
9178 + (exit $ac_status); } && {
9179 + test -z "$ac_c_werror_flag" ||
9180 + test ! -s conftest.err
9181 + } && test -s conftest$ac_exeext &&
9182 + $as_test_x conftest$ac_exeext; then
9183 + ac_cv_lib_lex=$ac_lib
9185 echo "$as_me: failed program was:" >&5
9186 sed 's/^/| /' conftest.$ac_ext >&5
9188 -ac_cv_lib_l_yywrap=no
9190 -rm -f conftest.err conftest.$ac_objext \
9191 - conftest$ac_exeext conftest.$ac_ext
9192 -LIBS=$ac_check_lib_save_LIBS
9194 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9195 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9196 -if test $ac_cv_lib_l_yywrap = yes; then
9203 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 + conftest$ac_exeext conftest.$ac_ext
9205 + test "$ac_cv_lib_lex" != 'none needed' && break
9207 + LIBS=$ac_save_LIBS
9209 -if test "x$LEX" != "x:"; then
9210 - echo "$as_me:$LINENO: checking lex output file root" >&5
9211 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9212 -if test "${ac_cv_prog_lex_root+set}" = set; then
9213 - echo $ECHO_N "(cached) $ECHO_C" >&6
9215 - # The minimal lex program is just a single line: %%. But some broken lexes
9216 -# (Solaris, I think it was) want two %% lines, so accommodate them.
9217 -cat >conftest.l <<_ACEOF
9221 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9222 - (eval $LEX conftest.l) 2>&5
9224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 - (exit $ac_status); }
9226 -if test -f lex.yy.c; then
9227 - ac_cv_prog_lex_root=lex.yy
9228 -elif test -f lexyy.c; then
9229 - ac_cv_prog_lex_root=lexyy
9231 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9232 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9233 - { (exit 1); exit 1; }; }
9235 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
9236 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
9237 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
9239 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9240 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9242 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9244 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9245 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9247 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9248 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
9249 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9250 echo $ECHO_N "(cached) $ECHO_C" >&6
9252 # POSIX says lex can declare yytext either as a pointer or an array; the
9253 -# default is implementation-dependent. Figure out which it is, since
9254 +# default is implementation-dependent. Figure out which it is, since
9255 # not all implementations provide the %pointer and %array declarations.
9256 ac_cv_prog_lex_yytext_pointer=no
9257 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9259 -LIBS="$LIBS $LEXLIB"
9260 +LIBS="$LEXLIB $ac_save_LIBS"
9261 cat >conftest.$ac_ext <<_ACEOF
9262 +#define YYTEXT_POINTER 1
9263 `cat $LEX_OUTPUT_ROOT.c`
9265 rm -f conftest.$ac_objext conftest$ac_exeext
9266 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9267 - (eval $ac_link) 2>conftest.er1
9268 +if { (ac_try="$ac_link"
9269 +case "(($ac_try" in
9270 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271 + *) ac_try_echo=$ac_try;;
9273 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 + (eval "$ac_link") 2>conftest.er1
9276 grep -v '^ *+' conftest.er1 >conftest.err
9278 cat conftest.err >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 - (exit $ac_status); } &&
9281 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9282 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283 - (eval $ac_try) 2>&5
9285 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 - (exit $ac_status); }; } &&
9287 - { ac_try='test -s conftest$ac_exeext'
9288 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 - (eval $ac_try) 2>&5
9291 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 - (exit $ac_status); }; }; then
9293 + (exit $ac_status); } && {
9294 + test -z "$ac_c_werror_flag" ||
9295 + test ! -s conftest.err
9296 + } && test -s conftest$ac_exeext &&
9297 + $as_test_x conftest$ac_exeext; then
9298 ac_cv_prog_lex_yytext_pointer=yes
9300 echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9305 -rm -f conftest.err conftest.$ac_objext \
9307 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9308 conftest$ac_exeext conftest.$ac_ext
9310 -rm -f "${LEX_OUTPUT_ROOT}.c"
9313 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9314 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9315 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9316 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
9317 if test $ac_cv_prog_lex_yytext_pointer = yes; then
9319 cat >>confdefs.h <<\_ACEOF
9320 @@ -3098,15 +3840,18 @@
9324 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
9328 +if test "$LEX" = :; then
9329 + LEX=${am_missing_run}flex
9331 for ac_prog in 'bison -y' byacc
9333 # Extract the first word of "$ac_prog", so it can be a program name with args.
9334 set dummy $ac_prog; ac_word=$2
9335 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9336 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9337 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9338 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9339 if test "${ac_cv_prog_YACC+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 @@ -3119,25 +3864,27 @@
9344 test -z "$as_dir" && as_dir=.
9345 for ac_exec_ext in '' $ac_executable_extensions; do
9346 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9347 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9348 ac_cv_prog_YACC="$ac_prog"
9349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9358 YACC=$ac_cv_prog_YACC
9359 if test -n "$YACC"; then
9360 - echo "$as_me:$LINENO: result: $YACC" >&5
9361 -echo "${ECHO_T}$YACC" >&6
9362 + { echo "$as_me:$LINENO: result: $YACC" >&5
9363 +echo "${ECHO_T}$YACC" >&6; }
9365 - echo "$as_me:$LINENO: result: no" >&5
9366 -echo "${ECHO_T}no" >&6
9367 + { echo "$as_me:$LINENO: result: no" >&5
9368 +echo "${ECHO_T}no" >&6; }
9372 test -n "$YACC" && break
9374 test -n "$YACC" || YACC="yacc"
9375 @@ -3155,8 +3902,8 @@
9376 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9377 # OS/2's system install, which has a completely different semantic
9378 # ./install, which can be erroneously created by make from ./install.sh.
9379 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9380 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9381 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9382 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9383 if test -z "$INSTALL"; then
9384 if test "${ac_cv_path_install+set}" = set; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9386 @@ -3178,7 +3925,7 @@
9388 for ac_prog in ginstall scoinst install; do
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9391 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9392 if test $ac_prog = install &&
9393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9394 # AIX install. It has an incompatible calling convention.
9395 @@ -3197,21 +3944,22 @@
9403 if test "${ac_cv_path_install+set}" = set; then
9404 INSTALL=$ac_cv_path_install
9406 - # As a last resort, use the slow shell script. We don't cache a
9407 - # path for INSTALL within a source directory, because that will
9408 + # As a last resort, use the slow shell script. Don't cache a
9409 + # value for INSTALL within a source directory, because that will
9410 # break other packages using the cache if that directory is
9411 - # removed, or if the path is relative.
9412 + # removed, or if the value is a relative name.
9413 INSTALL=$ac_install_sh
9416 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9417 -echo "${ECHO_T}$INSTALL" >&6
9418 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9419 +echo "${ECHO_T}$INSTALL" >&6; }
9421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9422 # It thinks the first close brace ends the variable substitution.
9423 @@ -3222,96 +3970,310 @@
9424 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9427 -# Check whether --enable-shared or --disable-shared was given.
9428 +# Check whether --enable-shared was given.
9429 if test "${enable_shared+set}" = set; then
9430 - enableval="$enable_shared"
9431 - p=${PACKAGE-default}
9433 -yes) enable_shared=yes ;;
9434 -no) enable_shared=no ;;
9437 - # Look at the argument we got. We use all the common list separators.
9438 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9439 - for pkg in $enableval; do
9440 - if test "X$pkg" = "X$p"; then
9444 - IFS="$ac_save_ifs"
9447 + enableval=$enable_shared; p=${PACKAGE-default}
9448 + case $enableval in
9449 + yes) enable_shared=yes ;;
9450 + no) enable_shared=no ;;
9453 + # Look at the argument we got. We use all the common list separators.
9454 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9455 + for pkg in $enableval; do
9456 + IFS="$lt_save_ifs"
9457 + if test "X$pkg" = "X$p"; then
9461 + IFS="$lt_save_ifs"
9467 -# Check whether --enable-static or --disable-static was given.
9471 +# Check whether --enable-static was given.
9472 if test "${enable_static+set}" = set; then
9473 - enableval="$enable_static"
9474 - p=${PACKAGE-default}
9476 -yes) enable_static=yes ;;
9477 -no) enable_static=no ;;
9478 + enableval=$enable_static; p=${PACKAGE-default}
9479 + case $enableval in
9480 + yes) enable_static=yes ;;
9481 + no) enable_static=no ;;
9484 + # Look at the argument we got. We use all the common list separators.
9485 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9486 + for pkg in $enableval; do
9487 + IFS="$lt_save_ifs"
9488 + if test "X$pkg" = "X$p"; then
9492 + IFS="$lt_save_ifs"
9500 +# Check whether --enable-fast-install was given.
9501 +if test "${enable_fast_install+set}" = set; then
9502 + enableval=$enable_fast_install; p=${PACKAGE-default}
9503 + case $enableval in
9504 + yes) enable_fast_install=yes ;;
9505 + no) enable_fast_install=no ;;
9507 + enable_fast_install=no
9508 + # Look at the argument we got. We use all the common list separators.
9509 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9510 + for pkg in $enableval; do
9511 + IFS="$lt_save_ifs"
9512 + if test "X$pkg" = "X$p"; then
9513 + enable_fast_install=yes
9516 + IFS="$lt_save_ifs"
9520 + enable_fast_install=yes
9524 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9525 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
9526 +if test "${lt_cv_path_SED+set}" = set; then
9527 + echo $ECHO_N "(cached) $ECHO_C" >&6
9529 + # Loop through the user's path and test for sed and gsed.
9530 +# Then use that list of sed's as ones to test for truncation.
9531 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9532 +for as_dir in $PATH
9535 + test -z "$as_dir" && as_dir=.
9536 + for lt_ac_prog in sed gsed; do
9537 + for ac_exec_ext in '' $ac_executable_extensions; do
9538 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9539 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9546 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9547 +# along with /bin/sed that truncates output.
9548 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9549 + test ! -f $lt_ac_sed && continue
9550 + cat /dev/null > conftest.in
9552 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9553 + # Check for GNU sed and select it if it is found.
9554 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9555 + lt_cv_path_SED=$lt_ac_sed
9559 + cat conftest.in conftest.in >conftest.tmp
9560 + mv conftest.tmp conftest.in
9561 + cp conftest.in conftest.nl
9562 + echo >>conftest.nl
9563 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9564 + cmp -s conftest.out conftest.nl || break
9565 + # 10000 chars as input seems more than enough
9566 + test $lt_ac_count -gt 10 && break
9567 + lt_ac_count=`expr $lt_ac_count + 1`
9568 + if test $lt_ac_count -gt $lt_ac_max; then
9569 + lt_ac_max=$lt_ac_count
9570 + lt_cv_path_SED=$lt_ac_sed
9577 +SED=$lt_cv_path_SED
9578 +{ echo "$as_me:$LINENO: result: $SED" >&5
9579 +echo "${ECHO_T}$SED" >&6; }
9581 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9582 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
9583 +if test "${ac_cv_path_GREP+set}" = set; then
9584 + echo $ECHO_N "(cached) $ECHO_C" >&6
9586 + # Extract the first word of "grep ggrep" to use in msg output
9587 +if test -z "$GREP"; then
9588 +set dummy grep ggrep; ac_prog_name=$2
9589 +if test "${ac_cv_path_GREP+set}" = set; then
9590 + echo $ECHO_N "(cached) $ECHO_C" >&6
9592 + ac_path_GREP_found=false
9593 +# Loop through the user's path and test for each of PROGNAME-LIST
9594 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9595 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9598 + test -z "$as_dir" && as_dir=.
9599 + for ac_prog in grep ggrep; do
9600 + for ac_exec_ext in '' $ac_executable_extensions; do
9601 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9602 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
9603 + # Check for GNU ac_path_GREP and select it if it is found.
9604 + # Check for GNU $ac_path_GREP
9605 +case `"$ac_path_GREP" --version 2>&1` in
9607 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9610 - # Look at the argument we got. We use all the common list separators.
9611 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9612 - for pkg in $enableval; do
9613 - if test "X$pkg" = "X$p"; then
9616 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9619 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9620 + mv "conftest.tmp" "conftest.in"
9621 + cp "conftest.in" "conftest.nl"
9622 + echo 'GREP' >> "conftest.nl"
9623 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9624 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9625 + ac_count=`expr $ac_count + 1`
9626 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
9627 + # Best one so far, save it but keep looking for a better one
9628 + ac_cv_path_GREP="$ac_path_GREP"
9629 + ac_path_GREP_max=$ac_count
9631 + # 10*(2^10) chars as input seems more than enough
9632 + test $ac_count -gt 10 && break
9634 - IFS="$ac_save_ifs"
9636 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9640 + $ac_path_GREP_found && break 3
9650 +GREP="$ac_cv_path_GREP"
9651 +if test -z "$GREP"; then
9652 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9653 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9654 + { (exit 1); exit 1; }; }
9660 -# Check whether --enable-fast-install or --disable-fast-install was given.
9661 -if test "${enable_fast_install+set}" = set; then
9662 - enableval="$enable_fast_install"
9663 - p=${PACKAGE-default}
9665 -yes) enable_fast_install=yes ;;
9666 -no) enable_fast_install=no ;;
9667 + ac_cv_path_GREP=$GREP
9672 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9673 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
9674 + GREP="$ac_cv_path_GREP"
9677 +{ echo "$as_me:$LINENO: checking for egrep" >&5
9678 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9679 +if test "${ac_cv_path_EGREP+set}" = set; then
9680 + echo $ECHO_N "(cached) $ECHO_C" >&6
9682 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9683 + then ac_cv_path_EGREP="$GREP -E"
9685 + # Extract the first word of "egrep" to use in msg output
9686 +if test -z "$EGREP"; then
9687 +set dummy egrep; ac_prog_name=$2
9688 +if test "${ac_cv_path_EGREP+set}" = set; then
9689 + echo $ECHO_N "(cached) $ECHO_C" >&6
9691 + ac_path_EGREP_found=false
9692 +# Loop through the user's path and test for each of PROGNAME-LIST
9693 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9697 + test -z "$as_dir" && as_dir=.
9698 + for ac_prog in egrep; do
9699 + for ac_exec_ext in '' $ac_executable_extensions; do
9700 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9701 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
9702 + # Check for GNU ac_path_EGREP and select it if it is found.
9703 + # Check for GNU $ac_path_EGREP
9704 +case `"$ac_path_EGREP" --version 2>&1` in
9706 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9708 - enable_fast_install=no
9709 - # Look at the argument we got. We use all the common list separators.
9710 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9711 - for pkg in $enableval; do
9712 - if test "X$pkg" = "X$p"; then
9713 - enable_fast_install=yes
9715 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9718 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9719 + mv "conftest.tmp" "conftest.in"
9720 + cp "conftest.in" "conftest.nl"
9721 + echo 'EGREP' >> "conftest.nl"
9722 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9723 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9724 + ac_count=`expr $ac_count + 1`
9725 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9726 + # Best one so far, save it but keep looking for a better one
9727 + ac_cv_path_EGREP="$ac_path_EGREP"
9728 + ac_path_EGREP_max=$ac_count
9730 + # 10*(2^10) chars as input seems more than enough
9731 + test $ac_count -gt 10 && break
9733 - IFS="$ac_save_ifs"
9735 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9739 + $ac_path_EGREP_found && break 3
9749 +EGREP="$ac_cv_path_EGREP"
9750 +if test -z "$EGREP"; then
9751 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9752 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9753 + { (exit 1); exit 1; }; }
9757 - enable_fast_install=yes
9759 -# Find the correct PATH separator. Usually this is `:', but
9760 -# DJGPP uses `;' like DOS.
9761 -if test "X${PATH_SEPARATOR+set}" != Xset; then
9762 - UNAME=${UNAME-`uname 2>/dev/null`}
9764 - *-DOS) lt_cv_sys_path_separator=';' ;;
9765 - *) lt_cv_sys_path_separator=':' ;;
9767 - PATH_SEPARATOR=$lt_cv_sys_path_separator
9768 + ac_cv_path_EGREP=$EGREP
9774 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9775 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9776 + EGREP="$ac_cv_path_EGREP"
9779 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
9781 +# Check whether --with-gnu-ld was given.
9782 if test "${with_gnu_ld+set}" = set; then
9783 - withval="$with_gnu_ld"
9784 - test "$withval" = no || with_gnu_ld=yes
9785 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9792 if test "$GCC" = yes; then
9793 # Check if gcc -print-prog-name=ld gives a path.
9794 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9795 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9796 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9797 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9800 # gcc leaves a trailing carriage return which upsets mingw
9801 @@ -3321,12 +4283,12 @@
9804 # Accept absolute paths.
9805 - [\\/]* | [A-Za-z]:[\\/]*)
9806 + [\\/]* | ?:[\\/]*)
9807 re_direlt='/[^/][^/]*/\.\./'
9808 - # Canonicalize the path of ld
9809 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9810 + # Canonicalize the pathname of ld
9811 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9812 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9813 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9814 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9816 test -z "$LD" && LD="$ac_prog"
9818 @@ -3340,32 +4302,36 @@
9821 elif test "$with_gnu_ld" = yes; then
9822 - echo "$as_me:$LINENO: checking for GNU ld" >&5
9823 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9824 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
9825 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9827 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9828 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9829 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9830 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9832 if test "${lt_cv_path_LD+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9835 if test -z "$LD"; then
9836 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9837 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9838 for ac_dir in $PATH; do
9839 + IFS="$lt_save_ifs"
9840 test -z "$ac_dir" && ac_dir=.
9841 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9842 lt_cv_path_LD="$ac_dir/$ac_prog"
9843 # Check to see if the program is GNU ld. I'd rather use --version,
9844 - # but apparently some GNU ld's only accept -v.
9845 + # but apparently some variants of GNU ld only accept -v.
9846 # Break only if it was the GNU/non-GNU ld that we prefer.
9847 - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9848 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9849 + *GNU* | *'with BFD'*)
9850 test "$with_gnu_ld" != no && break
9854 test "$with_gnu_ld" != yes && break
9860 - IFS="$ac_save_ifs"
9861 + IFS="$lt_save_ifs"
9863 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9865 @@ -3373,46 +4339,62 @@
9868 if test -n "$LD"; then
9869 - echo "$as_me:$LINENO: result: $LD" >&5
9870 -echo "${ECHO_T}$LD" >&6
9871 + { echo "$as_me:$LINENO: result: $LD" >&5
9872 +echo "${ECHO_T}$LD" >&6; }
9874 - echo "$as_me:$LINENO: result: no" >&5
9875 -echo "${ECHO_T}no" >&6
9876 + { echo "$as_me:$LINENO: result: no" >&5
9877 +echo "${ECHO_T}no" >&6; }
9879 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9880 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9881 { (exit 1); exit 1; }; }
9882 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9883 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9884 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9885 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9886 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9890 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9891 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
9892 +case `$LD -v 2>&1 </dev/null` in
9893 +*GNU* | *'with BFD'*)
9894 lt_cv_prog_gnu_ld=yes
9898 lt_cv_prog_gnu_ld=no
9903 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9904 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9905 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9906 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9907 with_gnu_ld=$lt_cv_prog_gnu_ld
9910 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9911 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
9912 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9913 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
9914 if test "${lt_cv_ld_reload_flag+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 lt_cv_ld_reload_flag='-r'
9919 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9920 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9921 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9922 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
9923 reload_flag=$lt_cv_ld_reload_flag
9924 -test -n "$reload_flag" && reload_flag=" $reload_flag"
9925 +case $reload_flag in
9927 +*) reload_flag=" $reload_flag" ;;
9929 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
9932 + if test "$GCC" = yes; then
9933 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9935 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
9940 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9941 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
9942 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9943 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
9944 if test "${lt_cv_path_NM+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 @@ -3420,134 +4402,63 @@
9948 # Let the user override the test.
9951 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9952 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
9953 - test -z "$ac_dir" && ac_dir=.
9954 - tmp_nm=$ac_dir/${ac_tool_prefix}nm
9955 - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
9956 - # Check to see if the nm accepts a BSD-compat flag.
9957 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9958 - # nm: unknown option "B" ignored
9959 - # Tru64's nm complains that /dev/null is an invalid object file
9960 - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
9961 - lt_cv_path_NM="$tmp_nm -B"
9963 - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9964 - lt_cv_path_NM="$tmp_nm -p"
9967 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9968 - continue # so that we can try to find one that supports BSD flags
9972 - IFS="$ac_save_ifs"
9973 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
9977 -NM="$lt_cv_path_NM"
9978 -echo "$as_me:$LINENO: result: $NM" >&5
9979 -echo "${ECHO_T}$NM" >&6
9981 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9982 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9983 -if test "${lt_cv_path_SED+set}" = set; then
9984 - echo $ECHO_N "(cached) $ECHO_C" >&6
9986 - # Loop through the user's path and test for sed and gsed.
9987 -# Then use that list of sed's as ones to test for truncation.
9988 -as_executable_p="test -f"
9989 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9990 -for as_dir in $PATH
9993 - test -z "$as_dir" && as_dir=.
9994 - for ac_prog in sed gsed; do
9995 - for ac_exec_ext in '' $ac_executable_extensions; do
9996 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9997 - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
10003 - # Create a temporary directory, and hook for its removal unless debugging.
10006 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10007 - trap '{ (exit 1); exit 1; }' 1 2 13 15
10010 -# Create a (secure) tmp directory for tmp files.
10013 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
10014 - test -n "$tmp" && test -d "$tmp"
10017 - tmp=$TMPDIR/sed$$-$RANDOM
10018 - (umask 077 && mkdir $tmp)
10021 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10022 - { (exit 1); exit 1; }
10026 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10027 - # along with /bin/sed that truncates output.
10028 - for _sed in $_sed_list /usr/xpg4/bin/sed; do
10029 - test ! -f ${_sed} && break
10030 - cat /dev/null > "$tmp/sed.in"
10032 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
10033 - # Check for GNU sed and select it if it is found.
10034 - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
10035 - lt_cv_path_SED=${_sed}
10039 - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
10040 - mv "$tmp/sed.tmp" "$tmp/sed.in"
10041 - cp "$tmp/sed.in" "$tmp/sed.nl"
10042 - echo >>"$tmp/sed.nl"
10043 - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
10044 - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
10045 - # 40000 chars as input seems more than enough
10046 - test $_count -gt 10 && break
10047 - _count=`expr $_count + 1`
10048 - if test $_count -gt $_max; then
10050 - lt_cv_path_SED=$_sed
10051 + lt_nm_to_check="${ac_tool_prefix}nm"
10052 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10053 + lt_nm_to_check="$lt_nm_to_check nm"
10055 + for lt_tmp_nm in $lt_nm_to_check; do
10056 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10057 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10058 + IFS="$lt_save_ifs"
10059 + test -z "$ac_dir" && ac_dir=.
10060 + tmp_nm="$ac_dir/$lt_tmp_nm"
10061 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10062 + # Check to see if the nm accepts a BSD-compat flag.
10063 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10064 + # nm: unknown option "B" ignored
10065 + # Tru64's nm complains that /dev/null is an invalid object file
10066 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10067 + */dev/null* | *'Invalid file or object type'*)
10068 + lt_cv_path_NM="$tmp_nm -B"
10072 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10074 + lt_cv_path_NM="$tmp_nm -p"
10078 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10079 + continue # so that we can try to find one that supports BSD flags
10086 + IFS="$lt_save_ifs"
10090 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10093 -if test "X$SED" != "X"; then
10094 - lt_cv_path_SED=$SED
10096 - SED=$lt_cv_path_SED
10098 -echo "$as_me:$LINENO: result: $SED" >&5
10099 -echo "${ECHO_T}$SED" >&6
10100 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10101 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
10102 +NM="$lt_cv_path_NM"
10104 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
10105 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10106 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
10107 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10109 if test "$LN_S" = "ln -s"; then
10110 - echo "$as_me:$LINENO: result: yes" >&5
10111 -echo "${ECHO_T}yes" >&6
10112 + { echo "$as_me:$LINENO: result: yes" >&5
10113 +echo "${ECHO_T}yes" >&6; }
10115 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10116 -echo "${ECHO_T}no, using $LN_S" >&6
10117 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10118 +echo "${ECHO_T}no, using $LN_S" >&6; }
10121 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10122 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10123 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10124 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
10125 if test "${lt_cv_deplibs_check_method+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 @@ -3561,7 +4472,7 @@
10129 # 'pass_all' -- all dependencies passed with no checks.
10130 # 'test_compile' -- check by making test program.
10131 # 'file_magic [[regex]]' -- check by looking for files in library path
10132 -# which responds to the $file_magic_cmd with a given egrep regex.
10133 +# which responds to the $file_magic_cmd with a given extended regex.
10134 # If you have `file' or equivalent on your system and you're not sure
10135 # whether `pass_all' will *always* work, you probably want this one.
10137 @@ -3574,37 +4485,36 @@
10138 lt_cv_deplibs_check_method=pass_all
10143 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10144 lt_cv_file_magic_cmd='/usr/bin/file -L'
10145 lt_cv_file_magic_test_file=/shlib/libc.so
10148 -cygwin* | mingw* | pw32*)
10150 + # func_win32_libid is a shell function defined in ltmain.sh
10151 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10152 + lt_cv_file_magic_cmd='func_win32_libid'
10156 + # Base MSYS/MinGW do not provide the 'file' command needed by
10157 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10158 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10159 lt_cv_file_magic_cmd='$OBJDUMP -f'
10162 darwin* | rhapsody*)
10163 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
10164 - lt_cv_file_magic_cmd='/usr/bin/file -L'
10165 - case "$host_os" in
10166 - rhapsody* | darwin1.[012])
10167 - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
10169 - *) # Darwin 1.3 on
10170 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
10173 + lt_cv_deplibs_check_method=pass_all
10177 +freebsd* | dragonfly*)
10178 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10181 # Not sure whether the presence of OpenBSD here was a mistake.
10182 # Let's accept both of them until this is cleared up.
10183 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10184 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10185 lt_cv_file_magic_cmd=/usr/bin/file
10186 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10188 @@ -3618,50 +4528,49 @@
10189 lt_cv_deplibs_check_method=pass_all
10192 -hpux10.20*|hpux11*)
10193 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10194 +hpux10.20* | hpux11*)
10195 lt_cv_file_magic_cmd=/usr/bin/file
10196 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
10199 -irix5* | irix6* | nonstopux*)
10201 - irix5* | nonstopux*)
10202 - # this will be overridden with pass_all, but let us keep it just in case
10203 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
10204 + case $host_cpu in
10206 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10207 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10210 + 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]'
10211 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10215 - *-32|*"-32 ") libmagic=32-bit;;
10216 - *-n32|*"-n32 ") libmagic=N32;;
10217 - *-64|*"-64 ") libmagic=64-bit;;
10218 - *) libmagic=never-match;;
10220 - # this will be overridden with pass_all, but let us keep it just in case
10221 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
10222 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10223 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
10226 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
10230 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10231 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10234 +irix5* | irix6* | nonstopux*)
10236 + *-32|*"-32 ") libmagic=32-bit;;
10237 + *-n32|*"-n32 ") libmagic=N32;;
10238 + *-64|*"-64 ") libmagic=64-bit;;
10239 + *) libmagic=never-match;;
10241 lt_cv_deplibs_check_method=pass_all
10244 # This must be Linux ELF.
10246 - case $host_cpu in
10247 - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
10248 - lt_cv_deplibs_check_method=pass_all ;;
10250 - # glibc up to 2.1.1 does not perform some relocations on ARM
10251 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
10253 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
10254 +linux* | k*bsd*-gnu)
10255 + lt_cv_deplibs_check_method=pass_all
10259 +netbsd* | netbsdelf*-gnu)
10260 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10261 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
10262 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10264 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
10265 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10269 @@ -3671,37 +4580,27 @@
10270 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10274 + lt_cv_deplibs_check_method=unknown
10278 - lt_cv_file_magic_cmd=/usr/bin/file
10279 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10280 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10281 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10282 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10284 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10285 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10289 osf3* | osf4* | osf5*)
10290 - # this will be overridden with pass_all, but let us keep it just in case
10291 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
10292 - lt_cv_file_magic_test_file=/shlib/libc.so
10293 - lt_cv_deplibs_check_method=pass_all
10297 lt_cv_deplibs_check_method=pass_all
10301 lt_cv_deplibs_check_method=pass_all
10302 - lt_cv_file_magic_test_file=/lib/libc.so
10305 -sysv5uw[78]* | sysv4*uw2*)
10306 - lt_cv_deplibs_check_method=pass_all
10309 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10311 case $host_vendor in
10313 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]'
10314 @@ -3722,227 +4621,253 @@
10316 lt_cv_deplibs_check_method=pass_all
10319 + lt_cv_deplibs_check_method=pass_all
10324 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10325 + lt_cv_deplibs_check_method=pass_all
10330 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10331 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10332 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10333 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
10334 file_magic_cmd=$lt_cv_file_magic_cmd
10335 deplibs_check_method=$lt_cv_deplibs_check_method
10336 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
10341 +# If no C compiler was specified, use CC.
10342 +LTCC=${LTCC-"$CC"}
10344 +# If no C compiler flags were specified, use CFLAGS.
10345 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10347 +# Allow CC to be a program name with arguments.
10350 -# Check for command to grab the raw symbol name followed by C symbol from nm.
10351 -echo "$as_me:$LINENO: checking command to parse $NM output" >&5
10352 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
10353 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10354 - echo $ECHO_N "(cached) $ECHO_C" >&6
10357 -# These are sane defaults that work on at least a few old systems.
10358 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
10360 -# Character class describing NM global symbol codes.
10361 -symcode='[BCDEGRST]'
10363 -# Regexp to match symbols that can be accessed directly from C.
10364 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10366 -# Transform the above into a raw symbol and a C symbol.
10367 -symxfrm='\1 \2\3 \3'
10369 -# Transform an extracted symbol line into a proper C declaration
10370 -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
10372 -# Transform an extracted symbol line into symbol name and symbol address
10373 -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10375 -# Define system-specific variables.
10380 -cygwin* | mingw* | pw32*)
10381 - symcode='[ABCDGISTW]'
10383 -hpux*) # Its linker distinguishes data from code symbols
10384 - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10385 - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10387 -irix* | nonstopux*)
10388 - symcode='[BCDEGRST]'
10391 - symcode='[BCDEGQRST]'
10393 -solaris* | sysv5*)
10397 - symcode='[DFNSTU]'
10401 -# Handle CRLF in mingw tool chain
10405 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10409 -# If we're using GNU nm, then use its standard symbol codes.
10410 -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
10411 - symcode='[ABCDGISTW]'
10412 +# Check whether --enable-libtool-lock was given.
10413 +if test "${enable_libtool_lock+set}" = set; then
10414 + enableval=$enable_libtool_lock;
10417 -# Try without a prefix undercore, then with it.
10418 -for ac_symprfx in "" "_"; do
10420 - # Write the raw and C identifiers.
10421 -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
10423 - # Check to see that the pipe works correctly.
10426 - cat > conftest.$ac_ext <<EOF
10427 -#ifdef __cplusplus
10431 -void nm_test_func(){}
10432 -#ifdef __cplusplus
10435 -int main(){nm_test_var='a';nm_test_func();return(0);}
10437 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10439 +# Some flags need to be propagated to the compiler or linker for good
10440 +# libtool support.
10443 + # Find out which ABI we are using.
10444 + echo 'int i;' > conftest.$ac_ext
10445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10446 (eval $ac_compile) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; then
10450 - # Now try to grab the symbols.
10451 - nlist=conftest.nm
10452 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10453 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10454 + case `/usr/bin/file conftest.$ac_objext` in
10456 + HPUX_IA64_MODE="32"
10459 + HPUX_IA64_MODE="64"
10466 + # Find out which ABI we are using.
10467 + echo '#line 4685 "configure"' > conftest.$ac_ext
10468 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10469 + (eval $ac_compile) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 - (exit $ac_status); } && test -s "$nlist"; then
10473 - # Try sorting and uniquifying the output.
10474 - if sort "$nlist" | uniq > "$nlist"T; then
10475 - mv -f "$nlist"T "$nlist"
10480 - # Make sure that we snagged all the symbols we need.
10481 - if egrep ' nm_test_var$' "$nlist" >/dev/null; then
10482 - if egrep ' nm_test_func$' "$nlist" >/dev/null; then
10483 - cat <<EOF > conftest.$ac_ext
10484 -#ifdef __cplusplus
10489 - # Now generate the symbol file.
10490 - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
10492 - cat <<EOF >> conftest.$ac_ext
10493 -#if defined (__STDC__) && __STDC__
10494 -# define lt_ptr void *
10496 -# define lt_ptr char *
10500 -/* The mapping between symbol names and symbols. */
10502 - const char *name;
10505 -lt_preloaded_symbols[] =
10508 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
10509 - cat <<\EOF >> conftest.$ac_ext
10512 + (exit $ac_status); }; then
10513 + if test "$lt_cv_prog_gnu_ld" = yes; then
10514 + case `/usr/bin/file conftest.$ac_objext` in
10516 + LD="${LD-ld} -melf32bsmip"
10519 + LD="${LD-ld} -melf32bmipn32"
10522 + LD="${LD-ld} -melf64bmip"
10526 + case `/usr/bin/file conftest.$ac_objext` in
10528 + LD="${LD-ld} -32"
10531 + LD="${LD-ld} -n32"
10534 + LD="${LD-ld} -64"
10542 -#ifdef __cplusplus
10546 - # Now try linking the two files.
10547 - mv conftest.$ac_objext conftstm.$ac_objext
10548 - save_LIBS="$LIBS"
10549 - save_CFLAGS="$CFLAGS"
10550 - LIBS="conftstm.$ac_objext"
10551 - CFLAGS="$CFLAGS$no_builtin_flag"
10552 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10553 - (eval $ac_link) 2>&5
10554 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10555 + # Find out which ABI we are using.
10556 + echo 'int i;' > conftest.$ac_ext
10557 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10558 + (eval $ac_compile) 2>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 - (exit $ac_status); } && test -s conftest$ac_exeext; then
10564 - LIBS="$save_LIBS"
10565 - CFLAGS="$save_CFLAGS"
10567 - echo "cannot find nm_test_func in $nlist" >&5
10570 - echo "cannot find nm_test_var in $nlist" >&5
10573 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10576 - echo "$progname: failed program was:" >&5
10577 - cat conftest.$ac_ext >&5
10578 + (exit $ac_status); }; then
10579 + case `/usr/bin/file conftest.o` in
10583 + LD="${LD-ld} -m elf_i386"
10585 + ppc64-*linux*|powerpc64-*linux*)
10586 + LD="${LD-ld} -m elf32ppclinux"
10589 + LD="${LD-ld} -m elf_s390"
10592 + LD="${LD-ld} -m elf32_sparc"
10599 + LD="${LD-ld} -m elf_x86_64"
10601 + ppc*-*linux*|powerpc*-*linux*)
10602 + LD="${LD-ld} -m elf64ppc"
10605 + LD="${LD-ld} -m elf64_s390"
10608 + LD="${LD-ld} -m elf64_sparc"
10614 - rm -f conftest* conftst*
10618 - # Do not use the global_symbol_pipe unless it works.
10619 - if test "$pipe_works" = yes; then
10622 - lt_cv_sys_global_symbol_pipe=
10626 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10627 + SAVE_CFLAGS="$CFLAGS"
10628 + CFLAGS="$CFLAGS -belf"
10629 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10630 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
10631 +if test "${lt_cv_cc_needs_belf+set}" = set; then
10632 + echo $ECHO_N "(cached) $ECHO_C" >&6
10635 +ac_cpp='$CPP $CPPFLAGS'
10636 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10637 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10638 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10641 + cat >conftest.$ac_ext <<_ACEOF
10644 +cat confdefs.h >>conftest.$ac_ext
10645 +cat >>conftest.$ac_ext <<_ACEOF
10646 +/* end confdefs.h. */
10648 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
10649 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
10650 - global_symbol_to_cdecl=
10651 - global_symbol_to_c_name_address=
10660 +rm -f conftest.$ac_objext conftest$ac_exeext
10661 +if { (ac_try="$ac_link"
10662 +case "(($ac_try" in
10663 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664 + *) ac_try_echo=$ac_try;;
10666 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 + (eval "$ac_link") 2>conftest.er1
10669 + grep -v '^ *+' conftest.er1 >conftest.err
10670 + rm -f conftest.er1
10671 + cat conftest.err >&5
10672 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 + (exit $ac_status); } && {
10674 + test -z "$ac_c_werror_flag" ||
10675 + test ! -s conftest.err
10676 + } && test -s conftest$ac_exeext &&
10677 + $as_test_x conftest$ac_exeext; then
10678 + lt_cv_cc_needs_belf=yes
10680 - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
10681 - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
10682 + echo "$as_me: failed program was:" >&5
10683 +sed 's/^/| /' conftest.$ac_ext >&5
10685 + lt_cv_cc_needs_belf=no
10687 -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
10689 - echo "$as_me:$LINENO: result: failed" >&5
10690 -echo "${ECHO_T}failed" >&6
10692 - echo "$as_me:$LINENO: result: ok" >&5
10693 -echo "${ECHO_T}ok" >&6
10695 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10696 + conftest$ac_exeext conftest.$ac_ext
10698 +ac_cpp='$CPP $CPPFLAGS'
10699 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10700 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10701 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10704 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10705 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
10706 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10707 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10708 + CFLAGS="$SAVE_CFLAGS"
10712 + # Find out which ABI we are using.
10713 + echo 'int i;' > conftest.$ac_ext
10714 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 + (eval $ac_compile) 2>&5
10717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 + (exit $ac_status); }; then
10719 + case `/usr/bin/file conftest.o` in
10721 + case $lt_cv_prog_gnu_ld in
10722 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
10723 + *) LD="${LD-ld} -64" ;;
10734 +need_locks="$enable_libtool_lock"
10738 ac_cpp='$CPP $CPPFLAGS'
10739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10742 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10743 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10744 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10745 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10746 # On Suns, sometimes $CPP names a directory.
10747 if test -n "$CPP" && test -d "$CPP"; then
10749 @@ -3976,24 +4901,22 @@
10753 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10754 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10755 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10756 +case "(($ac_try" in
10757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10758 + *) ac_try_echo=$ac_try;;
10760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10763 grep -v '^ *+' conftest.er1 >conftest.err
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 - (exit $ac_status); } >/dev/null; then
10768 - if test -s conftest.err; then
10769 - ac_cpp_err=$ac_c_preproc_warn_flag
10770 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10777 -if test -z "$ac_cpp_err"; then
10778 + (exit $ac_status); } >/dev/null && {
10779 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10780 + test ! -s conftest.err
10784 echo "$as_me: failed program was:" >&5
10785 @@ -4002,9 +4925,10 @@
10786 # Broken: fails on valid input.
10790 rm -f conftest.err conftest.$ac_ext
10792 - # OK, works on sane cases. Now check whether non-existent headers
10793 + # OK, works on sane cases. Now check whether nonexistent headers
10794 # can be detected and how.
10795 cat >conftest.$ac_ext <<_ACEOF
10797 @@ -4014,24 +4938,22 @@
10798 /* end confdefs.h. */
10799 #include <ac_nonexistent.h>
10801 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10802 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10803 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10804 +case "(($ac_try" in
10805 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 + *) ac_try_echo=$ac_try;;
10808 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10811 grep -v '^ *+' conftest.er1 >conftest.err
10813 cat conftest.err >&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 - (exit $ac_status); } >/dev/null; then
10816 - if test -s conftest.err; then
10817 - ac_cpp_err=$ac_c_preproc_warn_flag
10818 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10825 -if test -z "$ac_cpp_err"; then
10826 + (exit $ac_status); } >/dev/null && {
10827 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10828 + test ! -s conftest.err
10830 # Broken: success on invalid input.
10833 @@ -4042,6 +4964,7 @@
10838 rm -f conftest.err conftest.$ac_ext
10841 @@ -4059,8 +4982,8 @@
10843 ac_cv_prog_CPP=$CPP
10845 -echo "$as_me:$LINENO: result: $CPP" >&5
10846 -echo "${ECHO_T}$CPP" >&6
10847 +{ echo "$as_me:$LINENO: result: $CPP" >&5
10848 +echo "${ECHO_T}$CPP" >&6; }
10849 ac_preproc_ok=false
10850 for ac_c_preproc_warn_flag in '' yes
10852 @@ -4083,24 +5006,22 @@
10856 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10857 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10858 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10859 +case "(($ac_try" in
10860 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10861 + *) ac_try_echo=$ac_try;;
10863 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10864 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10866 grep -v '^ *+' conftest.er1 >conftest.err
10868 cat conftest.err >&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 - (exit $ac_status); } >/dev/null; then
10871 - if test -s conftest.err; then
10872 - ac_cpp_err=$ac_c_preproc_warn_flag
10873 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10880 -if test -z "$ac_cpp_err"; then
10881 + (exit $ac_status); } >/dev/null && {
10882 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10883 + test ! -s conftest.err
10887 echo "$as_me: failed program was:" >&5
10888 @@ -4109,9 +5030,10 @@
10889 # Broken: fails on valid input.
10893 rm -f conftest.err conftest.$ac_ext
10895 - # OK, works on sane cases. Now check whether non-existent headers
10896 + # OK, works on sane cases. Now check whether nonexistent headers
10897 # can be detected and how.
10898 cat >conftest.$ac_ext <<_ACEOF
10900 @@ -4121,24 +5043,22 @@
10901 /* end confdefs.h. */
10902 #include <ac_nonexistent.h>
10904 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10905 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10906 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10907 +case "(($ac_try" in
10908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10909 + *) ac_try_echo=$ac_try;;
10911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10912 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10914 grep -v '^ *+' conftest.er1 >conftest.err
10916 cat conftest.err >&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 - (exit $ac_status); } >/dev/null; then
10919 - if test -s conftest.err; then
10920 - ac_cpp_err=$ac_c_preproc_warn_flag
10921 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10928 -if test -z "$ac_cpp_err"; then
10929 + (exit $ac_status); } >/dev/null && {
10930 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10931 + test ! -s conftest.err
10933 # Broken: success on invalid input.
10936 @@ -4149,6 +5069,7 @@
10941 rm -f conftest.err conftest.$ac_ext
10944 @@ -4171,23 +5092,8 @@
10945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10948 -echo "$as_me:$LINENO: checking for egrep" >&5
10949 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10950 -if test "${ac_cv_prog_egrep+set}" = set; then
10951 - echo $ECHO_N "(cached) $ECHO_C" >&6
10953 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10954 - then ac_cv_prog_egrep='grep -E'
10955 - else ac_cv_prog_egrep='egrep'
10958 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10959 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10960 - EGREP=$ac_cv_prog_egrep
10963 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10964 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10965 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10966 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10967 if test "${ac_cv_header_stdc+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 @@ -4211,34 +5117,31 @@
10973 rm -f conftest.$ac_objext
10974 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10975 - (eval $ac_compile) 2>conftest.er1
10976 +if { (ac_try="$ac_compile"
10977 +case "(($ac_try" in
10978 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10979 + *) ac_try_echo=$ac_try;;
10981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10982 + (eval "$ac_compile") 2>conftest.er1
10984 grep -v '^ *+' conftest.er1 >conftest.err
10986 cat conftest.err >&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 - (exit $ac_status); } &&
10989 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10990 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 - (eval $ac_try) 2>&5
10993 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 - (exit $ac_status); }; } &&
10995 - { ac_try='test -s conftest.$ac_objext'
10996 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997 - (eval $ac_try) 2>&5
10999 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 - (exit $ac_status); }; }; then
11001 + (exit $ac_status); } && {
11002 + test -z "$ac_c_werror_flag" ||
11003 + test ! -s conftest.err
11004 + } && test -s conftest.$ac_objext; then
11005 ac_cv_header_stdc=yes
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11010 -ac_cv_header_stdc=no
11011 + ac_cv_header_stdc=no
11013 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11015 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11017 if test $ac_cv_header_stdc = yes; then
11018 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11019 @@ -4294,6 +5197,7 @@
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h. */
11023 +#include <stdlib.h>
11024 #if ((' ' & 0x0FF) == 0x020)
11025 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11026 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11027 @@ -4313,18 +5217,27 @@
11028 for (i = 0; i < 256; i++)
11029 if (XOR (islower (i), ISLOWER (i))
11030 || toupper (i) != TOUPPER (i))
11037 rm -f conftest$ac_exeext
11038 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11039 - (eval $ac_link) 2>&5
11040 +if { (ac_try="$ac_link"
11041 +case "(($ac_try" in
11042 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 + *) ac_try_echo=$ac_try;;
11045 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 + (eval "$ac_link") 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11050 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 - (eval $ac_try) 2>&5
11052 + { (case "(($ac_try" in
11053 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11054 + *) ac_try_echo=$ac_try;;
11056 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11057 + (eval "$ac_try") 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; }; then
11061 @@ -4337,12 +5250,14 @@
11062 ( exit $ac_status )
11063 ac_cv_header_stdc=no
11065 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11066 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11072 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11073 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
11074 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11075 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11076 if test $ac_cv_header_stdc = yes; then
11078 cat >>confdefs.h <<\_ACEOF
11079 @@ -4365,9 +5280,9 @@
11080 inttypes.h stdint.h unistd.h
11082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11083 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11084 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11085 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11086 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11087 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11088 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11089 echo $ECHO_N "(cached) $ECHO_C" >&6
11091 cat >conftest.$ac_ext <<_ACEOF
11092 @@ -4381,37 +5296,35 @@
11093 #include <$ac_header>
11095 rm -f conftest.$ac_objext
11096 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11097 - (eval $ac_compile) 2>conftest.er1
11098 +if { (ac_try="$ac_compile"
11099 +case "(($ac_try" in
11100 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 + *) ac_try_echo=$ac_try;;
11103 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 + (eval "$ac_compile") 2>conftest.er1
11106 grep -v '^ *+' conftest.er1 >conftest.err
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 - (exit $ac_status); } &&
11111 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11112 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 - (eval $ac_try) 2>&5
11115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 - (exit $ac_status); }; } &&
11117 - { ac_try='test -s conftest.$ac_objext'
11118 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 - (eval $ac_try) 2>&5
11121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 - (exit $ac_status); }; }; then
11123 + (exit $ac_status); } && {
11124 + test -z "$ac_c_werror_flag" ||
11125 + test ! -s conftest.err
11126 + } && test -s conftest.$ac_objext; then
11127 eval "$as_ac_Header=yes"
11129 echo "$as_me: failed program was:" >&5
11130 sed 's/^/| /' conftest.$ac_ext >&5
11132 -eval "$as_ac_Header=no"
11133 + eval "$as_ac_Header=no"
11135 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11137 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11139 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11140 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11141 +ac_res=`eval echo '${'$as_ac_Header'}'`
11142 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11143 +echo "${ECHO_T}$ac_res" >&6; }
11144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11145 cat >>confdefs.h <<_ACEOF
11146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11147 @@ -4426,18 +5339,19 @@
11148 for ac_header in dlfcn.h
11150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11151 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11152 - echo "$as_me:$LINENO: checking for $ac_header" >&5
11153 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11154 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11155 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11156 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
11157 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11158 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11162 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11163 +ac_res=`eval echo '${'$as_ac_Header'}'`
11164 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11165 +echo "${ECHO_T}$ac_res" >&6; }
11167 # Is the header compilable?
11168 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
11169 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11170 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11171 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11172 cat >conftest.$ac_ext <<_ACEOF
11175 @@ -4448,40 +5362,37 @@
11176 #include <$ac_header>
11178 rm -f conftest.$ac_objext
11179 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11180 - (eval $ac_compile) 2>conftest.er1
11181 +if { (ac_try="$ac_compile"
11182 +case "(($ac_try" in
11183 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11184 + *) ac_try_echo=$ac_try;;
11186 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11187 + (eval "$ac_compile") 2>conftest.er1
11189 grep -v '^ *+' conftest.er1 >conftest.err
11191 cat conftest.err >&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 - (exit $ac_status); } &&
11194 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11195 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 - (eval $ac_try) 2>&5
11198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 - (exit $ac_status); }; } &&
11200 - { ac_try='test -s conftest.$ac_objext'
11201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 - (eval $ac_try) 2>&5
11204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 - (exit $ac_status); }; }; then
11206 + (exit $ac_status); } && {
11207 + test -z "$ac_c_werror_flag" ||
11208 + test ! -s conftest.err
11209 + } && test -s conftest.$ac_objext; then
11210 ac_header_compiler=yes
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 -ac_header_compiler=no
11216 + ac_header_compiler=no
11218 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11219 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11220 -echo "${ECHO_T}$ac_header_compiler" >&6
11222 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11223 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11224 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11226 # Is the header present?
11227 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
11228 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11229 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11230 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11231 cat >conftest.$ac_ext <<_ACEOF
11234 @@ -4490,24 +5401,22 @@
11235 /* end confdefs.h. */
11236 #include <$ac_header>
11238 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11239 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11240 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11241 +case "(($ac_try" in
11242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11243 + *) ac_try_echo=$ac_try;;
11245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11246 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11248 grep -v '^ *+' conftest.er1 >conftest.err
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 - (exit $ac_status); } >/dev/null; then
11253 - if test -s conftest.err; then
11254 - ac_cpp_err=$ac_c_preproc_warn_flag
11255 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11262 -if test -z "$ac_cpp_err"; then
11263 + (exit $ac_status); } >/dev/null && {
11264 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11265 + test ! -s conftest.err
11267 ac_header_preproc=yes
11269 echo "$as_me: failed program was:" >&5
11270 @@ -4515,9 +5424,10 @@
11272 ac_header_preproc=no
11275 rm -f conftest.err conftest.$ac_ext
11276 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11277 -echo "${ECHO_T}$ac_header_preproc" >&6
11278 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11279 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11281 # So? What about this header?
11282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11283 @@ -4541,25 +5451,19 @@
11284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11285 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11289 -## ------------------------------------------ ##
11290 -## Report this to the AC_PACKAGE_NAME lists. ##
11291 -## ------------------------------------------ ##
11294 - sed "s/^/$as_me: WARNING: /" >&2
11298 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11299 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11300 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11301 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11302 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11303 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 eval "$as_ac_Header=\$ac_header_preproc"
11308 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11309 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11310 +ac_res=`eval echo '${'$as_ac_Header'}'`
11311 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11312 +echo "${ECHO_T}$ac_res" >&6; }
11315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11316 @@ -4571,198 +5475,71 @@
11325 -# Only perform the check for file, if the check method requires it
11326 -case $deplibs_check_method in
11328 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11329 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11330 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11331 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11333 +ac_cpp='$CXXCPP $CPPFLAGS'
11334 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11337 +if test -z "$CXX"; then
11338 + if test -n "$CCC"; then
11341 + if test -n "$ac_tool_prefix"; then
11342 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11344 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11345 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11346 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11347 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11348 +if test "${ac_cv_prog_CXX+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 - case $MAGIC_CMD in
11353 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11356 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11359 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11360 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11361 - ac_dummy="/usr/bin:$PATH"
11362 - for ac_dir in $ac_dummy; do
11363 - test -z "$ac_dir" && ac_dir=.
11364 - if test -f $ac_dir/${ac_tool_prefix}file; then
11365 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11366 - if test -n "$file_magic_test_file"; then
11367 - case $deplibs_check_method in
11369 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11370 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11371 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11372 - egrep "$file_magic_regex" > /dev/null; then
11377 -*** Warning: the command libtool uses to detect shared libraries,
11378 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11379 -*** The result is that libtool may fail to recognize shared libraries
11380 -*** as such. This will affect the creation of libtool libraries that
11381 -*** depend on shared libraries, but programs linked with such libtool
11382 -*** libraries will work regardless of this problem. Nevertheless, you
11383 -*** may want to report the problem to your system manager and/or to
11384 -*** bug-libtool@gnu.org
11385 + if test -n "$CXX"; then
11386 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
11388 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11389 +for as_dir in $PATH
11392 + test -z "$as_dir" && as_dir=.
11393 + for ac_exec_ext in '' $ac_executable_extensions; do
11394 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11395 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11396 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 - IFS="$ac_save_ifs"
11411 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11416 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11417 -if test -n "$MAGIC_CMD"; then
11418 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11419 -echo "${ECHO_T}$MAGIC_CMD" >&6
11421 +CXX=$ac_cv_prog_CXX
11422 +if test -n "$CXX"; then
11423 + { echo "$as_me:$LINENO: result: $CXX" >&5
11424 +echo "${ECHO_T}$CXX" >&6; }
11426 - echo "$as_me:$LINENO: result: no" >&5
11427 -echo "${ECHO_T}no" >&6
11428 + { echo "$as_me:$LINENO: result: no" >&5
11429 +echo "${ECHO_T}no" >&6; }
11432 -if test -z "$lt_cv_path_MAGIC_CMD"; then
11433 - if test -n "$ac_tool_prefix"; then
11434 - echo "$as_me:$LINENO: checking for file" >&5
11435 -echo $ECHO_N "checking for file... $ECHO_C" >&6
11436 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11438 + test -n "$CXX" && break
11441 +if test -z "$CXX"; then
11443 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11445 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11446 +set dummy $ac_prog; ac_word=$2
11447 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11448 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11449 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 - case $MAGIC_CMD in
11454 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11457 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11460 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11461 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11462 - ac_dummy="/usr/bin:$PATH"
11463 - for ac_dir in $ac_dummy; do
11464 - test -z "$ac_dir" && ac_dir=.
11465 - if test -f $ac_dir/file; then
11466 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
11467 - if test -n "$file_magic_test_file"; then
11468 - case $deplibs_check_method in
11470 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11471 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11472 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11473 - egrep "$file_magic_regex" > /dev/null; then
11478 -*** Warning: the command libtool uses to detect shared libraries,
11479 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11480 -*** The result is that libtool may fail to recognize shared libraries
11481 -*** as such. This will affect the creation of libtool libraries that
11482 -*** depend on shared libraries, but programs linked with such libtool
11483 -*** libraries will work regardless of this problem. Nevertheless, you
11484 -*** may want to report the problem to your system manager and/or to
11485 -*** bug-libtool@gnu.org
11494 - IFS="$ac_save_ifs"
11495 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11500 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11501 -if test -n "$MAGIC_CMD"; then
11502 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11503 -echo "${ECHO_T}$MAGIC_CMD" >&6
11505 - echo "$as_me:$LINENO: result: no" >&5
11506 -echo "${ECHO_T}no" >&6
11518 -if test -n "$ac_tool_prefix"; then
11519 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11520 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11521 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11522 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11523 -if test "${ac_cv_prog_RANLIB+set}" = set; then
11524 - echo $ECHO_N "(cached) $ECHO_C" >&6
11526 - if test -n "$RANLIB"; then
11527 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11529 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11530 -for as_dir in $PATH
11533 - test -z "$as_dir" && as_dir=.
11534 - for ac_exec_ext in '' $ac_executable_extensions; do
11535 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11536 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11537 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 -RANLIB=$ac_cv_prog_RANLIB
11546 -if test -n "$RANLIB"; then
11547 - echo "$as_me:$LINENO: result: $RANLIB" >&5
11548 -echo "${ECHO_T}$RANLIB" >&6
11550 - echo "$as_me:$LINENO: result: no" >&5
11551 -echo "${ECHO_T}no" >&6
11555 -if test -z "$ac_cv_prog_RANLIB"; then
11556 - ac_ct_RANLIB=$RANLIB
11557 - # Extract the first word of "ranlib", so it can be a program name with args.
11558 -set dummy ranlib; ac_word=$2
11559 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11560 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11561 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11562 - echo $ECHO_N "(cached) $ECHO_C" >&6
11564 - if test -n "$ac_ct_RANLIB"; then
11565 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11566 + if test -n "$ac_ct_CXX"; then
11567 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11570 for as_dir in $PATH
11571 @@ -4770,166 +5547,89 @@
11573 test -z "$as_dir" && as_dir=.
11574 for ac_exec_ext in '' $ac_executable_extensions; do
11575 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11576 - ac_cv_prog_ac_ct_RANLIB="ranlib"
11577 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11578 + ac_cv_prog_ac_ct_CXX="$ac_prog"
11579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11589 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11590 -if test -n "$ac_ct_RANLIB"; then
11591 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11592 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11593 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11594 +if test -n "$ac_ct_CXX"; then
11595 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11596 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
11598 - echo "$as_me:$LINENO: result: no" >&5
11599 -echo "${ECHO_T}no" >&6
11600 + { echo "$as_me:$LINENO: result: no" >&5
11601 +echo "${ECHO_T}no" >&6; }
11604 - RANLIB=$ac_ct_RANLIB
11606 - RANLIB="$ac_cv_prog_RANLIB"
11609 -if test -n "$ac_tool_prefix"; then
11610 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11611 -set dummy ${ac_tool_prefix}strip; ac_word=$2
11612 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11613 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11614 -if test "${ac_cv_prog_STRIP+set}" = set; then
11615 - echo $ECHO_N "(cached) $ECHO_C" >&6
11617 - if test -n "$STRIP"; then
11618 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11620 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11621 -for as_dir in $PATH
11624 - test -z "$as_dir" && as_dir=.
11625 - for ac_exec_ext in '' $ac_executable_extensions; do
11626 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11627 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11628 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 + test -n "$ac_ct_CXX" && break
11637 -STRIP=$ac_cv_prog_STRIP
11638 -if test -n "$STRIP"; then
11639 - echo "$as_me:$LINENO: result: $STRIP" >&5
11640 -echo "${ECHO_T}$STRIP" >&6
11642 - echo "$as_me:$LINENO: result: no" >&5
11643 -echo "${ECHO_T}no" >&6
11647 -if test -z "$ac_cv_prog_STRIP"; then
11648 - ac_ct_STRIP=$STRIP
11649 - # Extract the first word of "strip", so it can be a program name with args.
11650 -set dummy strip; ac_word=$2
11651 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11654 - echo $ECHO_N "(cached) $ECHO_C" >&6
11656 - if test -n "$ac_ct_STRIP"; then
11657 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11659 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11660 -for as_dir in $PATH
11663 - test -z "$as_dir" && as_dir=.
11664 - for ac_exec_ext in '' $ac_executable_extensions; do
11665 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 - ac_cv_prog_ac_ct_STRIP="strip"
11667 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11669 + if test "x$ac_ct_CXX" = x; then
11672 + case $cross_compiling:$ac_tool_warned in
11674 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11675 +whose name does not start with the host triplet. If you think this
11676 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11677 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11678 +whose name does not start with the host triplet. If you think this
11679 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11680 +ac_tool_warned=yes ;;
11687 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
11690 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11691 -if test -n "$ac_ct_STRIP"; then
11692 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11693 -echo "${ECHO_T}$ac_ct_STRIP" >&6
11695 - echo "$as_me:$LINENO: result: no" >&5
11696 -echo "${ECHO_T}no" >&6
11699 - STRIP=$ac_ct_STRIP
11701 - STRIP="$ac_cv_prog_STRIP"
11707 -enable_win32_dll=no
11709 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11710 -if test "${enable_libtool_lock+set}" = set; then
11711 - enableval="$enable_libtool_lock"
11714 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11716 -# Some flags need to be propagated to the compiler or linker for good
11717 -# libtool support.
11720 - # Find out which ABI we are using.
11721 - echo '#line 4894 "configure"' > conftest.$ac_ext
11722 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11723 - (eval $ac_compile) 2>&5
11724 +# Provide some information about the compiler.
11725 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11726 +ac_compiler=`set X $ac_compile; echo $2`
11727 +{ (ac_try="$ac_compiler --version >&5"
11728 +case "(($ac_try" in
11729 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11730 + *) ac_try_echo=$ac_try;;
11732 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11733 + (eval "$ac_compiler --version >&5") 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 - (exit $ac_status); }; then
11737 - case `/usr/bin/file conftest.$ac_objext` in
11739 - LD="${LD-ld} -32"
11742 - LD="${LD-ld} -n32"
11745 - LD="${LD-ld} -64"
11751 + (exit $ac_status); }
11752 +{ (ac_try="$ac_compiler -v >&5"
11753 +case "(($ac_try" in
11754 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11755 + *) ac_try_echo=$ac_try;;
11757 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11758 + (eval "$ac_compiler -v >&5") 2>&5
11760 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 + (exit $ac_status); }
11762 +{ (ac_try="$ac_compiler -V >&5"
11763 +case "(($ac_try" in
11764 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 + *) ac_try_echo=$ac_try;;
11767 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11768 + (eval "$ac_compiler -V >&5") 2>&5
11770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 + (exit $ac_status); }
11774 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11775 - SAVE_CFLAGS="$CFLAGS"
11776 - CFLAGS="$CFLAGS -belf"
11777 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11778 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11779 -if test "${lt_cv_cc_needs_belf+set}" = set; then
11780 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11781 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11782 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 -ac_cpp='$CPP $CPPFLAGS'
11789 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793 - cat >conftest.$ac_ext <<_ACEOF
11794 + cat >conftest.$ac_ext <<_ACEOF
11797 cat confdefs.h >>conftest.$ac_ext
11798 @@ -4939,335 +5639,96 @@
11810 -rm -f conftest.$ac_objext conftest$ac_exeext
11811 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11812 - (eval $ac_link) 2>conftest.er1
11813 +rm -f conftest.$ac_objext
11814 +if { (ac_try="$ac_compile"
11815 +case "(($ac_try" in
11816 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 + *) ac_try_echo=$ac_try;;
11819 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 + (eval "$ac_compile") 2>conftest.er1
11822 grep -v '^ *+' conftest.er1 >conftest.err
11824 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 - (exit $ac_status); } &&
11827 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11828 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 - (eval $ac_try) 2>&5
11831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 - (exit $ac_status); }; } &&
11833 - { ac_try='test -s conftest$ac_exeext'
11834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 - (eval $ac_try) 2>&5
11837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 - (exit $ac_status); }; }; then
11839 - lt_cv_cc_needs_belf=yes
11840 + (exit $ac_status); } && {
11841 + test -z "$ac_cxx_werror_flag" ||
11842 + test ! -s conftest.err
11843 + } && test -s conftest.$ac_objext; then
11844 + ac_compiler_gnu=yes
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11849 -lt_cv_cc_needs_belf=no
11850 + ac_compiler_gnu=no
11852 -rm -f conftest.err conftest.$ac_objext \
11853 - conftest$ac_exeext conftest.$ac_ext
11855 -ac_cpp='$CPP $CPPFLAGS'
11856 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11857 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11858 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11860 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11864 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11865 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11866 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11867 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11868 - CFLAGS="$SAVE_CFLAGS"
11871 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11872 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11873 +GXX=`test $ac_compiler_gnu = yes && echo yes`
11874 +ac_test_CXXFLAGS=${CXXFLAGS+set}
11875 +ac_save_CXXFLAGS=$CXXFLAGS
11876 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11877 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11878 +if test "${ac_cv_prog_cxx_g+set}" = set; then
11879 + echo $ECHO_N "(cached) $ECHO_C" >&6
11881 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11882 + ac_cxx_werror_flag=yes
11883 + ac_cv_prog_cxx_g=no
11885 + cat >conftest.$ac_ext <<_ACEOF
11888 +cat confdefs.h >>conftest.$ac_ext
11889 +cat >>conftest.$ac_ext <<_ACEOF
11890 +/* end confdefs.h. */
11900 +rm -f conftest.$ac_objext
11901 +if { (ac_try="$ac_compile"
11902 +case "(($ac_try" in
11903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11904 + *) ac_try_echo=$ac_try;;
11906 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11907 + (eval "$ac_compile") 2>conftest.er1
11909 + grep -v '^ *+' conftest.er1 >conftest.err
11910 + rm -f conftest.er1
11911 + cat conftest.err >&5
11912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 + (exit $ac_status); } && {
11914 + test -z "$ac_cxx_werror_flag" ||
11915 + test ! -s conftest.err
11916 + } && test -s conftest.$ac_objext; then
11917 + ac_cv_prog_cxx_g=yes
11919 + echo "$as_me: failed program was:" >&5
11920 +sed 's/^/| /' conftest.$ac_ext >&5
11922 -# Sed substitution that helps us do robust quoting. It backslashifies
11923 -# metacharacters that are still active within double-quoted strings.
11924 -Xsed='sed -e s/^X//'
11925 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
11927 -# Same as above, but do not quote variable references.
11928 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
11930 -# Sed substitution to delay expansion of an escaped shell variable in a
11931 -# double_quote_subst'ed string.
11932 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11937 -# Global variables:
11938 -default_ofile=libtool
11939 -can_build_shared=yes
11941 -# All known linkers require a `.a' archive for static linking (except M$VC,
11942 -# which needs '.lib').
11944 -ltmain="$ac_aux_dir/ltmain.sh"
11945 -ofile="$default_ofile"
11946 -with_gnu_ld="$lt_cv_prog_gnu_ld"
11947 -need_locks="$enable_libtool_lock"
11950 -old_CFLAGS="$CFLAGS"
11952 -# Set sane defaults for various variables
11953 -test -z "$AR" && AR=ar
11954 -test -z "$AR_FLAGS" && AR_FLAGS=cru
11955 -test -z "$AS" && AS=as
11956 -test -z "$CC" && CC=cc
11957 -test -z "$DLLTOOL" && DLLTOOL=dlltool
11958 -test -z "$LD" && LD=ld
11959 -test -z "$LN_S" && LN_S="ln -s"
11960 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
11961 -test -z "$NM" && NM=nm
11962 -test -z "$OBJDUMP" && OBJDUMP=objdump
11963 -test -z "$RANLIB" && RANLIB=:
11964 -test -z "$STRIP" && STRIP=:
11965 -test -z "$ac_objext" && ac_objext=o
11967 -if test x"$host" != x"$build"; then
11968 - ac_tool_prefix=${host_alias}-
11973 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
11976 -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
11981 - # AIX sometimes has problems with the GCC collect2 program. For some
11982 - # reason, if we set the COLLECT_NAMES environment variable, the problems
11983 - # vanish in a puff of smoke.
11984 - if test "X${COLLECT_NAMES+set}" != Xset; then
11986 - export COLLECT_NAMES
11991 -# Determine commands to create old-style static archives.
11992 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11993 -old_postinstall_cmds='chmod 644 $oldlib'
11994 -old_postuninstall_cmds=
11996 -if test -n "$RANLIB"; then
11999 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12002 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12005 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12008 -# Allow CC to be a program name with arguments.
12012 -echo "$as_me:$LINENO: checking for objdir" >&5
12013 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12014 -rm -f .libs 2>/dev/null
12015 -mkdir .libs 2>/dev/null
12016 -if test -d .libs; then
12019 - # MS-DOS does not allow filenames that begin with a dot.
12022 -rmdir .libs 2>/dev/null
12023 -echo "$as_me:$LINENO: result: $objdir" >&5
12024 -echo "${ECHO_T}$objdir" >&6
12028 -# Check whether --with-pic or --without-pic was given.
12029 -if test "${with_pic+set}" = set; then
12030 - withval="$with_pic"
12031 - pic_mode="$withval"
12035 -test -z "$pic_mode" && pic_mode=default
12037 -# We assume here that the value for lt_cv_prog_cc_pic will not be cached
12038 -# in isolation, and that seeing it set (from the cache) indicates that
12039 -# the associated values are set (in the cache) correctly too.
12040 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12041 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12042 -if test "${lt_cv_prog_cc_pic+set}" = set; then
12043 - echo $ECHO_N "(cached) $ECHO_C" >&6
12045 - lt_cv_prog_cc_pic=
12046 - lt_cv_prog_cc_shlib=
12047 - lt_cv_prog_cc_wl=
12048 - lt_cv_prog_cc_static=
12049 - lt_cv_prog_cc_no_builtin=
12050 - lt_cv_prog_cc_can_build_shared=$can_build_shared
12052 - if test "$GCC" = yes; then
12053 - lt_cv_prog_cc_wl='-Wl,'
12054 - lt_cv_prog_cc_static='-static'
12058 - # Below there is a dirty hack to force normal static linking with -ldl
12059 - # The problem is because libdl dynamically linked with both libc and
12060 - # libC (AIX C++ library), which obviously doesn't included in libraries
12061 - # list by gcc. This cause undefined symbols with -static flags.
12062 - # This hack allows C programs to be linked with "-static -ldl", but
12063 - # not sure about C++ programs.
12064 - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
12067 - # FIXME: we need at least 68020 code to build shared libraries, but
12068 - # adding the `-m68020' flag to GCC prevents building anything better,
12069 - # like `-m68040'.
12070 - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
12072 - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12073 - # PIC is the default for these OSes.
12075 - darwin* | rhapsody*)
12076 - # PIC is the default on this platform
12077 - # Common symbols not allowed in MH_DYLIB files
12078 - lt_cv_prog_cc_pic='-fno-common'
12080 - cygwin* | mingw* | pw32* | os2*)
12081 - # This hack is so that the source file can tell whether it is being
12082 - # built for inclusion in a dll (and should export symbols for example).
12083 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12086 - if test -d /usr/nec; then
12087 - lt_cv_prog_cc_pic=-Kconform_pic
12091 - lt_cv_prog_cc_pic='-fPIC'
12095 - # PORTME Check for PIC flags for the system compiler.
12097 - aix3* | aix4* | aix5*)
12098 - lt_cv_prog_cc_wl='-Wl,'
12099 - # All AIX code is PIC.
12100 - if test "$host_cpu" = ia64; then
12101 - # AIX 5 now supports IA64 processor
12102 - lt_cv_prog_cc_static='-Bstatic'
12104 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
12108 - hpux9* | hpux10* | hpux11*)
12109 - # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
12110 - lt_cv_prog_cc_wl='-Wl,'
12111 - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
12112 - lt_cv_prog_cc_pic='+Z'
12115 - irix5* | irix6* | nonstopux*)
12116 - lt_cv_prog_cc_wl='-Wl,'
12117 - lt_cv_prog_cc_static='-non_shared'
12118 - # PIC (with -KPIC) is the default.
12121 - cygwin* | mingw* | pw32* | os2*)
12122 - # This hack is so that the source file can tell whether it is being
12123 - # built for inclusion in a dll (and should export symbols for example).
12124 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12128 - lt_cv_prog_cc_pic='-KPIC'
12129 - lt_cv_prog_cc_static='-Bstatic'
12132 - osf3* | osf4* | osf5*)
12133 - # All OSF/1 code is PIC.
12134 - lt_cv_prog_cc_wl='-Wl,'
12135 - lt_cv_prog_cc_static='-non_shared'
12139 - lt_cv_prog_cc_pic='-Kpic'
12140 - lt_cv_prog_cc_static='-dn'
12141 - lt_cv_prog_cc_shlib='-belf'
12145 - lt_cv_prog_cc_pic='-KPIC'
12146 - lt_cv_prog_cc_static='-Bstatic'
12147 - lt_cv_prog_cc_wl='-Wl,'
12151 - lt_cv_prog_cc_pic='-PIC'
12152 - lt_cv_prog_cc_static='-Bstatic'
12153 - lt_cv_prog_cc_wl='-Qoption ld '
12156 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12157 - lt_cv_prog_cc_pic='-KPIC'
12158 - lt_cv_prog_cc_static='-Bstatic'
12159 - lt_cv_prog_cc_wl='-Wl,'
12163 - lt_cv_prog_cc_pic='-pic'
12164 - lt_cv_prog_cc_static='-Bstatic'
12168 - if test -d /usr/nec ;then
12169 - lt_cv_prog_cc_pic='-Kconform_pic'
12170 - lt_cv_prog_cc_static='-Bstatic'
12175 - lt_cv_prog_cc_can_build_shared=no
12182 -if test -z "$lt_cv_prog_cc_pic"; then
12183 - echo "$as_me:$LINENO: result: none" >&5
12184 -echo "${ECHO_T}none" >&6
12186 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
12187 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
12189 - # Check to make sure the pic_flag actually works.
12190 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
12191 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
12192 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then
12193 - echo $ECHO_N "(cached) $ECHO_C" >&6
12195 - save_CFLAGS="$CFLAGS"
12196 - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
12197 - cat >conftest.$ac_ext <<_ACEOF
12199 + cat >conftest.$ac_ext <<_ACEOF
12202 cat confdefs.h >>conftest.$ac_ext
12203 @@ -5283,87 +5744,30 @@
12206 rm -f conftest.$ac_objext
12207 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12208 - (eval $ac_compile) 2>conftest.er1
12209 +if { (ac_try="$ac_compile"
12210 +case "(($ac_try" in
12211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12212 + *) ac_try_echo=$ac_try;;
12214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12215 + (eval "$ac_compile") 2>conftest.er1
12217 grep -v '^ *+' conftest.er1 >conftest.err
12219 cat conftest.err >&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 - (exit $ac_status); } &&
12222 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12223 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 - (eval $ac_try) 2>&5
12226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 - (exit $ac_status); }; } &&
12228 - { ac_try='test -s conftest.$ac_objext'
12229 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 - (eval $ac_try) 2>&5
12232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 - (exit $ac_status); }; }; then
12235 - hpux9* | hpux10* | hpux11*)
12236 - # On HP-UX, both CC and GCC only warn that PIC is supported... then
12237 - # they create non-PIC objects. So, if there were any warnings, we
12238 - # assume that PIC is not supported.
12239 - if test -s conftest.err; then
12240 - lt_cv_prog_cc_pic_works=no
12242 - lt_cv_prog_cc_pic_works=yes
12246 - lt_cv_prog_cc_pic_works=yes
12250 + (exit $ac_status); } && {
12251 + test -z "$ac_cxx_werror_flag" ||
12252 + test ! -s conftest.err
12253 + } && test -s conftest.$ac_objext; then
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.$ac_ext >&5
12259 - lt_cv_prog_cc_pic_works=no
12262 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12263 - CFLAGS="$save_CFLAGS"
12268 - if test "X$lt_cv_prog_cc_pic_works" = Xno; then
12269 - lt_cv_prog_cc_pic=
12270 - lt_cv_prog_cc_can_build_shared=no
12272 - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
12275 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
12276 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
12279 -# Check for any special shared library compilation flags.
12280 -if test -n "$lt_cv_prog_cc_shlib"; then
12281 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
12282 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
12283 - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
12285 - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12286 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12287 - lt_cv_prog_cc_can_build_shared=no
12291 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
12292 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
12293 -if test "${lt_cv_prog_cc_static_works+set}" = set; then
12294 - echo $ECHO_N "(cached) $ECHO_C" >&6
12296 - lt_cv_prog_cc_static_works=no
12297 - save_LDFLAGS="$LDFLAGS"
12298 - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
12299 - cat >conftest.$ac_ext <<_ACEOF
12300 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12302 + cat >conftest.$ac_ext <<_ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 @@ -5378,1108 +5782,12251 @@
12310 -rm -f conftest.$ac_objext conftest$ac_exeext
12311 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12312 - (eval $ac_link) 2>conftest.er1
12313 +rm -f conftest.$ac_objext
12314 +if { (ac_try="$ac_compile"
12315 +case "(($ac_try" in
12316 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12317 + *) ac_try_echo=$ac_try;;
12319 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12320 + (eval "$ac_compile") 2>conftest.er1
12322 grep -v '^ *+' conftest.er1 >conftest.err
12324 cat conftest.err >&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 - (exit $ac_status); } &&
12327 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12328 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 - (eval $ac_try) 2>&5
12331 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 - (exit $ac_status); }; } &&
12333 - { ac_try='test -s conftest$ac_exeext'
12334 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 - (eval $ac_try) 2>&5
12337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 - (exit $ac_status); }; }; then
12339 - lt_cv_prog_cc_static_works=yes
12340 + (exit $ac_status); } && {
12341 + test -z "$ac_cxx_werror_flag" ||
12342 + test ! -s conftest.err
12343 + } && test -s conftest.$ac_objext; then
12344 + ac_cv_prog_cxx_g=yes
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12350 -rm -f conftest.err conftest.$ac_objext \
12351 - conftest$ac_exeext conftest.$ac_ext
12352 - LDFLAGS="$save_LDFLAGS"
12356 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 -# Belt *and* braces to stop my trousers falling down:
12360 -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
12361 -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
12362 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
12363 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 -pic_flag="$lt_cv_prog_cc_pic"
12367 -special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
12368 -wl="$lt_cv_prog_cc_wl"
12369 -link_static_flag="$lt_cv_prog_cc_static"
12370 -no_builtin_flag="$lt_cv_prog_cc_no_builtin"
12371 -can_build_shared="$lt_cv_prog_cc_can_build_shared"
12372 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12373 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12375 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12376 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12377 +if test "$ac_test_CXXFLAGS" = set; then
12378 + CXXFLAGS=$ac_save_CXXFLAGS
12379 +elif test $ac_cv_prog_cxx_g = yes; then
12380 + if test "$GXX" = yes; then
12381 + CXXFLAGS="-g -O2"
12386 + if test "$GXX" = yes; then
12393 +ac_cpp='$CXXCPP $CPPFLAGS'
12394 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12395 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12396 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12398 +depcc="$CXX" am_compiler_list=
12400 -# Check to see if options -o and -c are simultaneously supported by compiler
12401 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12402 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12403 -if test "${lt_cv_compiler_c_o+set}" = set; then
12404 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12405 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12406 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12409 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12410 + # We make a subdir and do the tests there. Otherwise we can end up
12411 + # making bogus files that we don't know about and never remove. For
12412 + # instance it was reported that on HP-UX the gcc test will end up
12413 + # making a dummy file named `D' -- because `-MD' means `put the output
12415 + mkdir conftest.dir
12416 + # Copy depcomp to subdir because otherwise we won't find it if we're
12417 + # using a relative directory.
12418 + cp "$am_depcomp" conftest.dir
12420 + # We will build objects and dependencies in a subdirectory because
12421 + # it helps to detect inapplicable dependency modes. For instance
12422 + # both Tru64's cc and ICC support -MD to output dependencies as a
12423 + # side effect of compilation, but ICC will put the dependencies in
12424 + # the current directory while Tru64 will put them in the object
12428 + am_cv_CXX_dependencies_compiler_type=none
12429 + if test "$am_compiler_list" = ""; then
12430 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12432 + for depmode in $am_compiler_list; do
12433 + # Setup a source with many dependencies, because some compilers
12434 + # like to wrap large dependency lists on column 80 (with \), and
12435 + # we should not choose a depcomp mode which is confused by this.
12437 + # We need to recreate these files for each test, as the compiler may
12438 + # overwrite some of them when testing with obscure command lines.
12439 + # This happens at least with the AIX C compiler.
12440 + : > sub/conftest.c
12441 + for i in 1 2 3 4 5 6; do
12442 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12443 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12444 + # Solaris 8's {/usr,}/bin/sh.
12445 + touch sub/conftst$i.h
12447 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12449 -$rm -r conftest 2>/dev/null
12452 -echo "int some_variable = 0;" > conftest.$ac_ext
12454 -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
12455 -# that will create temporary files in the current directory regardless of
12456 -# the output directory. Thus, making CWD read-only will cause this test
12457 -# to fail, enabling locking or at least warning the user not to do parallel
12460 -save_CFLAGS="$CFLAGS"
12461 -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
12463 -if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
12464 - # The compiler can only warn and ignore the option if not recognized
12465 - # So say no if there are warnings
12466 - if test -s out/conftest.err; then
12467 - lt_cv_compiler_c_o=no
12469 - lt_cv_compiler_c_o=yes
12473 + # after this tag, mechanisms are not by side-effect, so they'll
12474 + # only be used when explicitly requested
12475 + if test "x$enable_dependency_tracking" = xyes; then
12483 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12484 + # mode. It turns out that the SunPro C++ compiler does not properly
12485 + # handle `-M -o', and we need to detect this.
12486 + if depmode=$depmode \
12487 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12488 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12489 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12490 + >/dev/null 2>conftest.err &&
12491 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12492 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12493 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12494 + # icc doesn't choke on unknown options, it will just issue warnings
12495 + # or remarks (even with -Werror). So we grep stderr for any message
12496 + # that says an option was ignored or not supported.
12497 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12498 + # icc: Command line warning: ignoring option '-M'; no argument required
12499 + # The diagnosis changed in icc 8.0:
12500 + # icc: Command line remark: option '-MP' not supported
12501 + if (grep 'ignoring option' conftest.err ||
12502 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12503 + am_cv_CXX_dependencies_compiler_type=$depmode
12510 + rm -rf conftest.dir
12512 - # Append any errors to the config.log.
12513 - cat out/conftest.err 1>&5
12514 - lt_cv_compiler_c_o=no
12515 + am_cv_CXX_dependencies_compiler_type=none
12517 -CFLAGS="$save_CFLAGS"
12519 -$rm conftest* out/*
12523 -$rm -r conftest 2>/dev/null
12526 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12527 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12528 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12530 -compiler_c_o=$lt_cv_compiler_c_o
12531 -echo "$as_me:$LINENO: result: $compiler_c_o" >&5
12532 -echo "${ECHO_T}$compiler_c_o" >&6
12534 -if test x"$compiler_c_o" = x"yes"; then
12535 - # Check to see if we can write to a .lo
12536 - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
12537 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
12538 - if test "${lt_cv_compiler_o_lo+set}" = set; then
12539 - echo $ECHO_N "(cached) $ECHO_C" >&6
12542 + test "x$enable_dependency_tracking" != xno \
12543 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12544 + am__fastdepCXX_TRUE=
12545 + am__fastdepCXX_FALSE='#'
12547 + am__fastdepCXX_TRUE='#'
12548 + am__fastdepCXX_FALSE=
12551 - lt_cv_compiler_o_lo=no
12552 - save_CFLAGS="$CFLAGS"
12553 - CFLAGS="$CFLAGS -c -o conftest.lo"
12554 - save_objext="$ac_objext"
12556 - cat >conftest.$ac_ext <<_ACEOF
12559 -cat confdefs.h >>conftest.$ac_ext
12560 -cat >>conftest.$ac_ext <<_ACEOF
12561 -/* end confdefs.h. */
12566 -int some_variable = 0;
12572 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12573 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12574 + (test "X$CXX" != "Xg++"))) ; then
12576 +ac_cpp='$CXXCPP $CPPFLAGS'
12577 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12578 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12579 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12580 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12581 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12582 +if test -z "$CXXCPP"; then
12583 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
12584 + echo $ECHO_N "(cached) $ECHO_C" >&6
12586 + # Double quotes because CXXCPP needs to be expanded
12587 + for CXXCPP in "$CXX -E" "/lib/cpp"
12589 + ac_preproc_ok=false
12590 +for ac_cxx_preproc_warn_flag in '' yes
12592 + # Use a header file that comes with gcc, so configuring glibc
12593 + # with a fresh cross-compiler works.
12594 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 + # <limits.h> exists even on freestanding compilers.
12596 + # On the NeXT, cc -E runs the code through the compiler's parser,
12597 + # not just through cpp. "Syntax error" is here to catch this case.
12598 + cat >conftest.$ac_ext <<_ACEOF
12601 -rm -f conftest.$ac_objext
12602 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12603 - (eval $ac_compile) 2>conftest.er1
12604 +cat confdefs.h >>conftest.$ac_ext
12605 +cat >>conftest.$ac_ext <<_ACEOF
12606 +/* end confdefs.h. */
12608 +# include <limits.h>
12610 +# include <assert.h>
12614 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12615 +case "(($ac_try" in
12616 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 + *) ac_try_echo=$ac_try;;
12619 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12620 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12622 grep -v '^ *+' conftest.er1 >conftest.err
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 - (exit $ac_status); } &&
12627 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 - (eval $ac_try) 2>&5
12631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 - (exit $ac_status); }; } &&
12633 - { ac_try='test -s conftest.$ac_objext'
12634 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 - (eval $ac_try) 2>&5
12636 + (exit $ac_status); } >/dev/null && {
12637 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12638 + test ! -s conftest.err
12642 + echo "$as_me: failed program was:" >&5
12643 +sed 's/^/| /' conftest.$ac_ext >&5
12645 + # Broken: fails on valid input.
12649 +rm -f conftest.err conftest.$ac_ext
12651 + # OK, works on sane cases. Now check whether nonexistent headers
12652 + # can be detected and how.
12653 + cat >conftest.$ac_ext <<_ACEOF
12656 +cat confdefs.h >>conftest.$ac_ext
12657 +cat >>conftest.$ac_ext <<_ACEOF
12658 +/* end confdefs.h. */
12659 +#include <ac_nonexistent.h>
12661 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12662 +case "(($ac_try" in
12663 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664 + *) ac_try_echo=$ac_try;;
12666 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12667 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12669 + grep -v '^ *+' conftest.er1 >conftest.err
12670 + rm -f conftest.er1
12671 + cat conftest.err >&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 - (exit $ac_status); }; }; then
12674 - # The compiler can only warn and ignore the option if not recognized
12675 - # So say no if there are warnings
12676 - if test -s conftest.err; then
12677 - lt_cv_compiler_o_lo=no
12679 - lt_cv_compiler_o_lo=yes
12682 + (exit $ac_status); } >/dev/null && {
12683 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12684 + test ! -s conftest.err
12686 + # Broken: success on invalid input.
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 + # Passes both tests.
12696 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12697 - ac_objext="$save_objext"
12698 - CFLAGS="$save_CFLAGS"
12701 +rm -f conftest.err conftest.$ac_ext
12703 - compiler_o_lo=$lt_cv_compiler_o_lo
12704 - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
12705 -echo "${ECHO_T}$compiler_o_lo" >&6
12709 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12710 +rm -f conftest.err conftest.$ac_ext
12711 +if $ac_preproc_ok; then
12715 -# Check to see if we can do hard links to lock some files if needed
12716 -hard_links="nottested"
12717 -if test "$compiler_c_o" = no && test "$need_locks" != no; then
12718 - # do not overwrite the value of need_locks provided by the user
12719 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12720 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12723 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12725 - ln conftest.a conftest.b 2>&5 || hard_links=no
12726 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12727 - echo "$as_me:$LINENO: result: $hard_links" >&5
12728 -echo "${ECHO_T}$hard_links" >&6
12729 - if test "$hard_links" = no; then
12730 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12731 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12735 + ac_cv_prog_CXXCPP=$CXXCPP
12738 + CXXCPP=$ac_cv_prog_CXXCPP
12741 + ac_cv_prog_CXXCPP=$CXXCPP
12744 -if test "$GCC" = yes; then
12745 - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
12746 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12747 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12748 - echo "int some_variable = 0;" > conftest.$ac_ext
12749 - save_CFLAGS="$CFLAGS"
12750 - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
12751 - compiler_rtti_exceptions=no
12752 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
12753 +echo "${ECHO_T}$CXXCPP" >&6; }
12754 +ac_preproc_ok=false
12755 +for ac_cxx_preproc_warn_flag in '' yes
12757 + # Use a header file that comes with gcc, so configuring glibc
12758 + # with a fresh cross-compiler works.
12759 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12760 + # <limits.h> exists even on freestanding compilers.
12761 + # On the NeXT, cc -E runs the code through the compiler's parser,
12762 + # not just through cpp. "Syntax error" is here to catch this case.
12763 cat >conftest.$ac_ext <<_ACEOF
12766 cat confdefs.h >>conftest.$ac_ext
12767 cat >>conftest.$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12773 -int some_variable = 0;
12778 +# include <limits.h>
12780 +# include <assert.h>
12784 -rm -f conftest.$ac_objext
12785 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 - (eval $ac_compile) 2>conftest.er1
12787 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12788 +case "(($ac_try" in
12789 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12790 + *) ac_try_echo=$ac_try;;
12792 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12795 grep -v '^ *+' conftest.er1 >conftest.err
12797 cat conftest.err >&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 - (exit $ac_status); } &&
12800 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12801 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 - (eval $ac_try) 2>&5
12804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 - (exit $ac_status); }; } &&
12806 - { ac_try='test -s conftest.$ac_objext'
12807 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 - (eval $ac_try) 2>&5
12809 + (exit $ac_status); } >/dev/null && {
12810 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12811 + test ! -s conftest.err
12815 + echo "$as_me: failed program was:" >&5
12816 +sed 's/^/| /' conftest.$ac_ext >&5
12818 + # Broken: fails on valid input.
12822 +rm -f conftest.err conftest.$ac_ext
12824 + # OK, works on sane cases. Now check whether nonexistent headers
12825 + # can be detected and how.
12826 + cat >conftest.$ac_ext <<_ACEOF
12829 +cat confdefs.h >>conftest.$ac_ext
12830 +cat >>conftest.$ac_ext <<_ACEOF
12831 +/* end confdefs.h. */
12832 +#include <ac_nonexistent.h>
12834 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12835 +case "(($ac_try" in
12836 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 + *) ac_try_echo=$ac_try;;
12839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12840 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12842 + grep -v '^ *+' conftest.er1 >conftest.err
12843 + rm -f conftest.er1
12844 + cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 - (exit $ac_status); }; }; then
12847 - # The compiler can only warn and ignore the option if not recognized
12848 - # So say no if there are warnings
12849 - if test -s conftest.err; then
12850 - compiler_rtti_exceptions=no
12852 - compiler_rtti_exceptions=yes
12855 + (exit $ac_status); } >/dev/null && {
12856 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12857 + test ! -s conftest.err
12859 + # Broken: success on invalid input.
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12865 + # Passes both tests.
12869 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12870 - CFLAGS="$save_CFLAGS"
12871 - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
12872 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6
12874 - if test "$compiler_rtti_exceptions" = "yes"; then
12875 - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
12877 - no_builtin_flag=' -fno-builtin'
12879 +rm -f conftest.err conftest.$ac_ext
12882 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12883 +rm -f conftest.err conftest.$ac_ext
12884 +if $ac_preproc_ok; then
12887 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12888 +See \`config.log' for more details." >&5
12889 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12890 +See \`config.log' for more details." >&2;}
12891 + { (exit 1); exit 1; }; }
12894 -# See if the linker supports building shared libraries.
12895 -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
12896 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
12898 +ac_cpp='$CXXCPP $CPPFLAGS'
12899 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12900 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12901 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12903 -allow_undefined_flag=
12904 -no_undefined_flag=
12905 -need_lib_prefix=unknown
12906 -need_version=unknown
12907 -# when you set need_version to no, make sure it does not cause -set_version
12908 -# flags to be left without arguments
12910 -archive_expsym_cmds=
12911 -old_archive_from_new_cmds=
12912 -old_archive_from_expsyms_cmds=
12913 -export_dynamic_flag_spec=
12914 -whole_archive_flag_spec=
12915 -thread_safe_flag_spec=
12916 -hardcode_into_libs=no
12917 -hardcode_libdir_flag_spec=
12918 -hardcode_libdir_separator=
12919 -hardcode_direct=no
12920 -hardcode_minus_L=no
12921 -hardcode_shlibpath_var=unsupported
12923 -link_all_deplibs=unknown
12924 -always_export_symbols=no
12925 -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
12926 -# include_expsyms should be a list of space-separated symbols to be *always*
12927 -# included in the symbol list
12929 -# exclude_expsyms can be an egrep regular expression of symbols to exclude
12930 -# it will be wrapped by ` (' and `)$', so one must not match beginning or
12931 -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12932 -# as well as any symbol that contains `d'.
12933 -exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12934 -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12935 -# platforms (ab)use it in PIC code, but their linkers get confused if
12936 -# the symbol is explicitly referenced. Since portable code cannot
12937 -# rely on this symbol name, it's probably fine to never include it in
12938 -# preloaded symbol tables.
12939 -extract_expsyms_cmds=
12943 -cygwin* | mingw* | pw32*)
12944 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
12945 - # When not using gcc, we currently assume that we are using
12946 - # Microsoft Visual C++.
12947 - if test "$GCC" != yes; then
12957 -if test "$with_gnu_ld" = yes; then
12958 - # If archive_cmds runs LD, not CC, wlarc should be empty
12961 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12962 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12963 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12964 +if test -n "$ac_tool_prefix"; then
12965 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
12967 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12968 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12969 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12970 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12971 +if test "${ac_cv_prog_F77+set}" = set; then
12972 + echo $ECHO_N "(cached) $ECHO_C" >&6
12974 + if test -n "$F77"; then
12975 + ac_cv_prog_F77="$F77" # Let the user override the test.
12977 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12978 +for as_dir in $PATH
12981 + test -z "$as_dir" && as_dir=.
12982 + for ac_exec_ext in '' $ac_executable_extensions; do
12983 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12984 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12985 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12992 - # See if GNU ld supports shared libraries.
12994 - aix3* | aix4* | aix5*)
12995 - # On AIX, the GNU linker is very broken
12996 - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
13001 +F77=$ac_cv_prog_F77
13002 +if test -n "$F77"; then
13003 + { echo "$as_me:$LINENO: result: $F77" >&5
13004 +echo "${ECHO_T}$F77" >&6; }
13006 + { echo "$as_me:$LINENO: result: no" >&5
13007 +echo "${ECHO_T}no" >&6; }
13010 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13011 -*** to be unable to reliably create shared libraries on AIX.
13012 -*** Therefore, libtool is disabling shared libraries support. If you
13013 -*** really care for shared libraries, you may want to modify your PATH
13014 -*** so that a non-GNU linker is found, and then restart.
13018 + test -n "$F77" && break
13021 +if test -z "$F77"; then
13023 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13025 + # Extract the first word of "$ac_prog", so it can be a program name with args.
13026 +set dummy $ac_prog; ac_word=$2
13027 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13028 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13029 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13030 + echo $ECHO_N "(cached) $ECHO_C" >&6
13032 + if test -n "$ac_ct_F77"; then
13033 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13035 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13036 +for as_dir in $PATH
13039 + test -z "$as_dir" && as_dir=.
13040 + for ac_exec_ext in '' $ac_executable_extensions; do
13041 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13042 + ac_cv_prog_ac_ct_F77="$ac_prog"
13043 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 - 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)'
13052 - hardcode_libdir_flag_spec='-L$libdir'
13053 - hardcode_minus_L=yes
13055 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13056 - # that the semantics of dynamic libraries on AmigaOS, at least up
13057 - # to version 4, is to share data among multiple programs linked
13058 - # with the same dynamic library. Since this doesn't match the
13059 - # behavior of shared libraries on other platforms, we can use
13065 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
13066 +if test -n "$ac_ct_F77"; then
13067 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13068 +echo "${ECHO_T}$ac_ct_F77" >&6; }
13070 + { echo "$as_me:$LINENO: result: no" >&5
13071 +echo "${ECHO_T}no" >&6; }
13075 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13076 - allow_undefined_flag=unsupported
13077 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13078 - # support --undefined. This deserves some investigation. FIXME
13079 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13085 - cygwin* | mingw* | pw32*)
13086 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13087 - # no search path for DLLs.
13088 - hardcode_libdir_flag_spec='-L$libdir'
13089 - allow_undefined_flag=unsupported
13090 - always_export_symbols=yes
13092 - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
13093 - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
13094 - test -f $output_objdir/impgen.exe || (cd $output_objdir && \
13095 - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
13096 - else $CC -o impgen impgen.c ; fi)~
13097 - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
13099 - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
13101 - # cygwin and mingw dlls have different entry points and sets of symbols
13103 - # FIXME: what about values for MSVC?
13104 - dll_entry=__cygwin_dll_entry@12
13105 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
13109 - dll_entry=_DllMainCRTStartup@12
13110 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
13113 + test -n "$ac_ct_F77" && break
13116 - # mingw and cygwin differ, and it's simplest to just exclude the union
13117 - # of the two symbol sets.
13118 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
13120 - # recent cygwin and mingw systems supply a stub DllMain which the user
13121 - # can override, but on older systems we have to supply one (in ltdll.c)
13122 - if test "x$lt_cv_need_dllmain" = "xyes"; then
13123 - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
13124 - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
13125 - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
13130 + if test "x$ac_ct_F77" = x; then
13133 + case $cross_compiling:$ac_tool_warned in
13135 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13136 +whose name does not start with the host triplet. If you think this
13137 +configuration is useful to you, please write to autoconf@gnu.org." >&5
13138 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13139 +whose name does not start with the host triplet. If you think this
13140 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13141 +ac_tool_warned=yes ;;
13147 - # Extract the symbol export list from an `--export-all' def file,
13148 - # then regenerate the def file from the symbol export list, so that
13149 - # the compiled dll only exports the symbol export list.
13150 - # Be careful not to strip the DATA tag left be newer dlltools.
13151 - export_symbols_cmds="$ltdll_cmds"'
13152 - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
13153 - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
13155 - # If the export-symbols file already is a .def file (1st line
13156 - # is EXPORTS), use it as is.
13157 - # If DATA tags from a recent dlltool are present, honour them!
13158 - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
13159 - cp $export_symbols $output_objdir/$soname-def;
13161 - echo EXPORTS > $output_objdir/$soname-def;
13163 - cat $export_symbols | while read symbol; do
13164 - set dummy \$symbol;
13166 - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
13167 - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
13168 - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
13170 - _lt_hint=`expr 1 + \$_lt_hint`;
13174 - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
13175 - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
13176 - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
13177 - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
13178 - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
13182 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13183 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13186 - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13187 - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13191 - solaris* | sysv5*)
13192 - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
13195 +# Provide some information about the compiler.
13196 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13197 +ac_compiler=`set X $ac_compile; echo $2`
13198 +{ (ac_try="$ac_compiler --version >&5"
13199 +case "(($ac_try" in
13200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13201 + *) ac_try_echo=$ac_try;;
13203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13204 + (eval "$ac_compiler --version >&5") 2>&5
13206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 + (exit $ac_status); }
13208 +{ (ac_try="$ac_compiler -v >&5"
13209 +case "(($ac_try" in
13210 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13211 + *) ac_try_echo=$ac_try;;
13213 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214 + (eval "$ac_compiler -v >&5") 2>&5
13216 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 + (exit $ac_status); }
13218 +{ (ac_try="$ac_compiler -V >&5"
13219 +case "(($ac_try" in
13220 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 + *) ac_try_echo=$ac_try;;
13223 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 + (eval "$ac_compiler -V >&5") 2>&5
13226 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 + (exit $ac_status); }
13230 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13231 -*** create shared libraries on Solaris systems. Therefore, libtool
13232 -*** is disabling shared libraries support. We urge you to upgrade GNU
13233 -*** binutils to release 2.9.1 or newer. Another option is to modify
13234 -*** your PATH or compiler configuration so that the native linker is
13235 -*** used, and then restart.
13236 +# If we don't use `.F' as extension, the preprocessor is not run on the
13237 +# input file. (Note that this only needs to work for GNU compilers.)
13238 +ac_save_ext=$ac_ext
13240 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13241 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13242 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13243 + echo $ECHO_N "(cached) $ECHO_C" >&6
13245 + cat >conftest.$ac_ext <<_ACEOF
13252 - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13253 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13261 +rm -f conftest.$ac_objext
13262 +if { (ac_try="$ac_compile"
13263 +case "(($ac_try" in
13264 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13265 + *) ac_try_echo=$ac_try;;
13267 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 + (eval "$ac_compile") 2>conftest.er1
13270 + grep -v '^ *+' conftest.er1 >conftest.err
13271 + rm -f conftest.er1
13272 + cat conftest.err >&5
13273 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 + (exit $ac_status); } && {
13275 + test -z "$ac_f77_werror_flag" ||
13276 + test ! -s conftest.err
13277 + } && test -s conftest.$ac_objext; then
13278 + ac_compiler_gnu=yes
13280 + echo "$as_me: failed program was:" >&5
13281 +sed 's/^/| /' conftest.$ac_ext >&5
13284 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13286 - hardcode_direct=yes
13287 - hardcode_shlibpath_var=no
13289 + ac_compiler_gnu=no
13293 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13294 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13295 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13301 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13302 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13304 - if test "$ld_shlibs" = yes; then
13305 - runpath_var=LD_RUN_PATH
13306 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13307 - export_dynamic_flag_spec='${wl}--export-dynamic'
13309 - cygwin* | mingw* | pw32*)
13310 - # dlltool doesn't understand --whole-archive et. al.
13311 - whole_archive_flag_spec=
13314 - # ancient GNU ld didn't support --whole-archive et. al.
13315 - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
13316 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13318 - whole_archive_flag_spec=
13324 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13325 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13326 +ac_ext=$ac_save_ext
13327 +ac_test_FFLAGS=${FFLAGS+set}
13328 +ac_save_FFLAGS=$FFLAGS
13330 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13331 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13332 +if test "${ac_cv_prog_f77_g+set}" = set; then
13333 + echo $ECHO_N "(cached) $ECHO_C" >&6
13335 - # PORTME fill in a description of your system's linker (not GNU ld)
13338 - allow_undefined_flag=unsupported
13339 - always_export_symbols=yes
13340 - 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'
13341 - # Note: this linker hardcodes the directories in LIBPATH if there
13342 - # are no directories specified by -L.
13343 - hardcode_minus_L=yes
13344 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13345 - # Neither direct hardcoding nor static linking is supported with a
13346 - # broken collect2.
13347 - hardcode_direct=unsupported
13351 +cat >conftest.$ac_ext <<_ACEOF
13355 - if test "$host_cpu" = ia64; then
13356 - # On IA64, the linker does run time linking by default, so we don't
13357 - # have to do anything special.
13358 - aix_use_runtimelinking=no
13359 - exp_sym_flag='-Bexport'
13362 - aix_use_runtimelinking=no
13365 +rm -f conftest.$ac_objext
13366 +if { (ac_try="$ac_compile"
13367 +case "(($ac_try" in
13368 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13369 + *) ac_try_echo=$ac_try;;
13371 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13372 + (eval "$ac_compile") 2>conftest.er1
13374 + grep -v '^ *+' conftest.er1 >conftest.err
13375 + rm -f conftest.er1
13376 + cat conftest.err >&5
13377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 + (exit $ac_status); } && {
13379 + test -z "$ac_f77_werror_flag" ||
13380 + test ! -s conftest.err
13381 + } && test -s conftest.$ac_objext; then
13382 + ac_cv_prog_f77_g=yes
13384 + echo "$as_me: failed program was:" >&5
13385 +sed 's/^/| /' conftest.$ac_ext >&5
13387 - # Test if we are trying to use run time linking or normal
13388 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13389 - # need to do runtime linking.
13390 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13391 - for ld_flag in $LDFLAGS; do
13394 - aix_use_runtimelinking=yes
13400 + ac_cv_prog_f77_g=no
13403 - exp_sym_flag='-bexport'
13404 - no_entry_flag='-bnoentry'
13406 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13408 - # When large executables or shared objects are built, AIX ld can
13409 - # have problems creating the table of contents. If linking a library
13410 - # or program results in "error TOC overflow" add -mminimal-toc to
13411 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13412 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13414 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13415 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13416 +if test "$ac_test_FFLAGS" = set; then
13417 + FFLAGS=$ac_save_FFLAGS
13418 +elif test $ac_cv_prog_f77_g = yes; then
13419 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13425 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13432 - hardcode_direct=yes
13434 - hardcode_libdir_separator=':'
13435 - if test "$GCC" = yes; then
13436 - case $host_os in aix4.[012]|aix4.[012].*)
13437 - collect2name=`${CC} -print-prog-name=collect2`
13438 - if test -f "$collect2name" && \
13439 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13441 - # We have reworked collect2
13442 - hardcode_direct=yes
13444 - # We have old collect2
13445 - hardcode_direct=unsupported
13446 - # It fails to find uninstalled libraries when the uninstalled
13447 - # path is not listed in the libpath. Setting hardcode_minus_L
13448 - # to unsupported forces relinking
13449 - hardcode_minus_L=yes
13450 - hardcode_libdir_flag_spec='-L$libdir'
13451 - hardcode_libdir_separator=
13454 +G77=`test $ac_compiler_gnu = yes && echo yes`
13456 +ac_cpp='$CPP $CPPFLAGS'
13457 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13458 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13459 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13461 - shared_flag='-shared'
13464 - if test "$host_cpu" = ia64; then
13465 - shared_flag='${wl}-G'
13467 - if test "$aix_use_runtimelinking" = yes; then
13468 - shared_flag='${wl}-G'
13470 - shared_flag='${wl}-bM:SRE'
13475 - # It seems that -bexpall can do strange things, so it is better to
13476 - # generate a list of symbols to export.
13477 - always_export_symbols=yes
13478 - if test "$aix_use_runtimelinking" = yes; then
13479 - # Warning - without using the other runtime loading flags (-brtl),
13480 - # -berok will link without error, but may produce a broken library.
13481 - allow_undefined_flag='-berok'
13482 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
13483 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13485 - if test "$host_cpu" = ia64; then
13486 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13487 - allow_undefined_flag="-z nodefs"
13488 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13490 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
13491 - # Warning - without using the other run time loading flags,
13492 - # -berok will link without error, but may produce a broken library.
13493 - allow_undefined_flag='${wl}-berok'
13494 - # This is a bit strange, but is similar to how AIX traditionally builds
13495 - # it's shared libraries.
13496 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
13502 - 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)'
13503 - hardcode_libdir_flag_spec='-L$libdir'
13504 - hardcode_minus_L=yes
13505 - # see comment about different semantics on the GNU ld section
13508 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13510 - cygwin* | mingw* | pw32*)
13511 - # When not using gcc, we currently assume that we are using
13512 - # Microsoft Visual C++.
13513 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13514 - # no search path for DLLs.
13515 - hardcode_libdir_flag_spec=' '
13516 - allow_undefined_flag=unsupported
13517 - # Tell ltmain to make .lib files, not .a files.
13519 - # FIXME: Setting linknames here is a bad hack.
13520 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13521 - # The linker will automatically build a .lib file if we build a DLL.
13522 - old_archive_from_new_cmds='true'
13523 - # FIXME: Should let the user specify the lib program.
13524 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13525 - fix_srcfile_path='`cygpath -w "$srcfile"`'
13528 - darwin* | rhapsody*)
13529 - case "$host_os" in
13530 - rhapsody* | darwin1.[012])
13531 - allow_undefined_flag='-undefined suppress'
13533 - *) # Darwin 1.3 on
13534 - allow_undefined_flag='-flat_namespace -undefined suppress'
13537 - # FIXME: Relying on posixy $() will cause problems for
13538 - # cross-compilation, but unfortunately the echo tests do not
13539 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13540 - # `"' quotes if we put them in here... so don't!
13541 - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
13542 - # We need to add '_' to the symbols in $export_symbols first
13543 - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
13544 - hardcode_direct=yes
13545 - hardcode_shlibpath_var=no
13546 - whole_archive_flag_spec='-all_load $convenience'
13553 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13554 - # support. Future versions do this automatically, but an explicit c++rt0.o
13555 - # does not break anything, and helps significantly (at the cost of a little
13558 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13559 - hardcode_libdir_flag_spec='-R$libdir'
13560 - hardcode_direct=yes
13561 - hardcode_shlibpath_var=no
13563 +# find the maximum length of command line arguments
13564 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13565 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13566 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13567 + echo $ECHO_N "(cached) $ECHO_C" >&6
13570 + teststring="ABCD"
13572 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13574 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13575 - hardcode_direct=yes
13576 - hardcode_minus_L=yes
13577 - hardcode_shlibpath_var=no
13578 + case $build_os in
13580 + # On DJGPP, this test can blow up pretty badly due to problems in libc
13581 + # (any single argument exceeding 2000 bytes causes a buffer overrun
13582 + # during glob expansion). Even if it were fixed, the result of this
13583 + # check would be larger than it should be.
13584 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
13587 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13589 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13590 - hardcode_libdir_flag_spec='-R$libdir'
13591 - hardcode_direct=yes
13592 - hardcode_shlibpath_var=no
13594 + # Under GNU Hurd, this test is not required because there is
13595 + # no limit to the length of command line arguments.
13596 + # Libtool will interpret -1 as no limit whatsoever
13597 + lt_cv_sys_max_cmd_len=-1;
13600 - hpux9* | hpux10* | hpux11*)
13602 - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
13603 - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
13605 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13606 - hardcode_libdir_separator=:
13607 - hardcode_direct=yes
13608 - hardcode_minus_L=yes # Not in the search PATH, but as the default
13609 - # location of the library.
13610 - export_dynamic_flag_spec='${wl}-E'
13611 + cygwin* | mingw*)
13612 + # On Win9x/ME, this test blows up -- it succeeds, but takes
13613 + # about 5 minutes as the teststring grows exponentially.
13614 + # Worse, since 9x/ME are not pre-emptively multitasking,
13615 + # you end up with a "frozen" computer, even though with patience
13616 + # the test eventually succeeds (with a max line length of 256k).
13617 + # Instead, let's just punt: use the minimum linelength reported by
13618 + # all of the supported platforms: 8192 (on NT/2K/XP).
13619 + lt_cv_sys_max_cmd_len=8192;
13622 - irix5* | irix6* | nonstopux*)
13623 - if test "$GCC" = yes; then
13624 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13625 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13627 - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13628 - hardcode_libdir_flag_spec='-rpath $libdir'
13630 - hardcode_libdir_separator=:
13631 - link_all_deplibs=yes
13633 + # On AmigaOS with pdksh, this test takes hours, literally.
13634 + # So we just punt and use a minimum line length of 8192.
13635 + lt_cv_sys_max_cmd_len=8192;
13639 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13640 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13641 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13642 + # This has been around since 386BSD, at least. Likely further.
13643 + if test -x /sbin/sysctl; then
13644 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13645 + elif test -x /usr/sbin/sysctl; then
13646 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13648 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13649 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13651 - hardcode_libdir_flag_spec='-R$libdir'
13652 - hardcode_direct=yes
13653 - hardcode_shlibpath_var=no
13654 + # And add a safety zone
13655 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13656 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13660 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13661 - hardcode_direct=yes
13662 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13663 - hardcode_libdir_separator=:
13664 - hardcode_shlibpath_var=no
13666 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
13667 + lt_cv_sys_max_cmd_len=196608
13671 - hardcode_direct=yes
13672 - hardcode_shlibpath_var=no
13673 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13674 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13675 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13676 - export_dynamic_flag_spec='${wl}-E'
13678 - case "$host_os" in
13679 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13680 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13681 - hardcode_libdir_flag_spec='-R$libdir'
13684 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13685 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13688 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13689 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13690 + # nice to cause kernel panics so lets avoid the loop below.
13691 + # First set a reasonable default.
13692 + lt_cv_sys_max_cmd_len=16384
13694 + if test -x /sbin/sysconfig; then
13695 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13696 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
13702 - hardcode_libdir_flag_spec='-L$libdir'
13703 - hardcode_minus_L=yes
13704 - allow_undefined_flag=unsupported
13705 - 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'
13706 - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13708 + lt_cv_sys_max_cmd_len=102400
13712 - if test "$GCC" = yes; then
13713 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13714 - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13715 + sysv5* | sco5v6* | sysv4.2uw2*)
13716 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13717 + if test -n "$kargmax"; then
13718 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13720 - allow_undefined_flag=' -expect_unresolved \*'
13721 - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13722 + lt_cv_sys_max_cmd_len=32768
13724 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13725 - hardcode_libdir_separator=:
13728 + # If test is not a shell built-in, we'll probably end up computing a
13729 + # maximum length that is only half of the actual maximum length, but
13731 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13732 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13733 + = "XX$teststring") >/dev/null 2>&1 &&
13734 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
13735 + lt_cv_sys_max_cmd_len=$new_result &&
13736 + test $i != 17 # 1/2 MB should be enough
13739 + teststring=$teststring$teststring
13742 + # Add a significant safety factor because C++ compilers can tack on massive
13743 + # amounts of additional arguments before passing them to the linker.
13744 + # It appears as though 1/2 is a usable value.
13745 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13749 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13750 - if test "$GCC" = yes; then
13751 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13752 - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13753 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13755 - allow_undefined_flag=' -expect_unresolved \*'
13756 - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13757 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13758 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
13761 - #Both c and cxx compiler support -rpath directly
13762 - hardcode_libdir_flag_spec='-rpath $libdir'
13764 - hardcode_libdir_separator=:
13766 +if test -n $lt_cv_sys_max_cmd_len ; then
13767 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13768 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13770 + { echo "$as_me:$LINENO: result: none" >&5
13771 +echo "${ECHO_T}none" >&6; }
13775 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13776 - hardcode_shlibpath_var=no
13777 - runpath_var=LD_RUN_PATH
13778 - hardcode_runpath_var=yes
13779 - export_dynamic_flag_spec='${wl}-Bexport'
13783 - # gcc --version < 3.0 without binutils cannot create self contained
13784 - # shared libraries reliably, requiring libgcc.a to resolve some of
13785 - # the object symbols generated in some cases. Libraries that use
13786 - # assert need libgcc.a to resolve __eprintf, for example. Linking
13787 - # a copy of libgcc.a into every shared library to guarantee resolving
13788 - # such symbols causes other problems: According to Tim Van Holder
13789 - # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
13790 - # (to the application) exception stack for one thing.
13791 - no_undefined_flag=' -z defs'
13792 - if test "$GCC" = yes; then
13793 - case `$CC --version 2>/dev/null` in
13797 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
13798 -*** create self contained shared libraries on Solaris systems, without
13799 -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
13800 -*** -no-undefined support, which will at least allow you to build shared
13801 -*** libraries. However, you may find that when you link such libraries
13802 -*** into an application without using GCC, you have to manually add
13803 -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
13804 -*** upgrade to a newer version of GCC. Another option is to rebuild your
13805 -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
13808 - no_undefined_flag=
13812 - # $CC -shared without GNU ld will not create a library from C++
13813 - # object files and a static libstdc++, better avoid it by now
13814 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13815 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13816 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13817 - hardcode_libdir_flag_spec='-R$libdir'
13818 - hardcode_shlibpath_var=no
13820 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13821 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13822 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13824 - link_all_deplibs=yes
13826 +# Check for command to grab the raw symbol name followed by C symbol from nm.
13827 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13828 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13829 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13830 + echo $ECHO_N "(cached) $ECHO_C" >&6
13834 - if test "x$host_vendor" = xsequent; then
13835 - # Use $CC to link under sequent, because it throws in some extra .o
13836 - # files that make .init and .fini sections work.
13837 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13839 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13841 - hardcode_libdir_flag_spec='-L$libdir'
13842 - hardcode_direct=yes
13843 - hardcode_minus_L=yes
13844 - hardcode_shlibpath_var=no
13846 +# These are sane defaults that work on at least a few old systems.
13847 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
13850 - case $host_vendor in
13852 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13853 - hardcode_direct=yes # is this really true???
13856 - ## LD is ld it makes a PLAMLIB
13857 - ## CC just makes a GrossModule.
13858 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13859 - reload_cmds='$CC -r -o $output$reload_objs'
13860 - hardcode_direct=no
13863 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13864 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13867 - runpath_var='LD_RUN_PATH'
13868 - hardcode_shlibpath_var=no
13870 +# Character class describing NM global symbol codes.
13871 +symcode='[BCDEGRST]'
13874 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13875 - hardcode_shlibpath_var=no
13876 - export_dynamic_flag_spec='-Bexport'
13880 - no_undefined_flag=' -z text'
13881 - # $CC -shared without GNU ld will not create a library from C++
13882 - # object files and a static libstdc++, better avoid it by now
13883 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13884 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13885 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13886 - hardcode_libdir_flag_spec=
13887 - hardcode_shlibpath_var=no
13888 - runpath_var='LD_RUN_PATH'
13890 +# Regexp to match symbols that can be accessed directly from C.
13891 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13894 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13895 - hardcode_libdir_flag_spec='-L$libdir'
13896 - hardcode_shlibpath_var=no
13898 +# Transform an extracted symbol line into a proper C declaration
13899 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13902 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13903 - hardcode_libdir_flag_spec='-L$libdir'
13904 - hardcode_shlibpath_var=no
13906 +# Transform an extracted symbol line into symbol name and symbol address
13907 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
13910 - if test -d /usr/nec; then
13911 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13912 - hardcode_shlibpath_var=no
13913 - runpath_var=LD_RUN_PATH
13914 - hardcode_runpath_var=yes
13918 +# Define system-specific variables.
13923 +cygwin* | mingw* | pw32*)
13924 + symcode='[ABCDGISTW]'
13926 +hpux*) # Its linker distinguishes data from code symbols
13927 + if test "$host_cpu" = ia64; then
13928 + symcode='[ABCDEGRST]'
13930 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13931 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
13933 +linux* | k*bsd*-gnu)
13934 + if test "$host_cpu" = ia64; then
13935 + symcode='[ABCDGIRSTW]'
13936 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13937 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
13940 +irix* | nonstopux*)
13941 + symcode='[BCDEGRST]'
13944 + symcode='[BCDEGQRST]'
13955 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
13959 + symcode='[DFNSTU]'
13964 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13965 - hardcode_direct=yes
13966 - hardcode_minus_L=no
13967 - hardcode_shlibpath_var=no
13968 - hardcode_runpath_var=yes
13969 - runpath_var=LD_RUN_PATH
13971 +# Handle CRLF in mingw tool chain
13975 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13979 - sysv5uw7* | unixware7*)
13980 - no_undefined_flag='${wl}-z ${wl}text'
13981 - if test "$GCC" = yes; then
13982 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13984 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13986 - runpath_var='LD_RUN_PATH'
13987 - hardcode_shlibpath_var=no
13989 +# If we're using GNU nm, then use its standard symbol codes.
13990 +case `$NM -V 2>&1` in
13991 +*GNU* | *'with BFD'*)
13992 + symcode='[ABCDGIRSTW]' ;;
14000 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14001 -echo "${ECHO_T}$ld_shlibs" >&6
14002 -test "$ld_shlibs" = no && can_build_shared=no
14003 +# Try without a prefix undercore, then with it.
14004 +for ac_symprfx in "" "_"; do
14006 -# Check hardcoding attributes.
14007 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14008 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14010 -if test -n "$hardcode_libdir_flag_spec" || \
14011 - test -n "$runpath_var"; then
14012 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14013 + symxfrm="\\1 $ac_symprfx\\2 \\2"
14015 - # We can hardcode non-existant directories.
14016 - if test "$hardcode_direct" != no &&
14017 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
14018 - # have to relink, otherwise we might link with an installed library
14019 - # when we should be linking with a yet-to-be-installed one
14020 - ## test "$hardcode_shlibpath_var" != no &&
14021 - test "$hardcode_minus_L" != no; then
14022 - # Linking always hardcodes the temporary library directory.
14023 - hardcode_action=relink
14024 + # Write the raw and C identifiers.
14025 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14027 + # Check to see that the pipe works correctly.
14031 + cat > conftest.$ac_ext <<EOF
14032 +#ifdef __cplusplus
14036 +void nm_test_func(){}
14037 +#ifdef __cplusplus
14040 +int main(){nm_test_var='a';nm_test_func();return(0);}
14043 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14044 + (eval $ac_compile) 2>&5
14046 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 + (exit $ac_status); }; then
14048 + # Now try to grab the symbols.
14049 + nlist=conftest.nm
14050 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14051 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14053 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 + (exit $ac_status); } && test -s "$nlist"; then
14055 + # Try sorting and uniquifying the output.
14056 + if sort "$nlist" | uniq > "$nlist"T; then
14057 + mv -f "$nlist"T "$nlist"
14062 + # Make sure that we snagged all the symbols we need.
14063 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
14064 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
14065 + cat <<EOF > conftest.$ac_ext
14066 +#ifdef __cplusplus
14071 + # Now generate the symbol file.
14072 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14074 + cat <<EOF >> conftest.$ac_ext
14075 +#if defined (__STDC__) && __STDC__
14076 +# define lt_ptr_t void *
14078 +# define lt_ptr_t char *
14082 +/* The mapping between symbol names and symbols. */
14084 + const char *name;
14085 + lt_ptr_t address;
14087 +lt_preloaded_symbols[] =
14090 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14091 + cat <<\EOF >> conftest.$ac_ext
14092 + {0, (lt_ptr_t) 0}
14095 +#ifdef __cplusplus
14099 + # Now try linking the two files.
14100 + mv conftest.$ac_objext conftstm.$ac_objext
14101 + lt_save_LIBS="$LIBS"
14102 + lt_save_CFLAGS="$CFLAGS"
14103 + LIBS="conftstm.$ac_objext"
14104 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14105 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14106 + (eval $ac_link) 2>&5
14108 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
14112 + LIBS="$lt_save_LIBS"
14113 + CFLAGS="$lt_save_CFLAGS"
14115 + echo "cannot find nm_test_func in $nlist" >&5
14118 + echo "cannot find nm_test_var in $nlist" >&5
14121 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14124 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
14125 - hardcode_action=immediate
14126 + echo "$progname: failed program was:" >&5
14127 + cat conftest.$ac_ext >&5
14129 + rm -f conftest* conftst*
14131 + # Do not use the global_symbol_pipe unless it works.
14132 + if test "$pipe_works" = yes; then
14135 + lt_cv_sys_global_symbol_pipe=
14141 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
14142 + lt_cv_sys_global_symbol_to_cdecl=
14144 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14145 + { echo "$as_me:$LINENO: result: failed" >&5
14146 +echo "${ECHO_T}failed" >&6; }
14148 - # We cannot hardcode anything, or else we can only hardcode existing
14150 - hardcode_action=unsupported
14151 + { echo "$as_me:$LINENO: result: ok" >&5
14152 +echo "${ECHO_T}ok" >&6; }
14154 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
14155 -echo "${ECHO_T}$hardcode_action" >&6
14159 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14160 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14161 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14162 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14163 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14164 - echo "$as_me:$LINENO: result: yes" >&5
14165 -echo "${ECHO_T}yes" >&6
14166 +{ echo "$as_me:$LINENO: checking for objdir" >&5
14167 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14168 +if test "${lt_cv_objdir+set}" = set; then
14169 + echo $ECHO_N "(cached) $ECHO_C" >&6
14171 + rm -f .libs 2>/dev/null
14172 +mkdir .libs 2>/dev/null
14173 +if test -d .libs; then
14174 + lt_cv_objdir=.libs
14176 - echo "$as_me:$LINENO: result: no" >&5
14177 -echo "${ECHO_T}no" >&6
14178 + # MS-DOS does not allow filenames that begin with a dot.
14179 + lt_cv_objdir=_libs
14181 +rmdir .libs 2>/dev/null
14183 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14184 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
14185 +objdir=$lt_cv_objdir
14187 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
14188 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
14190 -# PORTME Fill in your ld.so characteristics
14191 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14192 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14193 -library_names_spec=
14194 -libname_spec='lib$name'
14197 -postuninstall_cmds=
14201 -shlibpath_overrides_runpath=unknown
14203 -dynamic_linker="$host_os ld.so"
14204 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
14205 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14209 - version_type=linux
14210 - library_names_spec='${libname}${release}.so$versuffix $libname.a'
14211 - shlibpath_var=LIBPATH
14213 - # AIX has no versioning support, so we append a major version to the name.
14214 - soname_spec='${libname}${release}.so$major'
14218 - version_type=linux
14219 - need_lib_prefix=no
14221 - hardcode_into_libs=yes
14222 - if test "$host_cpu" = ia64; then
14223 - # AIX 5 supports IA64
14224 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
14225 - shlibpath_var=LD_LIBRARY_PATH
14227 - # With GCC up to 2.95.x, collect2 would create an import file
14228 - # for dependence libraries. The import file would start with
14229 - # the line `#! .'. This would cause the generated library to
14230 - # depend on `.', always an invalid library. This was fixed in
14231 - # development snapshots of GCC prior to 3.0.
14233 - aix4 | aix4.[01] | aix4.[01].*)
14234 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14236 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14239 - can_build_shared=no
14243 - # AIX (on Power*) has no versioning support, so currently we can
14244 - # not hardcode correct soname into executable. Probably we can
14245 - # add versioning support to collect2, so additional links can
14246 - # be useful in future.
14247 - if test "$aix_use_runtimelinking" = yes; then
14248 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14249 - # instead of lib<name>.a to let people know that these are not
14250 - # typical AIX shared libraries.
14251 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
14253 - # We preserve .a as extension for shared libraries through AIX4.2
14254 - # and later when we are not doing run time linking.
14255 - library_names_spec='${libname}${release}.a $libname.a'
14256 - soname_spec='${libname}${release}.so$major'
14258 - shlibpath_var=LIBPATH
14261 + # AIX sometimes has problems with the GCC collect2 program. For some
14262 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14263 + # vanish in a puff of smoke.
14264 + if test "X${COLLECT_NAMES+set}" != Xset; then
14266 + export COLLECT_NAMES
14268 - hardcode_into_libs=yes
14272 - library_names_spec='$libname.ixlibrary $libname.a'
14273 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
14274 - 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'
14279 - library_names_spec='${libname}.so'
14280 - dynamic_linker="$host_os ld.so"
14281 - shlibpath_var=LIBRARY_PATH
14283 +# Sed substitution that helps us do robust quoting. It backslashifies
14284 +# metacharacters that are still active within double-quoted strings.
14285 +Xsed='sed -e 1s/^X//'
14286 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14289 +# Same as above, but do not quote variable references.
14290 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14292 +# Sed substitution to delay expansion of an escaped shell variable in a
14293 +# double_quote_subst'ed string.
14294 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14296 +# Sed substitution to avoid accidental globbing in evaled expressions
14297 +no_glob_subst='s/\*/\\\*/g'
14302 +# Global variables:
14303 +default_ofile=libtool
14304 +can_build_shared=yes
14306 +# All known linkers require a `.a' archive for static linking (except MSVC,
14307 +# which needs '.lib').
14309 +ltmain="$ac_aux_dir/ltmain.sh"
14310 +ofile="$default_ofile"
14311 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14313 +if test -n "$ac_tool_prefix"; then
14314 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14315 +set dummy ${ac_tool_prefix}ar; ac_word=$2
14316 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14317 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14318 +if test "${ac_cv_prog_AR+set}" = set; then
14319 + echo $ECHO_N "(cached) $ECHO_C" >&6
14321 + if test -n "$AR"; then
14322 + ac_cv_prog_AR="$AR" # Let the user override the test.
14324 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14325 +for as_dir in $PATH
14328 + test -z "$as_dir" && as_dir=.
14329 + for ac_exec_ext in '' $ac_executable_extensions; do
14330 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14331 + ac_cv_prog_AR="${ac_tool_prefix}ar"
14332 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14342 +if test -n "$AR"; then
14343 + { echo "$as_me:$LINENO: result: $AR" >&5
14344 +echo "${ECHO_T}$AR" >&6; }
14346 + { echo "$as_me:$LINENO: result: no" >&5
14347 +echo "${ECHO_T}no" >&6; }
14352 +if test -z "$ac_cv_prog_AR"; then
14354 + # Extract the first word of "ar", so it can be a program name with args.
14355 +set dummy ar; ac_word=$2
14356 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14357 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14358 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14359 + echo $ECHO_N "(cached) $ECHO_C" >&6
14361 + if test -n "$ac_ct_AR"; then
14362 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14364 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14365 +for as_dir in $PATH
14368 + test -z "$as_dir" && as_dir=.
14369 + for ac_exec_ext in '' $ac_executable_extensions; do
14370 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14371 + ac_cv_prog_ac_ct_AR="ar"
14372 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14381 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
14382 +if test -n "$ac_ct_AR"; then
14383 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14384 +echo "${ECHO_T}$ac_ct_AR" >&6; }
14386 + { echo "$as_me:$LINENO: result: no" >&5
14387 +echo "${ECHO_T}no" >&6; }
14390 + if test "x$ac_ct_AR" = x; then
14393 + case $cross_compiling:$ac_tool_warned in
14395 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14396 +whose name does not start with the host triplet. If you think this
14397 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14398 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14399 +whose name does not start with the host triplet. If you think this
14400 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14401 +ac_tool_warned=yes ;;
14406 + AR="$ac_cv_prog_AR"
14409 +if test -n "$ac_tool_prefix"; then
14410 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14411 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14412 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14413 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14414 +if test "${ac_cv_prog_RANLIB+set}" = set; then
14415 + echo $ECHO_N "(cached) $ECHO_C" >&6
14417 + if test -n "$RANLIB"; then
14418 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14420 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14421 +for as_dir in $PATH
14424 + test -z "$as_dir" && as_dir=.
14425 + for ac_exec_ext in '' $ac_executable_extensions; do
14426 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14427 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14428 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 +RANLIB=$ac_cv_prog_RANLIB
14438 +if test -n "$RANLIB"; then
14439 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
14440 +echo "${ECHO_T}$RANLIB" >&6; }
14442 + { echo "$as_me:$LINENO: result: no" >&5
14443 +echo "${ECHO_T}no" >&6; }
14448 +if test -z "$ac_cv_prog_RANLIB"; then
14449 + ac_ct_RANLIB=$RANLIB
14450 + # Extract the first word of "ranlib", so it can be a program name with args.
14451 +set dummy ranlib; ac_word=$2
14452 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14453 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14454 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14455 + echo $ECHO_N "(cached) $ECHO_C" >&6
14457 + if test -n "$ac_ct_RANLIB"; then
14458 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14460 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14461 +for as_dir in $PATH
14464 + test -z "$as_dir" && as_dir=.
14465 + for ac_exec_ext in '' $ac_executable_extensions; do
14466 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14467 + ac_cv_prog_ac_ct_RANLIB="ranlib"
14468 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14477 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14478 +if test -n "$ac_ct_RANLIB"; then
14479 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14480 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14482 + { echo "$as_me:$LINENO: result: no" >&5
14483 +echo "${ECHO_T}no" >&6; }
14486 + if test "x$ac_ct_RANLIB" = x; then
14489 + case $cross_compiling:$ac_tool_warned in
14491 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14492 +whose name does not start with the host triplet. If you think this
14493 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14494 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14495 +whose name does not start with the host triplet. If you think this
14496 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14497 +ac_tool_warned=yes ;;
14499 + RANLIB=$ac_ct_RANLIB
14502 + RANLIB="$ac_cv_prog_RANLIB"
14505 +if test -n "$ac_tool_prefix"; then
14506 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14507 +set dummy ${ac_tool_prefix}strip; ac_word=$2
14508 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14509 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14510 +if test "${ac_cv_prog_STRIP+set}" = set; then
14511 + echo $ECHO_N "(cached) $ECHO_C" >&6
14513 + if test -n "$STRIP"; then
14514 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14516 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14517 +for as_dir in $PATH
14520 + test -z "$as_dir" && as_dir=.
14521 + for ac_exec_ext in '' $ac_executable_extensions; do
14522 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14523 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14524 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14533 +STRIP=$ac_cv_prog_STRIP
14534 +if test -n "$STRIP"; then
14535 + { echo "$as_me:$LINENO: result: $STRIP" >&5
14536 +echo "${ECHO_T}$STRIP" >&6; }
14538 + { echo "$as_me:$LINENO: result: no" >&5
14539 +echo "${ECHO_T}no" >&6; }
14544 +if test -z "$ac_cv_prog_STRIP"; then
14545 + ac_ct_STRIP=$STRIP
14546 + # Extract the first word of "strip", so it can be a program name with args.
14547 +set dummy strip; ac_word=$2
14548 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14549 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14550 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14551 + echo $ECHO_N "(cached) $ECHO_C" >&6
14553 + if test -n "$ac_ct_STRIP"; then
14554 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14556 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14557 +for as_dir in $PATH
14560 + test -z "$as_dir" && as_dir=.
14561 + for ac_exec_ext in '' $ac_executable_extensions; do
14562 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14563 + ac_cv_prog_ac_ct_STRIP="strip"
14564 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14573 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14574 +if test -n "$ac_ct_STRIP"; then
14575 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14576 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14578 + { echo "$as_me:$LINENO: result: no" >&5
14579 +echo "${ECHO_T}no" >&6; }
14582 + if test "x$ac_ct_STRIP" = x; then
14585 + case $cross_compiling:$ac_tool_warned in
14587 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14588 +whose name does not start with the host triplet. If you think this
14589 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14590 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14591 +whose name does not start with the host triplet. If you think this
14592 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14593 +ac_tool_warned=yes ;;
14595 + STRIP=$ac_ct_STRIP
14598 + STRIP="$ac_cv_prog_STRIP"
14603 +old_CFLAGS="$CFLAGS"
14605 +# Set sane defaults for various variables
14606 +test -z "$AR" && AR=ar
14607 +test -z "$AR_FLAGS" && AR_FLAGS=cru
14608 +test -z "$AS" && AS=as
14609 +test -z "$CC" && CC=cc
14610 +test -z "$LTCC" && LTCC=$CC
14611 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14612 +test -z "$DLLTOOL" && DLLTOOL=dlltool
14613 +test -z "$LD" && LD=ld
14614 +test -z "$LN_S" && LN_S="ln -s"
14615 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
14616 +test -z "$NM" && NM=nm
14617 +test -z "$SED" && SED=sed
14618 +test -z "$OBJDUMP" && OBJDUMP=objdump
14619 +test -z "$RANLIB" && RANLIB=:
14620 +test -z "$STRIP" && STRIP=:
14621 +test -z "$ac_objext" && ac_objext=o
14623 +# Determine commands to create old-style static archives.
14624 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14625 +old_postinstall_cmds='chmod 644 $oldlib'
14626 +old_postuninstall_cmds=
14628 +if test -n "$RANLIB"; then
14631 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14634 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14637 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14640 +for cc_temp in $compiler""; do
14642 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14643 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14648 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14651 +# Only perform the check for file, if the check method requires it
14652 +case $deplibs_check_method in
14654 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14655 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14656 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14657 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14658 + echo $ECHO_N "(cached) $ECHO_C" >&6
14660 + case $MAGIC_CMD in
14661 +[\\/*] | ?:[\\/]*)
14662 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14665 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14666 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14667 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14668 + for ac_dir in $ac_dummy; do
14669 + IFS="$lt_save_ifs"
14670 + test -z "$ac_dir" && ac_dir=.
14671 + if test -f $ac_dir/${ac_tool_prefix}file; then
14672 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14673 + if test -n "$file_magic_test_file"; then
14674 + case $deplibs_check_method in
14676 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14677 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14678 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14679 + $EGREP "$file_magic_regex" > /dev/null; then
14684 +*** Warning: the command libtool uses to detect shared libraries,
14685 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14686 +*** The result is that libtool may fail to recognize shared libraries
14687 +*** as such. This will affect the creation of libtool libraries that
14688 +*** depend on shared libraries, but programs linked with such libtool
14689 +*** libraries will work regardless of this problem. Nevertheless, you
14690 +*** may want to report the problem to your system manager and/or to
14691 +*** bug-libtool@gnu.org
14700 + IFS="$lt_save_ifs"
14701 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14706 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14707 +if test -n "$MAGIC_CMD"; then
14708 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14709 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14711 + { echo "$as_me:$LINENO: result: no" >&5
14712 +echo "${ECHO_T}no" >&6; }
14715 +if test -z "$lt_cv_path_MAGIC_CMD"; then
14716 + if test -n "$ac_tool_prefix"; then
14717 + { echo "$as_me:$LINENO: checking for file" >&5
14718 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14719 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14720 + echo $ECHO_N "(cached) $ECHO_C" >&6
14722 + case $MAGIC_CMD in
14723 +[\\/*] | ?:[\\/]*)
14724 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14727 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14728 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14729 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14730 + for ac_dir in $ac_dummy; do
14731 + IFS="$lt_save_ifs"
14732 + test -z "$ac_dir" && ac_dir=.
14733 + if test -f $ac_dir/file; then
14734 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
14735 + if test -n "$file_magic_test_file"; then
14736 + case $deplibs_check_method in
14738 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14739 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14740 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14741 + $EGREP "$file_magic_regex" > /dev/null; then
14746 +*** Warning: the command libtool uses to detect shared libraries,
14747 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14748 +*** The result is that libtool may fail to recognize shared libraries
14749 +*** as such. This will affect the creation of libtool libraries that
14750 +*** depend on shared libraries, but programs linked with such libtool
14751 +*** libraries will work regardless of this problem. Nevertheless, you
14752 +*** may want to report the problem to your system manager and/or to
14753 +*** bug-libtool@gnu.org
14762 + IFS="$lt_save_ifs"
14763 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14768 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14769 +if test -n "$MAGIC_CMD"; then
14770 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14771 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14773 + { echo "$as_me:$LINENO: result: no" >&5
14774 +echo "${ECHO_T}no" >&6; }
14787 +enable_win32_dll=no
14789 +# Check whether --enable-libtool-lock was given.
14790 +if test "${enable_libtool_lock+set}" = set; then
14791 + enableval=$enable_libtool_lock;
14794 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14797 +# Check whether --with-pic was given.
14798 +if test "${with_pic+set}" = set; then
14799 + withval=$with_pic; pic_mode="$withval"
14804 +test -z "$pic_mode" && pic_mode=default
14806 +# Use C for the default configuration in the libtool script
14810 +ac_cpp='$CPP $CPPFLAGS'
14811 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14812 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14813 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14816 +# Source file extension for C test sources.
14819 +# Object file extension for compiled C test sources.
14823 +# Code to be used in simple compile tests
14824 +lt_simple_compile_test_code="int some_variable = 0;\n"
14826 +# Code to be used in simple link tests
14827 +lt_simple_link_test_code='int main(){return(0);}\n'
14830 +# If no C compiler was specified, use CC.
14831 +LTCC=${LTCC-"$CC"}
14833 +# If no C compiler flags were specified, use CFLAGS.
14834 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14836 +# Allow CC to be a program name with arguments.
14840 +# save warnings/boilerplate of simple test code
14841 +ac_outfile=conftest.$ac_objext
14842 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14843 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14844 +_lt_compiler_boilerplate=`cat conftest.err`
14847 +ac_outfile=conftest.$ac_objext
14848 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
14849 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14850 +_lt_linker_boilerplate=`cat conftest.err`
14855 +lt_prog_compiler_no_builtin_flag=
14857 +if test "$GCC" = yes; then
14858 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14861 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14862 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14863 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14864 + echo $ECHO_N "(cached) $ECHO_C" >&6
14866 + lt_cv_prog_compiler_rtti_exceptions=no
14867 + ac_outfile=conftest.$ac_objext
14868 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14869 + lt_compiler_flag="-fno-rtti -fno-exceptions"
14870 + # Insert the option either (1) after the last *FLAGS variable, or
14871 + # (2) before a word containing "conftest.", or (3) at the end.
14872 + # Note that $ac_compile itself does not contain backslashes and begins
14873 + # with a dollar sign (not a hyphen), so the echo should work correctly.
14874 + # The option is referenced via a variable to avoid confusing sed.
14875 + lt_compile=`echo "$ac_compile" | $SED \
14876 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14877 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14878 + -e 's:$: $lt_compiler_flag:'`
14879 + (eval echo "\"\$as_me:7412: $lt_compile\"" >&5)
14880 + (eval "$lt_compile" 2>conftest.err)
14882 + cat conftest.err >&5
14883 + echo "$as_me:7416: \$? = $ac_status" >&5
14884 + if (exit $ac_status) && test -s "$ac_outfile"; then
14885 + # The compiler can only warn and ignore the option if not recognized
14886 + # So say no if there are warnings other than the usual output.
14887 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14888 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14889 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14890 + lt_cv_prog_compiler_rtti_exceptions=yes
14896 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14897 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14899 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14900 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14907 +lt_prog_compiler_wl=
14908 +lt_prog_compiler_pic=
14909 +lt_prog_compiler_static=
14911 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14912 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14914 + if test "$GCC" = yes; then
14915 + lt_prog_compiler_wl='-Wl,'
14916 + lt_prog_compiler_static='-static'
14920 + # All AIX code is PIC.
14921 + if test "$host_cpu" = ia64; then
14922 + # AIX 5 now supports IA64 processor
14923 + lt_prog_compiler_static='-Bstatic'
14928 + # FIXME: we need at least 68020 code to build shared libraries, but
14929 + # adding the `-m68020' flag to GCC prevents building anything better,
14930 + # like `-m68040'.
14931 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14934 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14935 + # PIC is the default for these OSes.
14938 + mingw* | pw32* | os2*)
14939 + # This hack is so that the source file can tell whether it is being
14940 + # built for inclusion in a dll (and should export symbols for example).
14941 + lt_prog_compiler_pic='-DDLL_EXPORT'
14944 + darwin* | rhapsody*)
14945 + # PIC is the default on this platform
14946 + # Common symbols not allowed in MH_DYLIB files
14947 + lt_prog_compiler_pic='-fno-common'
14951 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14952 + # Instead, we relocate shared libraries at runtime.
14956 + # Just because we use GCC doesn't mean we suddenly get shared libraries
14957 + # on systems that don't support them.
14958 + lt_prog_compiler_can_build_shared=no
14963 + if test -d /usr/nec; then
14964 + lt_prog_compiler_pic=-Kconform_pic
14969 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14970 + # not for PA HP-UX.
14971 + case $host_cpu in
14976 + lt_prog_compiler_pic='-fPIC'
14982 + lt_prog_compiler_pic='-fPIC'
14986 + # PORTME Check for flag to pass linker flags through the system compiler.
14989 + lt_prog_compiler_wl='-Wl,'
14990 + if test "$host_cpu" = ia64; then
14991 + # AIX 5 now supports IA64 processor
14992 + lt_prog_compiler_static='-Bstatic'
14994 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14998 + # PIC is the default on this platform
14999 + # Common symbols not allowed in MH_DYLIB files
15000 + case $cc_basename in
15002 + lt_prog_compiler_pic='-qnocommon'
15003 + lt_prog_compiler_wl='-Wl,'
15008 + mingw* | pw32* | os2*)
15009 + # This hack is so that the source file can tell whether it is being
15010 + # built for inclusion in a dll (and should export symbols for example).
15011 + lt_prog_compiler_pic='-DDLL_EXPORT'
15014 + hpux9* | hpux10* | hpux11*)
15015 + lt_prog_compiler_wl='-Wl,'
15016 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15017 + # not for PA HP-UX.
15018 + case $host_cpu in
15023 + lt_prog_compiler_pic='+Z'
15026 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15027 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15030 + irix5* | irix6* | nonstopux*)
15031 + lt_prog_compiler_wl='-Wl,'
15032 + # PIC (with -KPIC) is the default.
15033 + lt_prog_compiler_static='-non_shared'
15037 + lt_prog_compiler_pic='-KPIC'
15038 + lt_prog_compiler_static='-Bstatic'
15041 + linux* | k*bsd*-gnu)
15042 + case $cc_basename in
15044 + lt_prog_compiler_wl='-Wl,'
15045 + lt_prog_compiler_pic='-KPIC'
15046 + lt_prog_compiler_static='-static'
15048 + pgcc* | pgf77* | pgf90* | pgf95*)
15049 + # Portland Group compilers (*not* the Pentium gcc compiler,
15050 + # which looks to be a dead project)
15051 + lt_prog_compiler_wl='-Wl,'
15052 + lt_prog_compiler_pic='-fpic'
15053 + lt_prog_compiler_static='-Bstatic'
15056 + lt_prog_compiler_wl='-Wl,'
15057 + # All Alpha code is PIC.
15058 + lt_prog_compiler_static='-non_shared'
15063 + osf3* | osf4* | osf5*)
15064 + lt_prog_compiler_wl='-Wl,'
15065 + # All OSF/1 code is PIC.
15066 + lt_prog_compiler_static='-non_shared'
15070 + lt_prog_compiler_pic='-KPIC'
15071 + lt_prog_compiler_static='-Bstatic'
15072 + case $cc_basename in
15073 + f77* | f90* | f95*)
15074 + lt_prog_compiler_wl='-Qoption ld ';;
15076 + lt_prog_compiler_wl='-Wl,';;
15081 + lt_prog_compiler_wl='-Qoption ld '
15082 + lt_prog_compiler_pic='-PIC'
15083 + lt_prog_compiler_static='-Bstatic'
15086 + sysv4 | sysv4.2uw2* | sysv4.3*)
15087 + lt_prog_compiler_wl='-Wl,'
15088 + lt_prog_compiler_pic='-KPIC'
15089 + lt_prog_compiler_static='-Bstatic'
15093 + if test -d /usr/nec ;then
15094 + lt_prog_compiler_pic='-Kconform_pic'
15095 + lt_prog_compiler_static='-Bstatic'
15099 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15100 + lt_prog_compiler_wl='-Wl,'
15101 + lt_prog_compiler_pic='-KPIC'
15102 + lt_prog_compiler_static='-Bstatic'
15106 + lt_prog_compiler_wl='-Wl,'
15107 + lt_prog_compiler_can_build_shared=no
15111 + lt_prog_compiler_pic='-pic'
15112 + lt_prog_compiler_static='-Bstatic'
15116 + lt_prog_compiler_can_build_shared=no
15121 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15122 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15125 +# Check to make sure the PIC flag actually works.
15127 +if test -n "$lt_prog_compiler_pic"; then
15129 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15130 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
15131 +if test "${lt_prog_compiler_pic_works+set}" = set; then
15132 + echo $ECHO_N "(cached) $ECHO_C" >&6
15134 + lt_prog_compiler_pic_works=no
15135 + ac_outfile=conftest.$ac_objext
15136 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15137 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15138 + # Insert the option either (1) after the last *FLAGS variable, or
15139 + # (2) before a word containing "conftest.", or (3) at the end.
15140 + # Note that $ac_compile itself does not contain backslashes and begins
15141 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15142 + # The option is referenced via a variable to avoid confusing sed.
15143 + lt_compile=`echo "$ac_compile" | $SED \
15144 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15145 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15146 + -e 's:$: $lt_compiler_flag:'`
15147 + (eval echo "\"\$as_me:7680: $lt_compile\"" >&5)
15148 + (eval "$lt_compile" 2>conftest.err)
15150 + cat conftest.err >&5
15151 + echo "$as_me:7684: \$? = $ac_status" >&5
15152 + if (exit $ac_status) && test -s "$ac_outfile"; then
15153 + # The compiler can only warn and ignore the option if not recognized
15154 + # So say no if there are warnings other than the usual output.
15155 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15156 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15157 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15158 + lt_prog_compiler_pic_works=yes
15164 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15165 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15167 +if test x"$lt_prog_compiler_pic_works" = xyes; then
15168 + case $lt_prog_compiler_pic in
15170 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15173 + lt_prog_compiler_pic=
15174 + lt_prog_compiler_can_build_shared=no
15179 + # For platforms which do not support PIC, -DPIC is meaningless:
15181 + lt_prog_compiler_pic=
15184 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15189 +# Check to make sure the static flag actually works.
15191 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15192 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15193 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15194 +if test "${lt_prog_compiler_static_works+set}" = set; then
15195 + echo $ECHO_N "(cached) $ECHO_C" >&6
15197 + lt_prog_compiler_static_works=no
15198 + save_LDFLAGS="$LDFLAGS"
15199 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15200 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15201 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15202 + # The linker can only warn and ignore the option if not recognized
15203 + # So say no if there are warnings
15204 + if test -s conftest.err; then
15205 + # Append any errors to the config.log.
15206 + cat conftest.err 1>&5
15207 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15208 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15209 + if diff conftest.exp conftest.er2 >/dev/null; then
15210 + lt_prog_compiler_static_works=yes
15213 + lt_prog_compiler_static_works=yes
15217 + LDFLAGS="$save_LDFLAGS"
15220 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15221 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15223 +if test x"$lt_prog_compiler_static_works" = xyes; then
15226 + lt_prog_compiler_static=
15230 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15231 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15232 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15233 + echo $ECHO_N "(cached) $ECHO_C" >&6
15235 + lt_cv_prog_compiler_c_o=no
15236 + $rm -r conftest 2>/dev/null
15240 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15242 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15243 + # Insert the option either (1) after the last *FLAGS variable, or
15244 + # (2) before a word containing "conftest.", or (3) at the end.
15245 + # Note that $ac_compile itself does not contain backslashes and begins
15246 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15247 + lt_compile=`echo "$ac_compile" | $SED \
15248 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15249 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15250 + -e 's:$: $lt_compiler_flag:'`
15251 + (eval echo "\"\$as_me:7784: $lt_compile\"" >&5)
15252 + (eval "$lt_compile" 2>out/conftest.err)
15254 + cat out/conftest.err >&5
15255 + echo "$as_me:7788: \$? = $ac_status" >&5
15256 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15258 + # The compiler can only warn and ignore the option if not recognized
15259 + # So say no if there are warnings
15260 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15261 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15262 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15263 + lt_cv_prog_compiler_c_o=yes
15268 + # SGI C++ compiler will create directory out/ii_files/ for
15269 + # template instantiation
15270 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15271 + $rm out/* && rmdir out
15277 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15278 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15281 +hard_links="nottested"
15282 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15283 + # do not overwrite the value of need_locks provided by the user
15284 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15285 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15288 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15290 + ln conftest.a conftest.b 2>&5 || hard_links=no
15291 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15292 + { echo "$as_me:$LINENO: result: $hard_links" >&5
15293 +echo "${ECHO_T}$hard_links" >&6; }
15294 + if test "$hard_links" = no; then
15295 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15296 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15303 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15304 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15307 + allow_undefined_flag=
15308 + enable_shared_with_static_runtimes=no
15310 + archive_expsym_cmds=
15311 + old_archive_From_new_cmds=
15312 + old_archive_from_expsyms_cmds=
15313 + export_dynamic_flag_spec=
15314 + whole_archive_flag_spec=
15315 + thread_safe_flag_spec=
15316 + hardcode_libdir_flag_spec=
15317 + hardcode_libdir_flag_spec_ld=
15318 + hardcode_libdir_separator=
15319 + hardcode_direct=no
15320 + hardcode_minus_L=no
15321 + hardcode_shlibpath_var=unsupported
15322 + link_all_deplibs=unknown
15323 + hardcode_automatic=no
15325 + module_expsym_cmds=
15326 + always_export_symbols=no
15327 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15328 + # include_expsyms should be a list of space-separated symbols to be *always*
15329 + # included in the symbol list
15331 + # exclude_expsyms can be an extended regexp of symbols to exclude
15332 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15333 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15334 + # as well as any symbol that contains `d'.
15335 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15336 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15337 + # platforms (ab)use it in PIC code, but their linkers get confused if
15338 + # the symbol is explicitly referenced. Since portable code cannot
15339 + # rely on this symbol name, it's probably fine to never include it in
15340 + # preloaded symbol tables.
15341 + extract_expsyms_cmds=
15342 + # Just being paranoid about ensuring that cc_basename is set.
15343 + for cc_temp in $compiler""; do
15345 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15346 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15351 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15354 + cygwin* | mingw* | pw32*)
15355 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15356 + # When not using gcc, we currently assume that we are using
15357 + # Microsoft Visual C++.
15358 + if test "$GCC" != yes; then
15363 + # we just hope/assume this is gcc and not c89 (= MSVC++)
15372 + if test "$with_gnu_ld" = yes; then
15373 + # If archive_cmds runs LD, not CC, wlarc should be empty
15376 + # Set some defaults for GNU ld with shared library support. These
15377 + # are reset later if shared libraries are not supported. Putting them
15378 + # here allows them to be overridden if necessary.
15379 + runpath_var=LD_RUN_PATH
15380 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15381 + export_dynamic_flag_spec='${wl}--export-dynamic'
15382 + # ancient GNU ld didn't support --whole-archive et. al.
15383 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15384 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15386 + whole_archive_flag_spec=
15388 + supports_anon_versioning=no
15389 + case `$LD -v 2>/dev/null` in
15390 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15391 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15392 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15393 + *\ 2.11.*) ;; # other 2.11 versions
15394 + *) supports_anon_versioning=yes ;;
15397 + # See if GNU ld supports shared libraries.
15399 + aix3* | aix4* | aix5*)
15400 + # On AIX/PPC, the GNU linker is very broken
15401 + if test "$host_cpu" != ia64; then
15405 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15406 +*** to be unable to reliably create shared libraries on AIX.
15407 +*** Therefore, libtool is disabling shared libraries support. If you
15408 +*** really care for shared libraries, you may want to modify your PATH
15409 +*** so that a non-GNU linker is found, and then restart.
15416 + 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)'
15417 + hardcode_libdir_flag_spec='-L$libdir'
15418 + hardcode_minus_L=yes
15420 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15421 + # that the semantics of dynamic libraries on AmigaOS, at least up
15422 + # to version 4, is to share data among multiple programs linked
15423 + # with the same dynamic library. Since this doesn't match the
15424 + # behavior of shared libraries on other platforms, we can't use
15430 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15431 + allow_undefined_flag=unsupported
15432 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15433 + # support --undefined. This deserves some investigation. FIXME
15434 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15440 + cygwin* | mingw* | pw32*)
15441 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15442 + # as there is no search path for DLLs.
15443 + hardcode_libdir_flag_spec='-L$libdir'
15444 + allow_undefined_flag=unsupported
15445 + always_export_symbols=no
15446 + enable_shared_with_static_runtimes=yes
15447 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15449 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15450 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15451 + # If the export-symbols file already is a .def file (1st line
15452 + # is EXPORTS), use it as is; otherwise, prepend...
15453 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15454 + cp $export_symbols $output_objdir/$soname.def;
15456 + echo EXPORTS > $output_objdir/$soname.def;
15457 + cat $export_symbols >> $output_objdir/$soname.def;
15459 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15466 + hardcode_direct=no
15467 + hardcode_shlibpath_var=no
15468 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15469 + export_dynamic_flag_spec='${wl}-E'
15470 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15471 + # Instead, shared libraries are loaded at an image base (0x10000000 by
15472 + # default) and relocated if they conflict, which is a slow very memory
15473 + # consuming and fragmenting process. To avoid this, we pick a random,
15474 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15475 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15476 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15477 + 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'
15480 + linux* | k*bsd*-gnu)
15481 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15483 + case $cc_basename,$host_cpu in
15484 + pgcc*) # Portland Group C compiler
15485 + 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'
15486 + tmp_addflag=' $pic_flag'
15488 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15489 + 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'
15490 + tmp_addflag=' $pic_flag -Mnomain' ;;
15491 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15492 + tmp_addflag=' -i_dynamic' ;;
15493 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15494 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15495 + ifc* | ifort*) # Intel Fortran compiler
15496 + tmp_addflag=' -nofor_main' ;;
15498 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15500 + if test $supports_anon_versioning = yes; then
15501 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15502 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15503 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15504 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15506 + link_all_deplibs=no
15512 + netbsd* | netbsdelf*-gnu)
15513 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15514 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15517 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15518 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15523 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15527 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15528 +*** create shared libraries on Solaris systems. Therefore, libtool
15529 +*** is disabling shared libraries support. We urge you to upgrade GNU
15530 +*** binutils to release 2.9.1 or newer. Another option is to modify
15531 +*** your PATH or compiler configuration so that the native linker is
15532 +*** used, and then restart.
15535 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15536 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15537 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15543 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15544 + case `$LD -v 2>&1` in
15545 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15547 + cat <<_LT_EOF 1>&2
15549 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15550 +*** reliably create shared libraries on SCO systems. Therefore, libtool
15551 +*** is disabling shared libraries support. We urge you to upgrade GNU
15552 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15553 +*** your PATH or compiler configuration so that the native linker is
15554 +*** used, and then restart.
15559 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15560 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15561 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15562 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15571 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15573 + hardcode_direct=yes
15574 + hardcode_shlibpath_var=no
15578 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15579 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15580 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15587 + if test "$ld_shlibs" = no; then
15589 + hardcode_libdir_flag_spec=
15590 + export_dynamic_flag_spec=
15591 + whole_archive_flag_spec=
15594 + # PORTME fill in a description of your system's linker (not GNU ld)
15597 + allow_undefined_flag=unsupported
15598 + always_export_symbols=yes
15599 + 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'
15600 + # Note: this linker hardcodes the directories in LIBPATH if there
15601 + # are no directories specified by -L.
15602 + hardcode_minus_L=yes
15603 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15604 + # Neither direct hardcoding nor static linking is supported with a
15605 + # broken collect2.
15606 + hardcode_direct=unsupported
15611 + if test "$host_cpu" = ia64; then
15612 + # On IA64, the linker does run time linking by default, so we don't
15613 + # have to do anything special.
15614 + aix_use_runtimelinking=no
15615 + exp_sym_flag='-Bexport'
15618 + # If we're using GNU nm, then we don't want the "-C" option.
15619 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15620 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15621 + 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'
15623 + 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'
15625 + aix_use_runtimelinking=no
15627 + # Test if we are trying to use run time linking or normal
15628 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15629 + # need to do runtime linking.
15630 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15631 + for ld_flag in $LDFLAGS; do
15632 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15633 + aix_use_runtimelinking=yes
15640 + exp_sym_flag='-bexport'
15641 + no_entry_flag='-bnoentry'
15644 + # When large executables or shared objects are built, AIX ld can
15645 + # have problems creating the table of contents. If linking a library
15646 + # or program results in "error TOC overflow" add -mminimal-toc to
15647 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15648 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15651 + hardcode_direct=yes
15652 + hardcode_libdir_separator=':'
15653 + link_all_deplibs=yes
15655 + if test "$GCC" = yes; then
15656 + case $host_os in aix4.[012]|aix4.[012].*)
15657 + # We only want to do this on AIX 4.2 and lower, the check
15658 + # below for broken collect2 doesn't work under 4.3+
15659 + collect2name=`${CC} -print-prog-name=collect2`
15660 + if test -f "$collect2name" && \
15661 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15663 + # We have reworked collect2
15664 + hardcode_direct=yes
15666 + # We have old collect2
15667 + hardcode_direct=unsupported
15668 + # It fails to find uninstalled libraries when the uninstalled
15669 + # path is not listed in the libpath. Setting hardcode_minus_L
15670 + # to unsupported forces relinking
15671 + hardcode_minus_L=yes
15672 + hardcode_libdir_flag_spec='-L$libdir'
15673 + hardcode_libdir_separator=
15677 + shared_flag='-shared'
15678 + if test "$aix_use_runtimelinking" = yes; then
15679 + shared_flag="$shared_flag "'${wl}-G'
15683 + if test "$host_cpu" = ia64; then
15684 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15685 + # chokes on -Wl,-G. The following line is correct:
15688 + if test "$aix_use_runtimelinking" = yes; then
15689 + shared_flag='${wl}-G'
15691 + shared_flag='${wl}-bM:SRE'
15696 + # It seems that -bexpall does not export symbols beginning with
15697 + # underscore (_), so it is better to generate a list of symbols to export.
15698 + always_export_symbols=yes
15699 + if test "$aix_use_runtimelinking" = yes; then
15700 + # Warning - without using the other runtime loading flags (-brtl),
15701 + # -berok will link without error, but may produce a broken library.
15702 + allow_undefined_flag='-berok'
15703 + # Determine the default libpath from the value encoded in an empty executable.
15704 + cat >conftest.$ac_ext <<_ACEOF
15707 +cat confdefs.h >>conftest.$ac_ext
15708 +cat >>conftest.$ac_ext <<_ACEOF
15709 +/* end confdefs.h. */
15719 +rm -f conftest.$ac_objext conftest$ac_exeext
15720 +if { (ac_try="$ac_link"
15721 +case "(($ac_try" in
15722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15723 + *) ac_try_echo=$ac_try;;
15725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15726 + (eval "$ac_link") 2>conftest.er1
15728 + grep -v '^ *+' conftest.er1 >conftest.err
15729 + rm -f conftest.er1
15730 + cat conftest.err >&5
15731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 + (exit $ac_status); } && {
15733 + test -z "$ac_c_werror_flag" ||
15734 + test ! -s conftest.err
15735 + } && test -s conftest$ac_exeext &&
15736 + $as_test_x conftest$ac_exeext; then
15738 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15740 +# Check for a 64-bit object if we didn't find anything.
15741 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15744 + echo "$as_me: failed program was:" >&5
15745 +sed 's/^/| /' conftest.$ac_ext >&5
15750 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15751 + conftest$ac_exeext conftest.$ac_ext
15752 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15754 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15755 + 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15757 + if test "$host_cpu" = ia64; then
15758 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15759 + allow_undefined_flag="-z nodefs"
15760 + 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"
15762 + # Determine the default libpath from the value encoded in an empty executable.
15763 + cat >conftest.$ac_ext <<_ACEOF
15766 +cat confdefs.h >>conftest.$ac_ext
15767 +cat >>conftest.$ac_ext <<_ACEOF
15768 +/* end confdefs.h. */
15778 +rm -f conftest.$ac_objext conftest$ac_exeext
15779 +if { (ac_try="$ac_link"
15780 +case "(($ac_try" in
15781 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 + *) ac_try_echo=$ac_try;;
15784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 + (eval "$ac_link") 2>conftest.er1
15787 + grep -v '^ *+' conftest.er1 >conftest.err
15788 + rm -f conftest.er1
15789 + cat conftest.err >&5
15790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 + (exit $ac_status); } && {
15792 + test -z "$ac_c_werror_flag" ||
15793 + test ! -s conftest.err
15794 + } && test -s conftest$ac_exeext &&
15795 + $as_test_x conftest$ac_exeext; then
15797 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15799 +# Check for a 64-bit object if we didn't find anything.
15800 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15803 + echo "$as_me: failed program was:" >&5
15804 +sed 's/^/| /' conftest.$ac_ext >&5
15809 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15810 + conftest$ac_exeext conftest.$ac_ext
15811 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15813 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15814 + # Warning - without using the other run time loading flags,
15815 + # -berok will link without error, but may produce a broken library.
15816 + no_undefined_flag=' ${wl}-bernotok'
15817 + allow_undefined_flag=' ${wl}-berok'
15818 + # Exported symbols can be pulled into shared objects from archives
15819 + whole_archive_flag_spec='$convenience'
15820 + archive_cmds_need_lc=yes
15821 + # This is similar to how AIX traditionally builds its shared libraries.
15822 + 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'
15828 + 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)'
15829 + hardcode_libdir_flag_spec='-L$libdir'
15830 + hardcode_minus_L=yes
15831 + # see comment about different semantics on the GNU ld section
15836 + export_dynamic_flag_spec=-rdynamic
15839 + cygwin* | mingw* | pw32*)
15840 + # When not using gcc, we currently assume that we are using
15841 + # Microsoft Visual C++.
15842 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15843 + # no search path for DLLs.
15844 + hardcode_libdir_flag_spec=' '
15845 + allow_undefined_flag=unsupported
15846 + # Tell ltmain to make .lib files, not .a files.
15848 + # Tell ltmain to make .dll files, not .so files.
15849 + shrext_cmds=".dll"
15850 + # FIXME: Setting linknames here is a bad hack.
15851 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15852 + # The linker will automatically build a .lib file if we build a DLL.
15853 + old_archive_From_new_cmds='true'
15854 + # FIXME: Should let the user specify the lib program.
15855 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15856 + fix_srcfile_path='`cygpath -w "$srcfile"`'
15857 + enable_shared_with_static_runtimes=yes
15860 + darwin* | rhapsody*)
15862 + rhapsody* | darwin1.[012])
15863 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
15865 + *) # Darwin 1.3 on
15866 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15867 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15869 + case ${MACOSX_DEPLOYMENT_TARGET} in
15871 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15874 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15880 + archive_cmds_need_lc=no
15881 + hardcode_direct=no
15882 + hardcode_automatic=yes
15883 + hardcode_shlibpath_var=unsupported
15884 + whole_archive_flag_spec=''
15885 + link_all_deplibs=yes
15886 + if test "$GCC" = yes ; then
15887 + output_verbose_link_cmd='echo'
15888 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15889 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15890 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15891 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15892 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15894 + case $cc_basename in
15896 + output_verbose_link_cmd='echo'
15897 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15898 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15899 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15900 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15901 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15911 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15912 + hardcode_libdir_flag_spec='-L$libdir'
15913 + hardcode_shlibpath_var=no
15920 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15921 + # support. Future versions do this automatically, but an explicit c++rt0.o
15922 + # does not break anything, and helps significantly (at the cost of a little
15925 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15926 + hardcode_libdir_flag_spec='-R$libdir'
15927 + hardcode_direct=yes
15928 + hardcode_shlibpath_var=no
15931 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15933 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15934 + hardcode_direct=yes
15935 + hardcode_minus_L=yes
15936 + hardcode_shlibpath_var=no
15939 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15940 + freebsd* | dragonfly*)
15941 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15942 + hardcode_libdir_flag_spec='-R$libdir'
15943 + hardcode_direct=yes
15944 + hardcode_shlibpath_var=no
15948 + if test "$GCC" = yes; then
15949 + 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'
15951 + 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'
15953 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15954 + hardcode_libdir_separator=:
15955 + hardcode_direct=yes
15957 + # hardcode_minus_L: Not really in the search PATH,
15958 + # but as the default location of the library.
15959 + hardcode_minus_L=yes
15960 + export_dynamic_flag_spec='${wl}-E'
15964 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15965 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15967 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15969 + if test "$with_gnu_ld" = no; then
15970 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15971 + hardcode_libdir_separator=:
15973 + hardcode_direct=yes
15974 + export_dynamic_flag_spec='${wl}-E'
15976 + # hardcode_minus_L: Not really in the search PATH,
15977 + # but as the default location of the library.
15978 + hardcode_minus_L=yes
15983 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15984 + case $host_cpu in
15986 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15989 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15992 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15996 + case $host_cpu in
15998 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16001 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16004 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16008 + if test "$with_gnu_ld" = no; then
16009 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16010 + hardcode_libdir_separator=:
16012 + case $host_cpu in
16014 + hardcode_libdir_flag_spec_ld='+b $libdir'
16015 + hardcode_direct=no
16016 + hardcode_shlibpath_var=no
16019 + hardcode_direct=yes
16020 + export_dynamic_flag_spec='${wl}-E'
16022 + # hardcode_minus_L: Not really in the search PATH,
16023 + # but as the default location of the library.
16024 + hardcode_minus_L=yes
16030 + irix5* | irix6* | nonstopux*)
16031 + if test "$GCC" = yes; then
16032 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16034 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16035 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
16037 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16038 + hardcode_libdir_separator=:
16039 + link_all_deplibs=yes
16042 + netbsd* | netbsdelf*-gnu)
16043 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16044 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16046 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16048 + hardcode_libdir_flag_spec='-R$libdir'
16049 + hardcode_direct=yes
16050 + hardcode_shlibpath_var=no
16054 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16055 + hardcode_direct=yes
16056 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16057 + hardcode_libdir_separator=:
16058 + hardcode_shlibpath_var=no
16062 + hardcode_direct=yes
16063 + hardcode_shlibpath_var=no
16064 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16065 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16066 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16067 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16068 + export_dynamic_flag_spec='${wl}-E'
16071 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16072 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16073 + hardcode_libdir_flag_spec='-R$libdir'
16076 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16077 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16084 + hardcode_libdir_flag_spec='-L$libdir'
16085 + hardcode_minus_L=yes
16086 + allow_undefined_flag=unsupported
16087 + 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'
16088 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16092 + if test "$GCC" = yes; then
16093 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16094 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16096 + allow_undefined_flag=' -expect_unresolved \*'
16097 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16099 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16100 + hardcode_libdir_separator=:
16103 + osf4* | osf5*) # as osf3* with the addition of -msym flag
16104 + if test "$GCC" = yes; then
16105 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16106 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16107 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16109 + allow_undefined_flag=' -expect_unresolved \*'
16110 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16111 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16112 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16114 + # Both c and cxx compiler support -rpath directly
16115 + hardcode_libdir_flag_spec='-rpath $libdir'
16117 + hardcode_libdir_separator=:
16121 + no_undefined_flag=' -z text'
16122 + if test "$GCC" = yes; then
16124 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16125 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16126 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16129 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16130 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16131 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16133 + hardcode_libdir_flag_spec='-R$libdir'
16134 + hardcode_shlibpath_var=no
16136 + solaris2.[0-5] | solaris2.[0-5].*) ;;
16138 + # The compiler driver will combine linker options so we
16139 + # cannot just pass the convience library names through
16140 + # without $wl, iff we do not link with $LD.
16141 + # Luckily, gcc supports the same syntax we need for Sun Studio.
16142 + # Supported since Solaris 2.6 (maybe 2.5.1?)
16145 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
16147 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16150 + link_all_deplibs=yes
16154 + if test "x$host_vendor" = xsequent; then
16155 + # Use $CC to link under sequent, because it throws in some extra .o
16156 + # files that make .init and .fini sections work.
16157 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16159 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16161 + hardcode_libdir_flag_spec='-L$libdir'
16162 + hardcode_direct=yes
16163 + hardcode_minus_L=yes
16164 + hardcode_shlibpath_var=no
16168 + case $host_vendor in
16170 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16171 + hardcode_direct=yes # is this really true???
16174 + ## LD is ld it makes a PLAMLIB
16175 + ## CC just makes a GrossModule.
16176 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16177 + reload_cmds='$CC -r -o $output$reload_objs'
16178 + hardcode_direct=no
16181 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16182 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16185 + runpath_var='LD_RUN_PATH'
16186 + hardcode_shlibpath_var=no
16190 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16191 + hardcode_shlibpath_var=no
16192 + export_dynamic_flag_spec='-Bexport'
16196 + if test -d /usr/nec; then
16197 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16198 + hardcode_shlibpath_var=no
16199 + runpath_var=LD_RUN_PATH
16200 + hardcode_runpath_var=yes
16205 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16206 + no_undefined_flag='${wl}-z,text'
16207 + archive_cmds_need_lc=no
16208 + hardcode_shlibpath_var=no
16209 + runpath_var='LD_RUN_PATH'
16211 + if test "$GCC" = yes; then
16212 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16213 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16216 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16220 + sysv5* | sco3.2v5* | sco5v6*)
16221 + # Note: We can NOT use -z defs as we might desire, because we do not
16222 + # link with -lc, and that would cause any symbols used from libc to
16223 + # always be unresolved, which means just about no library would
16224 + # ever link correctly. If we're not using GNU ld we use -z text
16225 + # though, which does catch some bad symbols but isn't as heavy-handed
16227 + no_undefined_flag='${wl}-z,text'
16228 + allow_undefined_flag='${wl}-z,nodefs'
16229 + archive_cmds_need_lc=no
16230 + hardcode_shlibpath_var=no
16231 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16232 + hardcode_libdir_separator=':'
16233 + link_all_deplibs=yes
16234 + export_dynamic_flag_spec='${wl}-Bexport'
16235 + runpath_var='LD_RUN_PATH'
16237 + if test "$GCC" = yes; then
16238 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16239 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16241 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16247 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16248 + hardcode_libdir_flag_spec='-L$libdir'
16249 + hardcode_shlibpath_var=no
16258 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16259 +echo "${ECHO_T}$ld_shlibs" >&6; }
16260 +test "$ld_shlibs" = no && can_build_shared=no
16263 +# Do we need to explicitly link libc?
16265 +case "x$archive_cmds_need_lc" in
16267 + # Assume -lc should be added
16268 + archive_cmds_need_lc=yes
16270 + if test "$enable_shared" = yes && test "$GCC" = yes; then
16271 + case $archive_cmds in
16273 + # FIXME: we may have to deal with multi-command sequences.
16276 + # Test whether the compiler implicitly links with -lc since on some
16277 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16278 + # to ld, don't add -lc before -lgcc.
16279 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16280 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16282 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16284 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 + (eval $ac_compile) 2>&5
16287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 + (exit $ac_status); } 2>conftest.err; then
16291 + libobjs=conftest.$ac_objext
16293 + wl=$lt_prog_compiler_wl
16294 + pic_flag=$lt_prog_compiler_pic
16295 + compiler_flags=-v
16300 + lt_save_allow_undefined_flag=$allow_undefined_flag
16301 + allow_undefined_flag=
16302 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16303 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 + (exit $ac_status); }
16308 + archive_cmds_need_lc=no
16310 + archive_cmds_need_lc=yes
16312 + allow_undefined_flag=$lt_save_allow_undefined_flag
16314 + cat conftest.err 1>&5
16317 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16318 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16325 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16326 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16327 +library_names_spec=
16328 +libname_spec='lib$name'
16332 +postuninstall_cmds=
16336 +shlibpath_overrides_runpath=unknown
16338 +dynamic_linker="$host_os ld.so"
16339 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
16340 +if test "$GCC" = yes; then
16341 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16342 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16343 + # if the path contains ";" then we assume it to be the separator
16344 + # otherwise default to the standard path separator (i.e. ":") - it is
16345 + # assumed that no part of a normal pathname contains ";" but that should
16346 + # okay in the real world where ";" in dirpaths is itself problematic.
16347 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16349 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16352 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16354 +need_lib_prefix=unknown
16355 +hardcode_into_libs=no
16357 +# when you set need_version to no, make sure it does not cause -set_version
16358 +# flags to be left without arguments
16359 +need_version=unknown
16363 + version_type=linux
16364 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16365 + shlibpath_var=LIBPATH
16367 + # AIX 3 has no versioning support, so we append a major version to the name.
16368 + soname_spec='${libname}${release}${shared_ext}$major'
16372 + version_type=linux
16373 + need_lib_prefix=no
16375 + hardcode_into_libs=yes
16376 + if test "$host_cpu" = ia64; then
16377 + # AIX 5 supports IA64
16378 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16379 + shlibpath_var=LD_LIBRARY_PATH
16381 + # With GCC up to 2.95.x, collect2 would create an import file
16382 + # for dependence libraries. The import file would start with
16383 + # the line `#! .'. This would cause the generated library to
16384 + # depend on `.', always an invalid library. This was fixed in
16385 + # development snapshots of GCC prior to 3.0.
16387 + aix4 | aix4.[01] | aix4.[01].*)
16388 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16390 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16393 + can_build_shared=no
16397 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16398 + # soname into executable. Probably we can add versioning support to
16399 + # collect2, so additional links can be useful in future.
16400 + if test "$aix_use_runtimelinking" = yes; then
16401 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16402 + # instead of lib<name>.a to let people know that these are not
16403 + # typical AIX shared libraries.
16404 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16406 + # We preserve .a as extension for shared libraries through AIX4.2
16407 + # and later when we are not doing run time linking.
16408 + library_names_spec='${libname}${release}.a $libname.a'
16409 + soname_spec='${libname}${release}${shared_ext}$major'
16411 + shlibpath_var=LIBPATH
16416 + library_names_spec='$libname.ixlibrary $libname.a'
16417 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
16418 + 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'
16422 + library_names_spec='${libname}${shared_ext}'
16423 + dynamic_linker="$host_os ld.so"
16424 + shlibpath_var=LIBRARY_PATH
16428 + version_type=linux
16430 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16431 + soname_spec='${libname}${release}${shared_ext}$major'
16432 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16433 + shlibpath_var=LD_LIBRARY_PATH
16434 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16435 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16436 + # the default ld.so.conf also contains /usr/contrib/lib and
16437 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16438 + # libtool to hard-code these into programs
16441 +cygwin* | mingw* | pw32*)
16442 + version_type=windows
16443 + shrext_cmds=".dll"
16445 + need_lib_prefix=no
16447 + case $GCC,$host_os in
16448 + yes,cygwin* | yes,mingw* | yes,pw32*)
16449 + library_names_spec='$libname.dll.a'
16450 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
16451 + postinstall_cmds='base_file=`basename \${file}`~
16452 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16453 + dldir=$destdir/`dirname \$dlpath`~
16454 + test -d \$dldir || mkdir -p \$dldir~
16455 + $install_prog $dir/$dlname \$dldir/$dlname~
16456 + chmod a+x \$dldir/$dlname'
16457 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16458 + dlpath=$dir/\$dldll~
16460 + shlibpath_overrides_runpath=yes
16464 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16465 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16466 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16469 + # MinGW DLLs use traditional 'lib' prefix
16470 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16471 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16472 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16473 + # It is most probably a Windows format PATH printed by
16474 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
16475 + # path with ; separators, and with drive letters. We can handle the
16476 + # drive letters (cygwin fileutils understands them), so leave them,
16477 + # especially as we might pass files found there to a mingw objdump,
16478 + # which wouldn't understand a cygwinified path. Ahh.
16479 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16481 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16485 + # pw32 DLLs use 'pw' prefix rather than 'lib'
16486 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16492 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16495 + dynamic_linker='Win32 ld.exe'
16496 + # FIXME: first we should search . and the directory the executable is in
16497 + shlibpath_var=PATH
16500 +darwin* | rhapsody*)
16501 + dynamic_linker="$host_os dyld"
16502 + version_type=darwin
16503 + need_lib_prefix=no
16505 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16506 + soname_spec='${libname}${release}${major}$shared_ext'
16507 + shlibpath_overrides_runpath=yes
16508 + shlibpath_var=DYLD_LIBRARY_PATH
16509 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16510 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16511 + if test "$GCC" = yes; then
16512 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16514 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16516 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16520 + version_type=linux
16521 + need_lib_prefix=no
16523 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16524 + soname_spec='${libname}${release}${shared_ext}$major'
16525 + shlibpath_var=LD_LIBRARY_PATH
16529 + dynamic_linker=no
16532 +freebsd* | dragonfly*)
16533 + # DragonFly does not have aout. When/if they implement a new
16534 + # versioning mechanism, adjust this.
16535 + if test -x /usr/bin/objformat; then
16536 + objformat=`/usr/bin/objformat`
16539 + freebsd[123]*) objformat=aout ;;
16540 + *) objformat=elf ;;
16543 + version_type=freebsd-$objformat
16544 + case $version_type in
16546 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16548 + need_lib_prefix=no
16551 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16555 + shlibpath_var=LD_LIBRARY_PATH
16558 + shlibpath_overrides_runpath=yes
16560 + freebsd3.[01]* | freebsdelf3.[01]*)
16561 + shlibpath_overrides_runpath=yes
16562 + hardcode_into_libs=yes
16564 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16565 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16566 + shlibpath_overrides_runpath=no
16567 + hardcode_into_libs=yes
16569 + freebsd*) # from 4.6 on
16570 + shlibpath_overrides_runpath=yes
16571 + hardcode_into_libs=yes
16577 + version_type=linux
16578 + need_lib_prefix=no
16580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16581 + soname_spec='${libname}${release}${shared_ext}$major'
16582 + shlibpath_var=LD_LIBRARY_PATH
16583 + hardcode_into_libs=yes
16586 +hpux9* | hpux10* | hpux11*)
16587 + # Give a soname corresponding to the major version so that dld.sl refuses to
16588 + # link against other versions.
16589 + version_type=sunos
16590 + need_lib_prefix=no
16592 + case $host_cpu in
16594 + shrext_cmds='.so'
16595 + hardcode_into_libs=yes
16596 + dynamic_linker="$host_os dld.so"
16597 + shlibpath_var=LD_LIBRARY_PATH
16598 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16599 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16600 + soname_spec='${libname}${release}${shared_ext}$major'
16601 + if test "X$HPUX_IA64_MODE" = X32; then
16602 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16604 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16606 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16609 + shrext_cmds='.sl'
16610 + hardcode_into_libs=yes
16611 + dynamic_linker="$host_os dld.sl"
16612 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16613 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16614 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16615 + soname_spec='${libname}${release}${shared_ext}$major'
16616 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16617 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16620 + shrext_cmds='.sl'
16621 + dynamic_linker="$host_os dld.sl"
16622 + shlibpath_var=SHLIB_PATH
16623 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16624 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16625 + soname_spec='${libname}${release}${shared_ext}$major'
16628 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
16629 + postinstall_cmds='chmod 555 $lib'
16633 + version_type=linux
16634 + need_lib_prefix=no
16636 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16637 + soname_spec='${libname}${release}${shared_ext}$major'
16638 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16639 + shlibpath_var=LD_LIBRARY_PATH
16640 + shlibpath_overrides_runpath=no
16641 + hardcode_into_libs=yes
16644 +irix5* | irix6* | nonstopux*)
16646 + nonstopux*) version_type=nonstopux ;;
16648 + if test "$lt_cv_prog_gnu_ld" = yes; then
16649 + version_type=linux
16651 + version_type=irix
16654 + need_lib_prefix=no
16656 + soname_spec='${libname}${release}${shared_ext}$major'
16657 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16659 + irix5* | nonstopux*)
16660 + libsuff= shlibsuff=
16663 + case $LD in # libtool.m4 will add one of these switches to LD
16664 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16665 + libsuff= shlibsuff= libmagic=32-bit;;
16666 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16667 + libsuff=32 shlibsuff=N32 libmagic=N32;;
16668 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16669 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
16670 + *) libsuff= shlibsuff= libmagic=never-match;;
16674 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16675 + shlibpath_overrides_runpath=no
16676 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16677 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16678 + hardcode_into_libs=yes
16681 +# No shared lib support for Linux oldld, aout, or coff.
16682 +linux*oldld* | linux*aout* | linux*coff*)
16683 + dynamic_linker=no
16686 +# This must be Linux ELF.
16687 +linux* | k*bsd*-gnu)
16688 + version_type=linux
16689 + need_lib_prefix=no
16691 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16692 + soname_spec='${libname}${release}${shared_ext}$major'
16693 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16694 + shlibpath_var=LD_LIBRARY_PATH
16695 + shlibpath_overrides_runpath=no
16696 + # This implies no fast_install, which is unacceptable.
16697 + # Some rework will be needed to allow for fast_install
16698 + # before this can be enabled.
16699 + hardcode_into_libs=yes
16701 + # Append ld.so.conf contents to the search path
16702 + if test -f /etc/ld.so.conf; then
16703 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16704 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16707 + # We used to test for /lib/ld.so.1 and disable shared libraries on
16708 + # powerpc, because MkLinux only supported shared libraries with the
16709 + # GNU dynamic linker. Since this was broken with cross compilers,
16710 + # most powerpc-linux boxes support dynamic linking these days and
16711 + # people can always --disable-shared, the test was removed, and we
16712 + # assume the GNU/Linux dynamic linker is in use.
16713 + dynamic_linker='GNU/Linux ld.so'
16717 + version_type=linux
16718 + need_lib_prefix=no
16720 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16721 + soname_spec='${libname}${release}${shared_ext}$major'
16722 + shlibpath_var=LD_LIBRARY_PATH
16723 + shlibpath_overrides_runpath=no
16724 + hardcode_into_libs=yes
16725 + dynamic_linker='NetBSD ld.elf_so'
16729 + version_type=sunos
16730 + need_lib_prefix=no
16732 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16733 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16734 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16735 + dynamic_linker='NetBSD (a.out) ld.so'
16737 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16738 + soname_spec='${libname}${release}${shared_ext}$major'
16739 + dynamic_linker='NetBSD ld.elf_so'
16741 + shlibpath_var=LD_LIBRARY_PATH
16742 + shlibpath_overrides_runpath=yes
16743 + hardcode_into_libs=yes
16747 + version_type=linux
16748 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16749 + shlibpath_var=LD_LIBRARY_PATH
16750 + shlibpath_overrides_runpath=yes
16754 + version_type=linux
16755 + need_lib_prefix=no
16757 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16758 + soname_spec='${libname}${release}${shared_ext}$major'
16759 + shlibpath_var=LD_LIBRARY_PATH
16760 + shlibpath_overrides_runpath=yes
16764 + version_type=sunos
16765 + sys_lib_dlsearch_path_spec="/usr/lib"
16766 + need_lib_prefix=no
16767 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16769 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16770 + *) need_version=no ;;
16772 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16773 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16774 + shlibpath_var=LD_LIBRARY_PATH
16775 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16777 + openbsd2.[89] | openbsd2.[89].*)
16778 + shlibpath_overrides_runpath=no
16781 + shlibpath_overrides_runpath=yes
16785 + shlibpath_overrides_runpath=yes
16790 + libname_spec='$name'
16791 + shrext_cmds=".dll"
16792 + need_lib_prefix=no
16793 + library_names_spec='$libname${shared_ext} $libname.a'
16794 + dynamic_linker='OS/2 ld.exe'
16795 + shlibpath_var=LIBPATH
16798 +osf3* | osf4* | osf5*)
16800 + need_lib_prefix=no
16802 + soname_spec='${libname}${release}${shared_ext}$major'
16803 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16804 + shlibpath_var=LD_LIBRARY_PATH
16805 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16806 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16810 + version_type=linux
16811 + need_lib_prefix=no
16813 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16814 + soname_spec='${libname}${release}${shared_ext}$major'
16815 + shlibpath_var=LD_LIBRARY_PATH
16816 + shlibpath_overrides_runpath=yes
16817 + hardcode_into_libs=yes
16818 + # ldd complains unless libraries are executable
16819 + postinstall_cmds='chmod +x $lib'
16823 + version_type=sunos
16824 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16825 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16826 + shlibpath_var=LD_LIBRARY_PATH
16827 + shlibpath_overrides_runpath=yes
16828 + if test "$with_gnu_ld" = yes; then
16829 + need_lib_prefix=no
16835 + version_type=linux
16836 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16837 + soname_spec='${libname}${release}${shared_ext}$major'
16838 + shlibpath_var=LD_LIBRARY_PATH
16839 + case $host_vendor in
16841 + shlibpath_overrides_runpath=no
16842 + need_lib_prefix=no
16843 + export_dynamic_flag_spec='${wl}-Blargedynsym'
16844 + runpath_var=LD_RUN_PATH
16847 + need_lib_prefix=no
16850 + need_lib_prefix=no
16852 + shlibpath_overrides_runpath=no
16853 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16859 + if test -d /usr/nec ;then
16860 + version_type=linux
16861 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16862 + soname_spec='$libname${shared_ext}.$major'
16863 + shlibpath_var=LD_LIBRARY_PATH
16867 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16868 + version_type=freebsd-elf
16869 + need_lib_prefix=no
16871 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16872 + soname_spec='${libname}${release}${shared_ext}$major'
16873 + shlibpath_var=LD_LIBRARY_PATH
16874 + hardcode_into_libs=yes
16875 + if test "$with_gnu_ld" = yes; then
16876 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16877 + shlibpath_overrides_runpath=no
16879 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16880 + shlibpath_overrides_runpath=yes
16883 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16887 + sys_lib_dlsearch_path_spec='/usr/lib'
16891 + version_type=linux
16892 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16893 + soname_spec='${libname}${release}${shared_ext}$major'
16894 + shlibpath_var=LD_LIBRARY_PATH
16898 + dynamic_linker=no
16901 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16902 +echo "${ECHO_T}$dynamic_linker" >&6; }
16903 +test "$dynamic_linker" = no && can_build_shared=no
16905 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16906 +if test "$GCC" = yes; then
16907 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16910 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16911 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16913 +if test -n "$hardcode_libdir_flag_spec" || \
16914 + test -n "$runpath_var" || \
16915 + test "X$hardcode_automatic" = "Xyes" ; then
16917 + # We can hardcode non-existant directories.
16918 + if test "$hardcode_direct" != no &&
16919 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
16920 + # have to relink, otherwise we might link with an installed library
16921 + # when we should be linking with a yet-to-be-installed one
16922 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16923 + test "$hardcode_minus_L" != no; then
16924 + # Linking always hardcodes the temporary library directory.
16925 + hardcode_action=relink
16927 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
16928 + hardcode_action=immediate
16931 + # We cannot hardcode anything, or else we can only hardcode existing
16933 + hardcode_action=unsupported
16935 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
16936 +echo "${ECHO_T}$hardcode_action" >&6; }
16938 +if test "$hardcode_action" = relink; then
16939 + # Fast installation is not supported
16940 + enable_fast_install=no
16941 +elif test "$shlibpath_overrides_runpath" = yes ||
16942 + test "$enable_shared" = no; then
16943 + # Fast installation is not necessary
16944 + enable_fast_install=needless
16949 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16950 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16951 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16952 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16953 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16954 + { echo "$as_me:$LINENO: result: yes" >&5
16955 +echo "${ECHO_T}yes" >&6; }
16957 +# FIXME - insert some real tests, host_os isn't really good enough
16960 + if test -n "$STRIP" ; then
16961 + striplib="$STRIP -x"
16962 + { echo "$as_me:$LINENO: result: yes" >&5
16963 +echo "${ECHO_T}yes" >&6; }
16965 + { echo "$as_me:$LINENO: result: no" >&5
16966 +echo "${ECHO_T}no" >&6; }
16970 + { echo "$as_me:$LINENO: result: no" >&5
16971 +echo "${ECHO_T}no" >&6; }
16976 +if test "x$enable_dlopen" != xyes; then
16977 + enable_dlopen=unknown
16978 + enable_dlopen_self=unknown
16979 + enable_dlopen_self_static=unknown
16982 + lt_cv_dlopen_libs=
16986 + lt_cv_dlopen="load_add_on"
16987 + lt_cv_dlopen_libs=
16988 + lt_cv_dlopen_self=yes
16992 + lt_cv_dlopen="LoadLibrary"
16993 + lt_cv_dlopen_libs=
16997 + lt_cv_dlopen="dlopen"
16998 + lt_cv_dlopen_libs=
17002 + # if libdl is installed we need to link against it
17003 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17004 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17005 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17006 + echo $ECHO_N "(cached) $ECHO_C" >&6
17008 + ac_check_lib_save_LIBS=$LIBS
17010 +cat >conftest.$ac_ext <<_ACEOF
17013 +cat confdefs.h >>conftest.$ac_ext
17014 +cat >>conftest.$ac_ext <<_ACEOF
17015 +/* end confdefs.h. */
17017 +/* Override any GCC internal prototype to avoid an error.
17018 + Use char because int might match the return type of a GCC
17019 + builtin and then its argument prototype would still apply. */
17020 +#ifdef __cplusplus
17032 +rm -f conftest.$ac_objext conftest$ac_exeext
17033 +if { (ac_try="$ac_link"
17034 +case "(($ac_try" in
17035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17036 + *) ac_try_echo=$ac_try;;
17038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17039 + (eval "$ac_link") 2>conftest.er1
17041 + grep -v '^ *+' conftest.er1 >conftest.err
17042 + rm -f conftest.er1
17043 + cat conftest.err >&5
17044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 + (exit $ac_status); } && {
17046 + test -z "$ac_c_werror_flag" ||
17047 + test ! -s conftest.err
17048 + } && test -s conftest$ac_exeext &&
17049 + $as_test_x conftest$ac_exeext; then
17050 + ac_cv_lib_dl_dlopen=yes
17052 + echo "$as_me: failed program was:" >&5
17053 +sed 's/^/| /' conftest.$ac_ext >&5
17055 + ac_cv_lib_dl_dlopen=no
17058 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17059 + conftest$ac_exeext conftest.$ac_ext
17060 +LIBS=$ac_check_lib_save_LIBS
17062 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17063 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17064 +if test $ac_cv_lib_dl_dlopen = yes; then
17065 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17068 + lt_cv_dlopen="dyld"
17069 + lt_cv_dlopen_libs=
17070 + lt_cv_dlopen_self=yes
17077 + { echo "$as_me:$LINENO: checking for shl_load" >&5
17078 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17079 +if test "${ac_cv_func_shl_load+set}" = set; then
17080 + echo $ECHO_N "(cached) $ECHO_C" >&6
17082 + cat >conftest.$ac_ext <<_ACEOF
17085 +cat confdefs.h >>conftest.$ac_ext
17086 +cat >>conftest.$ac_ext <<_ACEOF
17087 +/* end confdefs.h. */
17088 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17089 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17090 +#define shl_load innocuous_shl_load
17092 +/* System header to define __stub macros and hopefully few prototypes,
17093 + which can conflict with char shl_load (); below.
17094 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17095 + <limits.h> exists even on freestanding compilers. */
17098 +# include <limits.h>
17100 +# include <assert.h>
17105 +/* Override any GCC internal prototype to avoid an error.
17106 + Use char because int might match the return type of a GCC
17107 + builtin and then its argument prototype would still apply. */
17108 +#ifdef __cplusplus
17112 +/* The GNU C library defines this for functions which it implements
17113 + to always fail with ENOSYS. Some functions are actually named
17114 + something starting with __ and the normal name is an alias. */
17115 +#if defined __stub_shl_load || defined __stub___shl_load
17122 +return shl_load ();
17127 +rm -f conftest.$ac_objext conftest$ac_exeext
17128 +if { (ac_try="$ac_link"
17129 +case "(($ac_try" in
17130 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17131 + *) ac_try_echo=$ac_try;;
17133 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17134 + (eval "$ac_link") 2>conftest.er1
17136 + grep -v '^ *+' conftest.er1 >conftest.err
17137 + rm -f conftest.er1
17138 + cat conftest.err >&5
17139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 + (exit $ac_status); } && {
17141 + test -z "$ac_c_werror_flag" ||
17142 + test ! -s conftest.err
17143 + } && test -s conftest$ac_exeext &&
17144 + $as_test_x conftest$ac_exeext; then
17145 + ac_cv_func_shl_load=yes
17147 + echo "$as_me: failed program was:" >&5
17148 +sed 's/^/| /' conftest.$ac_ext >&5
17150 + ac_cv_func_shl_load=no
17153 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17154 + conftest$ac_exeext conftest.$ac_ext
17156 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17157 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17158 +if test $ac_cv_func_shl_load = yes; then
17159 + lt_cv_dlopen="shl_load"
17161 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17162 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17163 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17164 + echo $ECHO_N "(cached) $ECHO_C" >&6
17166 + ac_check_lib_save_LIBS=$LIBS
17167 +LIBS="-ldld $LIBS"
17168 +cat >conftest.$ac_ext <<_ACEOF
17171 +cat confdefs.h >>conftest.$ac_ext
17172 +cat >>conftest.$ac_ext <<_ACEOF
17173 +/* end confdefs.h. */
17175 +/* Override any GCC internal prototype to avoid an error.
17176 + Use char because int might match the return type of a GCC
17177 + builtin and then its argument prototype would still apply. */
17178 +#ifdef __cplusplus
17185 +return shl_load ();
17190 +rm -f conftest.$ac_objext conftest$ac_exeext
17191 +if { (ac_try="$ac_link"
17192 +case "(($ac_try" in
17193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17194 + *) ac_try_echo=$ac_try;;
17196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 + (eval "$ac_link") 2>conftest.er1
17199 + grep -v '^ *+' conftest.er1 >conftest.err
17200 + rm -f conftest.er1
17201 + cat conftest.err >&5
17202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 + (exit $ac_status); } && {
17204 + test -z "$ac_c_werror_flag" ||
17205 + test ! -s conftest.err
17206 + } && test -s conftest$ac_exeext &&
17207 + $as_test_x conftest$ac_exeext; then
17208 + ac_cv_lib_dld_shl_load=yes
17210 + echo "$as_me: failed program was:" >&5
17211 +sed 's/^/| /' conftest.$ac_ext >&5
17213 + ac_cv_lib_dld_shl_load=no
17216 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17217 + conftest$ac_exeext conftest.$ac_ext
17218 +LIBS=$ac_check_lib_save_LIBS
17220 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17221 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17222 +if test $ac_cv_lib_dld_shl_load = yes; then
17223 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17225 + { echo "$as_me:$LINENO: checking for dlopen" >&5
17226 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17227 +if test "${ac_cv_func_dlopen+set}" = set; then
17228 + echo $ECHO_N "(cached) $ECHO_C" >&6
17230 + cat >conftest.$ac_ext <<_ACEOF
17233 +cat confdefs.h >>conftest.$ac_ext
17234 +cat >>conftest.$ac_ext <<_ACEOF
17235 +/* end confdefs.h. */
17236 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17237 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17238 +#define dlopen innocuous_dlopen
17240 +/* System header to define __stub macros and hopefully few prototypes,
17241 + which can conflict with char dlopen (); below.
17242 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17243 + <limits.h> exists even on freestanding compilers. */
17246 +# include <limits.h>
17248 +# include <assert.h>
17253 +/* Override any GCC internal prototype to avoid an error.
17254 + Use char because int might match the return type of a GCC
17255 + builtin and then its argument prototype would still apply. */
17256 +#ifdef __cplusplus
17260 +/* The GNU C library defines this for functions which it implements
17261 + to always fail with ENOSYS. Some functions are actually named
17262 + something starting with __ and the normal name is an alias. */
17263 +#if defined __stub_dlopen || defined __stub___dlopen
17275 +rm -f conftest.$ac_objext conftest$ac_exeext
17276 +if { (ac_try="$ac_link"
17277 +case "(($ac_try" in
17278 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279 + *) ac_try_echo=$ac_try;;
17281 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17282 + (eval "$ac_link") 2>conftest.er1
17284 + grep -v '^ *+' conftest.er1 >conftest.err
17285 + rm -f conftest.er1
17286 + cat conftest.err >&5
17287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 + (exit $ac_status); } && {
17289 + test -z "$ac_c_werror_flag" ||
17290 + test ! -s conftest.err
17291 + } && test -s conftest$ac_exeext &&
17292 + $as_test_x conftest$ac_exeext; then
17293 + ac_cv_func_dlopen=yes
17295 + echo "$as_me: failed program was:" >&5
17296 +sed 's/^/| /' conftest.$ac_ext >&5
17298 + ac_cv_func_dlopen=no
17301 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17302 + conftest$ac_exeext conftest.$ac_ext
17304 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17305 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17306 +if test $ac_cv_func_dlopen = yes; then
17307 + lt_cv_dlopen="dlopen"
17309 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17310 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17311 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17312 + echo $ECHO_N "(cached) $ECHO_C" >&6
17314 + ac_check_lib_save_LIBS=$LIBS
17316 +cat >conftest.$ac_ext <<_ACEOF
17319 +cat confdefs.h >>conftest.$ac_ext
17320 +cat >>conftest.$ac_ext <<_ACEOF
17321 +/* end confdefs.h. */
17323 +/* Override any GCC internal prototype to avoid an error.
17324 + Use char because int might match the return type of a GCC
17325 + builtin and then its argument prototype would still apply. */
17326 +#ifdef __cplusplus
17338 +rm -f conftest.$ac_objext conftest$ac_exeext
17339 +if { (ac_try="$ac_link"
17340 +case "(($ac_try" in
17341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 + *) ac_try_echo=$ac_try;;
17344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 + (eval "$ac_link") 2>conftest.er1
17347 + grep -v '^ *+' conftest.er1 >conftest.err
17348 + rm -f conftest.er1
17349 + cat conftest.err >&5
17350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 + (exit $ac_status); } && {
17352 + test -z "$ac_c_werror_flag" ||
17353 + test ! -s conftest.err
17354 + } && test -s conftest$ac_exeext &&
17355 + $as_test_x conftest$ac_exeext; then
17356 + ac_cv_lib_dl_dlopen=yes
17358 + echo "$as_me: failed program was:" >&5
17359 +sed 's/^/| /' conftest.$ac_ext >&5
17361 + ac_cv_lib_dl_dlopen=no
17364 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17365 + conftest$ac_exeext conftest.$ac_ext
17366 +LIBS=$ac_check_lib_save_LIBS
17368 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17369 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17370 +if test $ac_cv_lib_dl_dlopen = yes; then
17371 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17373 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17374 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17375 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17376 + echo $ECHO_N "(cached) $ECHO_C" >&6
17378 + ac_check_lib_save_LIBS=$LIBS
17379 +LIBS="-lsvld $LIBS"
17380 +cat >conftest.$ac_ext <<_ACEOF
17383 +cat confdefs.h >>conftest.$ac_ext
17384 +cat >>conftest.$ac_ext <<_ACEOF
17385 +/* end confdefs.h. */
17387 +/* Override any GCC internal prototype to avoid an error.
17388 + Use char because int might match the return type of a GCC
17389 + builtin and then its argument prototype would still apply. */
17390 +#ifdef __cplusplus
17402 +rm -f conftest.$ac_objext conftest$ac_exeext
17403 +if { (ac_try="$ac_link"
17404 +case "(($ac_try" in
17405 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 + *) ac_try_echo=$ac_try;;
17408 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 + (eval "$ac_link") 2>conftest.er1
17411 + grep -v '^ *+' conftest.er1 >conftest.err
17412 + rm -f conftest.er1
17413 + cat conftest.err >&5
17414 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 + (exit $ac_status); } && {
17416 + test -z "$ac_c_werror_flag" ||
17417 + test ! -s conftest.err
17418 + } && test -s conftest$ac_exeext &&
17419 + $as_test_x conftest$ac_exeext; then
17420 + ac_cv_lib_svld_dlopen=yes
17422 + echo "$as_me: failed program was:" >&5
17423 +sed 's/^/| /' conftest.$ac_ext >&5
17425 + ac_cv_lib_svld_dlopen=no
17428 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17429 + conftest$ac_exeext conftest.$ac_ext
17430 +LIBS=$ac_check_lib_save_LIBS
17432 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17433 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17434 +if test $ac_cv_lib_svld_dlopen = yes; then
17435 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17437 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17438 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17439 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17440 + echo $ECHO_N "(cached) $ECHO_C" >&6
17442 + ac_check_lib_save_LIBS=$LIBS
17443 +LIBS="-ldld $LIBS"
17444 +cat >conftest.$ac_ext <<_ACEOF
17447 +cat confdefs.h >>conftest.$ac_ext
17448 +cat >>conftest.$ac_ext <<_ACEOF
17449 +/* end confdefs.h. */
17451 +/* Override any GCC internal prototype to avoid an error.
17452 + Use char because int might match the return type of a GCC
17453 + builtin and then its argument prototype would still apply. */
17454 +#ifdef __cplusplus
17461 +return dld_link ();
17466 +rm -f conftest.$ac_objext conftest$ac_exeext
17467 +if { (ac_try="$ac_link"
17468 +case "(($ac_try" in
17469 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17470 + *) ac_try_echo=$ac_try;;
17472 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 + (eval "$ac_link") 2>conftest.er1
17475 + grep -v '^ *+' conftest.er1 >conftest.err
17476 + rm -f conftest.er1
17477 + cat conftest.err >&5
17478 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 + (exit $ac_status); } && {
17480 + test -z "$ac_c_werror_flag" ||
17481 + test ! -s conftest.err
17482 + } && test -s conftest$ac_exeext &&
17483 + $as_test_x conftest$ac_exeext; then
17484 + ac_cv_lib_dld_dld_link=yes
17486 + echo "$as_me: failed program was:" >&5
17487 +sed 's/^/| /' conftest.$ac_ext >&5
17489 + ac_cv_lib_dld_dld_link=no
17492 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17493 + conftest$ac_exeext conftest.$ac_ext
17494 +LIBS=$ac_check_lib_save_LIBS
17496 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17497 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17498 +if test $ac_cv_lib_dld_dld_link = yes; then
17499 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17520 + if test "x$lt_cv_dlopen" != xno; then
17521 + enable_dlopen=yes
17526 + case $lt_cv_dlopen in
17528 + save_CPPFLAGS="$CPPFLAGS"
17529 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17531 + save_LDFLAGS="$LDFLAGS"
17532 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17534 + save_LIBS="$LIBS"
17535 + LIBS="$lt_cv_dlopen_libs $LIBS"
17537 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17538 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17539 +if test "${lt_cv_dlopen_self+set}" = set; then
17540 + echo $ECHO_N "(cached) $ECHO_C" >&6
17542 + if test "$cross_compiling" = yes; then :
17543 + lt_cv_dlopen_self=cross
17545 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17546 + lt_status=$lt_dlunknown
17547 + cat > conftest.$ac_ext <<EOF
17548 +#line 10081 "configure"
17549 +#include "confdefs.h"
17552 +#include <dlfcn.h>
17555 +#include <stdio.h>
17557 +#ifdef RTLD_GLOBAL
17558 +# define LT_DLGLOBAL RTLD_GLOBAL
17561 +# define LT_DLGLOBAL DL_GLOBAL
17563 +# define LT_DLGLOBAL 0
17567 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17568 + find out it does not work in some platform. */
17569 +#ifndef LT_DLLAZY_OR_NOW
17571 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17574 +# define LT_DLLAZY_OR_NOW DL_LAZY
17577 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17580 +# define LT_DLLAZY_OR_NOW DL_NOW
17582 +# define LT_DLLAZY_OR_NOW 0
17589 +#ifdef __cplusplus
17590 +extern "C" void exit (int);
17593 +void fnord() { int i=42;}
17596 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17597 + int status = $lt_dlunknown;
17601 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17602 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17603 + /* dlclose (self); */
17606 + puts (dlerror ());
17611 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 + (eval $ac_link) 2>&5
17614 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17616 + (./conftest; exit; ) >&5 2>/dev/null
17618 + case x$lt_status in
17619 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17620 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17621 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17624 + # compilation failed
17625 + lt_cv_dlopen_self=no
17632 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17633 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17635 + if test "x$lt_cv_dlopen_self" = xyes; then
17636 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17637 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17638 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17639 +if test "${lt_cv_dlopen_self_static+set}" = set; then
17640 + echo $ECHO_N "(cached) $ECHO_C" >&6
17642 + if test "$cross_compiling" = yes; then :
17643 + lt_cv_dlopen_self_static=cross
17645 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17646 + lt_status=$lt_dlunknown
17647 + cat > conftest.$ac_ext <<EOF
17648 +#line 10181 "configure"
17649 +#include "confdefs.h"
17652 +#include <dlfcn.h>
17655 +#include <stdio.h>
17657 +#ifdef RTLD_GLOBAL
17658 +# define LT_DLGLOBAL RTLD_GLOBAL
17661 +# define LT_DLGLOBAL DL_GLOBAL
17663 +# define LT_DLGLOBAL 0
17667 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17668 + find out it does not work in some platform. */
17669 +#ifndef LT_DLLAZY_OR_NOW
17671 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17674 +# define LT_DLLAZY_OR_NOW DL_LAZY
17677 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17680 +# define LT_DLLAZY_OR_NOW DL_NOW
17682 +# define LT_DLLAZY_OR_NOW 0
17689 +#ifdef __cplusplus
17690 +extern "C" void exit (int);
17693 +void fnord() { int i=42;}
17696 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17697 + int status = $lt_dlunknown;
17701 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17702 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17703 + /* dlclose (self); */
17706 + puts (dlerror ());
17711 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17712 + (eval $ac_link) 2>&5
17714 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17716 + (./conftest; exit; ) >&5 2>/dev/null
17718 + case x$lt_status in
17719 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17720 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17721 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17724 + # compilation failed
17725 + lt_cv_dlopen_self_static=no
17732 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17733 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17736 + CPPFLAGS="$save_CPPFLAGS"
17737 + LDFLAGS="$save_LDFLAGS"
17738 + LIBS="$save_LIBS"
17742 + case $lt_cv_dlopen_self in
17743 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17744 + *) enable_dlopen_self=unknown ;;
17747 + case $lt_cv_dlopen_self_static in
17748 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17749 + *) enable_dlopen_self_static=unknown ;;
17754 +# Report which library types will actually be built
17755 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17756 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17757 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
17758 +echo "${ECHO_T}$can_build_shared" >&6; }
17760 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17761 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17762 +test "$can_build_shared" = "no" && enable_shared=no
17764 +# On AIX, shared libraries and static libraries use the same namespace, and
17765 +# are all built from PIC.
17768 + test "$enable_shared" = yes && enable_static=no
17769 + if test -n "$RANLIB"; then
17770 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
17771 + postinstall_cmds='$RANLIB $lib'
17776 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17777 + test "$enable_shared" = yes && enable_static=no
17781 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
17782 +echo "${ECHO_T}$enable_shared" >&6; }
17784 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17785 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17786 +# Make sure either enable_shared or enable_static is yes.
17787 +test "$enable_shared" = yes || enable_static=yes
17788 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
17789 +echo "${ECHO_T}$enable_static" >&6; }
17791 +# The else clause should only fire when bootstrapping the
17792 +# libtool distribution, otherwise you forgot to ship ltmain.sh
17793 +# with your package, and you will get complaints that there are
17794 +# no rules to generate ltmain.sh.
17795 +if test -f "$ltmain"; then
17796 + # See if we are running on zsh, and set the options which allow our commands through
17797 + # without removal of \ escapes.
17798 + if test -n "${ZSH_VERSION+set}" ; then
17799 + setopt NO_GLOB_SUBST
17801 + # Now quote all the things that may contain metacharacters while being
17802 + # careful not to overquote the AC_SUBSTed values. We take copies of the
17803 + # variables and quote the copies for generation of the libtool script.
17804 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17805 + SED SHELL STRIP \
17806 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17807 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17808 + deplibs_check_method reload_flag reload_cmds need_locks \
17809 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17810 + lt_cv_sys_global_symbol_to_c_name_address \
17811 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17812 + old_postinstall_cmds old_postuninstall_cmds \
17816 + lt_prog_compiler_wl \
17817 + lt_prog_compiler_pic \
17818 + lt_prog_compiler_static \
17819 + lt_prog_compiler_no_builtin_flag \
17820 + export_dynamic_flag_spec \
17821 + thread_safe_flag_spec \
17822 + whole_archive_flag_spec \
17823 + enable_shared_with_static_runtimes \
17824 + old_archive_cmds \
17825 + old_archive_from_new_cmds \
17827 + postdep_objects \
17830 + compiler_lib_search_path \
17832 + archive_expsym_cmds \
17833 + postinstall_cmds \
17834 + postuninstall_cmds \
17835 + old_archive_from_expsyms_cmds \
17836 + allow_undefined_flag \
17837 + no_undefined_flag \
17838 + export_symbols_cmds \
17839 + hardcode_libdir_flag_spec \
17840 + hardcode_libdir_flag_spec_ld \
17841 + hardcode_libdir_separator \
17842 + hardcode_automatic \
17844 + module_expsym_cmds \
17845 + lt_cv_prog_compiler_c_o \
17846 + exclude_expsyms \
17847 + include_expsyms; do
17850 + old_archive_cmds | \
17851 + old_archive_from_new_cmds | \
17853 + archive_expsym_cmds | \
17855 + module_expsym_cmds | \
17856 + old_archive_from_expsyms_cmds | \
17857 + export_symbols_cmds | \
17858 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
17859 + postinstall_cmds | postuninstall_cmds | \
17860 + old_postinstall_cmds | old_postuninstall_cmds | \
17861 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17862 + # Double-quote double-evaled strings.
17863 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17866 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17872 + *'\$0 --fallback-echo"')
17873 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17877 +cfgfile="${ofile}T"
17878 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17879 + $rm -f "$cfgfile"
17880 + { echo "$as_me:$LINENO: creating $ofile" >&5
17881 +echo "$as_me: creating $ofile" >&6;}
17883 + cat <<__EOF__ >> "$cfgfile"
17886 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17887 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17888 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17890 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17891 +# Free Software Foundation, Inc.
17893 +# This file is part of GNU Libtool:
17894 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17896 +# This program is free software; you can redistribute it and/or modify
17897 +# it under the terms of the GNU General Public License as published by
17898 +# the Free Software Foundation; either version 2 of the License, or
17899 +# (at your option) any later version.
17901 +# This program is distributed in the hope that it will be useful, but
17902 +# WITHOUT ANY WARRANTY; without even the implied warranty of
17903 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17904 +# General Public License for more details.
17906 +# You should have received a copy of the GNU General Public License
17907 +# along with this program; if not, write to the Free Software
17908 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17910 +# As a special exception to the GNU General Public License, if you
17911 +# distribute this file as part of a program that contains a
17912 +# configuration script generated by Autoconf, you may include it under
17913 +# the same distribution terms that you use for the rest of that program.
17915 +# A sed program that does not truncate output.
17918 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17919 +Xsed="$SED -e 1s/^X//"
17921 +# The HP-UX ksh and POSIX shell print the target directory to stdout
17922 +# if CDPATH is set.
17923 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17925 +# The names of the tagged configurations supported by this script.
17928 +# ### BEGIN LIBTOOL CONFIG
17930 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17932 +# Shell to use when invoking shell scripts.
17935 +# Whether or not to build shared libraries.
17936 +build_libtool_libs=$enable_shared
17938 +# Whether or not to build static libraries.
17939 +build_old_libs=$enable_static
17941 +# Whether or not to add -lc for building shared libraries.
17942 +build_libtool_need_lc=$archive_cmds_need_lc
17944 +# Whether or not to disallow shared libs when runtime libs are static
17945 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17947 +# Whether or not to optimize for fast installation.
17948 +fast_install=$enable_fast_install
17950 +# The host system.
17951 +host_alias=$host_alias
17955 +# The build system.
17956 +build_alias=$build_alias
17958 +build_os=$build_os
17960 +# An echo program that does not interpret backslashes.
17965 +AR_FLAGS=$lt_AR_FLAGS
17970 +# LTCC compiler flags.
17971 +LTCFLAGS=$lt_LTCFLAGS
17973 +# A language-specific compiler.
17976 +# Is the compiler the GNU C compiler?
17982 +# The linker used to build libraries.
17985 +# Whether we need hard or soft links.
17988 +# A BSD-compatible nm program.
17991 +# A symbol stripping program
17994 +# Used to examine libraries when file_magic_cmd begins "file"
17995 +MAGIC_CMD=$MAGIC_CMD
17997 +# Used on cygwin: DLL creation program.
17998 +DLLTOOL="$DLLTOOL"
18000 +# Used on cygwin: object dumper.
18001 +OBJDUMP="$OBJDUMP"
18003 +# Used on cygwin: assembler.
18006 +# The name of the directory that contains temporary libtool files.
18009 +# How to create reloadable object files.
18010 +reload_flag=$lt_reload_flag
18011 +reload_cmds=$lt_reload_cmds
18013 +# How to pass a linker flag through the compiler.
18014 +wl=$lt_lt_prog_compiler_wl
18016 +# Object file suffix (normally "o").
18017 +objext="$ac_objext"
18019 +# Old archive suffix (normally "a").
18022 +# Shared library suffix (normally ".so").
18023 +shrext_cmds='$shrext_cmds'
18025 +# Executable file suffix (normally "").
18028 +# Additional compiler flags for building library objects.
18029 +pic_flag=$lt_lt_prog_compiler_pic
18030 +pic_mode=$pic_mode
18032 +# What is the maximum length of a command?
18033 +max_cmd_len=$lt_cv_sys_max_cmd_len
18035 +# Does compiler simultaneously support -c and -o options?
18036 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18038 +# Must we lock files when doing compilation?
18039 +need_locks=$lt_need_locks
18041 +# Do we need the lib prefix for modules?
18042 +need_lib_prefix=$need_lib_prefix
18044 +# Do we need a version for libraries?
18045 +need_version=$need_version
18047 +# Whether dlopen is supported.
18048 +dlopen_support=$enable_dlopen
18050 +# Whether dlopen of programs is supported.
18051 +dlopen_self=$enable_dlopen_self
18053 +# Whether dlopen of statically linked programs is supported.
18054 +dlopen_self_static=$enable_dlopen_self_static
18056 +# Compiler flag to prevent dynamic linking.
18057 +link_static_flag=$lt_lt_prog_compiler_static
18059 +# Compiler flag to turn off builtin functions.
18060 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18062 +# Compiler flag to allow reflexive dlopens.
18063 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18065 +# Compiler flag to generate shared objects directly from archives.
18066 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
18068 +# Compiler flag to generate thread-safe objects.
18069 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
18071 +# Library versioning type.
18072 +version_type=$version_type
18074 +# Format of library name prefix.
18075 +libname_spec=$lt_libname_spec
18077 +# List of archive names. First name is the real one, the rest are links.
18078 +# The last name is the one that the linker finds with -lNAME.
18079 +library_names_spec=$lt_library_names_spec
18081 +# The coded name of the library, if different from the real name.
18082 +soname_spec=$lt_soname_spec
18084 +# Commands used to build and install an old-style archive.
18086 +old_archive_cmds=$lt_old_archive_cmds
18087 +old_postinstall_cmds=$lt_old_postinstall_cmds
18088 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
18090 +# Create an old-style archive from a shared archive.
18091 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18093 +# Create a temporary old-style archive to link instead of a shared archive.
18094 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18096 +# Commands used to build and install a shared archive.
18097 +archive_cmds=$lt_archive_cmds
18098 +archive_expsym_cmds=$lt_archive_expsym_cmds
18099 +postinstall_cmds=$lt_postinstall_cmds
18100 +postuninstall_cmds=$lt_postuninstall_cmds
18102 +# Commands used to build a loadable module (assumed same as above if empty)
18103 +module_cmds=$lt_module_cmds
18104 +module_expsym_cmds=$lt_module_expsym_cmds
18106 +# Commands to strip libraries.
18107 +old_striplib=$lt_old_striplib
18108 +striplib=$lt_striplib
18110 +# Dependencies to place before the objects being linked to create a
18112 +predep_objects=$lt_predep_objects
18114 +# Dependencies to place after the objects being linked to create a
18116 +postdep_objects=$lt_postdep_objects
18118 +# Dependencies to place before the objects being linked to create a
18120 +predeps=$lt_predeps
18122 +# Dependencies to place after the objects being linked to create a
18124 +postdeps=$lt_postdeps
18126 +# The library search path used internally by the compiler when linking
18127 +# a shared library.
18128 +compiler_lib_search_path=$lt_compiler_lib_search_path
18130 +# Method to check whether dependent libraries are shared objects.
18131 +deplibs_check_method=$lt_deplibs_check_method
18133 +# Command to use when deplibs_check_method == file_magic.
18134 +file_magic_cmd=$lt_file_magic_cmd
18136 +# Flag that allows shared libraries with undefined symbols to be built.
18137 +allow_undefined_flag=$lt_allow_undefined_flag
18139 +# Flag that forces no undefined symbols.
18140 +no_undefined_flag=$lt_no_undefined_flag
18142 +# Commands used to finish a libtool library installation in a directory.
18143 +finish_cmds=$lt_finish_cmds
18145 +# Same as above, but a single script fragment to be evaled but not shown.
18146 +finish_eval=$lt_finish_eval
18148 +# Take the output of nm and produce a listing of raw symbols and C names.
18149 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18151 +# Transform the output of nm in a proper C declaration
18152 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18154 +# Transform the output of nm in a C name address pair
18155 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18157 +# This is the shared library runtime path variable.
18158 +runpath_var=$runpath_var
18160 +# This is the shared library path variable.
18161 +shlibpath_var=$shlibpath_var
18163 +# Is shlibpath searched before the hard-coded library search path?
18164 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18166 +# How to hardcode a shared library path into an executable.
18167 +hardcode_action=$hardcode_action
18169 +# Whether we should hardcode library paths into libraries.
18170 +hardcode_into_libs=$hardcode_into_libs
18172 +# Flag to hardcode \$libdir into a binary during linking.
18173 +# This must work even if \$libdir does not exist.
18174 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18176 +# If ld is used when linking, flag to hardcode \$libdir into
18177 +# a binary during linking. This must work even if \$libdir does
18179 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18181 +# Whether we need a single -rpath flag with a separated argument.
18182 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
18184 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18185 +# resulting binary.
18186 +hardcode_direct=$hardcode_direct
18188 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18189 +# resulting binary.
18190 +hardcode_minus_L=$hardcode_minus_L
18192 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18193 +# the resulting binary.
18194 +hardcode_shlibpath_var=$hardcode_shlibpath_var
18196 +# Set to yes if building a shared library automatically hardcodes DIR into the library
18197 +# and all subsequent libraries and executables linked against it.
18198 +hardcode_automatic=$hardcode_automatic
18200 +# Variables whose values should be saved in libtool wrapper scripts and
18201 +# restored at relink time.
18202 +variables_saved_for_relink="$variables_saved_for_relink"
18204 +# Whether libtool must link a program against all its dependency libraries.
18205 +link_all_deplibs=$link_all_deplibs
18207 +# Compile-time system search path for libraries
18208 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18210 +# Run-time system search path for libraries
18211 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18213 +# Fix the shell variable \$srcfile for the compiler.
18214 +fix_srcfile_path="$fix_srcfile_path"
18216 +# Set to yes if exported symbols are required.
18217 +always_export_symbols=$always_export_symbols
18219 +# The commands to list exported symbols.
18220 +export_symbols_cmds=$lt_export_symbols_cmds
18222 +# The commands to extract the exported symbol list from a shared archive.
18223 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
18225 +# Symbols that should not be listed in the preloaded symbols.
18226 +exclude_expsyms=$lt_exclude_expsyms
18228 +# Symbols that must always be exported.
18229 +include_expsyms=$lt_include_expsyms
18231 +# ### END LIBTOOL CONFIG
18238 + cat <<\EOF >> "$cfgfile"
18240 +# AIX sometimes has problems with the GCC collect2 program. For some
18241 +# reason, if we set the COLLECT_NAMES environment variable, the problems
18242 +# vanish in a puff of smoke.
18243 +if test "X${COLLECT_NAMES+set}" != Xset; then
18245 + export COLLECT_NAMES
18251 + # We use sed instead of cat because bash on DJGPP gets confused if
18252 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
18253 + # text mode, it properly converts lines to CR/LF. This bash problem
18254 + # is reportedly fixed, but why not run on old versions too?
18255 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18257 + mv -f "$cfgfile" "$ofile" || \
18258 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18259 + chmod +x "$ofile"
18262 + # If there is no Makefile yet, we rely on a make rule to execute
18263 + # `config.status --recheck' to rerun these tests and create the
18264 + # libtool script then.
18265 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18266 + if test -f "$ltmain_in"; then
18267 + test -f Makefile && make "$ltmain"
18273 +ac_cpp='$CPP $CPPFLAGS'
18274 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18281 +# Check whether --with-tags was given.
18282 +if test "${with_tags+set}" = set; then
18283 + withval=$with_tags; tagnames="$withval"
18287 +if test -f "$ltmain" && test -n "$tagnames"; then
18288 + if test ! -f "${ofile}"; then
18289 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18290 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18293 + if test -z "$LTCC"; then
18294 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18295 + if test -z "$LTCC"; then
18296 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18297 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18299 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18300 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18303 + if test -z "$LTCFLAGS"; then
18304 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18307 + # Extract list of available tagged configurations in $ofile.
18308 + # Note that this assumes the entire list is on one line.
18309 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18311 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18312 + for tagname in $tagnames; do
18313 + IFS="$lt_save_ifs"
18314 + # Check whether tagname contains only valid characters
18315 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18317 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18318 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
18319 + { (exit 1); exit 1; }; }
18323 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18325 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18326 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18327 + { (exit 1); exit 1; }; }
18330 + # Update the list of available tags.
18331 + if test -n "$tagname"; then
18332 + echo appending configuration tag \"$tagname\" to $ofile
18336 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18337 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18338 + (test "X$CXX" != "Xg++"))) ; then
18340 +ac_cpp='$CXXCPP $CPPFLAGS'
18341 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18348 +archive_cmds_need_lc_CXX=no
18349 +allow_undefined_flag_CXX=
18350 +always_export_symbols_CXX=no
18351 +archive_expsym_cmds_CXX=
18352 +export_dynamic_flag_spec_CXX=
18353 +hardcode_direct_CXX=no
18354 +hardcode_libdir_flag_spec_CXX=
18355 +hardcode_libdir_flag_spec_ld_CXX=
18356 +hardcode_libdir_separator_CXX=
18357 +hardcode_minus_L_CXX=no
18358 +hardcode_shlibpath_var_CXX=unsupported
18359 +hardcode_automatic_CXX=no
18361 +module_expsym_cmds_CXX=
18362 +link_all_deplibs_CXX=unknown
18363 +old_archive_cmds_CXX=$old_archive_cmds
18364 +no_undefined_flag_CXX=
18365 +whole_archive_flag_spec_CXX=
18366 +enable_shared_with_static_runtimes_CXX=no
18368 +# Dependencies to place before and after the object being linked:
18369 +predep_objects_CXX=
18370 +postdep_objects_CXX=
18373 +compiler_lib_search_path_CXX=
18375 +# Source file extension for C++ test sources.
18378 +# Object file extension for compiled C++ test sources.
18380 +objext_CXX=$objext
18382 +# Code to be used in simple compile tests
18383 +lt_simple_compile_test_code="int some_variable = 0;\n"
18385 +# Code to be used in simple link tests
18386 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18388 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18390 +# If no C compiler was specified, use CC.
18391 +LTCC=${LTCC-"$CC"}
18393 +# If no C compiler flags were specified, use CFLAGS.
18394 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18396 +# Allow CC to be a program name with arguments.
18400 +# save warnings/boilerplate of simple test code
18401 +ac_outfile=conftest.$ac_objext
18402 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18403 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18404 +_lt_compiler_boilerplate=`cat conftest.err`
18407 +ac_outfile=conftest.$ac_objext
18408 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
18409 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18410 +_lt_linker_boilerplate=`cat conftest.err`
18414 +# Allow CC to be a program name with arguments.
18419 +lt_save_with_gnu_ld=$with_gnu_ld
18420 +lt_save_path_LD=$lt_cv_path_LD
18421 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18422 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18424 + $as_unset lt_cv_prog_gnu_ld
18426 +if test -n "${lt_cv_path_LDCXX+set}"; then
18427 + lt_cv_path_LD=$lt_cv_path_LDCXX
18429 + $as_unset lt_cv_path_LD
18431 +test -z "${LDCXX+set}" || LD=$LDCXX
18435 +for cc_temp in $compiler""; do
18437 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18438 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18443 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18446 +# We don't want -fno-exception wen compiling C++ code, so set the
18447 +# no_builtin_flag separately
18448 +if test "$GXX" = yes; then
18449 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18451 + lt_prog_compiler_no_builtin_flag_CXX=
18454 +if test "$GXX" = yes; then
18455 + # Set up default GNU C++ configuration
18458 +# Check whether --with-gnu-ld was given.
18459 +if test "${with_gnu_ld+set}" = set; then
18460 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18466 +if test "$GCC" = yes; then
18467 + # Check if gcc -print-prog-name=ld gives a path.
18468 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18469 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18472 + # gcc leaves a trailing carriage return which upsets mingw
18473 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18475 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18478 + # Accept absolute paths.
18479 + [\\/]* | ?:[\\/]*)
18480 + re_direlt='/[^/][^/]*/\.\./'
18481 + # Canonicalize the pathname of ld
18482 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18483 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18484 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18486 + test -z "$LD" && LD="$ac_prog"
18489 + # If it fails, then pretend we aren't using GCC.
18493 + # If it is relative, then search for the first ld in PATH.
18494 + with_gnu_ld=unknown
18497 +elif test "$with_gnu_ld" = yes; then
18498 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
18499 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18501 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18502 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18504 +if test "${lt_cv_path_LD+set}" = set; then
18505 + echo $ECHO_N "(cached) $ECHO_C" >&6
18507 + if test -z "$LD"; then
18508 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18509 + for ac_dir in $PATH; do
18510 + IFS="$lt_save_ifs"
18511 + test -z "$ac_dir" && ac_dir=.
18512 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18513 + lt_cv_path_LD="$ac_dir/$ac_prog"
18514 + # Check to see if the program is GNU ld. I'd rather use --version,
18515 + # but apparently some variants of GNU ld only accept -v.
18516 + # Break only if it was the GNU/non-GNU ld that we prefer.
18517 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18518 + *GNU* | *'with BFD'*)
18519 + test "$with_gnu_ld" != no && break
18522 + test "$with_gnu_ld" != yes && break
18527 + IFS="$lt_save_ifs"
18529 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
18533 +LD="$lt_cv_path_LD"
18534 +if test -n "$LD"; then
18535 + { echo "$as_me:$LINENO: result: $LD" >&5
18536 +echo "${ECHO_T}$LD" >&6; }
18538 + { echo "$as_me:$LINENO: result: no" >&5
18539 +echo "${ECHO_T}no" >&6; }
18541 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18542 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18543 + { (exit 1); exit 1; }; }
18544 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18545 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18546 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
18547 + echo $ECHO_N "(cached) $ECHO_C" >&6
18549 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
18550 +case `$LD -v 2>&1 </dev/null` in
18551 +*GNU* | *'with BFD'*)
18552 + lt_cv_prog_gnu_ld=yes
18555 + lt_cv_prog_gnu_ld=no
18559 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18560 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18561 +with_gnu_ld=$lt_cv_prog_gnu_ld
18565 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
18566 + # archiving commands below assume that GNU ld is being used.
18567 + if test "$with_gnu_ld" = yes; then
18568 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18569 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18571 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18572 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18574 + # If archive_cmds runs LD, not CC, wlarc should be empty
18575 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18576 + # investigate it a little bit more. (MM)
18579 + # ancient GNU ld didn't support --whole-archive et. al.
18580 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18581 + grep 'no-whole-archive' > /dev/null; then
18582 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18584 + whole_archive_flag_spec_CXX=
18590 + # A generic and very simple default shared library creation
18591 + # command for GNU C++ for the case where it uses the native
18592 + # linker, instead of GNU ld. If possible, this setting should
18593 + # overridden to take advantage of the native linker features on
18594 + # the platform it is being used on.
18595 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18598 + # Commands to make compiler produce verbose output that lists
18599 + # what "hidden" libraries, object files and flags are used when
18600 + # linking a shared library.
18601 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18609 +# PORTME: fill in a description of your system's C++ link characteristics
18610 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18611 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18615 + # FIXME: insert proper C++ library support
18619 + if test "$host_cpu" = ia64; then
18620 + # On IA64, the linker does run time linking by default, so we don't
18621 + # have to do anything special.
18622 + aix_use_runtimelinking=no
18623 + exp_sym_flag='-Bexport'
18626 + aix_use_runtimelinking=no
18628 + # Test if we are trying to use run time linking or normal
18629 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18630 + # need to do runtime linking.
18631 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18632 + for ld_flag in $LDFLAGS; do
18635 + aix_use_runtimelinking=yes
18643 + exp_sym_flag='-bexport'
18644 + no_entry_flag='-bnoentry'
18647 + # When large executables or shared objects are built, AIX ld can
18648 + # have problems creating the table of contents. If linking a library
18649 + # or program results in "error TOC overflow" add -mminimal-toc to
18650 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18651 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18653 + archive_cmds_CXX=''
18654 + hardcode_direct_CXX=yes
18655 + hardcode_libdir_separator_CXX=':'
18656 + link_all_deplibs_CXX=yes
18658 + if test "$GXX" = yes; then
18659 + case $host_os in aix4.[012]|aix4.[012].*)
18660 + # We only want to do this on AIX 4.2 and lower, the check
18661 + # below for broken collect2 doesn't work under 4.3+
18662 + collect2name=`${CC} -print-prog-name=collect2`
18663 + if test -f "$collect2name" && \
18664 + strings "$collect2name" | grep resolve_lib_name >/dev/null
18666 + # We have reworked collect2
18667 + hardcode_direct_CXX=yes
18669 + # We have old collect2
18670 + hardcode_direct_CXX=unsupported
18671 + # It fails to find uninstalled libraries when the uninstalled
18672 + # path is not listed in the libpath. Setting hardcode_minus_L
18673 + # to unsupported forces relinking
18674 + hardcode_minus_L_CXX=yes
18675 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18676 + hardcode_libdir_separator_CXX=
18680 + shared_flag='-shared'
18681 + if test "$aix_use_runtimelinking" = yes; then
18682 + shared_flag="$shared_flag "'${wl}-G'
18686 + if test "$host_cpu" = ia64; then
18687 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18688 + # chokes on -Wl,-G. The following line is correct:
18691 + if test "$aix_use_runtimelinking" = yes; then
18692 + shared_flag='${wl}-G'
18694 + shared_flag='${wl}-bM:SRE'
18699 + # It seems that -bexpall does not export symbols beginning with
18700 + # underscore (_), so it is better to generate a list of symbols to export.
18701 + always_export_symbols_CXX=yes
18702 + if test "$aix_use_runtimelinking" = yes; then
18703 + # Warning - without using the other runtime loading flags (-brtl),
18704 + # -berok will link without error, but may produce a broken library.
18705 + allow_undefined_flag_CXX='-berok'
18706 + # Determine the default libpath from the value encoded in an empty executable.
18707 + cat >conftest.$ac_ext <<_ACEOF
18710 +cat confdefs.h >>conftest.$ac_ext
18711 +cat >>conftest.$ac_ext <<_ACEOF
18712 +/* end confdefs.h. */
18722 +rm -f conftest.$ac_objext conftest$ac_exeext
18723 +if { (ac_try="$ac_link"
18724 +case "(($ac_try" in
18725 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18726 + *) ac_try_echo=$ac_try;;
18728 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18729 + (eval "$ac_link") 2>conftest.er1
18731 + grep -v '^ *+' conftest.er1 >conftest.err
18732 + rm -f conftest.er1
18733 + cat conftest.err >&5
18734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 + (exit $ac_status); } && {
18736 + test -z "$ac_cxx_werror_flag" ||
18737 + test ! -s conftest.err
18738 + } && test -s conftest$ac_exeext &&
18739 + $as_test_x conftest$ac_exeext; then
18741 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18743 +# Check for a 64-bit object if we didn't find anything.
18744 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18747 + echo "$as_me: failed program was:" >&5
18748 +sed 's/^/| /' conftest.$ac_ext >&5
18753 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18754 + conftest$ac_exeext conftest.$ac_ext
18755 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18757 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18759 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18761 + if test "$host_cpu" = ia64; then
18762 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18763 + allow_undefined_flag_CXX="-z nodefs"
18764 + archive_expsym_cmds_CXX="\$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"
18766 + # Determine the default libpath from the value encoded in an empty executable.
18767 + cat >conftest.$ac_ext <<_ACEOF
18770 +cat confdefs.h >>conftest.$ac_ext
18771 +cat >>conftest.$ac_ext <<_ACEOF
18772 +/* end confdefs.h. */
18782 +rm -f conftest.$ac_objext conftest$ac_exeext
18783 +if { (ac_try="$ac_link"
18784 +case "(($ac_try" in
18785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 + *) ac_try_echo=$ac_try;;
18788 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 + (eval "$ac_link") 2>conftest.er1
18791 + grep -v '^ *+' conftest.er1 >conftest.err
18792 + rm -f conftest.er1
18793 + cat conftest.err >&5
18794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 + (exit $ac_status); } && {
18796 + test -z "$ac_cxx_werror_flag" ||
18797 + test ! -s conftest.err
18798 + } && test -s conftest$ac_exeext &&
18799 + $as_test_x conftest$ac_exeext; then
18801 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18803 +# Check for a 64-bit object if we didn't find anything.
18804 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18807 + echo "$as_me: failed program was:" >&5
18808 +sed 's/^/| /' conftest.$ac_ext >&5
18813 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18814 + conftest$ac_exeext conftest.$ac_ext
18815 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18817 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18818 + # Warning - without using the other run time loading flags,
18819 + # -berok will link without error, but may produce a broken library.
18820 + no_undefined_flag_CXX=' ${wl}-bernotok'
18821 + allow_undefined_flag_CXX=' ${wl}-berok'
18822 + # Exported symbols can be pulled into shared objects from archives
18823 + whole_archive_flag_spec_CXX='$convenience'
18824 + archive_cmds_need_lc_CXX=yes
18825 + # This is similar to how AIX traditionally builds its shared libraries.
18826 + archive_expsym_cmds_CXX="\$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'
18832 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18833 + allow_undefined_flag_CXX=unsupported
18834 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18835 + # support --undefined. This deserves some investigation. FIXME
18836 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18843 + case $cc_basename in
18845 + # FIXME: insert proper C++ library support
18851 + cygwin* | mingw* | pw32*)
18852 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18853 + # as there is no search path for DLLs.
18854 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18855 + allow_undefined_flag_CXX=unsupported
18856 + always_export_symbols_CXX=no
18857 + enable_shared_with_static_runtimes_CXX=yes
18859 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18860 + archive_cmds_CXX='$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'
18861 + # If the export-symbols file already is a .def file (1st line
18862 + # is EXPORTS), use it as is; otherwise, prepend...
18863 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18864 + cp $export_symbols $output_objdir/$soname.def;
18866 + echo EXPORTS > $output_objdir/$soname.def;
18867 + cat $export_symbols >> $output_objdir/$soname.def;
18869 + $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'
18874 + darwin* | rhapsody*)
18876 + rhapsody* | darwin1.[012])
18877 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18879 + *) # Darwin 1.3 on
18880 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18881 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18883 + case ${MACOSX_DEPLOYMENT_TARGET} in
18885 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18888 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18894 + archive_cmds_need_lc_CXX=no
18895 + hardcode_direct_CXX=no
18896 + hardcode_automatic_CXX=yes
18897 + hardcode_shlibpath_var_CXX=unsupported
18898 + whole_archive_flag_spec_CXX=''
18899 + link_all_deplibs_CXX=yes
18901 + if test "$GXX" = yes ; then
18902 + lt_int_apple_cc_single_mod=no
18903 + output_verbose_link_cmd='echo'
18904 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18905 + lt_int_apple_cc_single_mod=yes
18907 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18908 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18910 + archive_cmds_CXX='$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'
18912 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18913 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18914 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18915 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18917 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18919 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18921 + case $cc_basename in
18923 + output_verbose_link_cmd='echo'
18924 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18925 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18926 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18927 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18928 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18938 + case $cc_basename in
18940 + # FIXME: insert proper C++ library support
18944 + # Green Hills C++ Compiler
18945 + # FIXME: insert proper C++ library support
18949 + # FIXME: insert proper C++ library support
18955 + # C++ shared libraries reported to be fairly broken before switch to ELF
18959 + archive_cmds_need_lc_CXX=no
18961 + freebsd* | dragonfly*)
18962 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18964 + ld_shlibs_CXX=yes
18969 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18970 + hardcode_libdir_separator_CXX=:
18971 + export_dynamic_flag_spec_CXX='${wl}-E'
18972 + hardcode_direct_CXX=yes
18973 + hardcode_minus_L_CXX=yes # Not in the search PATH,
18974 + # but as the default
18975 + # location of the library.
18977 + case $cc_basename in
18979 + # FIXME: insert proper C++ library support
18983 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18984 + # Commands to make compiler produce verbose output that lists
18985 + # what "hidden" libraries, object files and flags are used when
18986 + # linking a shared library.
18988 + # There doesn't appear to be a way to prevent this compiler from
18989 + # explicitly linking system object files so we need to strip them
18990 + # from the output so that they don't get included in the library
18992 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
18995 + if test "$GXX" = yes; then
18996 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18998 + # FIXME: insert proper C++ library support
19005 + if test $with_gnu_ld = no; then
19006 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19007 + hardcode_libdir_separator_CXX=:
19009 + case $host_cpu in
19011 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19014 + export_dynamic_flag_spec_CXX='${wl}-E'
19018 + case $host_cpu in
19020 + hardcode_direct_CXX=no
19021 + hardcode_shlibpath_var_CXX=no
19024 + hardcode_direct_CXX=yes
19025 + hardcode_minus_L_CXX=yes # Not in the search PATH,
19026 + # but as the default
19027 + # location of the library.
19031 + case $cc_basename in
19033 + # FIXME: insert proper C++ library support
19037 + case $host_cpu in
19039 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19042 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19045 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19048 + # Commands to make compiler produce verbose output that lists
19049 + # what "hidden" libraries, object files and flags are used when
19050 + # linking a shared library.
19052 + # There doesn't appear to be a way to prevent this compiler from
19053 + # explicitly linking system object files so we need to strip them
19054 + # from the output so that they don't get included in the library
19056 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19059 + if test "$GXX" = yes; then
19060 + if test $with_gnu_ld = no; then
19061 + case $host_cpu in
19063 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19066 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19069 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19074 + # FIXME: insert proper C++ library support
19081 + hardcode_direct_CXX=no
19082 + hardcode_shlibpath_var_CXX=no
19083 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19084 + export_dynamic_flag_spec_CXX='${wl}-E'
19085 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19086 + # Instead, shared libraries are loaded at an image base (0x10000000 by
19087 + # default) and relocated if they conflict, which is a slow very memory
19088 + # consuming and fragmenting process. To avoid this, we pick a random,
19089 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19090 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19091 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19092 + archive_expsym_cmds_CXX='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'
19095 + case $cc_basename in
19098 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19100 + # Archives containing C++ object files must be created using
19101 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19102 + # necessary to make sure instantiated templates are included
19103 + # in the archive.
19104 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19107 + if test "$GXX" = yes; then
19108 + if test "$with_gnu_ld" = no; then
19109 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19111 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
19114 + link_all_deplibs_CXX=yes
19117 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19118 + hardcode_libdir_separator_CXX=:
19120 + linux* | k*bsd*-gnu)
19121 + case $cc_basename in
19123 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19125 + # KCC will only create a shared library if the output file
19126 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19127 + # to its proper name (with version) after linking.
19128 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19129 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
19130 + # Commands to make compiler produce verbose output that lists
19131 + # what "hidden" libraries, object files and flags are used when
19132 + # linking a shared library.
19134 + # There doesn't appear to be a way to prevent this compiler from
19135 + # explicitly linking system object files so we need to strip them
19136 + # from the output so that they don't get included in the library
19138 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19140 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19141 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19143 + # Archives containing C++ object files must be created using
19144 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19145 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19150 + # version 8.0 and above of icpc choke on multiply defined symbols
19151 + # if we add $predep_objects and $postdep_objects, however 7.1 and
19152 + # earlier do not add the objects themselves.
19153 + case `$CC -V 2>&1` in
19155 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19156 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19158 + *) # Version 8.0 or newer
19160 + case $host_cpu in
19161 + ia64*) tmp_idyn=' -i_dynamic';;
19163 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19164 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19167 + archive_cmds_need_lc_CXX=no
19168 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19169 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19170 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19173 + # Portland Group C++ compiler
19174 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19175 + archive_expsym_cmds_CXX='$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'
19177 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19178 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19179 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19183 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19184 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
19186 + runpath_var=LD_RUN_PATH
19187 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19188 + hardcode_libdir_separator_CXX=:
19190 + # Commands to make compiler produce verbose output that lists
19191 + # what "hidden" libraries, object files and flags are used when
19192 + # linking a shared library.
19194 + # There doesn't appear to be a way to prevent this compiler from
19195 + # explicitly linking system object files so we need to strip them
19196 + # from the output so that they don't get included in the library
19198 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19203 + # FIXME: insert proper C++ library support
19207 + # FIXME: insert proper C++ library support
19211 + case $cc_basename in
19213 + # FIXME: insert proper C++ library support
19217 + # FIXME: insert proper C++ library support
19222 + netbsd* | netbsdelf*-gnu)
19223 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19224 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19226 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19227 + hardcode_direct_CXX=yes
19228 + hardcode_shlibpath_var_CXX=no
19230 + # Workaround some broken pre-1.5 toolchains
19231 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19234 + # C++ shared libraries are fairly broken
19238 + hardcode_direct_CXX=yes
19239 + hardcode_shlibpath_var_CXX=no
19240 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19241 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19242 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19243 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19244 + export_dynamic_flag_spec_CXX='${wl}-E'
19245 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19247 + output_verbose_link_cmd='echo'
19250 + case $cc_basename in
19252 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19254 + # KCC will only create a shared library if the output file
19255 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19256 + # to its proper name (with version) after linking.
19257 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19259 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19260 + hardcode_libdir_separator_CXX=:
19262 + # Archives containing C++ object files must be created using
19263 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19264 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19268 + # Rational C++ 2.4.1
19269 + # FIXME: insert proper C++ library support
19273 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19274 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19276 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19277 + hardcode_libdir_separator_CXX=:
19279 + # Commands to make compiler produce verbose output that lists
19280 + # what "hidden" libraries, object files and flags are used when
19281 + # linking a shared library.
19283 + # There doesn't appear to be a way to prevent this compiler from
19284 + # explicitly linking system object files so we need to strip them
19285 + # from the output so that they don't get included in the library
19287 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19290 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19291 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19292 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19294 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19295 + hardcode_libdir_separator_CXX=:
19297 + # Commands to make compiler produce verbose output that lists
19298 + # what "hidden" libraries, object files and flags are used when
19299 + # linking a shared library.
19300 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19303 + # FIXME: insert proper C++ library support
19310 + case $cc_basename in
19312 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19314 + # KCC will only create a shared library if the output file
19315 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19316 + # to its proper name (with version) after linking.
19317 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19319 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19320 + hardcode_libdir_separator_CXX=:
19322 + # Archives containing C++ object files must be created using
19323 + # the KAI C++ compiler.
19324 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19327 + # Rational C++ 2.4.1
19328 + # FIXME: insert proper C++ library support
19332 + allow_undefined_flag_CXX=' -expect_unresolved \*'
19333 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19334 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19335 + echo "-hidden">> $lib.exp~
19336 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
19339 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19340 + hardcode_libdir_separator_CXX=:
19342 + # Commands to make compiler produce verbose output that lists
19343 + # what "hidden" libraries, object files and flags are used when
19344 + # linking a shared library.
19346 + # There doesn't appear to be a way to prevent this compiler from
19347 + # explicitly linking system object files so we need to strip them
19348 + # from the output so that they don't get included in the library
19350 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19353 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19354 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19355 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19357 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19358 + hardcode_libdir_separator_CXX=:
19360 + # Commands to make compiler produce verbose output that lists
19361 + # what "hidden" libraries, object files and flags are used when
19362 + # linking a shared library.
19363 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19366 + # FIXME: insert proper C++ library support
19373 + # FIXME: insert proper C++ library support
19377 + case $cc_basename in
19380 + # FIXME: insert proper C++ library support
19385 + # FIXME: insert proper C++ library support
19389 + # FIXME: insert proper C++ library support
19395 + case $cc_basename in
19397 + # Sun C++ 4.2, 5.x and Centerline C++
19398 + archive_cmds_need_lc_CXX=yes
19399 + no_undefined_flag_CXX=' -zdefs'
19400 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19401 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19402 + $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'
19404 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19405 + hardcode_shlibpath_var_CXX=no
19407 + solaris2.[0-5] | solaris2.[0-5].*) ;;
19409 + # The C++ compiler is used as linker so we must use $wl
19410 + # flag to pass the commands to the underlying system
19411 + # linker. We must also pass each convience library through
19412 + # to the system linker between allextract/defaultextract.
19413 + # The C++ compiler will combine linker options so we
19414 + # cannot just pass the convience library names through
19416 + # Supported since Solaris 2.6 (maybe 2.5.1?)
19417 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
19420 + link_all_deplibs_CXX=yes
19422 + output_verbose_link_cmd='echo'
19424 + # Archives containing C++ object files must be created using
19425 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
19426 + # necessary to make sure instantiated templates are included
19427 + # in the archive.
19428 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19431 + # Green Hills C++ Compiler
19432 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19434 + # The C++ compiler must be used to create the archive.
19435 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19438 + # GNU C++ compiler with Solaris linker
19439 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19440 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19441 + if $CC --version | grep -v '^2\.7' > /dev/null; then
19442 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19443 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19444 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19446 + # Commands to make compiler produce verbose output that lists
19447 + # what "hidden" libraries, object files and flags are used when
19448 + # linking a shared library.
19449 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19451 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
19453 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19454 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19455 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19457 + # Commands to make compiler produce verbose output that lists
19458 + # what "hidden" libraries, object files and flags are used when
19459 + # linking a shared library.
19460 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19463 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19468 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19469 + no_undefined_flag_CXX='${wl}-z,text'
19470 + archive_cmds_need_lc_CXX=no
19471 + hardcode_shlibpath_var_CXX=no
19472 + runpath_var='LD_RUN_PATH'
19474 + case $cc_basename in
19476 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19477 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19480 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19481 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19485 + sysv5* | sco3.2v5* | sco5v6*)
19486 + # Note: We can NOT use -z defs as we might desire, because we do not
19487 + # link with -lc, and that would cause any symbols used from libc to
19488 + # always be unresolved, which means just about no library would
19489 + # ever link correctly. If we're not using GNU ld we use -z text
19490 + # though, which does catch some bad symbols but isn't as heavy-handed
19492 + # For security reasons, it is highly recommended that you always
19493 + # use absolute paths for naming shared libraries, and exclude the
19494 + # DT_RUNPATH tag from executables and libraries. But doing so
19495 + # requires that you compile everything twice, which is a pain.
19496 + # So that behaviour is only enabled if SCOABSPATH is set to a
19497 + # non-empty value in the environment. Most likely only useful for
19498 + # creating official distributions of packages.
19499 + # This is a hack until libtool officially supports absolute path
19500 + # names for shared libraries.
19501 + no_undefined_flag_CXX='${wl}-z,text'
19502 + allow_undefined_flag_CXX='${wl}-z,nodefs'
19503 + archive_cmds_need_lc_CXX=no
19504 + hardcode_shlibpath_var_CXX=no
19505 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19506 + hardcode_libdir_separator_CXX=':'
19507 + link_all_deplibs_CXX=yes
19508 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
19509 + runpath_var='LD_RUN_PATH'
19511 + case $cc_basename in
19513 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19514 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19517 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19518 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19523 + case $cc_basename in
19525 + # NonStop-UX NCC 3.20
19526 + # FIXME: insert proper C++ library support
19530 + # FIXME: insert proper C++ library support
19536 + # FIXME: insert proper C++ library support
19540 + # FIXME: insert proper C++ library support
19544 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19545 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19546 +test "$ld_shlibs_CXX" = no && can_build_shared=no
19552 +cat > conftest.$ac_ext <<EOF
19556 + Foo (void) { a = 0; }
19562 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 + (eval $ac_compile) 2>&5
19565 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 + (exit $ac_status); }; then
19567 + # Parse the compiler output and extract the necessary
19568 + # objects, libraries and library flags.
19570 + # Sentinel used to keep track of whether or not we are before
19571 + # the conftest object file.
19572 + pre_test_object_deps_done=no
19574 + # The `*' in the case matches for architectures that use `case' in
19575 + # $output_verbose_cmd can trigger glob expansion during the loop
19576 + # eval without this substitution.
19577 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19579 + for p in `eval $output_verbose_link_cmd`; do
19583 + # Some compilers place space between "-{L,R}" and the path.
19584 + # Remove the space.
19585 + if test $p = "-L" \
19586 + || test $p = "-R"; then
19593 + if test "$pre_test_object_deps_done" = no; then
19596 + # Internal compiler library paths should come after those
19597 + # provided the user. The postdeps already come after the
19598 + # user supplied libs so there is no need to process them.
19599 + if test -z "$compiler_lib_search_path_CXX"; then
19600 + compiler_lib_search_path_CXX="${prev}${p}"
19602 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19605 + # The "-l" case would never come before the object being
19606 + # linked, so don't bother handling this case.
19609 + if test -z "$postdeps_CXX"; then
19610 + postdeps_CXX="${prev}${p}"
19612 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19618 + # This assumes that the test object file only shows up
19619 + # once in the compiler output.
19620 + if test "$p" = "conftest.$objext"; then
19621 + pre_test_object_deps_done=yes
19625 + if test "$pre_test_object_deps_done" = no; then
19626 + if test -z "$predep_objects_CXX"; then
19627 + predep_objects_CXX="$p"
19629 + predep_objects_CXX="$predep_objects_CXX $p"
19632 + if test -z "$postdep_objects_CXX"; then
19633 + postdep_objects_CXX="$p"
19635 + postdep_objects_CXX="$postdep_objects_CXX $p"
19640 + *) ;; # Ignore the rest.
19646 + rm -f a.out a.exe
19648 + echo "libtool.m4: error: problem compiling CXX test program"
19651 +$rm -f confest.$objext
19653 +# PORTME: override above test on systems where it is broken
19656 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
19657 + # hack all around it, let's just trust "g++" to DTRT.
19658 + predep_objects_CXX=
19659 + postdep_objects_CXX=
19664 + case $cc_basename in
19666 + # Adding this requires a known-good setup of shared libraries for
19667 + # Sun compiler versions before 5.6, else PIC objects from an old
19668 + # archive will be linked into the output, leading to subtle bugs.
19669 + postdeps_CXX='-lCstd -lCrun'
19676 +case " $postdeps_CXX " in
19677 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
19680 +lt_prog_compiler_wl_CXX=
19681 +lt_prog_compiler_pic_CXX=
19682 +lt_prog_compiler_static_CXX=
19684 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19685 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19687 + # C++ specific cases for pic, static, wl, etc.
19688 + if test "$GXX" = yes; then
19689 + lt_prog_compiler_wl_CXX='-Wl,'
19690 + lt_prog_compiler_static_CXX='-static'
19694 + # All AIX code is PIC.
19695 + if test "$host_cpu" = ia64; then
19696 + # AIX 5 now supports IA64 processor
19697 + lt_prog_compiler_static_CXX='-Bstatic'
19701 + # FIXME: we need at least 68020 code to build shared libraries, but
19702 + # adding the `-m68020' flag to GCC prevents building anything better,
19703 + # like `-m68040'.
19704 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19706 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19707 + # PIC is the default for these OSes.
19709 + mingw* | os2* | pw32*)
19710 + # This hack is so that the source file can tell whether it is being
19711 + # built for inclusion in a dll (and should export symbols for example).
19712 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19714 + darwin* | rhapsody*)
19715 + # PIC is the default on this platform
19716 + # Common symbols not allowed in MH_DYLIB files
19717 + lt_prog_compiler_pic_CXX='-fno-common'
19720 + # DJGPP does not support shared libraries at all
19721 + lt_prog_compiler_pic_CXX=
19724 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19725 + # Instead, we relocate shared libraries at runtime.
19728 + if test -d /usr/nec; then
19729 + lt_prog_compiler_pic_CXX=-Kconform_pic
19733 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19734 + # not for PA HP-UX.
19735 + case $host_cpu in
19739 + lt_prog_compiler_pic_CXX='-fPIC'
19744 + lt_prog_compiler_pic_CXX='-fPIC'
19750 + # All AIX code is PIC.
19751 + if test "$host_cpu" = ia64; then
19752 + # AIX 5 now supports IA64 processor
19753 + lt_prog_compiler_static_CXX='-Bstatic'
19755 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19759 + case $cc_basename in
19761 + # Green Hills C++ Compiler
19762 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19767 + # PIC is the default on this platform
19768 + # Common symbols not allowed in MH_DYLIB files
19769 + case $cc_basename in
19771 + lt_prog_compiler_pic_CXX='-qnocommon'
19772 + lt_prog_compiler_wl_CXX='-Wl,'
19777 + case $cc_basename in
19779 + lt_prog_compiler_pic_CXX='-KPIC'
19782 + # Green Hills C++ Compiler
19783 + lt_prog_compiler_pic_CXX='-pic'
19789 + freebsd* | dragonfly*)
19790 + # FreeBSD uses GNU C++
19792 + hpux9* | hpux10* | hpux11*)
19793 + case $cc_basename in
19795 + lt_prog_compiler_wl_CXX='-Wl,'
19796 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19797 + if test "$host_cpu" != ia64; then
19798 + lt_prog_compiler_pic_CXX='+Z'
19802 + lt_prog_compiler_wl_CXX='-Wl,'
19803 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19804 + case $host_cpu in
19809 + lt_prog_compiler_pic_CXX='+Z'
19818 + # This is c89, which is MS Visual C++ (no shared libs)
19819 + # Anyone wants to do a port?
19821 + irix5* | irix6* | nonstopux*)
19822 + case $cc_basename in
19824 + lt_prog_compiler_wl_CXX='-Wl,'
19825 + lt_prog_compiler_static_CXX='-non_shared'
19826 + # CC pic flag -KPIC is the default.
19832 + linux* | k*bsd*-gnu)
19833 + case $cc_basename in
19835 + # KAI C++ Compiler
19836 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19837 + lt_prog_compiler_pic_CXX='-fPIC'
19841 + lt_prog_compiler_wl_CXX='-Wl,'
19842 + lt_prog_compiler_pic_CXX='-KPIC'
19843 + lt_prog_compiler_static_CXX='-static'
19846 + # Portland Group C++ compiler.
19847 + lt_prog_compiler_wl_CXX='-Wl,'
19848 + lt_prog_compiler_pic_CXX='-fpic'
19849 + lt_prog_compiler_static_CXX='-Bstatic'
19853 + # Make sure the PIC flag is empty. It appears that all Alpha
19854 + # Linux and Compaq Tru64 Unix objects are PIC.
19855 + lt_prog_compiler_pic_CXX=
19856 + lt_prog_compiler_static_CXX='-non_shared'
19867 + case $cc_basename in
19869 + lt_prog_compiler_pic_CXX='-W c,exportall'
19875 + netbsd* | netbsdelf*-gnu)
19877 + osf3* | osf4* | osf5*)
19878 + case $cc_basename in
19880 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19883 + # Rational C++ 2.4.1
19884 + lt_prog_compiler_pic_CXX='-pic'
19887 + # Digital/Compaq C++
19888 + lt_prog_compiler_wl_CXX='-Wl,'
19889 + # Make sure the PIC flag is empty. It appears that all Alpha
19890 + # Linux and Compaq Tru64 Unix objects are PIC.
19891 + lt_prog_compiler_pic_CXX=
19892 + lt_prog_compiler_static_CXX='-non_shared'
19901 + case $cc_basename in
19903 + # Sun C++ 4.2, 5.x and Centerline C++
19904 + lt_prog_compiler_pic_CXX='-KPIC'
19905 + lt_prog_compiler_static_CXX='-Bstatic'
19906 + lt_prog_compiler_wl_CXX='-Qoption ld '
19909 + # Green Hills C++ Compiler
19910 + lt_prog_compiler_pic_CXX='-PIC'
19917 + case $cc_basename in
19920 + lt_prog_compiler_pic_CXX='-pic'
19921 + lt_prog_compiler_static_CXX='-Bstatic'
19925 + lt_prog_compiler_pic_CXX='-pic'
19932 + case $cc_basename in
19934 + # NonStop-UX NCC 3.20
19935 + lt_prog_compiler_pic_CXX='-KPIC'
19941 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19942 + case $cc_basename in
19944 + lt_prog_compiler_wl_CXX='-Wl,'
19945 + lt_prog_compiler_pic_CXX='-KPIC'
19946 + lt_prog_compiler_static_CXX='-Bstatic'
19953 + lt_prog_compiler_can_build_shared_CXX=no
19958 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19959 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19962 +# Check to make sure the PIC flag actually works.
19964 +if test -n "$lt_prog_compiler_pic_CXX"; then
19966 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19967 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19968 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19969 + echo $ECHO_N "(cached) $ECHO_C" >&6
19971 + lt_prog_compiler_pic_works_CXX=no
19972 + ac_outfile=conftest.$ac_objext
19973 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19974 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19975 + # Insert the option either (1) after the last *FLAGS variable, or
19976 + # (2) before a word containing "conftest.", or (3) at the end.
19977 + # Note that $ac_compile itself does not contain backslashes and begins
19978 + # with a dollar sign (not a hyphen), so the echo should work correctly.
19979 + # The option is referenced via a variable to avoid confusing sed.
19980 + lt_compile=`echo "$ac_compile" | $SED \
19981 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19982 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19983 + -e 's:$: $lt_compiler_flag:'`
19984 + (eval echo "\"\$as_me:12517: $lt_compile\"" >&5)
19985 + (eval "$lt_compile" 2>conftest.err)
19987 + cat conftest.err >&5
19988 + echo "$as_me:12521: \$? = $ac_status" >&5
19989 + if (exit $ac_status) && test -s "$ac_outfile"; then
19990 + # The compiler can only warn and ignore the option if not recognized
19991 + # So say no if there are warnings other than the usual output.
19992 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19993 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19994 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19995 + lt_prog_compiler_pic_works_CXX=yes
20001 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20002 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20004 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
20005 + case $lt_prog_compiler_pic_CXX in
20007 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20010 + lt_prog_compiler_pic_CXX=
20011 + lt_prog_compiler_can_build_shared_CXX=no
20016 + # For platforms which do not support PIC, -DPIC is meaningless:
20018 + lt_prog_compiler_pic_CXX=
20021 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20026 +# Check to make sure the static flag actually works.
20028 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20029 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20030 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20031 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20032 + echo $ECHO_N "(cached) $ECHO_C" >&6
20034 + lt_prog_compiler_static_works_CXX=no
20035 + save_LDFLAGS="$LDFLAGS"
20036 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20037 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
20038 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20039 + # The linker can only warn and ignore the option if not recognized
20040 + # So say no if there are warnings
20041 + if test -s conftest.err; then
20042 + # Append any errors to the config.log.
20043 + cat conftest.err 1>&5
20044 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20045 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20046 + if diff conftest.exp conftest.er2 >/dev/null; then
20047 + lt_prog_compiler_static_works_CXX=yes
20050 + lt_prog_compiler_static_works_CXX=yes
20054 + LDFLAGS="$save_LDFLAGS"
20057 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20058 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20060 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
20063 + lt_prog_compiler_static_CXX=
20067 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20068 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20069 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20070 + echo $ECHO_N "(cached) $ECHO_C" >&6
20072 + lt_cv_prog_compiler_c_o_CXX=no
20073 + $rm -r conftest 2>/dev/null
20077 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20079 + lt_compiler_flag="-o out/conftest2.$ac_objext"
20080 + # Insert the option either (1) after the last *FLAGS variable, or
20081 + # (2) before a word containing "conftest.", or (3) at the end.
20082 + # Note that $ac_compile itself does not contain backslashes and begins
20083 + # with a dollar sign (not a hyphen), so the echo should work correctly.
20084 + lt_compile=`echo "$ac_compile" | $SED \
20085 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20086 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20087 + -e 's:$: $lt_compiler_flag:'`
20088 + (eval echo "\"\$as_me:12621: $lt_compile\"" >&5)
20089 + (eval "$lt_compile" 2>out/conftest.err)
20091 + cat out/conftest.err >&5
20092 + echo "$as_me:12625: \$? = $ac_status" >&5
20093 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
20095 + # The compiler can only warn and ignore the option if not recognized
20096 + # So say no if there are warnings
20097 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20098 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20099 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20100 + lt_cv_prog_compiler_c_o_CXX=yes
20105 + # SGI C++ compiler will create directory out/ii_files/ for
20106 + # template instantiation
20107 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20108 + $rm out/* && rmdir out
20114 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20115 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20118 +hard_links="nottested"
20119 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20120 + # do not overwrite the value of need_locks provided by the user
20121 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20122 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20125 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20127 + ln conftest.a conftest.b 2>&5 || hard_links=no
20128 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20129 + { echo "$as_me:$LINENO: result: $hard_links" >&5
20130 +echo "${ECHO_T}$hard_links" >&6; }
20131 + if test "$hard_links" = no; then
20132 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20133 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20140 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20141 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20143 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20146 + # If we're using GNU nm, then we don't want the "-C" option.
20147 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
20148 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20149 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20151 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20155 + export_symbols_cmds_CXX="$ltdll_cmds"
20157 + cygwin* | mingw*)
20158 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20160 + linux* | k*bsd*-gnu)
20161 + link_all_deplibs_CXX=no
20164 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20168 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20169 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20170 +test "$ld_shlibs_CXX" = no && can_build_shared=no
20173 +# Do we need to explicitly link libc?
20175 +case "x$archive_cmds_need_lc_CXX" in
20177 + # Assume -lc should be added
20178 + archive_cmds_need_lc_CXX=yes
20180 + if test "$enable_shared" = yes && test "$GCC" = yes; then
20181 + case $archive_cmds_CXX in
20183 + # FIXME: we may have to deal with multi-command sequences.
20186 + # Test whether the compiler implicitly links with -lc since on some
20187 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
20188 + # to ld, don't add -lc before -lgcc.
20189 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20190 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20192 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20194 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20195 + (eval $ac_compile) 2>&5
20197 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 + (exit $ac_status); } 2>conftest.err; then
20201 + libobjs=conftest.$ac_objext
20203 + wl=$lt_prog_compiler_wl_CXX
20204 + pic_flag=$lt_prog_compiler_pic_CXX
20205 + compiler_flags=-v
20210 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20211 + allow_undefined_flag_CXX=
20212 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20213 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 + (exit $ac_status); }
20218 + archive_cmds_need_lc_CXX=no
20220 + archive_cmds_need_lc_CXX=yes
20222 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20224 + cat conftest.err 1>&5
20227 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20228 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20235 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20236 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20237 +library_names_spec=
20238 +libname_spec='lib$name'
20242 +postuninstall_cmds=
20246 +shlibpath_overrides_runpath=unknown
20248 +dynamic_linker="$host_os ld.so"
20249 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
20250 +if test "$GCC" = yes; then
20251 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20252 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20253 + # if the path contains ";" then we assume it to be the separator
20254 + # otherwise default to the standard path separator (i.e. ":") - it is
20255 + # assumed that no part of a normal pathname contains ";" but that should
20256 + # okay in the real world where ";" in dirpaths is itself problematic.
20257 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20259 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20262 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20264 +need_lib_prefix=unknown
20265 +hardcode_into_libs=no
20267 +# when you set need_version to no, make sure it does not cause -set_version
20268 +# flags to be left without arguments
20269 +need_version=unknown
20273 + version_type=linux
20274 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20275 + shlibpath_var=LIBPATH
20277 + # AIX 3 has no versioning support, so we append a major version to the name.
20278 + soname_spec='${libname}${release}${shared_ext}$major'
20282 + version_type=linux
20283 + need_lib_prefix=no
20285 + hardcode_into_libs=yes
20286 + if test "$host_cpu" = ia64; then
20287 + # AIX 5 supports IA64
20288 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20289 + shlibpath_var=LD_LIBRARY_PATH
20291 + # With GCC up to 2.95.x, collect2 would create an import file
20292 + # for dependence libraries. The import file would start with
20293 + # the line `#! .'. This would cause the generated library to
20294 + # depend on `.', always an invalid library. This was fixed in
20295 + # development snapshots of GCC prior to 3.0.
20297 + aix4 | aix4.[01] | aix4.[01].*)
20298 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20300 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20303 + can_build_shared=no
20307 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20308 + # soname into executable. Probably we can add versioning support to
20309 + # collect2, so additional links can be useful in future.
20310 + if test "$aix_use_runtimelinking" = yes; then
20311 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20312 + # instead of lib<name>.a to let people know that these are not
20313 + # typical AIX shared libraries.
20314 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20316 + # We preserve .a as extension for shared libraries through AIX4.2
20317 + # and later when we are not doing run time linking.
20318 + library_names_spec='${libname}${release}.a $libname.a'
20319 + soname_spec='${libname}${release}${shared_ext}$major'
20321 + shlibpath_var=LIBPATH
20326 + library_names_spec='$libname.ixlibrary $libname.a'
20327 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
20328 + 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'
20332 + library_names_spec='${libname}${shared_ext}'
20333 + dynamic_linker="$host_os ld.so"
20334 + shlibpath_var=LIBRARY_PATH
20338 + version_type=linux
20340 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20341 + soname_spec='${libname}${release}${shared_ext}$major'
20342 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20343 + shlibpath_var=LD_LIBRARY_PATH
20344 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20345 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20346 + # the default ld.so.conf also contains /usr/contrib/lib and
20347 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20348 + # libtool to hard-code these into programs
20351 +cygwin* | mingw* | pw32*)
20352 + version_type=windows
20353 + shrext_cmds=".dll"
20355 + need_lib_prefix=no
20357 + case $GCC,$host_os in
20358 + yes,cygwin* | yes,mingw* | yes,pw32*)
20359 + library_names_spec='$libname.dll.a'
20360 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
20361 + postinstall_cmds='base_file=`basename \${file}`~
20362 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20363 + dldir=$destdir/`dirname \$dlpath`~
20364 + test -d \$dldir || mkdir -p \$dldir~
20365 + $install_prog $dir/$dlname \$dldir/$dlname~
20366 + chmod a+x \$dldir/$dlname'
20367 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20368 + dlpath=$dir/\$dldll~
20370 + shlibpath_overrides_runpath=yes
20374 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20375 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20376 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20379 + # MinGW DLLs use traditional 'lib' prefix
20380 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20381 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20382 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20383 + # It is most probably a Windows format PATH printed by
20384 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
20385 + # path with ; separators, and with drive letters. We can handle the
20386 + # drive letters (cygwin fileutils understands them), so leave them,
20387 + # especially as we might pass files found there to a mingw objdump,
20388 + # which wouldn't understand a cygwinified path. Ahh.
20389 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20391 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20395 + # pw32 DLLs use 'pw' prefix rather than 'lib'
20396 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20402 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20405 + dynamic_linker='Win32 ld.exe'
20406 + # FIXME: first we should search . and the directory the executable is in
20407 + shlibpath_var=PATH
20410 +darwin* | rhapsody*)
20411 + dynamic_linker="$host_os dyld"
20412 + version_type=darwin
20413 + need_lib_prefix=no
20415 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20416 + soname_spec='${libname}${release}${major}$shared_ext'
20417 + shlibpath_overrides_runpath=yes
20418 + shlibpath_var=DYLD_LIBRARY_PATH
20419 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20420 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20421 + if test "$GCC" = yes; then
20422 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20424 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20426 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20430 + version_type=linux
20431 + need_lib_prefix=no
20433 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20434 + soname_spec='${libname}${release}${shared_ext}$major'
20435 + shlibpath_var=LD_LIBRARY_PATH
20439 + dynamic_linker=no
20442 +freebsd* | dragonfly*)
20443 + # DragonFly does not have aout. When/if they implement a new
20444 + # versioning mechanism, adjust this.
20445 + if test -x /usr/bin/objformat; then
20446 + objformat=`/usr/bin/objformat`
20449 + freebsd[123]*) objformat=aout ;;
20450 + *) objformat=elf ;;
20453 + version_type=freebsd-$objformat
20454 + case $version_type in
20456 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20458 + need_lib_prefix=no
20461 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20465 + shlibpath_var=LD_LIBRARY_PATH
20468 + shlibpath_overrides_runpath=yes
20470 + freebsd3.[01]* | freebsdelf3.[01]*)
20471 + shlibpath_overrides_runpath=yes
20472 + hardcode_into_libs=yes
20474 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20475 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20476 + shlibpath_overrides_runpath=no
20477 + hardcode_into_libs=yes
20479 + freebsd*) # from 4.6 on
20480 + shlibpath_overrides_runpath=yes
20481 + hardcode_into_libs=yes
20487 + version_type=linux
20488 + need_lib_prefix=no
20490 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20491 + soname_spec='${libname}${release}${shared_ext}$major'
20492 + shlibpath_var=LD_LIBRARY_PATH
20493 + hardcode_into_libs=yes
20496 +hpux9* | hpux10* | hpux11*)
20497 + # Give a soname corresponding to the major version so that dld.sl refuses to
20498 + # link against other versions.
20499 + version_type=sunos
20500 + need_lib_prefix=no
20502 + case $host_cpu in
20504 + shrext_cmds='.so'
20505 + hardcode_into_libs=yes
20506 + dynamic_linker="$host_os dld.so"
20507 + shlibpath_var=LD_LIBRARY_PATH
20508 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20509 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20510 + soname_spec='${libname}${release}${shared_ext}$major'
20511 + if test "X$HPUX_IA64_MODE" = X32; then
20512 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20514 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20516 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20519 + shrext_cmds='.sl'
20520 + hardcode_into_libs=yes
20521 + dynamic_linker="$host_os dld.sl"
20522 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20523 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20524 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20525 + soname_spec='${libname}${release}${shared_ext}$major'
20526 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20527 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20530 + shrext_cmds='.sl'
20531 + dynamic_linker="$host_os dld.sl"
20532 + shlibpath_var=SHLIB_PATH
20533 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20534 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20535 + soname_spec='${libname}${release}${shared_ext}$major'
20538 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
20539 + postinstall_cmds='chmod 555 $lib'
20543 + version_type=linux
20544 + need_lib_prefix=no
20546 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20547 + soname_spec='${libname}${release}${shared_ext}$major'
20548 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20549 + shlibpath_var=LD_LIBRARY_PATH
20550 + shlibpath_overrides_runpath=no
20551 + hardcode_into_libs=yes
20554 +irix5* | irix6* | nonstopux*)
20556 + nonstopux*) version_type=nonstopux ;;
20558 + if test "$lt_cv_prog_gnu_ld" = yes; then
20559 + version_type=linux
20561 + version_type=irix
20564 + need_lib_prefix=no
20566 + soname_spec='${libname}${release}${shared_ext}$major'
20567 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20569 + irix5* | nonstopux*)
20570 + libsuff= shlibsuff=
20573 + case $LD in # libtool.m4 will add one of these switches to LD
20574 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20575 + libsuff= shlibsuff= libmagic=32-bit;;
20576 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20577 + libsuff=32 shlibsuff=N32 libmagic=N32;;
20578 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20579 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
20580 + *) libsuff= shlibsuff= libmagic=never-match;;
20584 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20585 + shlibpath_overrides_runpath=no
20586 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20587 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20588 + hardcode_into_libs=yes
20591 +# No shared lib support for Linux oldld, aout, or coff.
20592 +linux*oldld* | linux*aout* | linux*coff*)
20593 + dynamic_linker=no
20596 +# This must be Linux ELF.
20597 +linux* | k*bsd*-gnu)
20598 + version_type=linux
20599 + need_lib_prefix=no
20601 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20602 + soname_spec='${libname}${release}${shared_ext}$major'
20603 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20604 + shlibpath_var=LD_LIBRARY_PATH
20605 + shlibpath_overrides_runpath=no
20606 + # This implies no fast_install, which is unacceptable.
20607 + # Some rework will be needed to allow for fast_install
20608 + # before this can be enabled.
20609 + hardcode_into_libs=yes
20611 + # Append ld.so.conf contents to the search path
20612 + if test -f /etc/ld.so.conf; then
20613 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20614 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20617 + # We used to test for /lib/ld.so.1 and disable shared libraries on
20618 + # powerpc, because MkLinux only supported shared libraries with the
20619 + # GNU dynamic linker. Since this was broken with cross compilers,
20620 + # most powerpc-linux boxes support dynamic linking these days and
20621 + # people can always --disable-shared, the test was removed, and we
20622 + # assume the GNU/Linux dynamic linker is in use.
20623 + dynamic_linker='GNU/Linux ld.so'
20627 + version_type=linux
20628 + need_lib_prefix=no
20630 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20631 + soname_spec='${libname}${release}${shared_ext}$major'
20632 + shlibpath_var=LD_LIBRARY_PATH
20633 + shlibpath_overrides_runpath=no
20634 + hardcode_into_libs=yes
20635 + dynamic_linker='NetBSD ld.elf_so'
20639 + version_type=sunos
20640 + need_lib_prefix=no
20642 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20643 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20644 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20645 + dynamic_linker='NetBSD (a.out) ld.so'
20647 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20648 + soname_spec='${libname}${release}${shared_ext}$major'
20649 + dynamic_linker='NetBSD ld.elf_so'
20651 + shlibpath_var=LD_LIBRARY_PATH
20652 + shlibpath_overrides_runpath=yes
20653 + hardcode_into_libs=yes
20657 + version_type=linux
20658 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20659 + shlibpath_var=LD_LIBRARY_PATH
20660 + shlibpath_overrides_runpath=yes
20664 + version_type=linux
20665 + need_lib_prefix=no
20667 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20668 + soname_spec='${libname}${release}${shared_ext}$major'
20669 + shlibpath_var=LD_LIBRARY_PATH
20670 + shlibpath_overrides_runpath=yes
20674 + version_type=sunos
20675 + sys_lib_dlsearch_path_spec="/usr/lib"
20676 + need_lib_prefix=no
20677 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20679 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20680 + *) need_version=no ;;
20682 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20683 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20684 + shlibpath_var=LD_LIBRARY_PATH
20685 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20687 + openbsd2.[89] | openbsd2.[89].*)
20688 + shlibpath_overrides_runpath=no
20691 + shlibpath_overrides_runpath=yes
20695 + shlibpath_overrides_runpath=yes
20700 + libname_spec='$name'
20701 + shrext_cmds=".dll"
20702 + need_lib_prefix=no
20703 + library_names_spec='$libname${shared_ext} $libname.a'
20704 + dynamic_linker='OS/2 ld.exe'
20705 + shlibpath_var=LIBPATH
20708 +osf3* | osf4* | osf5*)
20710 + need_lib_prefix=no
20712 + soname_spec='${libname}${release}${shared_ext}$major'
20713 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20714 + shlibpath_var=LD_LIBRARY_PATH
20715 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20716 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20720 + version_type=linux
20721 + need_lib_prefix=no
20723 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20724 + soname_spec='${libname}${release}${shared_ext}$major'
20725 + shlibpath_var=LD_LIBRARY_PATH
20726 + shlibpath_overrides_runpath=yes
20727 + hardcode_into_libs=yes
20728 + # ldd complains unless libraries are executable
20729 + postinstall_cmds='chmod +x $lib'
20733 + version_type=sunos
20734 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20735 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20736 + shlibpath_var=LD_LIBRARY_PATH
20737 + shlibpath_overrides_runpath=yes
20738 + if test "$with_gnu_ld" = yes; then
20739 + need_lib_prefix=no
20745 + version_type=linux
20746 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20747 + soname_spec='${libname}${release}${shared_ext}$major'
20748 + shlibpath_var=LD_LIBRARY_PATH
20749 + case $host_vendor in
20751 + shlibpath_overrides_runpath=no
20752 + need_lib_prefix=no
20753 + export_dynamic_flag_spec='${wl}-Blargedynsym'
20754 + runpath_var=LD_RUN_PATH
20757 + need_lib_prefix=no
20760 + need_lib_prefix=no
20762 + shlibpath_overrides_runpath=no
20763 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20769 + if test -d /usr/nec ;then
20770 + version_type=linux
20771 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20772 + soname_spec='$libname${shared_ext}.$major'
20773 + shlibpath_var=LD_LIBRARY_PATH
20777 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20778 + version_type=freebsd-elf
20779 + need_lib_prefix=no
20781 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20782 + soname_spec='${libname}${release}${shared_ext}$major'
20783 + shlibpath_var=LD_LIBRARY_PATH
20784 + hardcode_into_libs=yes
20785 + if test "$with_gnu_ld" = yes; then
20786 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20787 + shlibpath_overrides_runpath=no
20789 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20790 + shlibpath_overrides_runpath=yes
20793 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20797 + sys_lib_dlsearch_path_spec='/usr/lib'
20801 + version_type=linux
20802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20803 + soname_spec='${libname}${release}${shared_ext}$major'
20804 + shlibpath_var=LD_LIBRARY_PATH
20808 + dynamic_linker=no
20811 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20812 +echo "${ECHO_T}$dynamic_linker" >&6; }
20813 +test "$dynamic_linker" = no && can_build_shared=no
20815 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20816 +if test "$GCC" = yes; then
20817 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20820 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20821 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20822 +hardcode_action_CXX=
20823 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
20824 + test -n "$runpath_var_CXX" || \
20825 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
20827 + # We can hardcode non-existant directories.
20828 + if test "$hardcode_direct_CXX" != no &&
20829 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
20830 + # have to relink, otherwise we might link with an installed library
20831 + # when we should be linking with a yet-to-be-installed one
20832 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20833 + test "$hardcode_minus_L_CXX" != no; then
20834 + # Linking always hardcodes the temporary library directory.
20835 + hardcode_action_CXX=relink
20837 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
20838 + hardcode_action_CXX=immediate
20841 + # We cannot hardcode anything, or else we can only hardcode existing
20843 + hardcode_action_CXX=unsupported
20845 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20846 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20848 +if test "$hardcode_action_CXX" = relink; then
20849 + # Fast installation is not supported
20850 + enable_fast_install=no
20851 +elif test "$shlibpath_overrides_runpath" = yes ||
20852 + test "$enable_shared" = no; then
20853 + # Fast installation is not necessary
20854 + enable_fast_install=needless
20858 +# The else clause should only fire when bootstrapping the
20859 +# libtool distribution, otherwise you forgot to ship ltmain.sh
20860 +# with your package, and you will get complaints that there are
20861 +# no rules to generate ltmain.sh.
20862 +if test -f "$ltmain"; then
20863 + # See if we are running on zsh, and set the options which allow our commands through
20864 + # without removal of \ escapes.
20865 + if test -n "${ZSH_VERSION+set}" ; then
20866 + setopt NO_GLOB_SUBST
20868 + # Now quote all the things that may contain metacharacters while being
20869 + # careful not to overquote the AC_SUBSTed values. We take copies of the
20870 + # variables and quote the copies for generation of the libtool script.
20871 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20872 + SED SHELL STRIP \
20873 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20874 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20875 + deplibs_check_method reload_flag reload_cmds need_locks \
20876 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20877 + lt_cv_sys_global_symbol_to_c_name_address \
20878 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20879 + old_postinstall_cmds old_postuninstall_cmds \
20883 + lt_prog_compiler_wl_CXX \
20884 + lt_prog_compiler_pic_CXX \
20885 + lt_prog_compiler_static_CXX \
20886 + lt_prog_compiler_no_builtin_flag_CXX \
20887 + export_dynamic_flag_spec_CXX \
20888 + thread_safe_flag_spec_CXX \
20889 + whole_archive_flag_spec_CXX \
20890 + enable_shared_with_static_runtimes_CXX \
20891 + old_archive_cmds_CXX \
20892 + old_archive_from_new_cmds_CXX \
20893 + predep_objects_CXX \
20894 + postdep_objects_CXX \
20897 + compiler_lib_search_path_CXX \
20898 + archive_cmds_CXX \
20899 + archive_expsym_cmds_CXX \
20900 + postinstall_cmds_CXX \
20901 + postuninstall_cmds_CXX \
20902 + old_archive_from_expsyms_cmds_CXX \
20903 + allow_undefined_flag_CXX \
20904 + no_undefined_flag_CXX \
20905 + export_symbols_cmds_CXX \
20906 + hardcode_libdir_flag_spec_CXX \
20907 + hardcode_libdir_flag_spec_ld_CXX \
20908 + hardcode_libdir_separator_CXX \
20909 + hardcode_automatic_CXX \
20910 + module_cmds_CXX \
20911 + module_expsym_cmds_CXX \
20912 + lt_cv_prog_compiler_c_o_CXX \
20913 + exclude_expsyms_CXX \
20914 + include_expsyms_CXX; do
20917 + old_archive_cmds_CXX | \
20918 + old_archive_from_new_cmds_CXX | \
20919 + archive_cmds_CXX | \
20920 + archive_expsym_cmds_CXX | \
20921 + module_cmds_CXX | \
20922 + module_expsym_cmds_CXX | \
20923 + old_archive_from_expsyms_cmds_CXX | \
20924 + export_symbols_cmds_CXX | \
20925 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
20926 + postinstall_cmds | postuninstall_cmds | \
20927 + old_postinstall_cmds | old_postuninstall_cmds | \
20928 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20929 + # Double-quote double-evaled strings.
20930 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20933 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20939 + *'\$0 --fallback-echo"')
20940 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20946 + cat <<__EOF__ >> "$cfgfile"
20947 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20949 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20951 +# Shell to use when invoking shell scripts.
20954 +# Whether or not to build shared libraries.
20955 +build_libtool_libs=$enable_shared
20957 +# Whether or not to build static libraries.
20958 +build_old_libs=$enable_static
20960 +# Whether or not to add -lc for building shared libraries.
20961 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
20963 +# Whether or not to disallow shared libs when runtime libs are static
20964 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20966 +# Whether or not to optimize for fast installation.
20967 +fast_install=$enable_fast_install
20969 +# The host system.
20970 +host_alias=$host_alias
20974 +# The build system.
20975 +build_alias=$build_alias
20977 +build_os=$build_os
20979 +# An echo program that does not interpret backslashes.
20984 +AR_FLAGS=$lt_AR_FLAGS
20989 +# LTCC compiler flags.
20990 +LTCFLAGS=$lt_LTCFLAGS
20992 +# A language-specific compiler.
20993 +CC=$lt_compiler_CXX
20995 +# Is the compiler the GNU C compiler?
21001 +# The linker used to build libraries.
21004 +# Whether we need hard or soft links.
21007 +# A BSD-compatible nm program.
21010 +# A symbol stripping program
21013 +# Used to examine libraries when file_magic_cmd begins "file"
21014 +MAGIC_CMD=$MAGIC_CMD
21016 +# Used on cygwin: DLL creation program.
21017 +DLLTOOL="$DLLTOOL"
21019 +# Used on cygwin: object dumper.
21020 +OBJDUMP="$OBJDUMP"
21022 +# Used on cygwin: assembler.
21025 +# The name of the directory that contains temporary libtool files.
21028 +# How to create reloadable object files.
21029 +reload_flag=$lt_reload_flag
21030 +reload_cmds=$lt_reload_cmds
21032 +# How to pass a linker flag through the compiler.
21033 +wl=$lt_lt_prog_compiler_wl_CXX
21035 +# Object file suffix (normally "o").
21036 +objext="$ac_objext"
21038 +# Old archive suffix (normally "a").
21041 +# Shared library suffix (normally ".so").
21042 +shrext_cmds='$shrext_cmds'
21044 +# Executable file suffix (normally "").
21047 +# Additional compiler flags for building library objects.
21048 +pic_flag=$lt_lt_prog_compiler_pic_CXX
21049 +pic_mode=$pic_mode
21051 +# What is the maximum length of a command?
21052 +max_cmd_len=$lt_cv_sys_max_cmd_len
21054 +# Does compiler simultaneously support -c and -o options?
21055 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21057 +# Must we lock files when doing compilation?
21058 +need_locks=$lt_need_locks
21060 +# Do we need the lib prefix for modules?
21061 +need_lib_prefix=$need_lib_prefix
21063 +# Do we need a version for libraries?
21064 +need_version=$need_version
21066 +# Whether dlopen is supported.
21067 +dlopen_support=$enable_dlopen
21069 +# Whether dlopen of programs is supported.
21070 +dlopen_self=$enable_dlopen_self
21072 +# Whether dlopen of statically linked programs is supported.
21073 +dlopen_self_static=$enable_dlopen_self_static
21075 +# Compiler flag to prevent dynamic linking.
21076 +link_static_flag=$lt_lt_prog_compiler_static_CXX
21078 +# Compiler flag to turn off builtin functions.
21079 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21081 +# Compiler flag to allow reflexive dlopens.
21082 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21084 +# Compiler flag to generate shared objects directly from archives.
21085 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21087 +# Compiler flag to generate thread-safe objects.
21088 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21090 +# Library versioning type.
21091 +version_type=$version_type
21093 +# Format of library name prefix.
21094 +libname_spec=$lt_libname_spec
21096 +# List of archive names. First name is the real one, the rest are links.
21097 +# The last name is the one that the linker finds with -lNAME.
21098 +library_names_spec=$lt_library_names_spec
21100 +# The coded name of the library, if different from the real name.
21101 +soname_spec=$lt_soname_spec
21103 +# Commands used to build and install an old-style archive.
21105 +old_archive_cmds=$lt_old_archive_cmds_CXX
21106 +old_postinstall_cmds=$lt_old_postinstall_cmds
21107 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
21109 +# Create an old-style archive from a shared archive.
21110 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21112 +# Create a temporary old-style archive to link instead of a shared archive.
21113 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21115 +# Commands used to build and install a shared archive.
21116 +archive_cmds=$lt_archive_cmds_CXX
21117 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21118 +postinstall_cmds=$lt_postinstall_cmds
21119 +postuninstall_cmds=$lt_postuninstall_cmds
21121 +# Commands used to build a loadable module (assumed same as above if empty)
21122 +module_cmds=$lt_module_cmds_CXX
21123 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
21125 +# Commands to strip libraries.
21126 +old_striplib=$lt_old_striplib
21127 +striplib=$lt_striplib
21129 +# Dependencies to place before the objects being linked to create a
21131 +predep_objects=$lt_predep_objects_CXX
21133 +# Dependencies to place after the objects being linked to create a
21135 +postdep_objects=$lt_postdep_objects_CXX
21137 +# Dependencies to place before the objects being linked to create a
21139 +predeps=$lt_predeps_CXX
21141 +# Dependencies to place after the objects being linked to create a
21143 +postdeps=$lt_postdeps_CXX
21145 +# The library search path used internally by the compiler when linking
21146 +# a shared library.
21147 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21149 +# Method to check whether dependent libraries are shared objects.
21150 +deplibs_check_method=$lt_deplibs_check_method
21152 +# Command to use when deplibs_check_method == file_magic.
21153 +file_magic_cmd=$lt_file_magic_cmd
21155 +# Flag that allows shared libraries with undefined symbols to be built.
21156 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
21158 +# Flag that forces no undefined symbols.
21159 +no_undefined_flag=$lt_no_undefined_flag_CXX
21161 +# Commands used to finish a libtool library installation in a directory.
21162 +finish_cmds=$lt_finish_cmds
21164 +# Same as above, but a single script fragment to be evaled but not shown.
21165 +finish_eval=$lt_finish_eval
21167 +# Take the output of nm and produce a listing of raw symbols and C names.
21168 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21170 +# Transform the output of nm in a proper C declaration
21171 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21173 +# Transform the output of nm in a C name address pair
21174 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21176 +# This is the shared library runtime path variable.
21177 +runpath_var=$runpath_var
21179 +# This is the shared library path variable.
21180 +shlibpath_var=$shlibpath_var
21182 +# Is shlibpath searched before the hard-coded library search path?
21183 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21185 +# How to hardcode a shared library path into an executable.
21186 +hardcode_action=$hardcode_action_CXX
21188 +# Whether we should hardcode library paths into libraries.
21189 +hardcode_into_libs=$hardcode_into_libs
21191 +# Flag to hardcode \$libdir into a binary during linking.
21192 +# This must work even if \$libdir does not exist.
21193 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21195 +# If ld is used when linking, flag to hardcode \$libdir into
21196 +# a binary during linking. This must work even if \$libdir does
21198 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21200 +# Whether we need a single -rpath flag with a separated argument.
21201 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21203 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21204 +# resulting binary.
21205 +hardcode_direct=$hardcode_direct_CXX
21207 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21208 +# resulting binary.
21209 +hardcode_minus_L=$hardcode_minus_L_CXX
21211 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21212 +# the resulting binary.
21213 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21215 +# Set to yes if building a shared library automatically hardcodes DIR into the library
21216 +# and all subsequent libraries and executables linked against it.
21217 +hardcode_automatic=$hardcode_automatic_CXX
21219 +# Variables whose values should be saved in libtool wrapper scripts and
21220 +# restored at relink time.
21221 +variables_saved_for_relink="$variables_saved_for_relink"
21223 +# Whether libtool must link a program against all its dependency libraries.
21224 +link_all_deplibs=$link_all_deplibs_CXX
21226 +# Compile-time system search path for libraries
21227 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21229 +# Run-time system search path for libraries
21230 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21232 +# Fix the shell variable \$srcfile for the compiler.
21233 +fix_srcfile_path="$fix_srcfile_path_CXX"
21235 +# Set to yes if exported symbols are required.
21236 +always_export_symbols=$always_export_symbols_CXX
21238 +# The commands to list exported symbols.
21239 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
21241 +# The commands to extract the exported symbol list from a shared archive.
21242 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
21244 +# Symbols that should not be listed in the preloaded symbols.
21245 +exclude_expsyms=$lt_exclude_expsyms_CXX
21247 +# Symbols that must always be exported.
21248 +include_expsyms=$lt_include_expsyms_CXX
21250 +# ### END LIBTOOL TAG CONFIG: $tagname
21256 + # If there is no Makefile yet, we rely on a make rule to execute
21257 + # `config.status --recheck' to rerun these tests and create the
21258 + # libtool script then.
21259 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21260 + if test -f "$ltmain_in"; then
21261 + test -f Makefile && make "$ltmain"
21267 +ac_cpp='$CPP $CPPFLAGS'
21268 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276 +with_gnu_ldcxx=$with_gnu_ld
21277 +with_gnu_ld=$lt_save_with_gnu_ld
21278 +lt_cv_path_LDCXX=$lt_cv_path_LD
21279 +lt_cv_path_LD=$lt_save_path_LD
21280 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21281 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21289 + if test -n "$F77" && test "X$F77" != "Xno"; then
21292 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21293 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21297 +archive_cmds_need_lc_F77=no
21298 +allow_undefined_flag_F77=
21299 +always_export_symbols_F77=no
21300 +archive_expsym_cmds_F77=
21301 +export_dynamic_flag_spec_F77=
21302 +hardcode_direct_F77=no
21303 +hardcode_libdir_flag_spec_F77=
21304 +hardcode_libdir_flag_spec_ld_F77=
21305 +hardcode_libdir_separator_F77=
21306 +hardcode_minus_L_F77=no
21307 +hardcode_automatic_F77=no
21309 +module_expsym_cmds_F77=
21310 +link_all_deplibs_F77=unknown
21311 +old_archive_cmds_F77=$old_archive_cmds
21312 +no_undefined_flag_F77=
21313 +whole_archive_flag_spec_F77=
21314 +enable_shared_with_static_runtimes_F77=no
21316 +# Source file extension for f77 test sources.
21319 +# Object file extension for compiled f77 test sources.
21321 +objext_F77=$objext
21323 +# Code to be used in simple compile tests
21324 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
21326 +# Code to be used in simple link tests
21327 +lt_simple_link_test_code=" program t\n end\n"
21329 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21331 +# If no C compiler was specified, use CC.
21332 +LTCC=${LTCC-"$CC"}
21334 +# If no C compiler flags were specified, use CFLAGS.
21335 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21337 +# Allow CC to be a program name with arguments.
21341 +# save warnings/boilerplate of simple test code
21342 +ac_outfile=conftest.$ac_objext
21343 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21344 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21345 +_lt_compiler_boilerplate=`cat conftest.err`
21348 +ac_outfile=conftest.$ac_objext
21349 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
21350 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21351 +_lt_linker_boilerplate=`cat conftest.err`
21355 +# Allow CC to be a program name with arguments.
21360 +for cc_temp in $compiler""; do
21362 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21363 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21368 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21371 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21372 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21373 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
21374 +echo "${ECHO_T}$can_build_shared" >&6; }
21376 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21377 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21378 +test "$can_build_shared" = "no" && enable_shared=no
21380 +# On AIX, shared libraries and static libraries use the same namespace, and
21381 +# are all built from PIC.
21384 + test "$enable_shared" = yes && enable_static=no
21385 + if test -n "$RANLIB"; then
21386 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
21387 + postinstall_cmds='$RANLIB $lib'
21391 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21392 + test "$enable_shared" = yes && enable_static=no
21396 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
21397 +echo "${ECHO_T}$enable_shared" >&6; }
21399 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21400 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21401 +# Make sure either enable_shared or enable_static is yes.
21402 +test "$enable_shared" = yes || enable_static=yes
21403 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
21404 +echo "${ECHO_T}$enable_static" >&6; }
21409 +lt_prog_compiler_wl_F77=
21410 +lt_prog_compiler_pic_F77=
21411 +lt_prog_compiler_static_F77=
21413 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21414 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21416 + if test "$GCC" = yes; then
21417 + lt_prog_compiler_wl_F77='-Wl,'
21418 + lt_prog_compiler_static_F77='-static'
21422 + # All AIX code is PIC.
21423 + if test "$host_cpu" = ia64; then
21424 + # AIX 5 now supports IA64 processor
21425 + lt_prog_compiler_static_F77='-Bstatic'
21430 + # FIXME: we need at least 68020 code to build shared libraries, but
21431 + # adding the `-m68020' flag to GCC prevents building anything better,
21432 + # like `-m68040'.
21433 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21436 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21437 + # PIC is the default for these OSes.
21440 + mingw* | pw32* | os2*)
21441 + # This hack is so that the source file can tell whether it is being
21442 + # built for inclusion in a dll (and should export symbols for example).
21443 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21446 + darwin* | rhapsody*)
21447 + # PIC is the default on this platform
21448 + # Common symbols not allowed in MH_DYLIB files
21449 + lt_prog_compiler_pic_F77='-fno-common'
21453 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21454 + # Instead, we relocate shared libraries at runtime.
21458 + # Just because we use GCC doesn't mean we suddenly get shared libraries
21459 + # on systems that don't support them.
21460 + lt_prog_compiler_can_build_shared_F77=no
21465 + if test -d /usr/nec; then
21466 + lt_prog_compiler_pic_F77=-Kconform_pic
21471 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21472 + # not for PA HP-UX.
21473 + case $host_cpu in
21478 + lt_prog_compiler_pic_F77='-fPIC'
21484 + lt_prog_compiler_pic_F77='-fPIC'
21488 + # PORTME Check for flag to pass linker flags through the system compiler.
21491 + lt_prog_compiler_wl_F77='-Wl,'
21492 + if test "$host_cpu" = ia64; then
21493 + # AIX 5 now supports IA64 processor
21494 + lt_prog_compiler_static_F77='-Bstatic'
21496 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21500 + # PIC is the default on this platform
21501 + # Common symbols not allowed in MH_DYLIB files
21502 + case $cc_basename in
21504 + lt_prog_compiler_pic_F77='-qnocommon'
21505 + lt_prog_compiler_wl_F77='-Wl,'
21510 + mingw* | pw32* | os2*)
21511 + # This hack is so that the source file can tell whether it is being
21512 + # built for inclusion in a dll (and should export symbols for example).
21513 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21516 + hpux9* | hpux10* | hpux11*)
21517 + lt_prog_compiler_wl_F77='-Wl,'
21518 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21519 + # not for PA HP-UX.
21520 + case $host_cpu in
21525 + lt_prog_compiler_pic_F77='+Z'
21528 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
21529 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21532 + irix5* | irix6* | nonstopux*)
21533 + lt_prog_compiler_wl_F77='-Wl,'
21534 + # PIC (with -KPIC) is the default.
21535 + lt_prog_compiler_static_F77='-non_shared'
21539 + lt_prog_compiler_pic_F77='-KPIC'
21540 + lt_prog_compiler_static_F77='-Bstatic'
21543 + linux* | k*bsd*-gnu)
21544 + case $cc_basename in
21546 + lt_prog_compiler_wl_F77='-Wl,'
21547 + lt_prog_compiler_pic_F77='-KPIC'
21548 + lt_prog_compiler_static_F77='-static'
21550 + pgcc* | pgf77* | pgf90* | pgf95*)
21551 + # Portland Group compilers (*not* the Pentium gcc compiler,
21552 + # which looks to be a dead project)
21553 + lt_prog_compiler_wl_F77='-Wl,'
21554 + lt_prog_compiler_pic_F77='-fpic'
21555 + lt_prog_compiler_static_F77='-Bstatic'
21558 + lt_prog_compiler_wl_F77='-Wl,'
21559 + # All Alpha code is PIC.
21560 + lt_prog_compiler_static_F77='-non_shared'
21565 + osf3* | osf4* | osf5*)
21566 + lt_prog_compiler_wl_F77='-Wl,'
21567 + # All OSF/1 code is PIC.
21568 + lt_prog_compiler_static_F77='-non_shared'
21572 + lt_prog_compiler_pic_F77='-KPIC'
21573 + lt_prog_compiler_static_F77='-Bstatic'
21574 + case $cc_basename in
21575 + f77* | f90* | f95*)
21576 + lt_prog_compiler_wl_F77='-Qoption ld ';;
21578 + lt_prog_compiler_wl_F77='-Wl,';;
21583 + lt_prog_compiler_wl_F77='-Qoption ld '
21584 + lt_prog_compiler_pic_F77='-PIC'
21585 + lt_prog_compiler_static_F77='-Bstatic'
21588 + sysv4 | sysv4.2uw2* | sysv4.3*)
21589 + lt_prog_compiler_wl_F77='-Wl,'
21590 + lt_prog_compiler_pic_F77='-KPIC'
21591 + lt_prog_compiler_static_F77='-Bstatic'
21595 + if test -d /usr/nec ;then
21596 + lt_prog_compiler_pic_F77='-Kconform_pic'
21597 + lt_prog_compiler_static_F77='-Bstatic'
21601 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21602 + lt_prog_compiler_wl_F77='-Wl,'
21603 + lt_prog_compiler_pic_F77='-KPIC'
21604 + lt_prog_compiler_static_F77='-Bstatic'
21608 + lt_prog_compiler_wl_F77='-Wl,'
21609 + lt_prog_compiler_can_build_shared_F77=no
21613 + lt_prog_compiler_pic_F77='-pic'
21614 + lt_prog_compiler_static_F77='-Bstatic'
21618 + lt_prog_compiler_can_build_shared_F77=no
21623 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21624 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21627 +# Check to make sure the PIC flag actually works.
21629 +if test -n "$lt_prog_compiler_pic_F77"; then
21631 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21632 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21633 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21634 + echo $ECHO_N "(cached) $ECHO_C" >&6
21636 + lt_prog_compiler_pic_works_F77=no
21637 + ac_outfile=conftest.$ac_objext
21638 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21639 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
21640 + # Insert the option either (1) after the last *FLAGS variable, or
21641 + # (2) before a word containing "conftest.", or (3) at the end.
21642 + # Note that $ac_compile itself does not contain backslashes and begins
21643 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21644 + # The option is referenced via a variable to avoid confusing sed.
21645 + lt_compile=`echo "$ac_compile" | $SED \
21646 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21647 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21648 + -e 's:$: $lt_compiler_flag:'`
21649 + (eval echo "\"\$as_me:14182: $lt_compile\"" >&5)
21650 + (eval "$lt_compile" 2>conftest.err)
21652 + cat conftest.err >&5
21653 + echo "$as_me:14186: \$? = $ac_status" >&5
21654 + if (exit $ac_status) && test -s "$ac_outfile"; then
21655 + # The compiler can only warn and ignore the option if not recognized
21656 + # So say no if there are warnings other than the usual output.
21657 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21658 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21659 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21660 + lt_prog_compiler_pic_works_F77=yes
21666 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21667 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21669 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21670 + case $lt_prog_compiler_pic_F77 in
21672 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21675 + lt_prog_compiler_pic_F77=
21676 + lt_prog_compiler_can_build_shared_F77=no
21681 + # For platforms which do not support PIC, -DPIC is meaningless:
21683 + lt_prog_compiler_pic_F77=
21686 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21691 +# Check to make sure the static flag actually works.
21693 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21694 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21695 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21696 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21697 + echo $ECHO_N "(cached) $ECHO_C" >&6
21699 + lt_prog_compiler_static_works_F77=no
21700 + save_LDFLAGS="$LDFLAGS"
21701 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21702 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
21703 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21704 + # The linker can only warn and ignore the option if not recognized
21705 + # So say no if there are warnings
21706 + if test -s conftest.err; then
21707 + # Append any errors to the config.log.
21708 + cat conftest.err 1>&5
21709 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21710 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21711 + if diff conftest.exp conftest.er2 >/dev/null; then
21712 + lt_prog_compiler_static_works_F77=yes
21715 + lt_prog_compiler_static_works_F77=yes
21719 + LDFLAGS="$save_LDFLAGS"
21722 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21723 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21725 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21728 + lt_prog_compiler_static_F77=
21732 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21733 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21734 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21735 + echo $ECHO_N "(cached) $ECHO_C" >&6
21737 + lt_cv_prog_compiler_c_o_F77=no
21738 + $rm -r conftest 2>/dev/null
21742 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21744 + lt_compiler_flag="-o out/conftest2.$ac_objext"
21745 + # Insert the option either (1) after the last *FLAGS variable, or
21746 + # (2) before a word containing "conftest.", or (3) at the end.
21747 + # Note that $ac_compile itself does not contain backslashes and begins
21748 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21749 + lt_compile=`echo "$ac_compile" | $SED \
21750 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21751 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21752 + -e 's:$: $lt_compiler_flag:'`
21753 + (eval echo "\"\$as_me:14286: $lt_compile\"" >&5)
21754 + (eval "$lt_compile" 2>out/conftest.err)
21756 + cat out/conftest.err >&5
21757 + echo "$as_me:14290: \$? = $ac_status" >&5
21758 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
21760 + # The compiler can only warn and ignore the option if not recognized
21761 + # So say no if there are warnings
21762 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21763 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21764 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21765 + lt_cv_prog_compiler_c_o_F77=yes
21770 + # SGI C++ compiler will create directory out/ii_files/ for
21771 + # template instantiation
21772 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21773 + $rm out/* && rmdir out
21779 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21780 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21783 +hard_links="nottested"
21784 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21785 + # do not overwrite the value of need_locks provided by the user
21786 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21787 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21790 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21792 + ln conftest.a conftest.b 2>&5 || hard_links=no
21793 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21794 + { echo "$as_me:$LINENO: result: $hard_links" >&5
21795 +echo "${ECHO_T}$hard_links" >&6; }
21796 + if test "$hard_links" = no; then
21797 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21798 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21805 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21806 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21809 + allow_undefined_flag_F77=
21810 + enable_shared_with_static_runtimes_F77=no
21811 + archive_cmds_F77=
21812 + archive_expsym_cmds_F77=
21813 + old_archive_From_new_cmds_F77=
21814 + old_archive_from_expsyms_cmds_F77=
21815 + export_dynamic_flag_spec_F77=
21816 + whole_archive_flag_spec_F77=
21817 + thread_safe_flag_spec_F77=
21818 + hardcode_libdir_flag_spec_F77=
21819 + hardcode_libdir_flag_spec_ld_F77=
21820 + hardcode_libdir_separator_F77=
21821 + hardcode_direct_F77=no
21822 + hardcode_minus_L_F77=no
21823 + hardcode_shlibpath_var_F77=unsupported
21824 + link_all_deplibs_F77=unknown
21825 + hardcode_automatic_F77=no
21827 + module_expsym_cmds_F77=
21828 + always_export_symbols_F77=no
21829 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21830 + # include_expsyms should be a list of space-separated symbols to be *always*
21831 + # included in the symbol list
21832 + include_expsyms_F77=
21833 + # exclude_expsyms can be an extended regexp of symbols to exclude
21834 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
21835 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21836 + # as well as any symbol that contains `d'.
21837 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21838 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21839 + # platforms (ab)use it in PIC code, but their linkers get confused if
21840 + # the symbol is explicitly referenced. Since portable code cannot
21841 + # rely on this symbol name, it's probably fine to never include it in
21842 + # preloaded symbol tables.
21843 + extract_expsyms_cmds=
21844 + # Just being paranoid about ensuring that cc_basename is set.
21845 + for cc_temp in $compiler""; do
21847 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21848 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21853 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21856 + cygwin* | mingw* | pw32*)
21857 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
21858 + # When not using gcc, we currently assume that we are using
21859 + # Microsoft Visual C++.
21860 + if test "$GCC" != yes; then
21865 + # we just hope/assume this is gcc and not c89 (= MSVC++)
21873 + ld_shlibs_F77=yes
21874 + if test "$with_gnu_ld" = yes; then
21875 + # If archive_cmds runs LD, not CC, wlarc should be empty
21878 + # Set some defaults for GNU ld with shared library support. These
21879 + # are reset later if shared libraries are not supported. Putting them
21880 + # here allows them to be overridden if necessary.
21881 + runpath_var=LD_RUN_PATH
21882 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21883 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21884 + # ancient GNU ld didn't support --whole-archive et. al.
21885 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21886 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21888 + whole_archive_flag_spec_F77=
21890 + supports_anon_versioning=no
21891 + case `$LD -v 2>/dev/null` in
21892 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21893 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21894 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21895 + *\ 2.11.*) ;; # other 2.11 versions
21896 + *) supports_anon_versioning=yes ;;
21899 + # See if GNU ld supports shared libraries.
21901 + aix3* | aix4* | aix5*)
21902 + # On AIX/PPC, the GNU linker is very broken
21903 + if test "$host_cpu" != ia64; then
21907 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21908 +*** to be unable to reliably create shared libraries on AIX.
21909 +*** Therefore, libtool is disabling shared libraries support. If you
21910 +*** really care for shared libraries, you may want to modify your PATH
21911 +*** so that a non-GNU linker is found, and then restart.
21918 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21919 + hardcode_libdir_flag_spec_F77='-L$libdir'
21920 + hardcode_minus_L_F77=yes
21922 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21923 + # that the semantics of dynamic libraries on AmigaOS, at least up
21924 + # to version 4, is to share data among multiple programs linked
21925 + # with the same dynamic library. Since this doesn't match the
21926 + # behavior of shared libraries on other platforms, we can't use
21932 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21933 + allow_undefined_flag_F77=unsupported
21934 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21935 + # support --undefined. This deserves some investigation. FIXME
21936 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21942 + cygwin* | mingw* | pw32*)
21943 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21944 + # as there is no search path for DLLs.
21945 + hardcode_libdir_flag_spec_F77='-L$libdir'
21946 + allow_undefined_flag_F77=unsupported
21947 + always_export_symbols_F77=no
21948 + enable_shared_with_static_runtimes_F77=yes
21949 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21951 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21952 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21953 + # If the export-symbols file already is a .def file (1st line
21954 + # is EXPORTS), use it as is; otherwise, prepend...
21955 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21956 + cp $export_symbols $output_objdir/$soname.def;
21958 + echo EXPORTS > $output_objdir/$soname.def;
21959 + cat $export_symbols >> $output_objdir/$soname.def;
21961 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21968 + hardcode_direct_F77=no
21969 + hardcode_shlibpath_var_F77=no
21970 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21971 + export_dynamic_flag_spec_F77='${wl}-E'
21972 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21973 + # Instead, shared libraries are loaded at an image base (0x10000000 by
21974 + # default) and relocated if they conflict, which is a slow very memory
21975 + # consuming and fragmenting process. To avoid this, we pick a random,
21976 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21977 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21978 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21979 + archive_expsym_cmds_F77='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'
21982 + linux* | k*bsd*-gnu)
21983 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21985 + case $cc_basename,$host_cpu in
21986 + pgcc*) # Portland Group C compiler
21987 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21988 + tmp_addflag=' $pic_flag'
21990 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21991 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21992 + tmp_addflag=' $pic_flag -Mnomain' ;;
21993 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21994 + tmp_addflag=' -i_dynamic' ;;
21995 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21996 + tmp_addflag=' -i_dynamic -nofor_main' ;;
21997 + ifc* | ifort*) # Intel Fortran compiler
21998 + tmp_addflag=' -nofor_main' ;;
22000 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22002 + if test $supports_anon_versioning = yes; then
22003 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22004 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22005 + $echo "local: *; };" >> $output_objdir/$libname.ver~
22006 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22008 + link_all_deplibs_F77=no
22014 + netbsd* | netbsdelf*-gnu)
22015 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22016 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22019 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22020 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22025 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22029 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22030 +*** create shared libraries on Solaris systems. Therefore, libtool
22031 +*** is disabling shared libraries support. We urge you to upgrade GNU
22032 +*** binutils to release 2.9.1 or newer. Another option is to modify
22033 +*** your PATH or compiler configuration so that the native linker is
22034 +*** used, and then restart.
22037 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22038 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22039 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22045 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22046 + case `$LD -v 2>&1` in
22047 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22049 + cat <<_LT_EOF 1>&2
22051 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22052 +*** reliably create shared libraries on SCO systems. Therefore, libtool
22053 +*** is disabling shared libraries support. We urge you to upgrade GNU
22054 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22055 +*** your PATH or compiler configuration so that the native linker is
22056 +*** used, and then restart.
22061 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22062 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22063 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22064 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22073 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22075 + hardcode_direct_F77=yes
22076 + hardcode_shlibpath_var_F77=no
22080 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22081 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22082 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22089 + if test "$ld_shlibs_F77" = no; then
22091 + hardcode_libdir_flag_spec_F77=
22092 + export_dynamic_flag_spec_F77=
22093 + whole_archive_flag_spec_F77=
22096 + # PORTME fill in a description of your system's linker (not GNU ld)
22099 + allow_undefined_flag_F77=unsupported
22100 + always_export_symbols_F77=yes
22101 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22102 + # Note: this linker hardcodes the directories in LIBPATH if there
22103 + # are no directories specified by -L.
22104 + hardcode_minus_L_F77=yes
22105 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22106 + # Neither direct hardcoding nor static linking is supported with a
22107 + # broken collect2.
22108 + hardcode_direct_F77=unsupported
22113 + if test "$host_cpu" = ia64; then
22114 + # On IA64, the linker does run time linking by default, so we don't
22115 + # have to do anything special.
22116 + aix_use_runtimelinking=no
22117 + exp_sym_flag='-Bexport'
22120 + # If we're using GNU nm, then we don't want the "-C" option.
22121 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
22122 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22123 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22125 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22127 + aix_use_runtimelinking=no
22129 + # Test if we are trying to use run time linking or normal
22130 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22131 + # need to do runtime linking.
22132 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22133 + for ld_flag in $LDFLAGS; do
22134 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22135 + aix_use_runtimelinking=yes
22142 + exp_sym_flag='-bexport'
22143 + no_entry_flag='-bnoentry'
22146 + # When large executables or shared objects are built, AIX ld can
22147 + # have problems creating the table of contents. If linking a library
22148 + # or program results in "error TOC overflow" add -mminimal-toc to
22149 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22150 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22152 + archive_cmds_F77=''
22153 + hardcode_direct_F77=yes
22154 + hardcode_libdir_separator_F77=':'
22155 + link_all_deplibs_F77=yes
22157 + if test "$GCC" = yes; then
22158 + case $host_os in aix4.[012]|aix4.[012].*)
22159 + # We only want to do this on AIX 4.2 and lower, the check
22160 + # below for broken collect2 doesn't work under 4.3+
22161 + collect2name=`${CC} -print-prog-name=collect2`
22162 + if test -f "$collect2name" && \
22163 + strings "$collect2name" | grep resolve_lib_name >/dev/null
22165 + # We have reworked collect2
22166 + hardcode_direct_F77=yes
22168 + # We have old collect2
22169 + hardcode_direct_F77=unsupported
22170 + # It fails to find uninstalled libraries when the uninstalled
22171 + # path is not listed in the libpath. Setting hardcode_minus_L
22172 + # to unsupported forces relinking
22173 + hardcode_minus_L_F77=yes
22174 + hardcode_libdir_flag_spec_F77='-L$libdir'
22175 + hardcode_libdir_separator_F77=
22179 + shared_flag='-shared'
22180 + if test "$aix_use_runtimelinking" = yes; then
22181 + shared_flag="$shared_flag "'${wl}-G'
22185 + if test "$host_cpu" = ia64; then
22186 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22187 + # chokes on -Wl,-G. The following line is correct:
22190 + if test "$aix_use_runtimelinking" = yes; then
22191 + shared_flag='${wl}-G'
22193 + shared_flag='${wl}-bM:SRE'
22198 + # It seems that -bexpall does not export symbols beginning with
22199 + # underscore (_), so it is better to generate a list of symbols to export.
22200 + always_export_symbols_F77=yes
22201 + if test "$aix_use_runtimelinking" = yes; then
22202 + # Warning - without using the other runtime loading flags (-brtl),
22203 + # -berok will link without error, but may produce a broken library.
22204 + allow_undefined_flag_F77='-berok'
22205 + # Determine the default libpath from the value encoded in an empty executable.
22206 + cat >conftest.$ac_ext <<_ACEOF
22211 +rm -f conftest.$ac_objext conftest$ac_exeext
22212 +if { (ac_try="$ac_link"
22213 +case "(($ac_try" in
22214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215 + *) ac_try_echo=$ac_try;;
22217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 + (eval "$ac_link") 2>conftest.er1
22220 + grep -v '^ *+' conftest.er1 >conftest.err
22221 + rm -f conftest.er1
22222 + cat conftest.err >&5
22223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 + (exit $ac_status); } && {
22225 + test -z "$ac_f77_werror_flag" ||
22226 + test ! -s conftest.err
22227 + } && test -s conftest$ac_exeext &&
22228 + $as_test_x conftest$ac_exeext; then
22230 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22232 +# Check for a 64-bit object if we didn't find anything.
22233 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22236 + echo "$as_me: failed program was:" >&5
22237 +sed 's/^/| /' conftest.$ac_ext >&5
22242 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22243 + conftest$ac_exeext conftest.$ac_ext
22244 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22246 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22247 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22249 + if test "$host_cpu" = ia64; then
22250 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22251 + allow_undefined_flag_F77="-z nodefs"
22252 + archive_expsym_cmds_F77="\$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"
22254 + # Determine the default libpath from the value encoded in an empty executable.
22255 + cat >conftest.$ac_ext <<_ACEOF
22260 +rm -f conftest.$ac_objext conftest$ac_exeext
22261 +if { (ac_try="$ac_link"
22262 +case "(($ac_try" in
22263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 + *) ac_try_echo=$ac_try;;
22266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 + (eval "$ac_link") 2>conftest.er1
22269 + grep -v '^ *+' conftest.er1 >conftest.err
22270 + rm -f conftest.er1
22271 + cat conftest.err >&5
22272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 + (exit $ac_status); } && {
22274 + test -z "$ac_f77_werror_flag" ||
22275 + test ! -s conftest.err
22276 + } && test -s conftest$ac_exeext &&
22277 + $as_test_x conftest$ac_exeext; then
22279 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22281 +# Check for a 64-bit object if we didn't find anything.
22282 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22285 + echo "$as_me: failed program was:" >&5
22286 +sed 's/^/| /' conftest.$ac_ext >&5
22291 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22292 + conftest$ac_exeext conftest.$ac_ext
22293 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22295 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22296 + # Warning - without using the other run time loading flags,
22297 + # -berok will link without error, but may produce a broken library.
22298 + no_undefined_flag_F77=' ${wl}-bernotok'
22299 + allow_undefined_flag_F77=' ${wl}-berok'
22300 + # Exported symbols can be pulled into shared objects from archives
22301 + whole_archive_flag_spec_F77='$convenience'
22302 + archive_cmds_need_lc_F77=yes
22303 + # This is similar to how AIX traditionally builds its shared libraries.
22304 + archive_expsym_cmds_F77="\$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'
22310 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
22311 + hardcode_libdir_flag_spec_F77='-L$libdir'
22312 + hardcode_minus_L_F77=yes
22313 + # see comment about different semantics on the GNU ld section
22318 + export_dynamic_flag_spec_F77=-rdynamic
22321 + cygwin* | mingw* | pw32*)
22322 + # When not using gcc, we currently assume that we are using
22323 + # Microsoft Visual C++.
22324 + # hardcode_libdir_flag_spec is actually meaningless, as there is
22325 + # no search path for DLLs.
22326 + hardcode_libdir_flag_spec_F77=' '
22327 + allow_undefined_flag_F77=unsupported
22328 + # Tell ltmain to make .lib files, not .a files.
22330 + # Tell ltmain to make .dll files, not .so files.
22331 + shrext_cmds=".dll"
22332 + # FIXME: Setting linknames here is a bad hack.
22333 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22334 + # The linker will automatically build a .lib file if we build a DLL.
22335 + old_archive_From_new_cmds_F77='true'
22336 + # FIXME: Should let the user specify the lib program.
22337 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
22338 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22339 + enable_shared_with_static_runtimes_F77=yes
22342 + darwin* | rhapsody*)
22344 + rhapsody* | darwin1.[012])
22345 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22347 + *) # Darwin 1.3 on
22348 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22349 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22351 + case ${MACOSX_DEPLOYMENT_TARGET} in
22353 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22356 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22362 + archive_cmds_need_lc_F77=no
22363 + hardcode_direct_F77=no
22364 + hardcode_automatic_F77=yes
22365 + hardcode_shlibpath_var_F77=unsupported
22366 + whole_archive_flag_spec_F77=''
22367 + link_all_deplibs_F77=yes
22368 + if test "$GCC" = yes ; then
22369 + output_verbose_link_cmd='echo'
22370 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22371 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22372 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22373 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22374 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22376 + case $cc_basename in
22378 + output_verbose_link_cmd='echo'
22379 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22380 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22381 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22382 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22383 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22393 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22394 + hardcode_libdir_flag_spec_F77='-L$libdir'
22395 + hardcode_shlibpath_var_F77=no
22402 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22403 + # support. Future versions do this automatically, but an explicit c++rt0.o
22404 + # does not break anything, and helps significantly (at the cost of a little
22407 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22408 + hardcode_libdir_flag_spec_F77='-R$libdir'
22409 + hardcode_direct_F77=yes
22410 + hardcode_shlibpath_var_F77=no
22413 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22415 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22416 + hardcode_direct_F77=yes
22417 + hardcode_minus_L_F77=yes
22418 + hardcode_shlibpath_var_F77=no
22421 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22422 + freebsd* | dragonfly*)
22423 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22424 + hardcode_libdir_flag_spec_F77='-R$libdir'
22425 + hardcode_direct_F77=yes
22426 + hardcode_shlibpath_var_F77=no
22430 + if test "$GCC" = yes; then
22431 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22433 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22435 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22436 + hardcode_libdir_separator_F77=:
22437 + hardcode_direct_F77=yes
22439 + # hardcode_minus_L: Not really in the search PATH,
22440 + # but as the default location of the library.
22441 + hardcode_minus_L_F77=yes
22442 + export_dynamic_flag_spec_F77='${wl}-E'
22446 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22447 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22449 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22451 + if test "$with_gnu_ld" = no; then
22452 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22453 + hardcode_libdir_separator_F77=:
22455 + hardcode_direct_F77=yes
22456 + export_dynamic_flag_spec_F77='${wl}-E'
22458 + # hardcode_minus_L: Not really in the search PATH,
22459 + # but as the default location of the library.
22460 + hardcode_minus_L_F77=yes
22465 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22466 + case $host_cpu in
22468 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22471 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22474 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22478 + case $host_cpu in
22480 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22483 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22486 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22490 + if test "$with_gnu_ld" = no; then
22491 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22492 + hardcode_libdir_separator_F77=:
22494 + case $host_cpu in
22496 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22497 + hardcode_direct_F77=no
22498 + hardcode_shlibpath_var_F77=no
22501 + hardcode_direct_F77=yes
22502 + export_dynamic_flag_spec_F77='${wl}-E'
22504 + # hardcode_minus_L: Not really in the search PATH,
22505 + # but as the default location of the library.
22506 + hardcode_minus_L_F77=yes
22512 + irix5* | irix6* | nonstopux*)
22513 + if test "$GCC" = yes; then
22514 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22516 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22517 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22519 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22520 + hardcode_libdir_separator_F77=:
22521 + link_all_deplibs_F77=yes
22524 + netbsd* | netbsdelf*-gnu)
22525 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22526 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22528 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22530 + hardcode_libdir_flag_spec_F77='-R$libdir'
22531 + hardcode_direct_F77=yes
22532 + hardcode_shlibpath_var_F77=no
22536 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22537 + hardcode_direct_F77=yes
22538 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22539 + hardcode_libdir_separator_F77=:
22540 + hardcode_shlibpath_var_F77=no
22544 + hardcode_direct_F77=yes
22545 + hardcode_shlibpath_var_F77=no
22546 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22547 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22548 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22549 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22550 + export_dynamic_flag_spec_F77='${wl}-E'
22553 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22554 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22555 + hardcode_libdir_flag_spec_F77='-R$libdir'
22558 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22559 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22566 + hardcode_libdir_flag_spec_F77='-L$libdir'
22567 + hardcode_minus_L_F77=yes
22568 + allow_undefined_flag_F77=unsupported
22569 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
22570 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22574 + if test "$GCC" = yes; then
22575 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22576 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22578 + allow_undefined_flag_F77=' -expect_unresolved \*'
22579 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22581 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22582 + hardcode_libdir_separator_F77=:
22585 + osf4* | osf5*) # as osf3* with the addition of -msym flag
22586 + if test "$GCC" = yes; then
22587 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22588 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22589 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22591 + allow_undefined_flag_F77=' -expect_unresolved \*'
22592 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22593 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22594 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
22596 + # Both c and cxx compiler support -rpath directly
22597 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
22599 + hardcode_libdir_separator_F77=:
22603 + no_undefined_flag_F77=' -z text'
22604 + if test "$GCC" = yes; then
22606 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22607 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22608 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22611 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22612 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22613 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22615 + hardcode_libdir_flag_spec_F77='-R$libdir'
22616 + hardcode_shlibpath_var_F77=no
22618 + solaris2.[0-5] | solaris2.[0-5].*) ;;
22620 + # The compiler driver will combine linker options so we
22621 + # cannot just pass the convience library names through
22622 + # without $wl, iff we do not link with $LD.
22623 + # Luckily, gcc supports the same syntax we need for Sun Studio.
22624 + # Supported since Solaris 2.6 (maybe 2.5.1?)
22627 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22629 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
22632 + link_all_deplibs_F77=yes
22636 + if test "x$host_vendor" = xsequent; then
22637 + # Use $CC to link under sequent, because it throws in some extra .o
22638 + # files that make .init and .fini sections work.
22639 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22641 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22643 + hardcode_libdir_flag_spec_F77='-L$libdir'
22644 + hardcode_direct_F77=yes
22645 + hardcode_minus_L_F77=yes
22646 + hardcode_shlibpath_var_F77=no
22650 + case $host_vendor in
22652 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22653 + hardcode_direct_F77=yes # is this really true???
22656 + ## LD is ld it makes a PLAMLIB
22657 + ## CC just makes a GrossModule.
22658 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22659 + reload_cmds_F77='$CC -r -o $output$reload_objs'
22660 + hardcode_direct_F77=no
22663 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22664 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22667 + runpath_var='LD_RUN_PATH'
22668 + hardcode_shlibpath_var_F77=no
22672 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22673 + hardcode_shlibpath_var_F77=no
22674 + export_dynamic_flag_spec_F77='-Bexport'
22678 + if test -d /usr/nec; then
22679 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22680 + hardcode_shlibpath_var_F77=no
22681 + runpath_var=LD_RUN_PATH
22682 + hardcode_runpath_var=yes
22683 + ld_shlibs_F77=yes
22687 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22688 + no_undefined_flag_F77='${wl}-z,text'
22689 + archive_cmds_need_lc_F77=no
22690 + hardcode_shlibpath_var_F77=no
22691 + runpath_var='LD_RUN_PATH'
22693 + if test "$GCC" = yes; then
22694 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22695 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22697 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22698 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22702 + sysv5* | sco3.2v5* | sco5v6*)
22703 + # Note: We can NOT use -z defs as we might desire, because we do not
22704 + # link with -lc, and that would cause any symbols used from libc to
22705 + # always be unresolved, which means just about no library would
22706 + # ever link correctly. If we're not using GNU ld we use -z text
22707 + # though, which does catch some bad symbols but isn't as heavy-handed
22709 + no_undefined_flag_F77='${wl}-z,text'
22710 + allow_undefined_flag_F77='${wl}-z,nodefs'
22711 + archive_cmds_need_lc_F77=no
22712 + hardcode_shlibpath_var_F77=no
22713 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22714 + hardcode_libdir_separator_F77=':'
22715 + link_all_deplibs_F77=yes
22716 + export_dynamic_flag_spec_F77='${wl}-Bexport'
22717 + runpath_var='LD_RUN_PATH'
22719 + if test "$GCC" = yes; then
22720 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22721 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22723 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22724 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22729 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22730 + hardcode_libdir_flag_spec_F77='-L$libdir'
22731 + hardcode_shlibpath_var_F77=no
22740 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22741 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22742 +test "$ld_shlibs_F77" = no && can_build_shared=no
22745 +# Do we need to explicitly link libc?
22747 +case "x$archive_cmds_need_lc_F77" in
22749 + # Assume -lc should be added
22750 + archive_cmds_need_lc_F77=yes
22752 + if test "$enable_shared" = yes && test "$GCC" = yes; then
22753 + case $archive_cmds_F77 in
22755 + # FIXME: we may have to deal with multi-command sequences.
22758 + # Test whether the compiler implicitly links with -lc since on some
22759 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
22760 + # to ld, don't add -lc before -lgcc.
22761 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22762 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22764 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22766 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22767 + (eval $ac_compile) 2>&5
22769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 + (exit $ac_status); } 2>conftest.err; then
22773 + libobjs=conftest.$ac_objext
22775 + wl=$lt_prog_compiler_wl_F77
22776 + pic_flag=$lt_prog_compiler_pic_F77
22777 + compiler_flags=-v
22782 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22783 + allow_undefined_flag_F77=
22784 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22785 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 + (exit $ac_status); }
22790 + archive_cmds_need_lc_F77=no
22792 + archive_cmds_need_lc_F77=yes
22794 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22796 + cat conftest.err 1>&5
22799 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22800 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22807 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22808 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22809 +library_names_spec=
22810 +libname_spec='lib$name'
22814 +postuninstall_cmds=
22818 +shlibpath_overrides_runpath=unknown
22820 +dynamic_linker="$host_os ld.so"
22821 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
22822 +if test "$GCC" = yes; then
22823 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22824 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22825 + # if the path contains ";" then we assume it to be the separator
22826 + # otherwise default to the standard path separator (i.e. ":") - it is
22827 + # assumed that no part of a normal pathname contains ";" but that should
22828 + # okay in the real world where ";" in dirpaths is itself problematic.
22829 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22831 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22834 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22836 +need_lib_prefix=unknown
22837 +hardcode_into_libs=no
22839 +# when you set need_version to no, make sure it does not cause -set_version
22840 +# flags to be left without arguments
22841 +need_version=unknown
22845 + version_type=linux
22846 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22847 + shlibpath_var=LIBPATH
22849 + # AIX 3 has no versioning support, so we append a major version to the name.
22850 + soname_spec='${libname}${release}${shared_ext}$major'
22854 + version_type=linux
22855 + need_lib_prefix=no
22857 + hardcode_into_libs=yes
22858 + if test "$host_cpu" = ia64; then
22859 + # AIX 5 supports IA64
22860 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22861 + shlibpath_var=LD_LIBRARY_PATH
22863 + # With GCC up to 2.95.x, collect2 would create an import file
22864 + # for dependence libraries. The import file would start with
22865 + # the line `#! .'. This would cause the generated library to
22866 + # depend on `.', always an invalid library. This was fixed in
22867 + # development snapshots of GCC prior to 3.0.
22869 + aix4 | aix4.[01] | aix4.[01].*)
22870 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22872 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22875 + can_build_shared=no
22879 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22880 + # soname into executable. Probably we can add versioning support to
22881 + # collect2, so additional links can be useful in future.
22882 + if test "$aix_use_runtimelinking" = yes; then
22883 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22884 + # instead of lib<name>.a to let people know that these are not
22885 + # typical AIX shared libraries.
22886 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22888 + # We preserve .a as extension for shared libraries through AIX4.2
22889 + # and later when we are not doing run time linking.
22890 + library_names_spec='${libname}${release}.a $libname.a'
22891 + soname_spec='${libname}${release}${shared_ext}$major'
22893 + shlibpath_var=LIBPATH
22898 + library_names_spec='$libname.ixlibrary $libname.a'
22899 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
22900 + 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'
22904 + library_names_spec='${libname}${shared_ext}'
22905 + dynamic_linker="$host_os ld.so"
22906 + shlibpath_var=LIBRARY_PATH
22910 + version_type=linux
22912 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22913 + soname_spec='${libname}${release}${shared_ext}$major'
22914 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22915 + shlibpath_var=LD_LIBRARY_PATH
22916 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22917 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22918 + # the default ld.so.conf also contains /usr/contrib/lib and
22919 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22920 + # libtool to hard-code these into programs
22923 +cygwin* | mingw* | pw32*)
22924 + version_type=windows
22925 + shrext_cmds=".dll"
22927 + need_lib_prefix=no
22929 + case $GCC,$host_os in
22930 + yes,cygwin* | yes,mingw* | yes,pw32*)
22931 + library_names_spec='$libname.dll.a'
22932 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
22933 + postinstall_cmds='base_file=`basename \${file}`~
22934 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22935 + dldir=$destdir/`dirname \$dlpath`~
22936 + test -d \$dldir || mkdir -p \$dldir~
22937 + $install_prog $dir/$dlname \$dldir/$dlname~
22938 + chmod a+x \$dldir/$dlname'
22939 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22940 + dlpath=$dir/\$dldll~
22942 + shlibpath_overrides_runpath=yes
22946 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22947 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22948 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22951 + # MinGW DLLs use traditional 'lib' prefix
22952 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22953 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22954 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22955 + # It is most probably a Windows format PATH printed by
22956 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
22957 + # path with ; separators, and with drive letters. We can handle the
22958 + # drive letters (cygwin fileutils understands them), so leave them,
22959 + # especially as we might pass files found there to a mingw objdump,
22960 + # which wouldn't understand a cygwinified path. Ahh.
22961 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22963 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22967 + # pw32 DLLs use 'pw' prefix rather than 'lib'
22968 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22974 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22977 + dynamic_linker='Win32 ld.exe'
22978 + # FIXME: first we should search . and the directory the executable is in
22979 + shlibpath_var=PATH
22982 +darwin* | rhapsody*)
22983 + dynamic_linker="$host_os dyld"
22984 + version_type=darwin
22985 + need_lib_prefix=no
22987 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22988 + soname_spec='${libname}${release}${major}$shared_ext'
22989 + shlibpath_overrides_runpath=yes
22990 + shlibpath_var=DYLD_LIBRARY_PATH
22991 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22992 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22993 + if test "$GCC" = yes; then
22994 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
22996 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22998 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23002 + version_type=linux
23003 + need_lib_prefix=no
23005 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23006 + soname_spec='${libname}${release}${shared_ext}$major'
23007 + shlibpath_var=LD_LIBRARY_PATH
23011 + dynamic_linker=no
23014 +freebsd* | dragonfly*)
23015 + # DragonFly does not have aout. When/if they implement a new
23016 + # versioning mechanism, adjust this.
23017 + if test -x /usr/bin/objformat; then
23018 + objformat=`/usr/bin/objformat`
23021 + freebsd[123]*) objformat=aout ;;
23022 + *) objformat=elf ;;
23025 + version_type=freebsd-$objformat
23026 + case $version_type in
23028 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23030 + need_lib_prefix=no
23033 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23037 + shlibpath_var=LD_LIBRARY_PATH
23040 + shlibpath_overrides_runpath=yes
23042 + freebsd3.[01]* | freebsdelf3.[01]*)
23043 + shlibpath_overrides_runpath=yes
23044 + hardcode_into_libs=yes
23046 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23047 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23048 + shlibpath_overrides_runpath=no
23049 + hardcode_into_libs=yes
23051 + freebsd*) # from 4.6 on
23052 + shlibpath_overrides_runpath=yes
23053 + hardcode_into_libs=yes
23059 + version_type=linux
23060 + need_lib_prefix=no
23062 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23063 + soname_spec='${libname}${release}${shared_ext}$major'
23064 + shlibpath_var=LD_LIBRARY_PATH
23065 + hardcode_into_libs=yes
23068 +hpux9* | hpux10* | hpux11*)
23069 + # Give a soname corresponding to the major version so that dld.sl refuses to
23070 + # link against other versions.
23071 + version_type=sunos
23072 + need_lib_prefix=no
23074 + case $host_cpu in
23076 + shrext_cmds='.so'
23077 + hardcode_into_libs=yes
23078 + dynamic_linker="$host_os dld.so"
23079 + shlibpath_var=LD_LIBRARY_PATH
23080 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23082 + soname_spec='${libname}${release}${shared_ext}$major'
23083 + if test "X$HPUX_IA64_MODE" = X32; then
23084 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23086 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23088 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23091 + shrext_cmds='.sl'
23092 + hardcode_into_libs=yes
23093 + dynamic_linker="$host_os dld.sl"
23094 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23095 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23096 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23097 + soname_spec='${libname}${release}${shared_ext}$major'
23098 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23099 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23102 + shrext_cmds='.sl'
23103 + dynamic_linker="$host_os dld.sl"
23104 + shlibpath_var=SHLIB_PATH
23105 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23106 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23107 + soname_spec='${libname}${release}${shared_ext}$major'
23110 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
23111 + postinstall_cmds='chmod 555 $lib'
23115 + version_type=linux
23116 + need_lib_prefix=no
23118 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23119 + soname_spec='${libname}${release}${shared_ext}$major'
23120 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23121 + shlibpath_var=LD_LIBRARY_PATH
23122 + shlibpath_overrides_runpath=no
23123 + hardcode_into_libs=yes
23126 +irix5* | irix6* | nonstopux*)
23128 + nonstopux*) version_type=nonstopux ;;
23130 + if test "$lt_cv_prog_gnu_ld" = yes; then
23131 + version_type=linux
23133 + version_type=irix
23136 + need_lib_prefix=no
23138 + soname_spec='${libname}${release}${shared_ext}$major'
23139 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23141 + irix5* | nonstopux*)
23142 + libsuff= shlibsuff=
23145 + case $LD in # libtool.m4 will add one of these switches to LD
23146 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23147 + libsuff= shlibsuff= libmagic=32-bit;;
23148 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23149 + libsuff=32 shlibsuff=N32 libmagic=N32;;
23150 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23151 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
23152 + *) libsuff= shlibsuff= libmagic=never-match;;
23156 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23157 + shlibpath_overrides_runpath=no
23158 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23159 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23160 + hardcode_into_libs=yes
23163 +# No shared lib support for Linux oldld, aout, or coff.
23164 +linux*oldld* | linux*aout* | linux*coff*)
23165 + dynamic_linker=no
23168 +# This must be Linux ELF.
23169 +linux* | k*bsd*-gnu)
23170 + version_type=linux
23171 + need_lib_prefix=no
23173 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23174 + soname_spec='${libname}${release}${shared_ext}$major'
23175 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23176 + shlibpath_var=LD_LIBRARY_PATH
23177 + shlibpath_overrides_runpath=no
23178 + # This implies no fast_install, which is unacceptable.
23179 + # Some rework will be needed to allow for fast_install
23180 + # before this can be enabled.
23181 + hardcode_into_libs=yes
23183 + # Append ld.so.conf contents to the search path
23184 + if test -f /etc/ld.so.conf; then
23185 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
23186 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23189 + # We used to test for /lib/ld.so.1 and disable shared libraries on
23190 + # powerpc, because MkLinux only supported shared libraries with the
23191 + # GNU dynamic linker. Since this was broken with cross compilers,
23192 + # most powerpc-linux boxes support dynamic linking these days and
23193 + # people can always --disable-shared, the test was removed, and we
23194 + # assume the GNU/Linux dynamic linker is in use.
23195 + dynamic_linker='GNU/Linux ld.so'
23199 + version_type=linux
23200 + need_lib_prefix=no
23202 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23203 + soname_spec='${libname}${release}${shared_ext}$major'
23204 + shlibpath_var=LD_LIBRARY_PATH
23205 + shlibpath_overrides_runpath=no
23206 + hardcode_into_libs=yes
23207 + dynamic_linker='NetBSD ld.elf_so'
23211 + version_type=sunos
23212 + need_lib_prefix=no
23214 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23215 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23216 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23217 + dynamic_linker='NetBSD (a.out) ld.so'
23219 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23220 + soname_spec='${libname}${release}${shared_ext}$major'
23221 + dynamic_linker='NetBSD ld.elf_so'
23223 + shlibpath_var=LD_LIBRARY_PATH
23224 + shlibpath_overrides_runpath=yes
23225 + hardcode_into_libs=yes
23229 + version_type=linux
23230 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23231 + shlibpath_var=LD_LIBRARY_PATH
23232 + shlibpath_overrides_runpath=yes
23236 + version_type=linux
23237 + need_lib_prefix=no
23239 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23240 + soname_spec='${libname}${release}${shared_ext}$major'
23241 + shlibpath_var=LD_LIBRARY_PATH
23242 + shlibpath_overrides_runpath=yes
23246 + version_type=sunos
23247 + sys_lib_dlsearch_path_spec="/usr/lib"
23248 + need_lib_prefix=no
23249 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23251 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23252 + *) need_version=no ;;
23254 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23255 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23256 + shlibpath_var=LD_LIBRARY_PATH
23257 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23259 + openbsd2.[89] | openbsd2.[89].*)
23260 + shlibpath_overrides_runpath=no
23263 + shlibpath_overrides_runpath=yes
23267 + shlibpath_overrides_runpath=yes
23272 + libname_spec='$name'
23273 + shrext_cmds=".dll"
23274 + need_lib_prefix=no
23275 + library_names_spec='$libname${shared_ext} $libname.a'
23276 + dynamic_linker='OS/2 ld.exe'
23277 + shlibpath_var=LIBPATH
23280 +osf3* | osf4* | osf5*)
23282 + need_lib_prefix=no
23284 + soname_spec='${libname}${release}${shared_ext}$major'
23285 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23286 + shlibpath_var=LD_LIBRARY_PATH
23287 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23288 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23292 + version_type=linux
23293 + need_lib_prefix=no
23295 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23296 + soname_spec='${libname}${release}${shared_ext}$major'
23297 + shlibpath_var=LD_LIBRARY_PATH
23298 + shlibpath_overrides_runpath=yes
23299 + hardcode_into_libs=yes
23300 + # ldd complains unless libraries are executable
23301 + postinstall_cmds='chmod +x $lib'
23305 + version_type=sunos
23306 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23307 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23308 + shlibpath_var=LD_LIBRARY_PATH
23309 + shlibpath_overrides_runpath=yes
23310 + if test "$with_gnu_ld" = yes; then
23311 + need_lib_prefix=no
23317 + version_type=linux
23318 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23319 + soname_spec='${libname}${release}${shared_ext}$major'
23320 + shlibpath_var=LD_LIBRARY_PATH
23321 + case $host_vendor in
23323 + shlibpath_overrides_runpath=no
23324 + need_lib_prefix=no
23325 + export_dynamic_flag_spec='${wl}-Blargedynsym'
23326 + runpath_var=LD_RUN_PATH
23329 + need_lib_prefix=no
23332 + need_lib_prefix=no
23334 + shlibpath_overrides_runpath=no
23335 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23341 + if test -d /usr/nec ;then
23342 + version_type=linux
23343 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23344 + soname_spec='$libname${shared_ext}.$major'
23345 + shlibpath_var=LD_LIBRARY_PATH
23349 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23350 + version_type=freebsd-elf
23351 + need_lib_prefix=no
23353 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23354 + soname_spec='${libname}${release}${shared_ext}$major'
23355 + shlibpath_var=LD_LIBRARY_PATH
23356 + hardcode_into_libs=yes
23357 + if test "$with_gnu_ld" = yes; then
23358 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23359 + shlibpath_overrides_runpath=no
23361 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23362 + shlibpath_overrides_runpath=yes
23365 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23369 + sys_lib_dlsearch_path_spec='/usr/lib'
23373 + version_type=linux
23374 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23375 + soname_spec='${libname}${release}${shared_ext}$major'
23376 + shlibpath_var=LD_LIBRARY_PATH
23380 + dynamic_linker=no
23383 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23384 +echo "${ECHO_T}$dynamic_linker" >&6; }
23385 +test "$dynamic_linker" = no && can_build_shared=no
23387 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23388 +if test "$GCC" = yes; then
23389 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23392 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23393 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23394 +hardcode_action_F77=
23395 +if test -n "$hardcode_libdir_flag_spec_F77" || \
23396 + test -n "$runpath_var_F77" || \
23397 + test "X$hardcode_automatic_F77" = "Xyes" ; then
23399 + # We can hardcode non-existant directories.
23400 + if test "$hardcode_direct_F77" != no &&
23401 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
23402 + # have to relink, otherwise we might link with an installed library
23403 + # when we should be linking with a yet-to-be-installed one
23404 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23405 + test "$hardcode_minus_L_F77" != no; then
23406 + # Linking always hardcodes the temporary library directory.
23407 + hardcode_action_F77=relink
23409 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
23410 + hardcode_action_F77=immediate
23413 + # We cannot hardcode anything, or else we can only hardcode existing
23415 + hardcode_action_F77=unsupported
23417 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23418 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
23420 +if test "$hardcode_action_F77" = relink; then
23421 + # Fast installation is not supported
23422 + enable_fast_install=no
23423 +elif test "$shlibpath_overrides_runpath" = yes ||
23424 + test "$enable_shared" = no; then
23425 + # Fast installation is not necessary
23426 + enable_fast_install=needless
23430 +# The else clause should only fire when bootstrapping the
23431 +# libtool distribution, otherwise you forgot to ship ltmain.sh
23432 +# with your package, and you will get complaints that there are
23433 +# no rules to generate ltmain.sh.
23434 +if test -f "$ltmain"; then
23435 + # See if we are running on zsh, and set the options which allow our commands through
23436 + # without removal of \ escapes.
23437 + if test -n "${ZSH_VERSION+set}" ; then
23438 + setopt NO_GLOB_SUBST
23440 + # Now quote all the things that may contain metacharacters while being
23441 + # careful not to overquote the AC_SUBSTed values. We take copies of the
23442 + # variables and quote the copies for generation of the libtool script.
23443 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23444 + SED SHELL STRIP \
23445 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23446 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23447 + deplibs_check_method reload_flag reload_cmds need_locks \
23448 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23449 + lt_cv_sys_global_symbol_to_c_name_address \
23450 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23451 + old_postinstall_cmds old_postuninstall_cmds \
23455 + lt_prog_compiler_wl_F77 \
23456 + lt_prog_compiler_pic_F77 \
23457 + lt_prog_compiler_static_F77 \
23458 + lt_prog_compiler_no_builtin_flag_F77 \
23459 + export_dynamic_flag_spec_F77 \
23460 + thread_safe_flag_spec_F77 \
23461 + whole_archive_flag_spec_F77 \
23462 + enable_shared_with_static_runtimes_F77 \
23463 + old_archive_cmds_F77 \
23464 + old_archive_from_new_cmds_F77 \
23465 + predep_objects_F77 \
23466 + postdep_objects_F77 \
23469 + compiler_lib_search_path_F77 \
23470 + archive_cmds_F77 \
23471 + archive_expsym_cmds_F77 \
23472 + postinstall_cmds_F77 \
23473 + postuninstall_cmds_F77 \
23474 + old_archive_from_expsyms_cmds_F77 \
23475 + allow_undefined_flag_F77 \
23476 + no_undefined_flag_F77 \
23477 + export_symbols_cmds_F77 \
23478 + hardcode_libdir_flag_spec_F77 \
23479 + hardcode_libdir_flag_spec_ld_F77 \
23480 + hardcode_libdir_separator_F77 \
23481 + hardcode_automatic_F77 \
23482 + module_cmds_F77 \
23483 + module_expsym_cmds_F77 \
23484 + lt_cv_prog_compiler_c_o_F77 \
23485 + exclude_expsyms_F77 \
23486 + include_expsyms_F77; do
23489 + old_archive_cmds_F77 | \
23490 + old_archive_from_new_cmds_F77 | \
23491 + archive_cmds_F77 | \
23492 + archive_expsym_cmds_F77 | \
23493 + module_cmds_F77 | \
23494 + module_expsym_cmds_F77 | \
23495 + old_archive_from_expsyms_cmds_F77 | \
23496 + export_symbols_cmds_F77 | \
23497 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
23498 + postinstall_cmds | postuninstall_cmds | \
23499 + old_postinstall_cmds | old_postuninstall_cmds | \
23500 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23501 + # Double-quote double-evaled strings.
23502 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23505 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23511 + *'\$0 --fallback-echo"')
23512 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23518 + cat <<__EOF__ >> "$cfgfile"
23519 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23521 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23523 +# Shell to use when invoking shell scripts.
23526 +# Whether or not to build shared libraries.
23527 +build_libtool_libs=$enable_shared
23529 +# Whether or not to build static libraries.
23530 +build_old_libs=$enable_static
23532 +# Whether or not to add -lc for building shared libraries.
23533 +build_libtool_need_lc=$archive_cmds_need_lc_F77
23535 +# Whether or not to disallow shared libs when runtime libs are static
23536 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23538 +# Whether or not to optimize for fast installation.
23539 +fast_install=$enable_fast_install
23541 +# The host system.
23542 +host_alias=$host_alias
23546 +# The build system.
23547 +build_alias=$build_alias
23549 +build_os=$build_os
23551 +# An echo program that does not interpret backslashes.
23556 +AR_FLAGS=$lt_AR_FLAGS
23561 +# LTCC compiler flags.
23562 +LTCFLAGS=$lt_LTCFLAGS
23564 +# A language-specific compiler.
23565 +CC=$lt_compiler_F77
23567 +# Is the compiler the GNU C compiler?
23573 +# The linker used to build libraries.
23576 +# Whether we need hard or soft links.
23579 +# A BSD-compatible nm program.
23582 +# A symbol stripping program
23585 +# Used to examine libraries when file_magic_cmd begins "file"
23586 +MAGIC_CMD=$MAGIC_CMD
23588 +# Used on cygwin: DLL creation program.
23589 +DLLTOOL="$DLLTOOL"
23591 +# Used on cygwin: object dumper.
23592 +OBJDUMP="$OBJDUMP"
23594 +# Used on cygwin: assembler.
23597 +# The name of the directory that contains temporary libtool files.
23600 +# How to create reloadable object files.
23601 +reload_flag=$lt_reload_flag
23602 +reload_cmds=$lt_reload_cmds
23604 +# How to pass a linker flag through the compiler.
23605 +wl=$lt_lt_prog_compiler_wl_F77
23607 +# Object file suffix (normally "o").
23608 +objext="$ac_objext"
23610 +# Old archive suffix (normally "a").
23613 +# Shared library suffix (normally ".so").
23614 +shrext_cmds='$shrext_cmds'
23616 +# Executable file suffix (normally "").
23619 +# Additional compiler flags for building library objects.
23620 +pic_flag=$lt_lt_prog_compiler_pic_F77
23621 +pic_mode=$pic_mode
23623 +# What is the maximum length of a command?
23624 +max_cmd_len=$lt_cv_sys_max_cmd_len
23626 +# Does compiler simultaneously support -c and -o options?
23627 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23629 +# Must we lock files when doing compilation?
23630 +need_locks=$lt_need_locks
23632 +# Do we need the lib prefix for modules?
23633 +need_lib_prefix=$need_lib_prefix
23635 +# Do we need a version for libraries?
23636 +need_version=$need_version
23638 +# Whether dlopen is supported.
23639 +dlopen_support=$enable_dlopen
23641 +# Whether dlopen of programs is supported.
23642 +dlopen_self=$enable_dlopen_self
23644 +# Whether dlopen of statically linked programs is supported.
23645 +dlopen_self_static=$enable_dlopen_self_static
23647 +# Compiler flag to prevent dynamic linking.
23648 +link_static_flag=$lt_lt_prog_compiler_static_F77
23650 +# Compiler flag to turn off builtin functions.
23651 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23653 +# Compiler flag to allow reflexive dlopens.
23654 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23656 +# Compiler flag to generate shared objects directly from archives.
23657 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23659 +# Compiler flag to generate thread-safe objects.
23660 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23662 +# Library versioning type.
23663 +version_type=$version_type
23665 +# Format of library name prefix.
23666 +libname_spec=$lt_libname_spec
23668 +# List of archive names. First name is the real one, the rest are links.
23669 +# The last name is the one that the linker finds with -lNAME.
23670 +library_names_spec=$lt_library_names_spec
23672 +# The coded name of the library, if different from the real name.
23673 +soname_spec=$lt_soname_spec
23675 +# Commands used to build and install an old-style archive.
23677 +old_archive_cmds=$lt_old_archive_cmds_F77
23678 +old_postinstall_cmds=$lt_old_postinstall_cmds
23679 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
23681 +# Create an old-style archive from a shared archive.
23682 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23684 +# Create a temporary old-style archive to link instead of a shared archive.
23685 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23687 +# Commands used to build and install a shared archive.
23688 +archive_cmds=$lt_archive_cmds_F77
23689 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23690 +postinstall_cmds=$lt_postinstall_cmds
23691 +postuninstall_cmds=$lt_postuninstall_cmds
23693 +# Commands used to build a loadable module (assumed same as above if empty)
23694 +module_cmds=$lt_module_cmds_F77
23695 +module_expsym_cmds=$lt_module_expsym_cmds_F77
23697 +# Commands to strip libraries.
23698 +old_striplib=$lt_old_striplib
23699 +striplib=$lt_striplib
23701 +# Dependencies to place before the objects being linked to create a
23703 +predep_objects=$lt_predep_objects_F77
23705 +# Dependencies to place after the objects being linked to create a
23707 +postdep_objects=$lt_postdep_objects_F77
23709 +# Dependencies to place before the objects being linked to create a
23711 +predeps=$lt_predeps_F77
23713 +# Dependencies to place after the objects being linked to create a
23715 +postdeps=$lt_postdeps_F77
23717 +# The library search path used internally by the compiler when linking
23718 +# a shared library.
23719 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23721 +# Method to check whether dependent libraries are shared objects.
23722 +deplibs_check_method=$lt_deplibs_check_method
23724 +# Command to use when deplibs_check_method == file_magic.
23725 +file_magic_cmd=$lt_file_magic_cmd
23727 +# Flag that allows shared libraries with undefined symbols to be built.
23728 +allow_undefined_flag=$lt_allow_undefined_flag_F77
23730 +# Flag that forces no undefined symbols.
23731 +no_undefined_flag=$lt_no_undefined_flag_F77
23733 +# Commands used to finish a libtool library installation in a directory.
23734 +finish_cmds=$lt_finish_cmds
23736 +# Same as above, but a single script fragment to be evaled but not shown.
23737 +finish_eval=$lt_finish_eval
23739 +# Take the output of nm and produce a listing of raw symbols and C names.
23740 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23742 +# Transform the output of nm in a proper C declaration
23743 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23745 +# Transform the output of nm in a C name address pair
23746 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23748 +# This is the shared library runtime path variable.
23749 +runpath_var=$runpath_var
23751 +# This is the shared library path variable.
23752 +shlibpath_var=$shlibpath_var
23754 +# Is shlibpath searched before the hard-coded library search path?
23755 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23757 +# How to hardcode a shared library path into an executable.
23758 +hardcode_action=$hardcode_action_F77
23760 +# Whether we should hardcode library paths into libraries.
23761 +hardcode_into_libs=$hardcode_into_libs
23763 +# Flag to hardcode \$libdir into a binary during linking.
23764 +# This must work even if \$libdir does not exist.
23765 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23767 +# If ld is used when linking, flag to hardcode \$libdir into
23768 +# a binary during linking. This must work even if \$libdir does
23770 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23772 +# Whether we need a single -rpath flag with a separated argument.
23773 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23775 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23776 +# resulting binary.
23777 +hardcode_direct=$hardcode_direct_F77
23779 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23780 +# resulting binary.
23781 +hardcode_minus_L=$hardcode_minus_L_F77
23783 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23784 +# the resulting binary.
23785 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23787 +# Set to yes if building a shared library automatically hardcodes DIR into the library
23788 +# and all subsequent libraries and executables linked against it.
23789 +hardcode_automatic=$hardcode_automatic_F77
23791 +# Variables whose values should be saved in libtool wrapper scripts and
23792 +# restored at relink time.
23793 +variables_saved_for_relink="$variables_saved_for_relink"
23795 +# Whether libtool must link a program against all its dependency libraries.
23796 +link_all_deplibs=$link_all_deplibs_F77
23798 +# Compile-time system search path for libraries
23799 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23801 +# Run-time system search path for libraries
23802 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23804 +# Fix the shell variable \$srcfile for the compiler.
23805 +fix_srcfile_path="$fix_srcfile_path_F77"
23807 +# Set to yes if exported symbols are required.
23808 +always_export_symbols=$always_export_symbols_F77
23810 +# The commands to list exported symbols.
23811 +export_symbols_cmds=$lt_export_symbols_cmds_F77
23813 +# The commands to extract the exported symbol list from a shared archive.
23814 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
23816 +# Symbols that should not be listed in the preloaded symbols.
23817 +exclude_expsyms=$lt_exclude_expsyms_F77
23819 +# Symbols that must always be exported.
23820 +include_expsyms=$lt_include_expsyms_F77
23822 +# ### END LIBTOOL TAG CONFIG: $tagname
23828 + # If there is no Makefile yet, we rely on a make rule to execute
23829 + # `config.status --recheck' to rerun these tests and create the
23830 + # libtool script then.
23831 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23832 + if test -f "$ltmain_in"; then
23833 + test -f Makefile && make "$ltmain"
23839 +ac_cpp='$CPP $CPPFLAGS'
23840 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23852 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23855 +# Source file extension for Java test sources.
23858 +# Object file extension for compiled Java test sources.
23860 +objext_GCJ=$objext
23862 +# Code to be used in simple compile tests
23863 +lt_simple_compile_test_code="class foo {}\n"
23865 +# Code to be used in simple link tests
23866 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23868 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23870 +# If no C compiler was specified, use CC.
23871 +LTCC=${LTCC-"$CC"}
23873 +# If no C compiler flags were specified, use CFLAGS.
23874 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23876 +# Allow CC to be a program name with arguments.
23880 +# save warnings/boilerplate of simple test code
23881 +ac_outfile=conftest.$ac_objext
23882 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23883 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23884 +_lt_compiler_boilerplate=`cat conftest.err`
23887 +ac_outfile=conftest.$ac_objext
23888 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
23889 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23890 +_lt_linker_boilerplate=`cat conftest.err`
23894 +# Allow CC to be a program name with arguments.
23899 +for cc_temp in $compiler""; do
23901 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23902 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23907 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23910 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
23911 +archive_cmds_need_lc_GCJ=no
23913 +old_archive_cmds_GCJ=$old_archive_cmds
23916 +lt_prog_compiler_no_builtin_flag_GCJ=
23918 +if test "$GCC" = yes; then
23919 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23922 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23923 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23924 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23925 + echo $ECHO_N "(cached) $ECHO_C" >&6
23927 + lt_cv_prog_compiler_rtti_exceptions=no
23928 + ac_outfile=conftest.$ac_objext
23929 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23930 + lt_compiler_flag="-fno-rtti -fno-exceptions"
23931 + # Insert the option either (1) after the last *FLAGS variable, or
23932 + # (2) before a word containing "conftest.", or (3) at the end.
23933 + # Note that $ac_compile itself does not contain backslashes and begins
23934 + # with a dollar sign (not a hyphen), so the echo should work correctly.
23935 + # The option is referenced via a variable to avoid confusing sed.
23936 + lt_compile=`echo "$ac_compile" | $SED \
23937 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23938 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23939 + -e 's:$: $lt_compiler_flag:'`
23940 + (eval echo "\"\$as_me:16473: $lt_compile\"" >&5)
23941 + (eval "$lt_compile" 2>conftest.err)
23943 + cat conftest.err >&5
23944 + echo "$as_me:16477: \$? = $ac_status" >&5
23945 + if (exit $ac_status) && test -s "$ac_outfile"; then
23946 + # The compiler can only warn and ignore the option if not recognized
23947 + # So say no if there are warnings other than the usual output.
23948 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23949 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23950 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23951 + lt_cv_prog_compiler_rtti_exceptions=yes
23957 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23958 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23960 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23961 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23968 +lt_prog_compiler_wl_GCJ=
23969 +lt_prog_compiler_pic_GCJ=
23970 +lt_prog_compiler_static_GCJ=
23972 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23973 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23975 + if test "$GCC" = yes; then
23976 + lt_prog_compiler_wl_GCJ='-Wl,'
23977 + lt_prog_compiler_static_GCJ='-static'
23981 + # All AIX code is PIC.
23982 + if test "$host_cpu" = ia64; then
23983 + # AIX 5 now supports IA64 processor
23984 + lt_prog_compiler_static_GCJ='-Bstatic'
23989 + # FIXME: we need at least 68020 code to build shared libraries, but
23990 + # adding the `-m68020' flag to GCC prevents building anything better,
23991 + # like `-m68040'.
23992 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23995 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23996 + # PIC is the default for these OSes.
23999 + mingw* | pw32* | os2*)
24000 + # This hack is so that the source file can tell whether it is being
24001 + # built for inclusion in a dll (and should export symbols for example).
24002 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24005 + darwin* | rhapsody*)
24006 + # PIC is the default on this platform
24007 + # Common symbols not allowed in MH_DYLIB files
24008 + lt_prog_compiler_pic_GCJ='-fno-common'
24012 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24013 + # Instead, we relocate shared libraries at runtime.
24017 + # Just because we use GCC doesn't mean we suddenly get shared libraries
24018 + # on systems that don't support them.
24019 + lt_prog_compiler_can_build_shared_GCJ=no
24024 + if test -d /usr/nec; then
24025 + lt_prog_compiler_pic_GCJ=-Kconform_pic
24030 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24031 + # not for PA HP-UX.
24032 + case $host_cpu in
24037 + lt_prog_compiler_pic_GCJ='-fPIC'
24043 + lt_prog_compiler_pic_GCJ='-fPIC'
24047 + # PORTME Check for flag to pass linker flags through the system compiler.
24050 + lt_prog_compiler_wl_GCJ='-Wl,'
24051 + if test "$host_cpu" = ia64; then
24052 + # AIX 5 now supports IA64 processor
24053 + lt_prog_compiler_static_GCJ='-Bstatic'
24055 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24059 + # PIC is the default on this platform
24060 + # Common symbols not allowed in MH_DYLIB files
24061 + case $cc_basename in
24063 + lt_prog_compiler_pic_GCJ='-qnocommon'
24064 + lt_prog_compiler_wl_GCJ='-Wl,'
24069 + mingw* | pw32* | os2*)
24070 + # This hack is so that the source file can tell whether it is being
24071 + # built for inclusion in a dll (and should export symbols for example).
24072 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24075 + hpux9* | hpux10* | hpux11*)
24076 + lt_prog_compiler_wl_GCJ='-Wl,'
24077 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24078 + # not for PA HP-UX.
24079 + case $host_cpu in
24084 + lt_prog_compiler_pic_GCJ='+Z'
24087 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
24088 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24091 + irix5* | irix6* | nonstopux*)
24092 + lt_prog_compiler_wl_GCJ='-Wl,'
24093 + # PIC (with -KPIC) is the default.
24094 + lt_prog_compiler_static_GCJ='-non_shared'
24098 + lt_prog_compiler_pic_GCJ='-KPIC'
24099 + lt_prog_compiler_static_GCJ='-Bstatic'
24102 + linux* | k*bsd*-gnu)
24103 + case $cc_basename in
24105 + lt_prog_compiler_wl_GCJ='-Wl,'
24106 + lt_prog_compiler_pic_GCJ='-KPIC'
24107 + lt_prog_compiler_static_GCJ='-static'
24109 + pgcc* | pgf77* | pgf90* | pgf95*)
24110 + # Portland Group compilers (*not* the Pentium gcc compiler,
24111 + # which looks to be a dead project)
24112 + lt_prog_compiler_wl_GCJ='-Wl,'
24113 + lt_prog_compiler_pic_GCJ='-fpic'
24114 + lt_prog_compiler_static_GCJ='-Bstatic'
24117 + lt_prog_compiler_wl_GCJ='-Wl,'
24118 + # All Alpha code is PIC.
24119 + lt_prog_compiler_static_GCJ='-non_shared'
24124 + osf3* | osf4* | osf5*)
24125 + lt_prog_compiler_wl_GCJ='-Wl,'
24126 + # All OSF/1 code is PIC.
24127 + lt_prog_compiler_static_GCJ='-non_shared'
24131 + lt_prog_compiler_pic_GCJ='-KPIC'
24132 + lt_prog_compiler_static_GCJ='-Bstatic'
24133 + case $cc_basename in
24134 + f77* | f90* | f95*)
24135 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24137 + lt_prog_compiler_wl_GCJ='-Wl,';;
24142 + lt_prog_compiler_wl_GCJ='-Qoption ld '
24143 + lt_prog_compiler_pic_GCJ='-PIC'
24144 + lt_prog_compiler_static_GCJ='-Bstatic'
24147 + sysv4 | sysv4.2uw2* | sysv4.3*)
24148 + lt_prog_compiler_wl_GCJ='-Wl,'
24149 + lt_prog_compiler_pic_GCJ='-KPIC'
24150 + lt_prog_compiler_static_GCJ='-Bstatic'
24154 + if test -d /usr/nec ;then
24155 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
24156 + lt_prog_compiler_static_GCJ='-Bstatic'
24160 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24161 + lt_prog_compiler_wl_GCJ='-Wl,'
24162 + lt_prog_compiler_pic_GCJ='-KPIC'
24163 + lt_prog_compiler_static_GCJ='-Bstatic'
24167 + lt_prog_compiler_wl_GCJ='-Wl,'
24168 + lt_prog_compiler_can_build_shared_GCJ=no
24172 + lt_prog_compiler_pic_GCJ='-pic'
24173 + lt_prog_compiler_static_GCJ='-Bstatic'
24177 + lt_prog_compiler_can_build_shared_GCJ=no
24182 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24183 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24186 +# Check to make sure the PIC flag actually works.
24188 +if test -n "$lt_prog_compiler_pic_GCJ"; then
24190 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24191 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24192 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24193 + echo $ECHO_N "(cached) $ECHO_C" >&6
24195 + lt_prog_compiler_pic_works_GCJ=no
24196 + ac_outfile=conftest.$ac_objext
24197 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24198 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24199 + # Insert the option either (1) after the last *FLAGS variable, or
24200 + # (2) before a word containing "conftest.", or (3) at the end.
24201 + # Note that $ac_compile itself does not contain backslashes and begins
24202 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24203 + # The option is referenced via a variable to avoid confusing sed.
24204 + lt_compile=`echo "$ac_compile" | $SED \
24205 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24206 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24207 + -e 's:$: $lt_compiler_flag:'`
24208 + (eval echo "\"\$as_me:16741: $lt_compile\"" >&5)
24209 + (eval "$lt_compile" 2>conftest.err)
24211 + cat conftest.err >&5
24212 + echo "$as_me:16745: \$? = $ac_status" >&5
24213 + if (exit $ac_status) && test -s "$ac_outfile"; then
24214 + # The compiler can only warn and ignore the option if not recognized
24215 + # So say no if there are warnings other than the usual output.
24216 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24217 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24218 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24219 + lt_prog_compiler_pic_works_GCJ=yes
24225 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24226 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24228 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24229 + case $lt_prog_compiler_pic_GCJ in
24231 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24234 + lt_prog_compiler_pic_GCJ=
24235 + lt_prog_compiler_can_build_shared_GCJ=no
24240 + # For platforms which do not support PIC, -DPIC is meaningless:
24242 + lt_prog_compiler_pic_GCJ=
24245 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24250 +# Check to make sure the static flag actually works.
24252 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24253 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24254 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24255 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24256 + echo $ECHO_N "(cached) $ECHO_C" >&6
24258 + lt_prog_compiler_static_works_GCJ=no
24259 + save_LDFLAGS="$LDFLAGS"
24260 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24261 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
24262 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24263 + # The linker can only warn and ignore the option if not recognized
24264 + # So say no if there are warnings
24265 + if test -s conftest.err; then
24266 + # Append any errors to the config.log.
24267 + cat conftest.err 1>&5
24268 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24269 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24270 + if diff conftest.exp conftest.er2 >/dev/null; then
24271 + lt_prog_compiler_static_works_GCJ=yes
24274 + lt_prog_compiler_static_works_GCJ=yes
24278 + LDFLAGS="$save_LDFLAGS"
24281 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24282 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24284 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24287 + lt_prog_compiler_static_GCJ=
24291 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24292 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24293 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24294 + echo $ECHO_N "(cached) $ECHO_C" >&6
24296 + lt_cv_prog_compiler_c_o_GCJ=no
24297 + $rm -r conftest 2>/dev/null
24301 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24303 + lt_compiler_flag="-o out/conftest2.$ac_objext"
24304 + # Insert the option either (1) after the last *FLAGS variable, or
24305 + # (2) before a word containing "conftest.", or (3) at the end.
24306 + # Note that $ac_compile itself does not contain backslashes and begins
24307 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24308 + lt_compile=`echo "$ac_compile" | $SED \
24309 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24310 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24311 + -e 's:$: $lt_compiler_flag:'`
24312 + (eval echo "\"\$as_me:16845: $lt_compile\"" >&5)
24313 + (eval "$lt_compile" 2>out/conftest.err)
24315 + cat out/conftest.err >&5
24316 + echo "$as_me:16849: \$? = $ac_status" >&5
24317 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
24319 + # The compiler can only warn and ignore the option if not recognized
24320 + # So say no if there are warnings
24321 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24322 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24323 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24324 + lt_cv_prog_compiler_c_o_GCJ=yes
24329 + # SGI C++ compiler will create directory out/ii_files/ for
24330 + # template instantiation
24331 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24332 + $rm out/* && rmdir out
24338 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24339 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24342 +hard_links="nottested"
24343 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24344 + # do not overwrite the value of need_locks provided by the user
24345 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24346 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24349 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24351 + ln conftest.a conftest.b 2>&5 || hard_links=no
24352 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24353 + { echo "$as_me:$LINENO: result: $hard_links" >&5
24354 +echo "${ECHO_T}$hard_links" >&6; }
24355 + if test "$hard_links" = no; then
24356 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24357 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24364 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24365 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24368 + allow_undefined_flag_GCJ=
24369 + enable_shared_with_static_runtimes_GCJ=no
24370 + archive_cmds_GCJ=
24371 + archive_expsym_cmds_GCJ=
24372 + old_archive_From_new_cmds_GCJ=
24373 + old_archive_from_expsyms_cmds_GCJ=
24374 + export_dynamic_flag_spec_GCJ=
24375 + whole_archive_flag_spec_GCJ=
24376 + thread_safe_flag_spec_GCJ=
24377 + hardcode_libdir_flag_spec_GCJ=
24378 + hardcode_libdir_flag_spec_ld_GCJ=
24379 + hardcode_libdir_separator_GCJ=
24380 + hardcode_direct_GCJ=no
24381 + hardcode_minus_L_GCJ=no
24382 + hardcode_shlibpath_var_GCJ=unsupported
24383 + link_all_deplibs_GCJ=unknown
24384 + hardcode_automatic_GCJ=no
24386 + module_expsym_cmds_GCJ=
24387 + always_export_symbols_GCJ=no
24388 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24389 + # include_expsyms should be a list of space-separated symbols to be *always*
24390 + # included in the symbol list
24391 + include_expsyms_GCJ=
24392 + # exclude_expsyms can be an extended regexp of symbols to exclude
24393 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
24394 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24395 + # as well as any symbol that contains `d'.
24396 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24397 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24398 + # platforms (ab)use it in PIC code, but their linkers get confused if
24399 + # the symbol is explicitly referenced. Since portable code cannot
24400 + # rely on this symbol name, it's probably fine to never include it in
24401 + # preloaded symbol tables.
24402 + extract_expsyms_cmds=
24403 + # Just being paranoid about ensuring that cc_basename is set.
24404 + for cc_temp in $compiler""; do
24406 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24407 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24412 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24415 + cygwin* | mingw* | pw32*)
24416 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
24417 + # When not using gcc, we currently assume that we are using
24418 + # Microsoft Visual C++.
24419 + if test "$GCC" != yes; then
24424 + # we just hope/assume this is gcc and not c89 (= MSVC++)
24432 + ld_shlibs_GCJ=yes
24433 + if test "$with_gnu_ld" = yes; then
24434 + # If archive_cmds runs LD, not CC, wlarc should be empty
24437 + # Set some defaults for GNU ld with shared library support. These
24438 + # are reset later if shared libraries are not supported. Putting them
24439 + # here allows them to be overridden if necessary.
24440 + runpath_var=LD_RUN_PATH
24441 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24442 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24443 + # ancient GNU ld didn't support --whole-archive et. al.
24444 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24445 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24447 + whole_archive_flag_spec_GCJ=
24449 + supports_anon_versioning=no
24450 + case `$LD -v 2>/dev/null` in
24451 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24452 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24453 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24454 + *\ 2.11.*) ;; # other 2.11 versions
24455 + *) supports_anon_versioning=yes ;;
24458 + # See if GNU ld supports shared libraries.
24460 + aix3* | aix4* | aix5*)
24461 + # On AIX/PPC, the GNU linker is very broken
24462 + if test "$host_cpu" != ia64; then
24466 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
24467 +*** to be unable to reliably create shared libraries on AIX.
24468 +*** Therefore, libtool is disabling shared libraries support. If you
24469 +*** really care for shared libraries, you may want to modify your PATH
24470 +*** so that a non-GNU linker is found, and then restart.
24477 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24478 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24479 + hardcode_minus_L_GCJ=yes
24481 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24482 + # that the semantics of dynamic libraries on AmigaOS, at least up
24483 + # to version 4, is to share data among multiple programs linked
24484 + # with the same dynamic library. Since this doesn't match the
24485 + # behavior of shared libraries on other platforms, we can't use
24491 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24492 + allow_undefined_flag_GCJ=unsupported
24493 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24494 + # support --undefined. This deserves some investigation. FIXME
24495 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24501 + cygwin* | mingw* | pw32*)
24502 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24503 + # as there is no search path for DLLs.
24504 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24505 + allow_undefined_flag_GCJ=unsupported
24506 + always_export_symbols_GCJ=no
24507 + enable_shared_with_static_runtimes_GCJ=yes
24508 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24510 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24511 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24512 + # If the export-symbols file already is a .def file (1st line
24513 + # is EXPORTS), use it as is; otherwise, prepend...
24514 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24515 + cp $export_symbols $output_objdir/$soname.def;
24517 + echo EXPORTS > $output_objdir/$soname.def;
24518 + cat $export_symbols >> $output_objdir/$soname.def;
24520 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24527 + hardcode_direct_GCJ=no
24528 + hardcode_shlibpath_var_GCJ=no
24529 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24530 + export_dynamic_flag_spec_GCJ='${wl}-E'
24531 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24532 + # Instead, shared libraries are loaded at an image base (0x10000000 by
24533 + # default) and relocated if they conflict, which is a slow very memory
24534 + # consuming and fragmenting process. To avoid this, we pick a random,
24535 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24536 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24537 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24538 + archive_expsym_cmds_GCJ='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'
24541 + linux* | k*bsd*-gnu)
24542 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24544 + case $cc_basename,$host_cpu in
24545 + pgcc*) # Portland Group C compiler
24546 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24547 + tmp_addflag=' $pic_flag'
24549 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24550 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24551 + tmp_addflag=' $pic_flag -Mnomain' ;;
24552 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24553 + tmp_addflag=' -i_dynamic' ;;
24554 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24555 + tmp_addflag=' -i_dynamic -nofor_main' ;;
24556 + ifc* | ifort*) # Intel Fortran compiler
24557 + tmp_addflag=' -nofor_main' ;;
24559 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24561 + if test $supports_anon_versioning = yes; then
24562 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24563 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24564 + $echo "local: *; };" >> $output_objdir/$libname.ver~
24565 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24567 + link_all_deplibs_GCJ=no
24573 + netbsd* | netbsdelf*-gnu)
24574 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24575 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24578 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24579 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24584 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24588 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24589 +*** create shared libraries on Solaris systems. Therefore, libtool
24590 +*** is disabling shared libraries support. We urge you to upgrade GNU
24591 +*** binutils to release 2.9.1 or newer. Another option is to modify
24592 +*** your PATH or compiler configuration so that the native linker is
24593 +*** used, and then restart.
24596 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24597 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24598 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24604 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24605 + case `$LD -v 2>&1` in
24606 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24608 + cat <<_LT_EOF 1>&2
24610 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24611 +*** reliably create shared libraries on SCO systems. Therefore, libtool
24612 +*** is disabling shared libraries support. We urge you to upgrade GNU
24613 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24614 +*** your PATH or compiler configuration so that the native linker is
24615 +*** used, and then restart.
24620 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24621 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24622 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24623 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24632 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24634 + hardcode_direct_GCJ=yes
24635 + hardcode_shlibpath_var_GCJ=no
24639 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24640 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24641 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24648 + if test "$ld_shlibs_GCJ" = no; then
24650 + hardcode_libdir_flag_spec_GCJ=
24651 + export_dynamic_flag_spec_GCJ=
24652 + whole_archive_flag_spec_GCJ=
24655 + # PORTME fill in a description of your system's linker (not GNU ld)
24658 + allow_undefined_flag_GCJ=unsupported
24659 + always_export_symbols_GCJ=yes
24660 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
24661 + # Note: this linker hardcodes the directories in LIBPATH if there
24662 + # are no directories specified by -L.
24663 + hardcode_minus_L_GCJ=yes
24664 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24665 + # Neither direct hardcoding nor static linking is supported with a
24666 + # broken collect2.
24667 + hardcode_direct_GCJ=unsupported
24672 + if test "$host_cpu" = ia64; then
24673 + # On IA64, the linker does run time linking by default, so we don't
24674 + # have to do anything special.
24675 + aix_use_runtimelinking=no
24676 + exp_sym_flag='-Bexport'
24679 + # If we're using GNU nm, then we don't want the "-C" option.
24680 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
24681 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24682 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24684 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24686 + aix_use_runtimelinking=no
24688 + # Test if we are trying to use run time linking or normal
24689 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24690 + # need to do runtime linking.
24691 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24692 + for ld_flag in $LDFLAGS; do
24693 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24694 + aix_use_runtimelinking=yes
24701 + exp_sym_flag='-bexport'
24702 + no_entry_flag='-bnoentry'
24705 + # When large executables or shared objects are built, AIX ld can
24706 + # have problems creating the table of contents. If linking a library
24707 + # or program results in "error TOC overflow" add -mminimal-toc to
24708 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24709 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24711 + archive_cmds_GCJ=''
24712 + hardcode_direct_GCJ=yes
24713 + hardcode_libdir_separator_GCJ=':'
24714 + link_all_deplibs_GCJ=yes
24716 + if test "$GCC" = yes; then
24717 + case $host_os in aix4.[012]|aix4.[012].*)
24718 + # We only want to do this on AIX 4.2 and lower, the check
24719 + # below for broken collect2 doesn't work under 4.3+
24720 + collect2name=`${CC} -print-prog-name=collect2`
24721 + if test -f "$collect2name" && \
24722 + strings "$collect2name" | grep resolve_lib_name >/dev/null
24724 + # We have reworked collect2
24725 + hardcode_direct_GCJ=yes
24727 + # We have old collect2
24728 + hardcode_direct_GCJ=unsupported
24729 + # It fails to find uninstalled libraries when the uninstalled
24730 + # path is not listed in the libpath. Setting hardcode_minus_L
24731 + # to unsupported forces relinking
24732 + hardcode_minus_L_GCJ=yes
24733 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24734 + hardcode_libdir_separator_GCJ=
24738 + shared_flag='-shared'
24739 + if test "$aix_use_runtimelinking" = yes; then
24740 + shared_flag="$shared_flag "'${wl}-G'
24744 + if test "$host_cpu" = ia64; then
24745 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24746 + # chokes on -Wl,-G. The following line is correct:
24749 + if test "$aix_use_runtimelinking" = yes; then
24750 + shared_flag='${wl}-G'
24752 + shared_flag='${wl}-bM:SRE'
24757 + # It seems that -bexpall does not export symbols beginning with
24758 + # underscore (_), so it is better to generate a list of symbols to export.
24759 + always_export_symbols_GCJ=yes
24760 + if test "$aix_use_runtimelinking" = yes; then
24761 + # Warning - without using the other runtime loading flags (-brtl),
24762 + # -berok will link without error, but may produce a broken library.
24763 + allow_undefined_flag_GCJ='-berok'
24764 + # Determine the default libpath from the value encoded in an empty executable.
24765 + cat >conftest.$ac_ext <<_ACEOF
24768 +cat confdefs.h >>conftest.$ac_ext
24769 +cat >>conftest.$ac_ext <<_ACEOF
24770 +/* end confdefs.h. */
24780 +rm -f conftest.$ac_objext conftest$ac_exeext
24781 +if { (ac_try="$ac_link"
24782 +case "(($ac_try" in
24783 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24784 + *) ac_try_echo=$ac_try;;
24786 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24787 + (eval "$ac_link") 2>conftest.er1
24789 + grep -v '^ *+' conftest.er1 >conftest.err
24790 + rm -f conftest.er1
24791 + cat conftest.err >&5
24792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 + (exit $ac_status); } && {
24794 + test -z "$ac_c_werror_flag" ||
24795 + test ! -s conftest.err
24796 + } && test -s conftest$ac_exeext &&
24797 + $as_test_x conftest$ac_exeext; then
24799 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24801 +# Check for a 64-bit object if we didn't find anything.
24802 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24805 + echo "$as_me: failed program was:" >&5
24806 +sed 's/^/| /' conftest.$ac_ext >&5
24811 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24812 + conftest$ac_exeext conftest.$ac_ext
24813 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24815 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24816 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24818 + if test "$host_cpu" = ia64; then
24819 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24820 + allow_undefined_flag_GCJ="-z nodefs"
24821 + archive_expsym_cmds_GCJ="\$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"
24823 + # Determine the default libpath from the value encoded in an empty executable.
24824 + cat >conftest.$ac_ext <<_ACEOF
24827 +cat confdefs.h >>conftest.$ac_ext
24828 +cat >>conftest.$ac_ext <<_ACEOF
24829 +/* end confdefs.h. */
24839 +rm -f conftest.$ac_objext conftest$ac_exeext
24840 +if { (ac_try="$ac_link"
24841 +case "(($ac_try" in
24842 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24843 + *) ac_try_echo=$ac_try;;
24845 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24846 + (eval "$ac_link") 2>conftest.er1
24848 + grep -v '^ *+' conftest.er1 >conftest.err
24849 + rm -f conftest.er1
24850 + cat conftest.err >&5
24851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 + (exit $ac_status); } && {
24853 + test -z "$ac_c_werror_flag" ||
24854 + test ! -s conftest.err
24855 + } && test -s conftest$ac_exeext &&
24856 + $as_test_x conftest$ac_exeext; then
24858 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24860 +# Check for a 64-bit object if we didn't find anything.
24861 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24864 + echo "$as_me: failed program was:" >&5
24865 +sed 's/^/| /' conftest.$ac_ext >&5
24870 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24871 + conftest$ac_exeext conftest.$ac_ext
24872 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24874 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24875 + # Warning - without using the other run time loading flags,
24876 + # -berok will link without error, but may produce a broken library.
24877 + no_undefined_flag_GCJ=' ${wl}-bernotok'
24878 + allow_undefined_flag_GCJ=' ${wl}-berok'
24879 + # Exported symbols can be pulled into shared objects from archives
24880 + whole_archive_flag_spec_GCJ='$convenience'
24881 + archive_cmds_need_lc_GCJ=yes
24882 + # This is similar to how AIX traditionally builds its shared libraries.
24883 + archive_expsym_cmds_GCJ="\$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'
24889 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24890 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24891 + hardcode_minus_L_GCJ=yes
24892 + # see comment about different semantics on the GNU ld section
24897 + export_dynamic_flag_spec_GCJ=-rdynamic
24900 + cygwin* | mingw* | pw32*)
24901 + # When not using gcc, we currently assume that we are using
24902 + # Microsoft Visual C++.
24903 + # hardcode_libdir_flag_spec is actually meaningless, as there is
24904 + # no search path for DLLs.
24905 + hardcode_libdir_flag_spec_GCJ=' '
24906 + allow_undefined_flag_GCJ=unsupported
24907 + # Tell ltmain to make .lib files, not .a files.
24909 + # Tell ltmain to make .dll files, not .so files.
24910 + shrext_cmds=".dll"
24911 + # FIXME: Setting linknames here is a bad hack.
24912 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24913 + # The linker will automatically build a .lib file if we build a DLL.
24914 + old_archive_From_new_cmds_GCJ='true'
24915 + # FIXME: Should let the user specify the lib program.
24916 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24917 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24918 + enable_shared_with_static_runtimes_GCJ=yes
24921 + darwin* | rhapsody*)
24923 + rhapsody* | darwin1.[012])
24924 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24926 + *) # Darwin 1.3 on
24927 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24928 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24930 + case ${MACOSX_DEPLOYMENT_TARGET} in
24932 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24935 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24941 + archive_cmds_need_lc_GCJ=no
24942 + hardcode_direct_GCJ=no
24943 + hardcode_automatic_GCJ=yes
24944 + hardcode_shlibpath_var_GCJ=unsupported
24945 + whole_archive_flag_spec_GCJ=''
24946 + link_all_deplibs_GCJ=yes
24947 + if test "$GCC" = yes ; then
24948 + output_verbose_link_cmd='echo'
24949 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24950 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24951 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24952 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24953 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24955 + case $cc_basename in
24957 + output_verbose_link_cmd='echo'
24958 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24959 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24960 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24961 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24962 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24972 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24973 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24974 + hardcode_shlibpath_var_GCJ=no
24981 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24982 + # support. Future versions do this automatically, but an explicit c++rt0.o
24983 + # does not break anything, and helps significantly (at the cost of a little
24986 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24987 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
24988 + hardcode_direct_GCJ=yes
24989 + hardcode_shlibpath_var_GCJ=no
24992 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24994 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24995 + hardcode_direct_GCJ=yes
24996 + hardcode_minus_L_GCJ=yes
24997 + hardcode_shlibpath_var_GCJ=no
25000 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25001 + freebsd* | dragonfly*)
25002 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25003 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25004 + hardcode_direct_GCJ=yes
25005 + hardcode_shlibpath_var_GCJ=no
25009 + if test "$GCC" = yes; then
25010 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25012 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25014 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25015 + hardcode_libdir_separator_GCJ=:
25016 + hardcode_direct_GCJ=yes
25018 + # hardcode_minus_L: Not really in the search PATH,
25019 + # but as the default location of the library.
25020 + hardcode_minus_L_GCJ=yes
25021 + export_dynamic_flag_spec_GCJ='${wl}-E'
25025 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25026 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25028 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25030 + if test "$with_gnu_ld" = no; then
25031 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25032 + hardcode_libdir_separator_GCJ=:
25034 + hardcode_direct_GCJ=yes
25035 + export_dynamic_flag_spec_GCJ='${wl}-E'
25037 + # hardcode_minus_L: Not really in the search PATH,
25038 + # but as the default location of the library.
25039 + hardcode_minus_L_GCJ=yes
25044 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25045 + case $host_cpu in
25047 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25050 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25053 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25057 + case $host_cpu in
25059 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25062 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25065 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25069 + if test "$with_gnu_ld" = no; then
25070 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25071 + hardcode_libdir_separator_GCJ=:
25073 + case $host_cpu in
25075 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25076 + hardcode_direct_GCJ=no
25077 + hardcode_shlibpath_var_GCJ=no
25080 + hardcode_direct_GCJ=yes
25081 + export_dynamic_flag_spec_GCJ='${wl}-E'
25083 + # hardcode_minus_L: Not really in the search PATH,
25084 + # but as the default location of the library.
25085 + hardcode_minus_L_GCJ=yes
25091 + irix5* | irix6* | nonstopux*)
25092 + if test "$GCC" = yes; then
25093 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25095 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25096 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25098 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25099 + hardcode_libdir_separator_GCJ=:
25100 + link_all_deplibs_GCJ=yes
25103 + netbsd* | netbsdelf*-gnu)
25104 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25105 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25107 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25109 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25110 + hardcode_direct_GCJ=yes
25111 + hardcode_shlibpath_var_GCJ=no
25115 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25116 + hardcode_direct_GCJ=yes
25117 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25118 + hardcode_libdir_separator_GCJ=:
25119 + hardcode_shlibpath_var_GCJ=no
25123 + hardcode_direct_GCJ=yes
25124 + hardcode_shlibpath_var_GCJ=no
25125 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25126 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25127 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25128 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25129 + export_dynamic_flag_spec_GCJ='${wl}-E'
25132 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25133 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25134 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25137 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25138 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25145 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25146 + hardcode_minus_L_GCJ=yes
25147 + allow_undefined_flag_GCJ=unsupported
25148 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
25149 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25153 + if test "$GCC" = yes; then
25154 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25155 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25157 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25158 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25160 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25161 + hardcode_libdir_separator_GCJ=:
25164 + osf4* | osf5*) # as osf3* with the addition of -msym flag
25165 + if test "$GCC" = yes; then
25166 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25167 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25168 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25170 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25171 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25172 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
25173 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
25175 + # Both c and cxx compiler support -rpath directly
25176 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25178 + hardcode_libdir_separator_GCJ=:
25182 + no_undefined_flag_GCJ=' -z text'
25183 + if test "$GCC" = yes; then
25185 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25186 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25187 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25190 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25191 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25192 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25194 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25195 + hardcode_shlibpath_var_GCJ=no
25197 + solaris2.[0-5] | solaris2.[0-5].*) ;;
25199 + # The compiler driver will combine linker options so we
25200 + # cannot just pass the convience library names through
25201 + # without $wl, iff we do not link with $LD.
25202 + # Luckily, gcc supports the same syntax we need for Sun Studio.
25203 + # Supported since Solaris 2.6 (maybe 2.5.1?)
25206 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
25208 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
25211 + link_all_deplibs_GCJ=yes
25215 + if test "x$host_vendor" = xsequent; then
25216 + # Use $CC to link under sequent, because it throws in some extra .o
25217 + # files that make .init and .fini sections work.
25218 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25220 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25222 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25223 + hardcode_direct_GCJ=yes
25224 + hardcode_minus_L_GCJ=yes
25225 + hardcode_shlibpath_var_GCJ=no
25229 + case $host_vendor in
25231 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25232 + hardcode_direct_GCJ=yes # is this really true???
25235 + ## LD is ld it makes a PLAMLIB
25236 + ## CC just makes a GrossModule.
25237 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25238 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25239 + hardcode_direct_GCJ=no
25242 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25243 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25246 + runpath_var='LD_RUN_PATH'
25247 + hardcode_shlibpath_var_GCJ=no
25251 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25252 + hardcode_shlibpath_var_GCJ=no
25253 + export_dynamic_flag_spec_GCJ='-Bexport'
25257 + if test -d /usr/nec; then
25258 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25259 + hardcode_shlibpath_var_GCJ=no
25260 + runpath_var=LD_RUN_PATH
25261 + hardcode_runpath_var=yes
25262 + ld_shlibs_GCJ=yes
25266 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
25267 + no_undefined_flag_GCJ='${wl}-z,text'
25268 + archive_cmds_need_lc_GCJ=no
25269 + hardcode_shlibpath_var_GCJ=no
25270 + runpath_var='LD_RUN_PATH'
25272 + if test "$GCC" = yes; then
25273 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25274 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25276 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25277 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25281 + sysv5* | sco3.2v5* | sco5v6*)
25282 + # Note: We can NOT use -z defs as we might desire, because we do not
25283 + # link with -lc, and that would cause any symbols used from libc to
25284 + # always be unresolved, which means just about no library would
25285 + # ever link correctly. If we're not using GNU ld we use -z text
25286 + # though, which does catch some bad symbols but isn't as heavy-handed
25288 + no_undefined_flag_GCJ='${wl}-z,text'
25289 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
25290 + archive_cmds_need_lc_GCJ=no
25291 + hardcode_shlibpath_var_GCJ=no
25292 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25293 + hardcode_libdir_separator_GCJ=':'
25294 + link_all_deplibs_GCJ=yes
25295 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25296 + runpath_var='LD_RUN_PATH'
25298 + if test "$GCC" = yes; then
25299 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25300 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25302 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25303 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25308 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25309 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25310 + hardcode_shlibpath_var_GCJ=no
25319 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25320 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25321 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
25324 +# Do we need to explicitly link libc?
25326 +case "x$archive_cmds_need_lc_GCJ" in
25328 + # Assume -lc should be added
25329 + archive_cmds_need_lc_GCJ=yes
25331 + if test "$enable_shared" = yes && test "$GCC" = yes; then
25332 + case $archive_cmds_GCJ in
25334 + # FIXME: we may have to deal with multi-command sequences.
25337 + # Test whether the compiler implicitly links with -lc since on some
25338 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
25339 + # to ld, don't add -lc before -lgcc.
25340 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25341 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25343 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25345 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25346 + (eval $ac_compile) 2>&5
25348 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 + (exit $ac_status); } 2>conftest.err; then
25352 + libobjs=conftest.$ac_objext
25354 + wl=$lt_prog_compiler_wl_GCJ
25355 + pic_flag=$lt_prog_compiler_pic_GCJ
25356 + compiler_flags=-v
25361 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25362 + allow_undefined_flag_GCJ=
25363 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25364 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 + (exit $ac_status); }
25369 + archive_cmds_need_lc_GCJ=no
25371 + archive_cmds_need_lc_GCJ=yes
25373 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25375 + cat conftest.err 1>&5
25378 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25379 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25386 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25387 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25388 +library_names_spec=
25389 +libname_spec='lib$name'
25393 +postuninstall_cmds=
25397 +shlibpath_overrides_runpath=unknown
25399 +dynamic_linker="$host_os ld.so"
25400 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
25401 +if test "$GCC" = yes; then
25402 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25403 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25404 + # if the path contains ";" then we assume it to be the separator
25405 + # otherwise default to the standard path separator (i.e. ":") - it is
25406 + # assumed that no part of a normal pathname contains ";" but that should
25407 + # okay in the real world where ";" in dirpaths is itself problematic.
25408 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25410 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25413 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25415 +need_lib_prefix=unknown
25416 +hardcode_into_libs=no
25418 +# when you set need_version to no, make sure it does not cause -set_version
25419 +# flags to be left without arguments
25420 +need_version=unknown
25424 + version_type=linux
25425 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25426 + shlibpath_var=LIBPATH
25428 + # AIX 3 has no versioning support, so we append a major version to the name.
25429 + soname_spec='${libname}${release}${shared_ext}$major'
25433 + version_type=linux
25434 + need_lib_prefix=no
25436 + hardcode_into_libs=yes
25437 + if test "$host_cpu" = ia64; then
25438 + # AIX 5 supports IA64
25439 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25440 + shlibpath_var=LD_LIBRARY_PATH
25442 + # With GCC up to 2.95.x, collect2 would create an import file
25443 + # for dependence libraries. The import file would start with
25444 + # the line `#! .'. This would cause the generated library to
25445 + # depend on `.', always an invalid library. This was fixed in
25446 + # development snapshots of GCC prior to 3.0.
25448 + aix4 | aix4.[01] | aix4.[01].*)
25449 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25451 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25454 + can_build_shared=no
25458 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25459 + # soname into executable. Probably we can add versioning support to
25460 + # collect2, so additional links can be useful in future.
25461 + if test "$aix_use_runtimelinking" = yes; then
25462 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25463 + # instead of lib<name>.a to let people know that these are not
25464 + # typical AIX shared libraries.
25465 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25467 + # We preserve .a as extension for shared libraries through AIX4.2
25468 + # and later when we are not doing run time linking.
25469 + library_names_spec='${libname}${release}.a $libname.a'
25470 + soname_spec='${libname}${release}${shared_ext}$major'
25472 + shlibpath_var=LIBPATH
25477 + library_names_spec='$libname.ixlibrary $libname.a'
25478 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
25479 + 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'
25483 + library_names_spec='${libname}${shared_ext}'
25484 + dynamic_linker="$host_os ld.so"
25485 + shlibpath_var=LIBRARY_PATH
25491 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25492 - soname_spec='${libname}${release}.so$major'
25493 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25494 + soname_spec='${libname}${release}${shared_ext}$major'
25495 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25496 shlibpath_var=LD_LIBRARY_PATH
25497 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25498 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25499 - export_dynamic_flag_spec=-rdynamic
25500 # the default ld.so.conf also contains /usr/contrib/lib and
25501 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25502 # libtool to hard-code these into programs
25503 @@ -6487,29 +18034,56 @@
25505 cygwin* | mingw* | pw32*)
25506 version_type=windows
25507 + shrext_cmds=".dll"
25511 case $GCC,$host_os in
25513 + yes,cygwin* | yes,mingw* | yes,pw32*)
25514 library_names_spec='$libname.dll.a'
25515 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25516 - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
25517 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
25518 + postinstall_cmds='base_file=`basename \${file}`~
25519 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25520 dldir=$destdir/`dirname \$dlpath`~
25521 test -d \$dldir || mkdir -p \$dldir~
25522 - $install_prog .libs/$dlname \$dldir/$dlname'
25523 - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
25524 + $install_prog $dir/$dlname \$dldir/$dlname~
25525 + chmod a+x \$dldir/$dlname'
25526 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25527 dlpath=$dir/\$dldll~
25529 + shlibpath_overrides_runpath=yes
25533 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25534 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25535 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25538 + # MinGW DLLs use traditional 'lib' prefix
25539 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25540 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25541 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25542 + # It is most probably a Windows format PATH printed by
25543 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
25544 + # path with ; separators, and with drive letters. We can handle the
25545 + # drive letters (cygwin fileutils understands them), so leave them,
25546 + # especially as we might pass files found there to a mingw objdump,
25547 + # which wouldn't understand a cygwinified path. Ahh.
25548 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25550 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25554 + # pw32 DLLs use 'pw' prefix rather than 'lib'
25555 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25560 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25561 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
25564 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
25568 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
25569 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25572 dynamic_linker='Win32 ld.exe'
25573 @@ -6521,43 +18095,54 @@
25574 dynamic_linker="$host_os dyld"
25575 version_type=darwin
25578 - # FIXME: Relying on posixy $() will cause problems for
25579 - # cross-compilation, but unfortunately the echo tests do not
25580 - # yet detect zsh echo's removal of \ escapes.
25581 - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
25582 - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
25583 - shlibpath_overrides_runpath=yes
25584 - shlibpath_var=DYLD_LIBRARY_PATH
25588 - dynamic_linker=no
25590 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25591 + soname_spec='${libname}${release}${major}$shared_ext'
25592 + shlibpath_overrides_runpath=yes
25593 + shlibpath_var=DYLD_LIBRARY_PATH
25594 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25595 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25596 + if test "$GCC" = yes; then
25597 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
25599 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25601 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25609 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25610 - soname_spec='${libname}${release}.so$major'
25611 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25612 + soname_spec='${libname}${release}${shared_ext}$major'
25613 shlibpath_var=LD_LIBRARY_PATH
25614 - shlibpath_overrides_runpath=no
25615 - hardcode_into_libs=yes
25616 - dynamic_linker='GNU/FreeBSD ld.so'
25620 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
25622 + dynamic_linker=no
25625 +freebsd* | dragonfly*)
25626 + # DragonFly does not have aout. When/if they implement a new
25627 + # versioning mechanism, adjust this.
25628 + if test -x /usr/bin/objformat; then
25629 + objformat=`/usr/bin/objformat`
25632 + freebsd[123]*) objformat=aout ;;
25633 + *) objformat=elf ;;
25636 version_type=freebsd-$objformat
25637 case $version_type in
25639 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
25640 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25645 - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
25646 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25650 @@ -6566,10 +18151,19 @@
25652 shlibpath_overrides_runpath=yes
25655 + freebsd3.[01]* | freebsdelf3.[01]*)
25656 + shlibpath_overrides_runpath=yes
25657 + hardcode_into_libs=yes
25659 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25660 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25661 shlibpath_overrides_runpath=no
25662 hardcode_into_libs=yes
25664 + freebsd*) # from 4.6 on
25665 + shlibpath_overrides_runpath=yes
25666 + hardcode_into_libs=yes
25671 @@ -6577,8 +18171,8 @@
25675 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
25676 - soname_spec='${libname}${release}.so$major'
25677 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25678 + soname_spec='${libname}${release}${shared_ext}$major'
25679 shlibpath_var=LD_LIBRARY_PATH
25680 hardcode_into_libs=yes
25682 @@ -6586,36 +18180,87 @@
25683 hpux9* | hpux10* | hpux11*)
25684 # Give a soname corresponding to the major version so that dld.sl refuses to
25685 # link against other versions.
25686 - dynamic_linker="$host_os dld.sl"
25690 - shlibpath_var=SHLIB_PATH
25691 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25692 - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
25693 - soname_spec='${libname}${release}.sl$major'
25694 + case $host_cpu in
25696 + shrext_cmds='.so'
25697 + hardcode_into_libs=yes
25698 + dynamic_linker="$host_os dld.so"
25699 + shlibpath_var=LD_LIBRARY_PATH
25700 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25701 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25702 + soname_spec='${libname}${release}${shared_ext}$major'
25703 + if test "X$HPUX_IA64_MODE" = X32; then
25704 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25706 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25708 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25711 + shrext_cmds='.sl'
25712 + hardcode_into_libs=yes
25713 + dynamic_linker="$host_os dld.sl"
25714 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25715 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25716 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25717 + soname_spec='${libname}${release}${shared_ext}$major'
25718 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25719 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25722 + shrext_cmds='.sl'
25723 + dynamic_linker="$host_os dld.sl"
25724 + shlibpath_var=SHLIB_PATH
25725 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25726 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25727 + soname_spec='${libname}${release}${shared_ext}$major'
25730 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25731 postinstall_cmds='chmod 555 $lib'
25735 + version_type=linux
25736 + need_lib_prefix=no
25738 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25739 + soname_spec='${libname}${release}${shared_ext}$major'
25740 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25741 + shlibpath_var=LD_LIBRARY_PATH
25742 + shlibpath_overrides_runpath=no
25743 + hardcode_into_libs=yes
25746 irix5* | irix6* | nonstopux*)
25748 nonstopux*) version_type=nonstopux ;;
25749 - *) version_type=irix ;;
25751 + if test "$lt_cv_prog_gnu_ld" = yes; then
25752 + version_type=linux
25754 + version_type=irix
25759 - soname_spec='${libname}${release}.so$major'
25760 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
25761 + soname_spec='${libname}${release}${shared_ext}$major'
25762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25764 irix5* | nonstopux*)
25765 libsuff= shlibsuff=
25768 case $LD in # libtool.m4 will add one of these switches to LD
25769 - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
25770 - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
25771 - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
25772 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25773 + libsuff= shlibsuff= libmagic=32-bit;;
25774 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25775 + libsuff=32 shlibsuff=N32 libmagic=N32;;
25776 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25777 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
25778 *) libsuff= shlibsuff= libmagic=never-match;;
25781 @@ -6624,20 +18269,21 @@
25782 shlibpath_overrides_runpath=no
25783 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25784 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25785 + hardcode_into_libs=yes
25788 # No shared lib support for Linux oldld, aout, or coff.
25789 -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
25790 +linux*oldld* | linux*aout* | linux*coff*)
25794 # This must be Linux ELF.
25796 +linux* | k*bsd*-gnu)
25800 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25801 - soname_spec='${libname}${release}.so$major'
25802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25803 + soname_spec='${libname}${release}${shared_ext}$major'
25804 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25805 shlibpath_var=LD_LIBRARY_PATH
25806 shlibpath_overrides_runpath=no
25807 @@ -6646,6 +18292,12 @@
25808 # before this can be enabled.
25809 hardcode_into_libs=yes
25811 + # Append ld.so.conf contents to the search path
25812 + if test -f /etc/ld.so.conf; then
25813 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
25814 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25817 # We used to test for /lib/ld.so.1 and disable shared libraries on
25818 # powerpc, because MkLinux only supported shared libraries with the
25819 # GNU dynamic linker. Since this was broken with cross compilers,
25820 @@ -6655,17 +18307,29 @@
25821 dynamic_linker='GNU/Linux ld.so'
25825 + version_type=linux
25826 + need_lib_prefix=no
25828 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25829 + soname_spec='${libname}${release}${shared_ext}$major'
25830 + shlibpath_var=LD_LIBRARY_PATH
25831 + shlibpath_overrides_runpath=no
25832 + hardcode_into_libs=yes
25833 + dynamic_linker='NetBSD ld.elf_so'
25840 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25841 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25842 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25844 dynamic_linker='NetBSD (a.out) ld.so'
25846 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
25847 - soname_spec='${libname}${release}.so$major'
25848 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25849 + soname_spec='${libname}${release}${shared_ext}$major'
25850 dynamic_linker='NetBSD ld.elf_so'
25852 shlibpath_var=LD_LIBRARY_PATH
25853 @@ -6675,65 +18339,73 @@
25857 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25858 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25859 + shlibpath_var=LD_LIBRARY_PATH
25860 + shlibpath_overrides_runpath=yes
25864 + version_type=linux
25865 + need_lib_prefix=no
25867 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25868 + soname_spec='${libname}${release}${shared_ext}$major'
25869 shlibpath_var=LD_LIBRARY_PATH
25870 shlibpath_overrides_runpath=yes
25875 + sys_lib_dlsearch_path_spec="/usr/lib"
25878 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25880 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25881 + *) need_version=no ;;
25883 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25884 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25885 + shlibpath_var=LD_LIBRARY_PATH
25886 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25887 - case "$host_os" in
25888 - openbsd2.[89] | openbsd2.[89].*)
25889 - shlibpath_overrides_runpath=no
25892 - shlibpath_overrides_runpath=yes
25896 + openbsd2.[89] | openbsd2.[89].*)
25897 + shlibpath_overrides_runpath=no
25900 + shlibpath_overrides_runpath=yes
25904 shlibpath_overrides_runpath=yes
25906 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25907 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25908 - shlibpath_var=LD_LIBRARY_PATH
25912 libname_spec='$name'
25913 + shrext_cmds=".dll"
25915 - library_names_spec='$libname.dll $libname.a'
25916 + library_names_spec='$libname${shared_ext} $libname.a'
25917 dynamic_linker='OS/2 ld.exe'
25918 shlibpath_var=LIBPATH
25921 osf3* | osf4* | osf5*)
25925 - soname_spec='${libname}${release}.so$major'
25926 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25928 + soname_spec='${libname}${release}${shared_ext}$major'
25929 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25930 shlibpath_var=LD_LIBRARY_PATH
25931 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25932 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25933 - hardcode_into_libs=yes
25938 - soname_spec='${libname}${release}.so$major'
25939 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25940 - shlibpath_var=LD_LIBRARY_PATH
25947 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25948 - soname_spec='${libname}${release}.so$major'
25949 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25950 + soname_spec='${libname}${release}${shared_ext}$major'
25951 shlibpath_var=LD_LIBRARY_PATH
25952 shlibpath_overrides_runpath=yes
25953 hardcode_into_libs=yes
25954 @@ -6743,7 +18415,7 @@
25958 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25959 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25960 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25961 shlibpath_var=LD_LIBRARY_PATH
25962 shlibpath_overrides_runpath=yes
25963 @@ -6753,10 +18425,10 @@
25967 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25970 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25971 - soname_spec='${libname}${release}.so$major'
25972 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25973 + soname_spec='${libname}${release}${shared_ext}$major'
25974 shlibpath_var=LD_LIBRARY_PATH
25975 case $host_vendor in
25977 @@ -6777,77 +18449,87 @@
25982 - version_type=linux
25983 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25984 - soname_spec='${libname}${release}.so$major'
25985 - shlibpath_var=LD_LIBRARY_PATH
25987 + if test -d /usr/nec ;then
25988 + version_type=linux
25989 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25990 + soname_spec='$libname${shared_ext}.$major'
25991 + shlibpath_var=LD_LIBRARY_PATH
25996 - version_type=linux
25997 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25998 + version_type=freebsd-elf
26001 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
26002 - soname_spec='${libname}${release}.so$major'
26003 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26004 + soname_spec='${libname}${release}${shared_ext}$major'
26005 shlibpath_var=LD_LIBRARY_PATH
26006 + hardcode_into_libs=yes
26007 + if test "$with_gnu_ld" = yes; then
26008 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26009 + shlibpath_overrides_runpath=no
26011 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26012 + shlibpath_overrides_runpath=yes
26015 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26019 + sys_lib_dlsearch_path_spec='/usr/lib'
26023 - if test -d /usr/nec ;then
26024 - version_type=linux
26025 - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
26026 - soname_spec='$libname.so.$major'
26027 - shlibpath_var=LD_LIBRARY_PATH
26030 + version_type=linux
26031 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26032 + soname_spec='${libname}${release}${shared_ext}$major'
26033 + shlibpath_var=LD_LIBRARY_PATH
26040 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26041 -echo "${ECHO_T}$dynamic_linker" >&6
26042 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26043 +echo "${ECHO_T}$dynamic_linker" >&6; }
26044 test "$dynamic_linker" = no && can_build_shared=no
26046 -# Report the final consequences.
26047 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
26048 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
26049 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
26050 -echo "${ECHO_T}$can_build_shared" >&6
26052 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
26053 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
26054 -test "$can_build_shared" = "no" && enable_shared=no
26055 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26056 +if test "$GCC" = yes; then
26057 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26060 -# On AIX, shared libraries and static libraries use the same namespace, and
26061 -# are all built from PIC.
26062 -case "$host_os" in
26064 - test "$enable_shared" = yes && enable_static=no
26065 - if test -n "$RANLIB"; then
26066 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
26067 - postinstall_cmds='$RANLIB $lib'
26070 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26071 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26072 +hardcode_action_GCJ=
26073 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26074 + test -n "$runpath_var_GCJ" || \
26075 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26078 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
26079 - test "$enable_shared" = yes && enable_static=no
26080 + # We can hardcode non-existant directories.
26081 + if test "$hardcode_direct_GCJ" != no &&
26082 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
26083 + # have to relink, otherwise we might link with an installed library
26084 + # when we should be linking with a yet-to-be-installed one
26085 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26086 + test "$hardcode_minus_L_GCJ" != no; then
26087 + # Linking always hardcodes the temporary library directory.
26088 + hardcode_action_GCJ=relink
26090 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
26091 + hardcode_action_GCJ=immediate
26095 -echo "$as_me:$LINENO: result: $enable_shared" >&5
26096 -echo "${ECHO_T}$enable_shared" >&6
26098 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
26099 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
26100 -# Make sure either enable_shared or enable_static is yes.
26101 -test "$enable_shared" = yes || enable_static=yes
26102 -echo "$as_me:$LINENO: result: $enable_static" >&5
26103 -echo "${ECHO_T}$enable_static" >&6
26105 + # We cannot hardcode anything, or else we can only hardcode existing
26107 + hardcode_action_GCJ=unsupported
26109 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26110 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26112 -if test "$hardcode_action" = relink; then
26113 +if test "$hardcode_action_GCJ" = relink; then
26114 # Fast installation is not supported
26115 enable_fast_install=no
26116 elif test "$shlibpath_overrides_runpath" = yes ||
26117 @@ -6856,832 +18538,558 @@
26118 enable_fast_install=needless
26121 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26122 -if test "$GCC" = yes; then
26123 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26126 -if test "x$enable_dlopen" != xyes; then
26127 - enable_dlopen=unknown
26128 - enable_dlopen_self=unknown
26129 - enable_dlopen_self_static=unknown
26132 - lt_cv_dlopen_libs=
26133 +# The else clause should only fire when bootstrapping the
26134 +# libtool distribution, otherwise you forgot to ship ltmain.sh
26135 +# with your package, and you will get complaints that there are
26136 +# no rules to generate ltmain.sh.
26137 +if test -f "$ltmain"; then
26138 + # See if we are running on zsh, and set the options which allow our commands through
26139 + # without removal of \ escapes.
26140 + if test -n "${ZSH_VERSION+set}" ; then
26141 + setopt NO_GLOB_SUBST
26143 + # Now quote all the things that may contain metacharacters while being
26144 + # careful not to overquote the AC_SUBSTed values. We take copies of the
26145 + # variables and quote the copies for generation of the libtool script.
26146 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26147 + SED SHELL STRIP \
26148 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26149 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26150 + deplibs_check_method reload_flag reload_cmds need_locks \
26151 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26152 + lt_cv_sys_global_symbol_to_c_name_address \
26153 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26154 + old_postinstall_cmds old_postuninstall_cmds \
26158 + lt_prog_compiler_wl_GCJ \
26159 + lt_prog_compiler_pic_GCJ \
26160 + lt_prog_compiler_static_GCJ \
26161 + lt_prog_compiler_no_builtin_flag_GCJ \
26162 + export_dynamic_flag_spec_GCJ \
26163 + thread_safe_flag_spec_GCJ \
26164 + whole_archive_flag_spec_GCJ \
26165 + enable_shared_with_static_runtimes_GCJ \
26166 + old_archive_cmds_GCJ \
26167 + old_archive_from_new_cmds_GCJ \
26168 + predep_objects_GCJ \
26169 + postdep_objects_GCJ \
26172 + compiler_lib_search_path_GCJ \
26173 + archive_cmds_GCJ \
26174 + archive_expsym_cmds_GCJ \
26175 + postinstall_cmds_GCJ \
26176 + postuninstall_cmds_GCJ \
26177 + old_archive_from_expsyms_cmds_GCJ \
26178 + allow_undefined_flag_GCJ \
26179 + no_undefined_flag_GCJ \
26180 + export_symbols_cmds_GCJ \
26181 + hardcode_libdir_flag_spec_GCJ \
26182 + hardcode_libdir_flag_spec_ld_GCJ \
26183 + hardcode_libdir_separator_GCJ \
26184 + hardcode_automatic_GCJ \
26185 + module_cmds_GCJ \
26186 + module_expsym_cmds_GCJ \
26187 + lt_cv_prog_compiler_c_o_GCJ \
26188 + exclude_expsyms_GCJ \
26189 + include_expsyms_GCJ; do
26192 + old_archive_cmds_GCJ | \
26193 + old_archive_from_new_cmds_GCJ | \
26194 + archive_cmds_GCJ | \
26195 + archive_expsym_cmds_GCJ | \
26196 + module_cmds_GCJ | \
26197 + module_expsym_cmds_GCJ | \
26198 + old_archive_from_expsyms_cmds_GCJ | \
26199 + export_symbols_cmds_GCJ | \
26200 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
26201 + postinstall_cmds | postuninstall_cmds | \
26202 + old_postinstall_cmds | old_postuninstall_cmds | \
26203 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26204 + # Double-quote double-evaled strings.
26205 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26208 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26214 + *'\$0 --fallback-echo"')
26215 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26221 + cat <<__EOF__ >> "$cfgfile"
26222 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26224 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26226 +# Shell to use when invoking shell scripts.
26229 +# Whether or not to build shared libraries.
26230 +build_libtool_libs=$enable_shared
26232 +# Whether or not to build static libraries.
26233 +build_old_libs=$enable_static
26235 +# Whether or not to add -lc for building shared libraries.
26236 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26238 +# Whether or not to disallow shared libs when runtime libs are static
26239 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26241 +# Whether or not to optimize for fast installation.
26242 +fast_install=$enable_fast_install
26244 +# The host system.
26245 +host_alias=$host_alias
26249 +# The build system.
26250 +build_alias=$build_alias
26252 +build_os=$build_os
26254 +# An echo program that does not interpret backslashes.
26259 +AR_FLAGS=$lt_AR_FLAGS
26264 +# LTCC compiler flags.
26265 +LTCFLAGS=$lt_LTCFLAGS
26267 +# A language-specific compiler.
26268 +CC=$lt_compiler_GCJ
26270 +# Is the compiler the GNU C compiler?
26276 +# The linker used to build libraries.
26279 +# Whether we need hard or soft links.
26282 +# A BSD-compatible nm program.
26285 +# A symbol stripping program
26288 +# Used to examine libraries when file_magic_cmd begins "file"
26289 +MAGIC_CMD=$MAGIC_CMD
26291 +# Used on cygwin: DLL creation program.
26292 +DLLTOOL="$DLLTOOL"
26294 +# Used on cygwin: object dumper.
26295 +OBJDUMP="$OBJDUMP"
26297 +# Used on cygwin: assembler.
26300 +# The name of the directory that contains temporary libtool files.
26303 +# How to create reloadable object files.
26304 +reload_flag=$lt_reload_flag
26305 +reload_cmds=$lt_reload_cmds
26307 +# How to pass a linker flag through the compiler.
26308 +wl=$lt_lt_prog_compiler_wl_GCJ
26310 +# Object file suffix (normally "o").
26311 +objext="$ac_objext"
26313 +# Old archive suffix (normally "a").
26316 +# Shared library suffix (normally ".so").
26317 +shrext_cmds='$shrext_cmds'
26321 - lt_cv_dlopen="load_add_on"
26322 - lt_cv_dlopen_libs=
26323 - lt_cv_dlopen_self=yes
26325 +# Executable file suffix (normally "").
26328 - cygwin* | mingw* | pw32*)
26329 - lt_cv_dlopen="LoadLibrary"
26330 - lt_cv_dlopen_libs=
26332 +# Additional compiler flags for building library objects.
26333 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
26334 +pic_mode=$pic_mode
26337 - echo "$as_me:$LINENO: checking for shl_load" >&5
26338 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
26339 -if test "${ac_cv_func_shl_load+set}" = set; then
26340 - echo $ECHO_N "(cached) $ECHO_C" >&6
26342 - cat >conftest.$ac_ext <<_ACEOF
26345 -cat confdefs.h >>conftest.$ac_ext
26346 -cat >>conftest.$ac_ext <<_ACEOF
26347 -/* end confdefs.h. */
26348 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
26349 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26350 -#define shl_load innocuous_shl_load
26351 +# What is the maximum length of a command?
26352 +max_cmd_len=$lt_cv_sys_max_cmd_len
26354 -/* System header to define __stub macros and hopefully few prototypes,
26355 - which can conflict with char shl_load (); below.
26356 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26357 - <limits.h> exists even on freestanding compilers. */
26358 +# Does compiler simultaneously support -c and -o options?
26359 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26362 -# include <limits.h>
26364 -# include <assert.h>
26366 +# Must we lock files when doing compilation?
26367 +need_locks=$lt_need_locks
26370 +# Do we need the lib prefix for modules?
26371 +need_lib_prefix=$need_lib_prefix
26373 -/* Override any gcc2 internal prototype to avoid an error. */
26374 -#ifdef __cplusplus
26378 -/* We use char because int might match the return type of a gcc2
26379 - builtin and then its argument prototype would still apply. */
26381 -/* The GNU C library defines this for functions which it implements
26382 - to always fail with ENOSYS. Some functions are actually named
26383 - something starting with __ and the normal name is an alias. */
26384 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
26387 -char (*f) () = shl_load;
26389 -#ifdef __cplusplus
26392 +# Do we need a version for libraries?
26393 +need_version=$need_version
26398 -return f != shl_load;
26403 -rm -f conftest.$ac_objext conftest$ac_exeext
26404 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26405 - (eval $ac_link) 2>conftest.er1
26407 - grep -v '^ *+' conftest.er1 >conftest.err
26408 - rm -f conftest.er1
26409 - cat conftest.err >&5
26410 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 - (exit $ac_status); } &&
26412 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26413 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 - (eval $ac_try) 2>&5
26416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 - (exit $ac_status); }; } &&
26418 - { ac_try='test -s conftest$ac_exeext'
26419 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26420 - (eval $ac_try) 2>&5
26422 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 - (exit $ac_status); }; }; then
26424 - ac_cv_func_shl_load=yes
26426 - echo "$as_me: failed program was:" >&5
26427 -sed 's/^/| /' conftest.$ac_ext >&5
26428 +# Whether dlopen is supported.
26429 +dlopen_support=$enable_dlopen
26431 -ac_cv_func_shl_load=no
26433 -rm -f conftest.err conftest.$ac_objext \
26434 - conftest$ac_exeext conftest.$ac_ext
26436 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
26437 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
26438 -if test $ac_cv_func_shl_load = yes; then
26439 - lt_cv_dlopen="shl_load"
26441 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
26442 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
26443 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
26444 - echo $ECHO_N "(cached) $ECHO_C" >&6
26446 - ac_check_lib_save_LIBS=$LIBS
26447 -LIBS="-ldld $LIBS"
26448 -cat >conftest.$ac_ext <<_ACEOF
26451 -cat confdefs.h >>conftest.$ac_ext
26452 -cat >>conftest.$ac_ext <<_ACEOF
26453 -/* end confdefs.h. */
26454 +# Whether dlopen of programs is supported.
26455 +dlopen_self=$enable_dlopen_self
26457 -/* Override any gcc2 internal prototype to avoid an error. */
26458 -#ifdef __cplusplus
26461 -/* We use char because int might match the return type of a gcc2
26462 - builtin and then its argument prototype would still apply. */
26472 -rm -f conftest.$ac_objext conftest$ac_exeext
26473 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26474 - (eval $ac_link) 2>conftest.er1
26476 - grep -v '^ *+' conftest.er1 >conftest.err
26477 - rm -f conftest.er1
26478 - cat conftest.err >&5
26479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 - (exit $ac_status); } &&
26481 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26482 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 - (eval $ac_try) 2>&5
26485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 - (exit $ac_status); }; } &&
26487 - { ac_try='test -s conftest$ac_exeext'
26488 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 - (eval $ac_try) 2>&5
26491 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 - (exit $ac_status); }; }; then
26493 - ac_cv_lib_dld_shl_load=yes
26495 - echo "$as_me: failed program was:" >&5
26496 -sed 's/^/| /' conftest.$ac_ext >&5
26497 +# Whether dlopen of statically linked programs is supported.
26498 +dlopen_self_static=$enable_dlopen_self_static
26500 -ac_cv_lib_dld_shl_load=no
26502 -rm -f conftest.err conftest.$ac_objext \
26503 - conftest$ac_exeext conftest.$ac_ext
26504 -LIBS=$ac_check_lib_save_LIBS
26506 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
26507 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
26508 -if test $ac_cv_lib_dld_shl_load = yes; then
26509 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
26511 - echo "$as_me:$LINENO: checking for dlopen" >&5
26512 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
26513 -if test "${ac_cv_func_dlopen+set}" = set; then
26514 - echo $ECHO_N "(cached) $ECHO_C" >&6
26516 - cat >conftest.$ac_ext <<_ACEOF
26519 -cat confdefs.h >>conftest.$ac_ext
26520 -cat >>conftest.$ac_ext <<_ACEOF
26521 -/* end confdefs.h. */
26522 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
26523 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26524 -#define dlopen innocuous_dlopen
26525 +# Compiler flag to prevent dynamic linking.
26526 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
26528 -/* System header to define __stub macros and hopefully few prototypes,
26529 - which can conflict with char dlopen (); below.
26530 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26531 - <limits.h> exists even on freestanding compilers. */
26532 +# Compiler flag to turn off builtin functions.
26533 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26536 -# include <limits.h>
26538 -# include <assert.h>
26540 +# Compiler flag to allow reflexive dlopens.
26541 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26544 +# Compiler flag to generate shared objects directly from archives.
26545 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26547 -/* Override any gcc2 internal prototype to avoid an error. */
26548 -#ifdef __cplusplus
26552 -/* We use char because int might match the return type of a gcc2
26553 - builtin and then its argument prototype would still apply. */
26555 -/* The GNU C library defines this for functions which it implements
26556 - to always fail with ENOSYS. Some functions are actually named
26557 - something starting with __ and the normal name is an alias. */
26558 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
26561 -char (*f) () = dlopen;
26563 -#ifdef __cplusplus
26566 +# Compiler flag to generate thread-safe objects.
26567 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26572 -return f != dlopen;
26577 -rm -f conftest.$ac_objext conftest$ac_exeext
26578 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26579 - (eval $ac_link) 2>conftest.er1
26581 - grep -v '^ *+' conftest.er1 >conftest.err
26582 - rm -f conftest.er1
26583 - cat conftest.err >&5
26584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 - (exit $ac_status); } &&
26586 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26587 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 - (eval $ac_try) 2>&5
26590 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 - (exit $ac_status); }; } &&
26592 - { ac_try='test -s conftest$ac_exeext'
26593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 - (eval $ac_try) 2>&5
26596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 - (exit $ac_status); }; }; then
26598 - ac_cv_func_dlopen=yes
26600 - echo "$as_me: failed program was:" >&5
26601 -sed 's/^/| /' conftest.$ac_ext >&5
26602 +# Library versioning type.
26603 +version_type=$version_type
26605 -ac_cv_func_dlopen=no
26607 -rm -f conftest.err conftest.$ac_objext \
26608 - conftest$ac_exeext conftest.$ac_ext
26610 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
26611 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
26612 -if test $ac_cv_func_dlopen = yes; then
26613 - lt_cv_dlopen="dlopen"
26615 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26616 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26617 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26618 - echo $ECHO_N "(cached) $ECHO_C" >&6
26620 - ac_check_lib_save_LIBS=$LIBS
26622 -cat >conftest.$ac_ext <<_ACEOF
26625 -cat confdefs.h >>conftest.$ac_ext
26626 -cat >>conftest.$ac_ext <<_ACEOF
26627 -/* end confdefs.h. */
26628 +# Format of library name prefix.
26629 +libname_spec=$lt_libname_spec
26631 -/* Override any gcc2 internal prototype to avoid an error. */
26632 -#ifdef __cplusplus
26635 -/* We use char because int might match the return type of a gcc2
26636 - builtin and then its argument prototype would still apply. */
26646 -rm -f conftest.$ac_objext conftest$ac_exeext
26647 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26648 - (eval $ac_link) 2>conftest.er1
26650 - grep -v '^ *+' conftest.er1 >conftest.err
26651 - rm -f conftest.er1
26652 - cat conftest.err >&5
26653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 - (exit $ac_status); } &&
26655 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26656 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 - (eval $ac_try) 2>&5
26659 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 - (exit $ac_status); }; } &&
26661 - { ac_try='test -s conftest$ac_exeext'
26662 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 - (eval $ac_try) 2>&5
26665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 - (exit $ac_status); }; }; then
26667 - ac_cv_lib_dl_dlopen=yes
26669 - echo "$as_me: failed program was:" >&5
26670 -sed 's/^/| /' conftest.$ac_ext >&5
26671 +# List of archive names. First name is the real one, the rest are links.
26672 +# The last name is the one that the linker finds with -lNAME.
26673 +library_names_spec=$lt_library_names_spec
26675 +# The coded name of the library, if different from the real name.
26676 +soname_spec=$lt_soname_spec
26678 +# Commands used to build and install an old-style archive.
26680 +old_archive_cmds=$lt_old_archive_cmds_GCJ
26681 +old_postinstall_cmds=$lt_old_postinstall_cmds
26682 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
26684 -ac_cv_lib_dl_dlopen=no
26686 -rm -f conftest.err conftest.$ac_objext \
26687 - conftest$ac_exeext conftest.$ac_ext
26688 -LIBS=$ac_check_lib_save_LIBS
26690 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26691 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26692 -if test $ac_cv_lib_dl_dlopen = yes; then
26693 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
26695 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
26696 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
26697 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
26698 - echo $ECHO_N "(cached) $ECHO_C" >&6
26700 - ac_check_lib_save_LIBS=$LIBS
26701 -LIBS="-lsvld $LIBS"
26702 -cat >conftest.$ac_ext <<_ACEOF
26705 -cat confdefs.h >>conftest.$ac_ext
26706 -cat >>conftest.$ac_ext <<_ACEOF
26707 -/* end confdefs.h. */
26708 +# Create an old-style archive from a shared archive.
26709 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26711 -/* Override any gcc2 internal prototype to avoid an error. */
26712 -#ifdef __cplusplus
26715 -/* We use char because int might match the return type of a gcc2
26716 - builtin and then its argument prototype would still apply. */
26726 -rm -f conftest.$ac_objext conftest$ac_exeext
26727 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26728 - (eval $ac_link) 2>conftest.er1
26730 - grep -v '^ *+' conftest.er1 >conftest.err
26731 - rm -f conftest.er1
26732 - cat conftest.err >&5
26733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 - (exit $ac_status); } &&
26735 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 - (eval $ac_try) 2>&5
26739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 - (exit $ac_status); }; } &&
26741 - { ac_try='test -s conftest$ac_exeext'
26742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 - (eval $ac_try) 2>&5
26745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 - (exit $ac_status); }; }; then
26747 - ac_cv_lib_svld_dlopen=yes
26749 - echo "$as_me: failed program was:" >&5
26750 -sed 's/^/| /' conftest.$ac_ext >&5
26751 +# Create a temporary old-style archive to link instead of a shared archive.
26752 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26754 -ac_cv_lib_svld_dlopen=no
26756 -rm -f conftest.err conftest.$ac_objext \
26757 - conftest$ac_exeext conftest.$ac_ext
26758 -LIBS=$ac_check_lib_save_LIBS
26760 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
26761 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
26762 -if test $ac_cv_lib_svld_dlopen = yes; then
26763 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
26765 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
26766 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
26767 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
26768 - echo $ECHO_N "(cached) $ECHO_C" >&6
26770 - ac_check_lib_save_LIBS=$LIBS
26771 -LIBS="-ldld $LIBS"
26772 -cat >conftest.$ac_ext <<_ACEOF
26775 -cat confdefs.h >>conftest.$ac_ext
26776 -cat >>conftest.$ac_ext <<_ACEOF
26777 -/* end confdefs.h. */
26778 +# Commands used to build and install a shared archive.
26779 +archive_cmds=$lt_archive_cmds_GCJ
26780 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26781 +postinstall_cmds=$lt_postinstall_cmds
26782 +postuninstall_cmds=$lt_postuninstall_cmds
26784 -/* Override any gcc2 internal prototype to avoid an error. */
26785 -#ifdef __cplusplus
26788 -/* We use char because int might match the return type of a gcc2
26789 - builtin and then its argument prototype would still apply. */
26799 -rm -f conftest.$ac_objext conftest$ac_exeext
26800 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 - (eval $ac_link) 2>conftest.er1
26803 - grep -v '^ *+' conftest.er1 >conftest.err
26804 - rm -f conftest.er1
26805 - cat conftest.err >&5
26806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 - (exit $ac_status); } &&
26808 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 - (eval $ac_try) 2>&5
26812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 - (exit $ac_status); }; } &&
26814 - { ac_try='test -s conftest$ac_exeext'
26815 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 - (eval $ac_try) 2>&5
26818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 - (exit $ac_status); }; }; then
26820 - ac_cv_lib_dld_dld_link=yes
26822 - echo "$as_me: failed program was:" >&5
26823 -sed 's/^/| /' conftest.$ac_ext >&5
26824 +# Commands used to build a loadable module (assumed same as above if empty)
26825 +module_cmds=$lt_module_cmds_GCJ
26826 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26828 -ac_cv_lib_dld_dld_link=no
26830 -rm -f conftest.err conftest.$ac_objext \
26831 - conftest$ac_exeext conftest.$ac_ext
26832 -LIBS=$ac_check_lib_save_LIBS
26834 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
26835 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
26836 -if test $ac_cv_lib_dld_dld_link = yes; then
26837 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
26839 +# Commands to strip libraries.
26840 +old_striplib=$lt_old_striplib
26841 +striplib=$lt_striplib
26843 +# Dependencies to place before the objects being linked to create a
26845 +predep_objects=$lt_predep_objects_GCJ
26847 +# Dependencies to place after the objects being linked to create a
26849 +postdep_objects=$lt_postdep_objects_GCJ
26851 +# Dependencies to place before the objects being linked to create a
26853 +predeps=$lt_predeps_GCJ
26855 +# Dependencies to place after the objects being linked to create a
26857 +postdeps=$lt_postdeps_GCJ
26859 +# The library search path used internally by the compiler when linking
26860 +# a shared library.
26861 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26864 +# Method to check whether dependent libraries are shared objects.
26865 +deplibs_check_method=$lt_deplibs_check_method
26867 +# Command to use when deplibs_check_method == file_magic.
26868 +file_magic_cmd=$lt_file_magic_cmd
26871 +# Flag that allows shared libraries with undefined symbols to be built.
26872 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26874 +# Flag that forces no undefined symbols.
26875 +no_undefined_flag=$lt_no_undefined_flag_GCJ
26878 +# Commands used to finish a libtool library installation in a directory.
26879 +finish_cmds=$lt_finish_cmds
26881 +# Same as above, but a single script fragment to be evaled but not shown.
26882 +finish_eval=$lt_finish_eval
26885 +# Take the output of nm and produce a listing of raw symbols and C names.
26886 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26888 +# Transform the output of nm in a proper C declaration
26889 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26892 +# Transform the output of nm in a C name address pair
26893 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26897 +# This is the shared library runtime path variable.
26898 +runpath_var=$runpath_var
26900 - if test "x$lt_cv_dlopen" != xno; then
26901 - enable_dlopen=yes
26905 +# This is the shared library path variable.
26906 +shlibpath_var=$shlibpath_var
26908 - case $lt_cv_dlopen in
26910 - save_CPPFLAGS="$CPPFLAGS"
26911 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
26912 +# Is shlibpath searched before the hard-coded library search path?
26913 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26915 - save_LDFLAGS="$LDFLAGS"
26916 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
26917 +# How to hardcode a shared library path into an executable.
26918 +hardcode_action=$hardcode_action_GCJ
26920 - save_LIBS="$LIBS"
26921 - LIBS="$lt_cv_dlopen_libs $LIBS"
26922 +# Whether we should hardcode library paths into libraries.
26923 +hardcode_into_libs=$hardcode_into_libs
26925 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
26926 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
26927 -if test "${lt_cv_dlopen_self+set}" = set; then
26928 - echo $ECHO_N "(cached) $ECHO_C" >&6
26930 - if test "$cross_compiling" = yes; then :
26931 - lt_cv_dlopen_self=cross
26933 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
26934 - lt_status=$lt_dlunknown
26935 - cat > conftest.$ac_ext <<EOF
26936 -#line 7380 "configure"
26937 -#include "confdefs.h"
26938 +# Flag to hardcode \$libdir into a binary during linking.
26939 +# This must work even if \$libdir does not exist.
26940 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26943 -#include <dlfcn.h>
26945 +# If ld is used when linking, flag to hardcode \$libdir into
26946 +# a binary during linking. This must work even if \$libdir does
26948 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26950 -#include <stdio.h>
26951 +# Whether we need a single -rpath flag with a separated argument.
26952 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26954 -#ifdef RTLD_GLOBAL
26955 -# define LT_DLGLOBAL RTLD_GLOBAL
26958 -# define LT_DLGLOBAL DL_GLOBAL
26960 -# define LT_DLGLOBAL 0
26963 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26964 +# resulting binary.
26965 +hardcode_direct=$hardcode_direct_GCJ
26967 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
26968 - find out it does not work in some platform. */
26969 -#ifndef LT_DLLAZY_OR_NOW
26971 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
26974 -# define LT_DLLAZY_OR_NOW DL_LAZY
26977 -# define LT_DLLAZY_OR_NOW RTLD_NOW
26980 -# define LT_DLLAZY_OR_NOW DL_NOW
26982 -# define LT_DLLAZY_OR_NOW 0
26988 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26989 +# resulting binary.
26990 +hardcode_minus_L=$hardcode_minus_L_GCJ
26992 -#ifdef __cplusplus
26993 -extern "C" void exit (int);
26995 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26996 +# the resulting binary.
26997 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26999 -void fnord() { int i=42;}
27002 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27003 - int status = $lt_dlunknown;
27004 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27005 +# and all subsequent libraries and executables linked against it.
27006 +hardcode_automatic=$hardcode_automatic_GCJ
27010 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27011 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27012 - /* dlclose (self); */
27014 +# Variables whose values should be saved in libtool wrapper scripts and
27015 +# restored at relink time.
27016 +variables_saved_for_relink="$variables_saved_for_relink"
27021 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27022 - (eval $ac_link) 2>&5
27024 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27026 - (./conftest; exit; ) 2>/dev/null
27028 - case x$lt_status in
27029 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27030 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27031 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27034 - # compilation failed
27035 - lt_cv_dlopen_self=no
27039 +# Whether libtool must link a program against all its dependency libraries.
27040 +link_all_deplibs=$link_all_deplibs_GCJ
27042 +# Compile-time system search path for libraries
27043 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27045 +# Run-time system search path for libraries
27046 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27048 +# Fix the shell variable \$srcfile for the compiler.
27049 +fix_srcfile_path="$fix_srcfile_path_GCJ"
27051 +# Set to yes if exported symbols are required.
27052 +always_export_symbols=$always_export_symbols_GCJ
27054 +# The commands to list exported symbols.
27055 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27057 +# The commands to extract the exported symbol list from a shared archive.
27058 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27060 +# Symbols that should not be listed in the preloaded symbols.
27061 +exclude_expsyms=$lt_exclude_expsyms_GCJ
27063 +# Symbols that must always be exported.
27064 +include_expsyms=$lt_include_expsyms_GCJ
27066 +# ### END LIBTOOL TAG CONFIG: $tagname
27071 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27072 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27074 - if test "x$lt_cv_dlopen_self" = xyes; then
27075 - LDFLAGS="$LDFLAGS $link_static_flag"
27076 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27077 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27078 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27079 - echo $ECHO_N "(cached) $ECHO_C" >&6
27081 - if test "$cross_compiling" = yes; then :
27082 - lt_cv_dlopen_self_static=cross
27084 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27085 - lt_status=$lt_dlunknown
27086 - cat > conftest.$ac_ext <<EOF
27087 -#line 7478 "configure"
27088 -#include "confdefs.h"
27089 + # If there is no Makefile yet, we rely on a make rule to execute
27090 + # `config.status --recheck' to rerun these tests and create the
27091 + # libtool script then.
27092 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27093 + if test -f "$ltmain_in"; then
27094 + test -f Makefile && make "$ltmain"
27099 -#include <dlfcn.h>
27102 -#include <stdio.h>
27104 +ac_cpp='$CPP $CPPFLAGS'
27105 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27109 -#ifdef RTLD_GLOBAL
27110 -# define LT_DLGLOBAL RTLD_GLOBAL
27113 -# define LT_DLGLOBAL DL_GLOBAL
27115 -# define LT_DLGLOBAL 0
27120 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27121 - find out it does not work in some platform. */
27122 -#ifndef LT_DLLAZY_OR_NOW
27124 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27127 -# define LT_DLLAZY_OR_NOW DL_LAZY
27130 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27133 -# define LT_DLLAZY_OR_NOW DL_NOW
27135 -# define LT_DLLAZY_OR_NOW 0
27146 -#ifdef __cplusplus
27147 -extern "C" void exit (int);
27151 -void fnord() { int i=42;}
27154 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27155 - int status = $lt_dlunknown;
27159 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27160 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27161 - /* dlclose (self); */
27163 +# Source file extension for RC test sources.
27169 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27170 - (eval $ac_link) 2>&5
27172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27174 - (./conftest; exit; ) 2>/dev/null
27176 - case x$lt_status in
27177 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27178 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27179 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27182 - # compilation failed
27183 - lt_cv_dlopen_self_static=no
27187 +# Object file extension for compiled RC test sources.
27191 +# Code to be used in simple compile tests
27192 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27195 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27196 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27198 +# Code to be used in simple link tests
27199 +lt_simple_link_test_code="$lt_simple_compile_test_code"
27201 - CPPFLAGS="$save_CPPFLAGS"
27202 - LDFLAGS="$save_LDFLAGS"
27203 - LIBS="$save_LIBS"
27206 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
27208 - case $lt_cv_dlopen_self in
27209 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27210 - *) enable_dlopen_self=unknown ;;
27212 +# If no C compiler was specified, use CC.
27213 +LTCC=${LTCC-"$CC"}
27215 - case $lt_cv_dlopen_self_static in
27216 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27217 - *) enable_dlopen_self_static=unknown ;;
27220 +# If no C compiler flags were specified, use CFLAGS.
27221 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27223 +# Allow CC to be a program name with arguments.
27226 -if test "$enable_shared" = yes && test "$GCC" = yes; then
27227 - case $archive_cmds in
27229 - # FIXME: we may have to deal with multi-command sequences.
27232 - # Test whether the compiler implicitly links with -lc since on some
27233 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
27234 - # to ld, don't add -lc before -lgcc.
27235 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
27236 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
27237 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
27238 - echo $ECHO_N "(cached) $ECHO_C" >&6
27241 - echo 'static int dummy;' > conftest.$ac_ext
27243 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 - (eval $ac_compile) 2>&5
27246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 - (exit $ac_status); }; then
27250 - libobjs=conftest.$ac_objext
27252 - wl=$lt_cv_prog_cc_wl
27253 - compiler_flags=-v
27258 - save_allow_undefined_flag=$allow_undefined_flag
27259 - allow_undefined_flag=
27260 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
27261 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
27263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 - (exit $ac_status); }
27266 - lt_cv_archive_cmds_need_lc=no
27268 - lt_cv_archive_cmds_need_lc=yes
27270 - allow_undefined_flag=$save_allow_undefined_flag
27272 - cat conftest.err 1>&5
27275 +# save warnings/boilerplate of simple test code
27276 +ac_outfile=conftest.$ac_objext
27277 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
27278 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27279 +_lt_compiler_boilerplate=`cat conftest.err`
27282 +ac_outfile=conftest.$ac_objext
27283 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
27284 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27285 +_lt_linker_boilerplate=`cat conftest.err`
27288 - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
27289 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
27292 +# Allow CC to be a program name with arguments.
27294 +CC=${RC-"windres"}
27297 +for cc_temp in $compiler""; do
27299 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27300 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27305 -need_lc=${lt_cv_archive_cmds_need_lc-yes}
27307 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27309 -# The second clause should only fire when bootstrapping the
27310 +lt_cv_prog_compiler_c_o_RC=yes
27312 +# The else clause should only fire when bootstrapping the
27313 # libtool distribution, otherwise you forgot to ship ltmain.sh
27314 # with your package, and you will get complaints that there are
27315 # no rules to generate ltmain.sh.
27316 if test -f "$ltmain"; then
27319 - # If there is no Makefile yet, we rely on a make rule to execute
27320 - # `config.status --recheck' to rerun these tests and create the
27321 - # libtool script then.
27322 - test -f Makefile && make "$ltmain"
27325 -if test -f "$ltmain"; then
27326 - trap "$rm \"${ofile}T\"; exit 1" 1 2 15
27327 - $rm -f "${ofile}T"
27329 - echo creating $ofile
27331 + # See if we are running on zsh, and set the options which allow our commands through
27332 + # without removal of \ escapes.
27333 + if test -n "${ZSH_VERSION+set}" ; then
27334 + setopt NO_GLOB_SUBST
27336 # Now quote all the things that may contain metacharacters while being
27337 # careful not to overquote the AC_SUBSTed values. We take copies of the
27338 # variables and quote the copies for generation of the libtool script.
27339 - for var in echo old_CC old_CFLAGS SED \
27340 - AR AR_FLAGS CC LD LN_S NM SHELL \
27341 - reload_flag reload_cmds wl \
27342 - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
27343 - thread_safe_flag_spec whole_archive_flag_spec libname_spec \
27344 - library_names_spec soname_spec \
27345 - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
27346 - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
27347 - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
27348 - old_striplib striplib file_magic_cmd export_symbols_cmds \
27349 - deplibs_check_method allow_undefined_flag no_undefined_flag \
27350 - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
27351 - global_symbol_to_c_name_address \
27352 - hardcode_libdir_flag_spec hardcode_libdir_separator \
27353 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27354 + SED SHELL STRIP \
27355 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27356 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27357 + deplibs_check_method reload_flag reload_cmds need_locks \
27358 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
27359 + lt_cv_sys_global_symbol_to_c_name_address \
27360 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
27361 - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
27362 + old_postinstall_cmds old_postuninstall_cmds \
27366 + lt_prog_compiler_wl_RC \
27367 + lt_prog_compiler_pic_RC \
27368 + lt_prog_compiler_static_RC \
27369 + lt_prog_compiler_no_builtin_flag_RC \
27370 + export_dynamic_flag_spec_RC \
27371 + thread_safe_flag_spec_RC \
27372 + whole_archive_flag_spec_RC \
27373 + enable_shared_with_static_runtimes_RC \
27374 + old_archive_cmds_RC \
27375 + old_archive_from_new_cmds_RC \
27376 + predep_objects_RC \
27377 + postdep_objects_RC \
27380 + compiler_lib_search_path_RC \
27381 + archive_cmds_RC \
27382 + archive_expsym_cmds_RC \
27383 + postinstall_cmds_RC \
27384 + postuninstall_cmds_RC \
27385 + old_archive_from_expsyms_cmds_RC \
27386 + allow_undefined_flag_RC \
27387 + no_undefined_flag_RC \
27388 + export_symbols_cmds_RC \
27389 + hardcode_libdir_flag_spec_RC \
27390 + hardcode_libdir_flag_spec_ld_RC \
27391 + hardcode_libdir_separator_RC \
27392 + hardcode_automatic_RC \
27394 + module_expsym_cmds_RC \
27395 + lt_cv_prog_compiler_c_o_RC \
27396 + exclude_expsyms_RC \
27397 + include_expsyms_RC; do
27400 - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
27401 - old_postinstall_cmds | old_postuninstall_cmds | \
27402 - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
27403 - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
27404 + old_archive_cmds_RC | \
27405 + old_archive_from_new_cmds_RC | \
27406 + archive_cmds_RC | \
27407 + archive_expsym_cmds_RC | \
27408 + module_cmds_RC | \
27409 + module_expsym_cmds_RC | \
27410 + old_archive_from_expsyms_cmds_RC | \
27411 + export_symbols_cmds_RC | \
27412 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
27413 postinstall_cmds | postuninstall_cmds | \
27414 - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27415 + old_postinstall_cmds | old_postuninstall_cmds | \
27416 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27417 # Double-quote double-evaled strings.
27418 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
27420 @@ -7691,46 +19099,16 @@
27424 - cat <<__EOF__ > "${ofile}T"
27427 -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27428 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
27429 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
27431 -# Copyright (C) 1996-2000 Free Software Foundation, Inc.
27432 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
27434 -# This program is free software; you can redistribute it and/or modify
27435 -# it under the terms of the GNU General Public License as published by
27436 -# the Free Software Foundation; either version 2 of the License, or
27437 -# (at your option) any later version.
27439 -# This program is distributed in the hope that it will be useful, but
27440 -# WITHOUT ANY WARRANTY; without even the implied warranty of
27441 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27442 -# General Public License for more details.
27444 -# You should have received a copy of the GNU General Public License
27445 -# along with this program; if not, write to the Free Software
27446 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27448 -# As a special exception to the GNU General Public License, if you
27449 -# distribute this file as part of a program that contains a
27450 -# configuration script generated by Autoconf, you may include it under
27451 -# the same distribution terms that you use for the rest of that program.
27453 -# A sed that does not truncate output.
27456 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
27457 -Xsed="${SED} -e s/^X//"
27459 + *'\$0 --fallback-echo"')
27460 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
27464 -# The HP-UX ksh and POSIX shell print the target directory to stdout
27465 -# if CDPATH is set.
27466 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
27469 -# ### BEGIN LIBTOOL CONFIG
27470 + cat <<__EOF__ >> "$cfgfile"
27471 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
27473 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27475 @@ -7744,7 +19122,10 @@
27476 build_old_libs=$enable_static
27478 # Whether or not to add -lc for building shared libraries.
27479 -build_libtool_need_lc=$need_lc
27480 +build_libtool_need_lc=$archive_cmds_need_lc_RC
27482 +# Whether or not to disallow shared libs when runtime libs are static
27483 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
27485 # Whether or not to optimize for fast installation.
27486 fast_install=$enable_fast_install
27487 @@ -7752,6 +19133,12 @@
27489 host_alias=$host_alias
27493 +# The build system.
27494 +build_alias=$build_alias
27496 +build_os=$build_os
27498 # An echo program that does not interpret backslashes.
27500 @@ -7760,14 +19147,23 @@
27502 AR_FLAGS=$lt_AR_FLAGS
27504 -# The default C compiler.
27509 +# LTCC compiler flags.
27510 +LTCFLAGS=$lt_LTCFLAGS
27512 +# A language-specific compiler.
27513 +CC=$lt_compiler_RC
27515 # Is the compiler the GNU C compiler?
27522 # The linker used to build libraries.
27526 # Whether we need hard or soft links.
27528 @@ -7776,7 +19172,7 @@
27531 # A symbol stripping program
27535 # Used to examine libraries when file_magic_cmd begins "file"
27536 MAGIC_CMD=$MAGIC_CMD
27537 @@ -7798,7 +19194,7 @@
27538 reload_cmds=$lt_reload_cmds
27540 # How to pass a linker flag through the compiler.
27542 +wl=$lt_lt_prog_compiler_wl_RC
27544 # Object file suffix (normally "o").
27545 objext="$ac_objext"
27546 @@ -7806,20 +19202,23 @@
27547 # Old archive suffix (normally "a").
27550 +# Shared library suffix (normally ".so").
27551 +shrext_cmds='$shrext_cmds'
27553 # Executable file suffix (normally "").
27556 # Additional compiler flags for building library objects.
27557 -pic_flag=$lt_pic_flag
27558 +pic_flag=$lt_lt_prog_compiler_pic_RC
27561 -# Does compiler simultaneously support -c and -o options?
27562 -compiler_c_o=$lt_compiler_c_o
27563 +# What is the maximum length of a command?
27564 +max_cmd_len=$lt_cv_sys_max_cmd_len
27566 -# Can we write directly to a .lo ?
27567 -compiler_o_lo=$lt_compiler_o_lo
27568 +# Does compiler simultaneously support -c and -o options?
27569 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27571 -# Must we lock files when doing compilation ?
27572 +# Must we lock files when doing compilation?
27573 need_locks=$lt_need_locks
27575 # Do we need the lib prefix for modules?
27576 @@ -7838,19 +19237,19 @@
27577 dlopen_self_static=$enable_dlopen_self_static
27579 # Compiler flag to prevent dynamic linking.
27580 -link_static_flag=$lt_link_static_flag
27581 +link_static_flag=$lt_lt_prog_compiler_static_RC
27583 # Compiler flag to turn off builtin functions.
27584 -no_builtin_flag=$lt_no_builtin_flag
27585 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27587 # Compiler flag to allow reflexive dlopens.
27588 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27589 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27591 # Compiler flag to generate shared objects directly from archives.
27592 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
27593 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27595 # Compiler flag to generate thread-safe objects.
27596 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
27597 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27599 # Library versioning type.
27600 version_type=$version_type
27601 @@ -7867,26 +19266,50 @@
27603 # Commands used to build and install an old-style archive.
27605 -old_archive_cmds=$lt_old_archive_cmds
27606 +old_archive_cmds=$lt_old_archive_cmds_RC
27607 old_postinstall_cmds=$lt_old_postinstall_cmds
27608 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27610 # Create an old-style archive from a shared archive.
27611 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27612 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27614 # Create a temporary old-style archive to link instead of a shared archive.
27615 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27616 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27618 # Commands used to build and install a shared archive.
27619 -archive_cmds=$lt_archive_cmds
27620 -archive_expsym_cmds=$lt_archive_expsym_cmds
27621 +archive_cmds=$lt_archive_cmds_RC
27622 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27623 postinstall_cmds=$lt_postinstall_cmds
27624 postuninstall_cmds=$lt_postuninstall_cmds
27626 +# Commands used to build a loadable module (assumed same as above if empty)
27627 +module_cmds=$lt_module_cmds_RC
27628 +module_expsym_cmds=$lt_module_expsym_cmds_RC
27630 # Commands to strip libraries.
27631 old_striplib=$lt_old_striplib
27632 striplib=$lt_striplib
27634 +# Dependencies to place before the objects being linked to create a
27636 +predep_objects=$lt_predep_objects_RC
27638 +# Dependencies to place after the objects being linked to create a
27640 +postdep_objects=$lt_postdep_objects_RC
27642 +# Dependencies to place before the objects being linked to create a
27644 +predeps=$lt_predeps_RC
27646 +# Dependencies to place after the objects being linked to create a
27648 +postdeps=$lt_postdeps_RC
27650 +# The library search path used internally by the compiler when linking
27651 +# a shared library.
27652 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27654 # Method to check whether dependent libraries are shared objects.
27655 deplibs_check_method=$lt_deplibs_check_method
27657 @@ -7894,10 +19317,10 @@
27658 file_magic_cmd=$lt_file_magic_cmd
27660 # Flag that allows shared libraries with undefined symbols to be built.
27661 -allow_undefined_flag=$lt_allow_undefined_flag
27662 +allow_undefined_flag=$lt_allow_undefined_flag_RC
27664 # Flag that forces no undefined symbols.
27665 -no_undefined_flag=$lt_no_undefined_flag
27666 +no_undefined_flag=$lt_no_undefined_flag_RC
27668 # Commands used to finish a libtool library installation in a directory.
27669 finish_cmds=$lt_finish_cmds
27670 @@ -7906,13 +19329,13 @@
27671 finish_eval=$lt_finish_eval
27673 # Take the output of nm and produce a listing of raw symbols and C names.
27674 -global_symbol_pipe=$lt_global_symbol_pipe
27675 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27677 # Transform the output of nm in a proper C declaration
27678 -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
27679 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27681 # Transform the output of nm in a C name address pair
27682 -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
27683 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27685 # This is the shared library runtime path variable.
27686 runpath_var=$runpath_var
27687 @@ -7924,290 +19347,158 @@
27688 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27690 # How to hardcode a shared library path into an executable.
27691 -hardcode_action=$hardcode_action
27692 +hardcode_action=$hardcode_action_RC
27694 # Whether we should hardcode library paths into libraries.
27695 hardcode_into_libs=$hardcode_into_libs
27697 # Flag to hardcode \$libdir into a binary during linking.
27698 # This must work even if \$libdir does not exist.
27699 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27700 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27702 +# If ld is used when linking, flag to hardcode \$libdir into
27703 +# a binary during linking. This must work even if \$libdir does
27705 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27707 # Whether we need a single -rpath flag with a separated argument.
27708 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
27709 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27711 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
27712 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27713 # resulting binary.
27714 -hardcode_direct=$hardcode_direct
27715 +hardcode_direct=$hardcode_direct_RC
27717 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27718 # resulting binary.
27719 -hardcode_minus_L=$hardcode_minus_L
27720 +hardcode_minus_L=$hardcode_minus_L_RC
27722 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27723 # the resulting binary.
27724 -hardcode_shlibpath_var=$hardcode_shlibpath_var
27725 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27727 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27728 +# and all subsequent libraries and executables linked against it.
27729 +hardcode_automatic=$hardcode_automatic_RC
27731 # Variables whose values should be saved in libtool wrapper scripts and
27732 # restored at relink time.
27733 variables_saved_for_relink="$variables_saved_for_relink"
27735 -# Whether libtool must link a program against all its dependency libraries.
27736 -link_all_deplibs=$link_all_deplibs
27737 +# Whether libtool must link a program against all its dependency libraries.
27738 +link_all_deplibs=$link_all_deplibs_RC
27740 +# Compile-time system search path for libraries
27741 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27743 +# Run-time system search path for libraries
27744 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27746 +# Fix the shell variable \$srcfile for the compiler.
27747 +fix_srcfile_path="$fix_srcfile_path_RC"
27749 +# Set to yes if exported symbols are required.
27750 +always_export_symbols=$always_export_symbols_RC
27752 +# The commands to list exported symbols.
27753 +export_symbols_cmds=$lt_export_symbols_cmds_RC
27755 +# The commands to extract the exported symbol list from a shared archive.
27756 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27758 +# Symbols that should not be listed in the preloaded symbols.
27759 +exclude_expsyms=$lt_exclude_expsyms_RC
27761 +# Symbols that must always be exported.
27762 +include_expsyms=$lt_include_expsyms_RC
27764 +# ### END LIBTOOL TAG CONFIG: $tagname
27770 + # If there is no Makefile yet, we rely on a make rule to execute
27771 + # `config.status --recheck' to rerun these tests and create the
27772 + # libtool script then.
27773 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27774 + if test -f "$ltmain_in"; then
27775 + test -f Makefile && make "$ltmain"
27781 +ac_cpp='$CPP $CPPFLAGS'
27782 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27783 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27784 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27791 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27792 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27793 + { (exit 1); exit 1; }; }
27797 + # Append the new tag name to the list of available tags.
27798 + if test -n "$tagname" ; then
27799 + available_tags="$available_tags $tagname"
27803 + IFS="$lt_save_ifs"
27805 + # Now substitute the updated list of available tags.
27806 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27807 + mv "${ofile}T" "$ofile"
27808 + chmod +x "$ofile"
27810 + rm -f "${ofile}T"
27811 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27812 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27813 + { (exit 1); exit 1; }; }
27817 -# Compile-time system search path for libraries
27818 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27820 -# Run-time system search path for libraries
27821 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27823 -# Fix the shell variable \$srcfile for the compiler.
27824 -fix_srcfile_path="$fix_srcfile_path"
27825 +# This can be used to rebuild libtool when needed
27826 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27828 -# Set to yes if exported symbols are required.
27829 -always_export_symbols=$always_export_symbols
27830 +# Always use our own libtool.
27831 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27833 -# The commands to list exported symbols.
27834 -export_symbols_cmds=$lt_export_symbols_cmds
27835 +# Prevent multiple expansion
27837 -# The commands to extract the exported symbol list from a shared archive.
27838 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
27840 -# Symbols that should not be listed in the preloaded symbols.
27841 -exclude_expsyms=$lt_exclude_expsyms
27843 -# Symbols that must always be exported.
27844 -include_expsyms=$lt_include_expsyms
27846 -# ### END LIBTOOL CONFIG
27852 - cat <<\EOF >> "${ofile}T"
27854 -# AIX sometimes has problems with the GCC collect2 program. For some
27855 -# reason, if we set the COLLECT_NAMES environment variable, the problems
27856 -# vanish in a puff of smoke.
27857 -if test "X${COLLECT_NAMES+set}" != Xset; then
27859 - export COLLECT_NAMES
27866 - cygwin* | mingw* | pw32* | os2*)
27867 - cat <<'EOF' >> "${ofile}T"
27868 - # This is a source program that is used to create dlls on Windows
27869 - # Don't remove nor modify the starting and closing comments
27870 -# /* ltdll.c starts here */
27871 -# #define WIN32_LEAN_AND_MEAN
27872 -# #include <windows.h>
27873 -# #undef WIN32_LEAN_AND_MEAN
27874 -# #include <stdio.h>
27876 -# #ifndef __CYGWIN__
27877 -# # ifdef __CYGWIN32__
27878 -# # define __CYGWIN__ __CYGWIN32__
27882 -# #ifdef __cplusplus
27885 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
27886 -# #ifdef __cplusplus
27890 -# #ifdef __CYGWIN__
27891 -# #include <cygwin/cygwin_dll.h>
27892 -# DECLARE_CYGWIN_DLL( DllMain );
27894 -# HINSTANCE __hDllInstance_base;
27897 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
27899 -# __hDllInstance_base = hInst;
27902 -# /* ltdll.c ends here */
27903 - # This is a source program that is used to create import libraries
27904 - # on Windows for dlls which lack them. Don't remove nor modify the
27905 - # starting and closing comments
27906 -# /* impgen.c starts here */
27907 -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
27909 -# This file is part of GNU libtool.
27911 -# This program is free software; you can redistribute it and/or modify
27912 -# it under the terms of the GNU General Public License as published by
27913 -# the Free Software Foundation; either version 2 of the License, or
27914 -# (at your option) any later version.
27916 -# This program is distributed in the hope that it will be useful,
27917 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
27918 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27919 -# GNU General Public License for more details.
27921 -# You should have received a copy of the GNU General Public License
27922 -# along with this program; if not, write to the Free Software
27923 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27926 -# #include <stdio.h> /* for printf() */
27927 -# #include <unistd.h> /* for open(), lseek(), read() */
27928 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
27929 -# #include <string.h> /* for strdup() */
27931 -# /* O_BINARY isn't required (or even defined sometimes) under Unix */
27932 -# #ifndef O_BINARY
27933 -# #define O_BINARY 0
27936 -# static unsigned int
27937 -# pe_get16 (fd, offset)
27941 -# unsigned char b[2];
27942 -# lseek (fd, offset, SEEK_SET);
27943 -# read (fd, b, 2);
27944 -# return b[0] + (b[1]<<8);
27947 -# static unsigned int
27948 -# pe_get32 (fd, offset)
27952 -# unsigned char b[4];
27953 -# lseek (fd, offset, SEEK_SET);
27954 -# read (fd, b, 4);
27955 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27958 -# static unsigned int
27962 -# unsigned char *b = ptr;
27963 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27967 -# main (argc, argv)
27972 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
27973 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
27974 -# unsigned long name_rvas, nexp;
27975 -# unsigned char *expdata, *erva;
27976 -# char *filename, *dll_name;
27978 -# filename = argv[1];
27980 -# dll = open(filename, O_RDONLY|O_BINARY);
27984 -# dll_name = filename;
27986 -# for (i=0; filename[i]; i++)
27987 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
27988 -# dll_name = filename + i +1;
27990 -# pe_header_offset = pe_get32 (dll, 0x3c);
27991 -# opthdr_ofs = pe_header_offset + 4 + 20;
27992 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
27994 -# if (num_entries < 1) /* no exports */
27997 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
27998 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
27999 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
28000 -# secptr = (pe_header_offset + 4 + 20 +
28001 -# pe_get16 (dll, pe_header_offset + 4 + 16));
28004 -# for (i = 0; i < nsections; i++)
28007 -# unsigned long secptr1 = secptr + 40 * i;
28008 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
28009 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
28010 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
28011 -# lseek(dll, secptr1, SEEK_SET);
28012 -# read(dll, sname, 8);
28013 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
28015 -# expptr = fptr + (export_rva - vaddr);
28016 -# if (export_rva + export_size > vaddr + vsize)
28017 -# export_size = vsize - (export_rva - vaddr);
28022 -# expdata = (unsigned char*)malloc(export_size);
28023 -# lseek (dll, expptr, SEEK_SET);
28024 -# read (dll, expdata, export_size);
28025 -# erva = expdata - export_rva;
28027 -# nexp = pe_as32 (expdata+24);
28028 -# name_rvas = pe_as32 (expdata+32);
28030 -# printf ("EXPORTS\n");
28031 -# for (i = 0; i<nexp; i++)
28033 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
28034 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
28039 -# /* impgen.c ends here */
28045 - # We use sed instead of cat because bash on DJGPP gets confused if
28046 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
28047 - # text mode, it properly converts lines to CR/LF. This bash problem
28048 - # is reportedly fixed, but why not run on old versions too?
28049 - sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
28051 - mv -f "${ofile}T" "$ofile" || \
28052 - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
28053 - chmod +x "$ofile"
28060 -# This can be used to rebuild libtool when needed
28061 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
28063 -# Always use our own libtool.
28064 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28066 -# Prevent multiple expansion
28071 # Extract the first word of "perl", so it can be a program name with args.
28072 set dummy perl; ac_word=$2
28073 -echo "$as_me:$LINENO: checking for $ac_word" >&5
28074 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28075 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
28076 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28077 if test "${ac_cv_path_PERL+set}" = set; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 @@ -8222,42 +19513,43 @@
28082 test -z "$as_dir" && as_dir=.
28083 for ac_exec_ext in '' $ac_executable_extensions; do
28084 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28085 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28086 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
28087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28097 PERL=$ac_cv_path_PERL
28099 if test -n "$PERL"; then
28100 - echo "$as_me:$LINENO: result: $PERL" >&5
28101 -echo "${ECHO_T}$PERL" >&6
28102 + { echo "$as_me:$LINENO: result: $PERL" >&5
28103 +echo "${ECHO_T}$PERL" >&6; }
28105 - echo "$as_me:$LINENO: result: no" >&5
28106 -echo "${ECHO_T}no" >&6
28107 + { echo "$as_me:$LINENO: result: no" >&5
28108 +echo "${ECHO_T}no" >&6; }
28115 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28116 - echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28117 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28118 + { echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28119 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28120 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28121 echo $ECHO_N "(cached) $ECHO_C" >&6
28123 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28124 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28125 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28126 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28128 # Is the header compilable?
28129 -echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28130 -echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
28131 +{ echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28132 +echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6; }
28133 cat >conftest.$ac_ext <<_ACEOF
28136 @@ -8268,40 +19560,37 @@
28137 #include <asm/errno.h>
28139 rm -f conftest.$ac_objext
28140 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28141 - (eval $ac_compile) 2>conftest.er1
28142 +if { (ac_try="$ac_compile"
28143 +case "(($ac_try" in
28144 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 + *) ac_try_echo=$ac_try;;
28147 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 + (eval "$ac_compile") 2>conftest.er1
28150 grep -v '^ *+' conftest.er1 >conftest.err
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 - (exit $ac_status); } &&
28155 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28156 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 - (eval $ac_try) 2>&5
28159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 - (exit $ac_status); }; } &&
28161 - { ac_try='test -s conftest.$ac_objext'
28162 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 - (eval $ac_try) 2>&5
28165 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 - (exit $ac_status); }; }; then
28167 + (exit $ac_status); } && {
28168 + test -z "$ac_c_werror_flag" ||
28169 + test ! -s conftest.err
28170 + } && test -s conftest.$ac_objext; then
28171 ac_header_compiler=yes
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28176 -ac_header_compiler=no
28177 + ac_header_compiler=no
28179 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28180 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28181 -echo "${ECHO_T}$ac_header_compiler" >&6
28183 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28185 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28187 # Is the header present?
28188 -echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28189 -echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
28190 +{ echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28191 +echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6; }
28192 cat >conftest.$ac_ext <<_ACEOF
28195 @@ -8310,24 +19599,22 @@
28196 /* end confdefs.h. */
28197 #include <asm/errno.h>
28199 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28200 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28201 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28202 +case "(($ac_try" in
28203 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 + *) ac_try_echo=$ac_try;;
28206 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28209 grep -v '^ *+' conftest.er1 >conftest.err
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 - (exit $ac_status); } >/dev/null; then
28214 - if test -s conftest.err; then
28215 - ac_cpp_err=$ac_c_preproc_warn_flag
28216 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28223 -if test -z "$ac_cpp_err"; then
28224 + (exit $ac_status); } >/dev/null && {
28225 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28226 + test ! -s conftest.err
28228 ac_header_preproc=yes
28230 echo "$as_me: failed program was:" >&5
28231 @@ -8335,9 +19622,10 @@
28233 ac_header_preproc=no
28236 rm -f conftest.err conftest.$ac_ext
28237 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28238 -echo "${ECHO_T}$ac_header_preproc" >&6
28239 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28240 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28242 # So? What about this header?
28243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28244 @@ -8361,25 +19649,18 @@
28245 echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
28246 { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
28247 echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
28250 -## ------------------------------------------ ##
28251 -## Report this to the AC_PACKAGE_NAME lists. ##
28252 -## ------------------------------------------ ##
28255 - sed "s/^/$as_me: WARNING: /" >&2
28259 -echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28260 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28261 +{ echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28262 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28263 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 ac_cv_header_asm_errno_h=$ac_header_preproc
28268 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28269 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28270 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28271 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28274 if test $ac_cv_header_asm_errno_h = yes; then
28275 @@ -8394,17 +19675,17 @@
28278 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28279 - echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28280 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28281 + { echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28282 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28283 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28287 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28288 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28289 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28291 # Is the header compilable?
28292 -echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28293 -echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
28294 +{ echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28295 +echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6; }
28296 cat >conftest.$ac_ext <<_ACEOF
28299 @@ -8415,40 +19696,37 @@
28300 #include <linux/atmsap.h>
28302 rm -f conftest.$ac_objext
28303 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28304 - (eval $ac_compile) 2>conftest.er1
28305 +if { (ac_try="$ac_compile"
28306 +case "(($ac_try" in
28307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28308 + *) ac_try_echo=$ac_try;;
28310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28311 + (eval "$ac_compile") 2>conftest.er1
28313 grep -v '^ *+' conftest.er1 >conftest.err
28315 cat conftest.err >&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 - (exit $ac_status); } &&
28318 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28320 - (eval $ac_try) 2>&5
28322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 - (exit $ac_status); }; } &&
28324 - { ac_try='test -s conftest.$ac_objext'
28325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28326 - (eval $ac_try) 2>&5
28328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 - (exit $ac_status); }; }; then
28330 + (exit $ac_status); } && {
28331 + test -z "$ac_c_werror_flag" ||
28332 + test ! -s conftest.err
28333 + } && test -s conftest.$ac_objext; then
28334 ac_header_compiler=yes
28336 echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28339 -ac_header_compiler=no
28340 + ac_header_compiler=no
28342 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28343 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28344 -echo "${ECHO_T}$ac_header_compiler" >&6
28346 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28347 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28348 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28350 # Is the header present?
28351 -echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28352 -echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
28353 +{ echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28354 +echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6; }
28355 cat >conftest.$ac_ext <<_ACEOF
28358 @@ -8457,24 +19735,22 @@
28359 /* end confdefs.h. */
28360 #include <linux/atmsap.h>
28362 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28363 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28364 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28365 +case "(($ac_try" in
28366 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28367 + *) ac_try_echo=$ac_try;;
28369 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28370 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28372 grep -v '^ *+' conftest.er1 >conftest.err
28374 cat conftest.err >&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 - (exit $ac_status); } >/dev/null; then
28377 - if test -s conftest.err; then
28378 - ac_cpp_err=$ac_c_preproc_warn_flag
28379 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28386 -if test -z "$ac_cpp_err"; then
28387 + (exit $ac_status); } >/dev/null && {
28388 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28389 + test ! -s conftest.err
28391 ac_header_preproc=yes
28393 echo "$as_me: failed program was:" >&5
28394 @@ -8482,9 +19758,10 @@
28396 ac_header_preproc=no
28399 rm -f conftest.err conftest.$ac_ext
28400 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28401 -echo "${ECHO_T}$ac_header_preproc" >&6
28402 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28403 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28405 # So? What about this header?
28406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28407 @@ -8508,25 +19785,18 @@
28408 echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
28409 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
28410 echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
28413 -## ------------------------------------------ ##
28414 -## Report this to the AC_PACKAGE_NAME lists. ##
28415 -## ------------------------------------------ ##
28418 - sed "s/^/$as_me: WARNING: /" >&2
28422 -echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28423 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28424 +{ echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28425 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28426 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28427 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 ac_cv_header_linux_atmsap_h=$ac_header_preproc
28431 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28432 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28433 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28434 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28437 if test $ac_cv_header_linux_atmsap_h = yes; then
28438 @@ -8541,8 +19811,8 @@
28442 -echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28443 -echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
28444 +{ echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28445 +echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6; }
28446 if test "${ac_cv_lib_resolv_main+set}" = set; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 @@ -8559,45 +19829,43 @@
28459 rm -f conftest.$ac_objext conftest$ac_exeext
28460 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28461 - (eval $ac_link) 2>conftest.er1
28462 +if { (ac_try="$ac_link"
28463 +case "(($ac_try" in
28464 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28465 + *) ac_try_echo=$ac_try;;
28467 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28468 + (eval "$ac_link") 2>conftest.er1
28470 grep -v '^ *+' conftest.er1 >conftest.err
28472 cat conftest.err >&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 - (exit $ac_status); } &&
28475 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 - (eval $ac_try) 2>&5
28479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 - (exit $ac_status); }; } &&
28481 - { ac_try='test -s conftest$ac_exeext'
28482 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 - (eval $ac_try) 2>&5
28485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 - (exit $ac_status); }; }; then
28487 + (exit $ac_status); } && {
28488 + test -z "$ac_c_werror_flag" ||
28489 + test ! -s conftest.err
28490 + } && test -s conftest$ac_exeext &&
28491 + $as_test_x conftest$ac_exeext; then
28492 ac_cv_lib_resolv_main=yes
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.$ac_ext >&5
28497 -ac_cv_lib_resolv_main=no
28498 + ac_cv_lib_resolv_main=no
28500 -rm -f conftest.err conftest.$ac_objext \
28502 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28503 conftest$ac_exeext conftest.$ac_ext
28504 LIBS=$ac_check_lib_save_LIBS
28506 -echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28507 -echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
28508 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28509 +echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6; }
28510 if test $ac_cv_lib_resolv_main = yes; then
28511 cat >>confdefs.h <<_ACEOF
28512 #define HAVE_LIBRESOLV 1
28513 @@ -8633,10 +19901,9 @@
28517 -# Check whether --with-uni or --without-uni was given.
28518 +# Check whether --with-uni was given.
28519 if test "${with_uni+set}" = set; then
28520 - withval="$with_uni"
28522 + withval=$with_uni;
28523 case "$with_uni" in
28524 "3.0" ) cat >>confdefs.h <<\_ACEOF
28526 @@ -8668,12 +19935,12 @@
28533 -# Check whether --enable-allow_uni30 or --disable-allow_uni30 was given.
28534 -if test "${enable_allow_uni30+set}" = set; then
28535 - enableval="$enable_allow_uni30"
28537 +# Check whether --enable-allow_uni30 was given.
28538 +if test "${enable_allow_uni30+set}" = set; then
28539 + enableval=$enable_allow_uni30;
28540 if test "$with_uni" = "3.1" ; then
28541 cat >>confdefs.h <<\_ACEOF
28542 #define ALLOW_UNI30 1
28543 @@ -8685,12 +19952,12 @@
28551 -# Check whether --enable-q2963_1 or --disable-q2963_1 was given.
28552 +# Check whether --enable-q2963_1 was given.
28553 if test "${enable_q2963_1+set}" = set; then
28554 - enableval="$enable_q2963_1"
28556 + enableval=$enable_q2963_1;
28557 if test "$with_uni" = "4.0" ; then
28558 cat >>confdefs.h <<\_ACEOF
28560 @@ -8702,52 +19969,52 @@
28568 -# Check whether --enable-cisco or --disable-cisco was given.
28569 +# Check whether --enable-cisco was given.
28570 if test "${enable_cisco+set}" = set; then
28571 - enableval="$enable_cisco"
28572 - cat >>confdefs.h <<\_ACEOF
28573 + enableval=$enable_cisco; cat >>confdefs.h <<\_ACEOF
28582 -# Check whether --enable-thomflex or --disable-thomflex was given.
28583 +# Check whether --enable-thomflex was given.
28584 if test "${enable_thomflex+set}" = set; then
28585 - enableval="$enable_thomflex"
28586 - cat >>confdefs.h <<\_ACEOF
28587 + enableval=$enable_thomflex; cat >>confdefs.h <<\_ACEOF
28596 cat >>confdefs.h <<\_ACEOF
28597 #define BROKEN_POLL 1
28601 -# Check whether --enable-mpoa_1_1 or --disable-mpoa_1_1 was given.
28602 +# Check whether --enable-mpoa_1_1 was given.
28603 if test "${enable_mpoa_1_1+set}" = set; then
28604 - enableval="$enable_mpoa_1_1"
28605 - cat >>confdefs.h <<\_ACEOF
28606 + enableval=$enable_mpoa_1_1; cat >>confdefs.h <<\_ACEOF
28615 -# Check whether --enable-mpr or --disable-mpr was given.
28616 +# Check whether --enable-mpr was given.
28617 if test "${enable_mpr+set}" = set; then
28618 - enableval="$enable_mpr"
28620 + enableval=$enable_mpr;
28621 case "$enable_mpr" in
28622 "" | y | ye | yes | Y | YE | YES )
28624 -echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28625 -echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6
28626 +{ echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28627 +echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6; }
28628 if test "${ac_cv_lib_mpr_main+set}" = set; then
28629 echo $ECHO_N "(cached) $ECHO_C" >&6
28631 @@ -8764,45 +20031,43 @@
28641 rm -f conftest.$ac_objext conftest$ac_exeext
28642 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 - (eval $ac_link) 2>conftest.er1
28644 +if { (ac_try="$ac_link"
28645 +case "(($ac_try" in
28646 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28647 + *) ac_try_echo=$ac_try;;
28649 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650 + (eval "$ac_link") 2>conftest.er1
28652 grep -v '^ *+' conftest.er1 >conftest.err
28654 cat conftest.err >&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 - (exit $ac_status); } &&
28657 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 - (eval $ac_try) 2>&5
28661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 - (exit $ac_status); }; } &&
28663 - { ac_try='test -s conftest$ac_exeext'
28664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 - (eval $ac_try) 2>&5
28667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 - (exit $ac_status); }; }; then
28669 + (exit $ac_status); } && {
28670 + test -z "$ac_c_werror_flag" ||
28671 + test ! -s conftest.err
28672 + } && test -s conftest$ac_exeext &&
28673 + $as_test_x conftest$ac_exeext; then
28674 ac_cv_lib_mpr_main=yes
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.$ac_ext >&5
28679 -ac_cv_lib_mpr_main=no
28680 + ac_cv_lib_mpr_main=no
28682 -rm -f conftest.err conftest.$ac_objext \
28684 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28685 conftest$ac_exeext conftest.$ac_ext
28686 LIBS=$ac_check_lib_save_LIBS
28688 -echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28689 -echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6
28690 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28691 +echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6; }
28692 if test $ac_cv_lib_mpr_main = yes; then
28693 cat >>confdefs.h <<_ACEOF
28694 #define HAVE_LIBMPR 1
28695 @@ -8822,10 +20087,12 @@
28704 +ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28706 - ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28707 cat >confcache <<\_ACEOF
28708 # This file is a shell script that caches the results of configure
28709 # tests run on this system so they can be shared between configure
28710 @@ -8844,39 +20111,58 @@
28712 # The following way of writing the cache mishandles newlines in values,
28713 # but we know of no workaround that is simple, portable, and efficient.
28714 -# So, don't put newlines in cache variables' values.
28715 +# So, we kill variables containing newlines.
28716 # Ultrix sh set writes to stderr and can't be redirected directly,
28717 # and sets the high bit in the cache file unless we assign to the vars.
28720 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28721 + eval ac_val=\$$ac_var
28722 + case $ac_val in #(
28724 + case $ac_var in #(
28725 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28726 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28728 + case $ac_var in #(
28729 + _ | IFS | as_nl) ;; #(
28730 + *) $as_unset $ac_var ;;
28736 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
28738 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
28739 + *${as_nl}ac_space=\ *)
28740 # `set' does not quote correctly, so add quotes (double-quote
28741 # substitution turns \\\\ into \\, and sed turns \\ into \).
28744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28748 # `set' quotes correctly as required by POSIX, so do not add quotes.
28750 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28751 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28759 + /^ac_cv_env_/b end
28763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28765 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28766 - : end' >>confcache
28767 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
28768 - if test -w $cache_file; then
28769 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28770 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28771 + :end' >>confcache
28772 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28773 + if test -w "$cache_file"; then
28774 + test "x$cache_file" != "x/dev/null" &&
28775 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28776 +echo "$as_me: updating cache $cache_file" >&6;}
28777 cat confcache >$cache_file
28779 - echo "not updating unwritable cache $cache_file"
28780 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28781 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28785 @@ -8885,38 +20171,45 @@
28786 # Let make expand exec_prefix.
28787 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28789 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
28790 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28791 -# trailing colons and then remove the whole line if VPATH becomes empty
28792 -# (actually we leave an empty line to preserve line numbers).
28793 -if test "x$srcdir" = x.; then
28794 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
28795 -s/:*\$(srcdir):*/:/;
28796 -s/:*\${srcdir}:*/:/;
28797 -s/:*@srcdir@:*/:/;
28798 -s/^\([^=]*=[ ]*\):*/\1/;
28804 DEFS=-DHAVE_CONFIG_H
28808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28809 # 1. Remove the extension, and $U if already installed.
28810 - ac_i=`echo "$ac_i" |
28811 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28813 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28814 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28815 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28816 + ac_i=`echo "$ac_i" | sed "$ac_script"`
28817 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28818 + # will be set to the directory where LIBOBJS objects are built.
28819 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28820 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28822 LIBOBJS=$ac_libobjs
28824 LTLIBOBJS=$ac_ltlibobjs
28827 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28828 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28829 +Usually this means the macro was only invoked conditionally." >&5
28830 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
28831 +Usually this means the macro was only invoked conditionally." >&2;}
28832 + { (exit 1); exit 1; }; }
28834 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28835 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28836 +Usually this means the macro was only invoked conditionally." >&5
28837 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28838 +Usually this means the macro was only invoked conditionally." >&2;}
28839 + { (exit 1); exit 1; }; }
28841 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28842 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28843 +Usually this means the macro was only invoked conditionally." >&5
28844 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28845 +Usually this means the macro was only invoked conditionally." >&2;}
28846 + { (exit 1); exit 1; }; }
28849 : ${CONFIG_STATUS=./config.status}
28850 ac_clean_files_save=$ac_clean_files
28851 @@ -8941,17 +20234,45 @@
28852 ## M4sh Initialization. ##
28853 ## --------------------- ##
28855 -# Be Bourne compatible
28856 +# Be more Bourne compatible
28857 +DUALCASE=1; export DUALCASE # for MKS sh
28858 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28861 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28862 # is contrary to our usage. Disable this feature.
28863 alias -g '${1+"$@"}'='"$@"'
28864 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28866 + setopt NO_GLOB_SUBST
28868 + case `(set -o) 2>/dev/null` in
28869 + *posix*) set -o posix ;;
28878 +# Avoid depending upon Character Ranges.
28879 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28880 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28881 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28882 +as_cr_digits='0123456789'
28883 +as_cr_alnum=$as_cr_Letters$as_cr_digits
28885 +# The user is always right.
28886 +if test "${PATH_SEPARATOR+set}" != set; then
28887 + echo "#! /bin/sh" >conf$$.sh
28888 + echo "exit 0" >>conf$$.sh
28889 + chmod +x conf$$.sh
28890 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28891 + PATH_SEPARATOR=';'
28897 -DUALCASE=1; export DUALCASE # for MKS sh
28899 # Support unset when possible.
28900 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28901 @@ -8961,8 +20282,43 @@
28906 +# We need space, tab and new line, in precisely that order. Quoting is
28907 +# there to prevent editors from complaining about space-tab.
28908 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
28909 +# splitting by setting IFS to empty value.)
28914 +# Find who we are. Look in the path if we contain no directory separator.
28916 + *[\\/]* ) as_myself=$0 ;;
28917 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28918 +for as_dir in $PATH
28921 + test -z "$as_dir" && as_dir=.
28922 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28928 +# We did not find ourselves, most probably we were run as `sh COMMAND'
28929 +# in which case we are not to be found in the path.
28930 +if test "x$as_myself" = x; then
28933 +if test ! -f "$as_myself"; then
28934 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28935 + { (exit 1); exit 1; }
28938 # Work around bugs in pre-3.0 UWIN ksh.
28939 -$as_unset ENV MAIL MAILPATH
28940 +for as_var in ENV MAIL MAILPATH
28941 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28946 @@ -8976,18 +20332,19 @@
28947 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28948 eval $as_var=C; export $as_var
28950 - $as_unset $as_var
28951 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28955 # Required to use basename.
28956 -if expr a : '\(a\)' >/dev/null 2>&1; then
28957 +if expr a : '\(a\)' >/dev/null 2>&1 &&
28958 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
28964 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28965 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28966 as_basename=basename
28969 @@ -8995,159 +20352,120 @@
28972 # Name of the executable.
28973 -as_me=`$as_basename "$0" ||
28974 +as_me=`$as_basename -- "$0" ||
28975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28976 X"$0" : 'X\(//\)$' \| \
28977 - X"$0" : 'X\(/\)$' \| \
28978 - . : '\(.\)' 2>/dev/null ||
28979 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28981 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28982 - /^X\/\(\/\/\)$/{ s//\1/; q; }
28983 - /^X\/\(\/\).*/{ s//\1/; q; }
28987 -# PATH needs CR, and LINENO needs CR and PATH.
28988 -# Avoid depending upon Character Ranges.
28989 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28990 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28991 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28992 -as_cr_digits='0123456789'
28993 -as_cr_alnum=$as_cr_Letters$as_cr_digits
28994 + sed '/^.*\/\([^/][^/]*\)\/*$/{
29008 -# The user is always right.
29009 -if test "${PATH_SEPARATOR+set}" != set; then
29010 - echo "#! /bin/sh" >conf$$.sh
29011 - echo "exit 0" >>conf$$.sh
29012 - chmod +x conf$$.sh
29013 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29014 - PATH_SEPARATOR=';'
29024 - as_lineno_1=$LINENO
29025 - as_lineno_2=$LINENO
29026 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29027 - test "x$as_lineno_1" != "x$as_lineno_2" &&
29028 - test "x$as_lineno_3" = "x$as_lineno_2" || {
29029 - # Find who we are. Look in the path if we contain no path at all
29030 - # relative or not.
29032 - *[\\/]* ) as_myself=$0 ;;
29033 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29034 -for as_dir in $PATH
29037 - test -z "$as_dir" && as_dir=.
29038 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29043 - # We did not find ourselves, most probably we were run as `sh COMMAND'
29044 - # in which case we are not to be found in the path.
29045 - if test "x$as_myself" = x; then
29048 - if test ! -f "$as_myself"; then
29049 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29050 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29051 - { (exit 1); exit 1; }; }
29053 - case $CONFIG_SHELL in
29055 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29056 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29059 - test -z "$as_dir" && as_dir=.
29060 - for as_base in sh bash ksh sh5; do
29063 - if ("$as_dir/$as_base" -c '
29064 as_lineno_1=$LINENO
29065 as_lineno_2=$LINENO
29066 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29067 test "x$as_lineno_1" != "x$as_lineno_2" &&
29068 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
29069 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29070 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29071 - CONFIG_SHELL=$as_dir/$as_base
29072 - export CONFIG_SHELL
29073 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29080 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29082 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29083 # uniformly replaced by the line number. The first 'sed' inserts a
29084 - # line-number line before each line; the second 'sed' does the real
29085 - # work. The second script uses 'N' to pair each line-number line
29086 - # with the numbered line, and appends trailing '-' during
29087 - # substitution so that $LINENO is not a special case at line end.
29088 + # line-number line after each line using $LINENO; the second 'sed'
29089 + # does the real work. The second script uses 'N' to pair each
29090 + # line-number line with the line containing $LINENO, and appends
29091 + # trailing '-' during substitution so that $LINENO is not a special
29092 + # case at line end.
29093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29094 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29095 - sed '=' <$as_myself |
29096 + # scripts with optimization help from Paolo Bonzini. Blame Lee
29097 + # E. McMahon (1931-1989) for sed's syntax. :-)
29103 + s/[$]LINENO.*/&-/
29110 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29112 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29115 - s,^['$as_cr_digits']*\n,,
29117 ' >$as_me.lineno &&
29118 - chmod +x $as_me.lineno ||
29119 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29120 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29121 + chmod +x "$as_me.lineno" ||
29122 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29123 { (exit 1); exit 1; }; }
29125 # Don't try to exec as it changes $[0], causing all sort of problems
29126 # (the dirname of $[0] is not the place where we might find the
29127 - # original and so on. Autoconf is especially sensible to this).
29128 - . ./$as_me.lineno
29129 + # original and so on. Autoconf is especially sensitive to this).
29130 + . "./$as_me.lineno"
29131 # Exit status is that of the last command.
29136 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29137 - *c*,-n*) ECHO_N= ECHO_C='
29139 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
29140 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
29141 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29142 + as_dirname=dirname
29147 +ECHO_C= ECHO_N= ECHO_T=
29148 +case `echo -n x` in
29150 + case `echo 'x\c'` in
29151 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29158 -if expr a : '\(a\)' >/dev/null 2>&1; then
29159 +if expr a : '\(a\)' >/dev/null 2>&1 &&
29160 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
29166 rm -f conf$$ conf$$.exe conf$$.file
29167 +if test -d conf$$.dir; then
29168 + rm -f conf$$.dir/conf$$.file
29174 if ln -s conf$$.file conf$$ 2>/dev/null; then
29175 - # We could just check for DJGPP; but this test a) works b) is more generic
29176 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29177 - if test -f conf$$.exe; then
29178 - # Don't use ln at all; we don't have any links
29180 + # ... but there are two gotchas:
29181 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29182 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29183 + # In both cases, we have to default to `cp -p'.
29184 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29189 elif ln conf$$.file conf$$ 2>/dev/null; then
29194 -rm -f conf$$ conf$$.exe conf$$.file
29195 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29196 +rmdir conf$$.dir 2>/dev/null
29198 if mkdir -p . 2>/dev/null; then
29200 @@ -9155,8 +20473,29 @@
29201 test -d ./-p && rmdir ./-p
29205 -as_executable_p="test -f"
29207 +if test -x / >/dev/null 2>&1; then
29208 + as_test_x='test -x'
29210 + if ls -dL / >/dev/null 2>&1; then
29217 + if test -d "$1"; then
29223 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29224 + ???[sx]*):;;*)false;;esac;fi
29228 +as_executable_p=$as_test_x
29230 # Sed expression to map a string onto a valid CPP name.
29231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29232 @@ -9165,31 +20504,14 @@
29233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29237 -# We need space, tab and new line, in precisely that order.
29247 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
29248 +# Save the log message, to keep $[0] and so on meaningful, and to
29249 # report actual input values of CONFIG_FILES etc. instead of their
29250 -# values after options handling. Logging --version etc. is OK.
29251 -exec 5>>config.log
29254 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29255 -## Running $as_me. ##
29260 +# values after options handling.
29262 This file was extended by $as_me, which was
29263 -generated by GNU Autoconf 2.59. Invocation command line was
29264 +generated by GNU Autoconf 2.61. Invocation command line was
29266 CONFIG_FILES = $CONFIG_FILES
29267 CONFIG_HEADERS = $CONFIG_HEADERS
29268 @@ -9197,30 +20519,20 @@
29269 CONFIG_COMMANDS = $CONFIG_COMMANDS
29273 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29275 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
29280 +cat >>$CONFIG_STATUS <<_ACEOF
29281 # Files that config.status was made for.
29282 -if test -n "$ac_config_files"; then
29283 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29286 -if test -n "$ac_config_headers"; then
29287 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29290 -if test -n "$ac_config_links"; then
29291 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29293 +config_files="$ac_config_files"
29294 +config_headers="$ac_config_headers"
29295 +config_commands="$ac_config_commands"
29297 -if test -n "$ac_config_commands"; then
29298 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29302 cat >>$CONFIG_STATUS <<\_ACEOF
29305 \`$as_me' instantiates files from templates according to the
29306 current configuration.
29307 @@ -9228,7 +20540,7 @@
29308 Usage: $0 [OPTIONS] [FILE]...
29310 -h, --help print this help, then exit
29311 - -V, --version print version number, then exit
29312 + -V, --version print version number and configuration settings, then exit
29313 -q, --quiet do not print progress messages
29314 -d, --debug don't remove temporary files
29315 --recheck update $as_me by reconfiguring in the same conditions
29316 @@ -9247,19 +20559,21 @@
29319 Report bugs to <bug-autoconf@gnu.org>."
29323 cat >>$CONFIG_STATUS <<_ACEOF
29326 -configured by $0, generated by GNU Autoconf 2.59,
29327 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29328 +configured by $0, generated by GNU Autoconf 2.61,
29329 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29331 -Copyright (C) 2003 Free Software Foundation, Inc.
29332 +Copyright (C) 2006 Free Software Foundation, Inc.
29333 This config.status script is free software; the Free Software Foundation
29334 gives unlimited permission to copy, distribute and modify it."
29336 -INSTALL="$INSTALL"
29340 +INSTALL='$INSTALL'
29343 cat >>$CONFIG_STATUS <<\_ACEOF
29344 @@ -9270,39 +20584,24 @@
29348 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
29349 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29350 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
29351 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29360 - *) # This is not an option, so the user has probably given explicit
29363 - ac_need_defaults=false;;
29367 # Handling of the options.
29369 -cat >>$CONFIG_STATUS <<\_ACEOF
29370 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29372 - --version | --vers* | -V )
29373 - echo "$ac_cs_version"; exit 0 ;;
29375 - # Conflict between --help and --header
29376 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
29377 -Try \`$0 --help' for more information." >&5
29378 -echo "$as_me: error: ambiguous option: $1
29379 -Try \`$0 --help' for more information." >&2;}
29380 - { (exit 1); exit 1; }; };;
29381 - --help | --hel | -h )
29382 - echo "$ac_cs_usage"; exit 0 ;;
29383 - --debug | --d* | -d )
29384 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29385 + echo "$ac_cs_version"; exit ;;
29386 + --debug | --debu | --deb | --de | --d | -d )
29388 --file | --fil | --fi | --f )
29390 @@ -9312,18 +20611,24 @@
29392 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29393 ac_need_defaults=false;;
29395 + # Conflict between --help and --header
29396 + { echo "$as_me: error: ambiguous option: $1
29397 +Try \`$0 --help' for more information." >&2
29398 + { (exit 1); exit 1; }; };;
29399 + --help | --hel | -h )
29400 + echo "$ac_cs_usage"; exit ;;
29401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29402 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29405 # This is an error.
29406 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29407 -Try \`$0 --help' for more information." >&5
29408 -echo "$as_me: error: unrecognized option: $1
29409 -Try \`$0 --help' for more information." >&2;}
29410 + -*) { echo "$as_me: error: unrecognized option: $1
29411 +Try \`$0 --help' for more information." >&2
29412 { (exit 1); exit 1; }; } ;;
29414 - *) ac_config_targets="$ac_config_targets $1" ;;
29415 + *) ac_config_targets="$ac_config_targets $1"
29416 + ac_need_defaults=false ;;
29420 @@ -9339,43 +20644,55 @@
29422 cat >>$CONFIG_STATUS <<_ACEOF
29423 if \$ac_cs_recheck; then
29424 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29425 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29426 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29427 + CONFIG_SHELL=$SHELL
29428 + export CONFIG_SHELL
29429 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29433 +cat >>$CONFIG_STATUS <<\_ACEOF
29434 +exec 5>>config.log
29437 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29438 +## Running $as_me. ##
29444 cat >>$CONFIG_STATUS <<_ACEOF
29446 -# INIT-COMMANDS section.
29451 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29457 cat >>$CONFIG_STATUS <<\_ACEOF
29459 +# Handling of arguments.
29460 for ac_config_target in $ac_config_targets
29462 - case "$ac_config_target" in
29463 - # Handling of arguments.
29464 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29465 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29466 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29467 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29468 - "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29469 - "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29470 - "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29471 - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
29472 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29473 + case $ac_config_target in
29474 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29475 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29476 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29477 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29478 + "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29479 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29480 + "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29481 + "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29482 + "src/arpd/Makefile") CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29485 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29486 { (exit 1); exit 1; }; };;
29491 # If the user did not use the arguments to specify the items to instantiate,
29492 # then the envvar interface is used. Set only those that are not.
29493 # We use the long form for the default assignment because of an extremely
29494 @@ -9387,335 +20704,471 @@
29497 # Have a temporary directory for convenience. Make it in the build tree
29498 -# simply because there is no reason to put it here, and in addition,
29499 +# simply because there is no reason against having it here, and in addition,
29500 # creating and moving files from /tmp can sometimes cause problems.
29501 -# Create a temporary directory, and hook for its removal unless debugging.
29502 +# Hook for its removal unless debugging.
29503 +# Note that there is a small window in which the directory will not be cleaned:
29504 +# after its creation but before its name has been assigned to `$tmp'.
29507 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29509 + trap 'exit_status=$?
29510 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29512 trap '{ (exit 1); exit 1; }' 1 2 13 15
29515 # Create a (secure) tmp directory for tmp files.
29518 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29519 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29520 test -n "$tmp" && test -d "$tmp"
29523 - tmp=./confstat$$-$RANDOM
29524 - (umask 077 && mkdir $tmp)
29525 + tmp=./conf$$-$RANDOM
29526 + (umask 077 && mkdir "$tmp")
29529 echo "$me: cannot create a temporary directory in ." >&2
29530 { (exit 1); exit 1; }
29535 -cat >>$CONFIG_STATUS <<_ACEOF
29538 -# CONFIG_FILES section.
29539 +# Set up the sed scripts for CONFIG_FILES section.
29542 # No need to generate the scripts if there are no CONFIG_FILES.
29543 # This happens for instance when ./config.status config.h
29544 -if test -n "\$CONFIG_FILES"; then
29545 - # Protect against being on the right side of a sed subst in config.status.
29546 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29547 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29548 -s,@SHELL@,$SHELL,;t t
29549 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29550 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29551 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29552 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29553 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29554 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29555 -s,@exec_prefix@,$exec_prefix,;t t
29556 -s,@prefix@,$prefix,;t t
29557 -s,@program_transform_name@,$program_transform_name,;t t
29558 -s,@bindir@,$bindir,;t t
29559 -s,@sbindir@,$sbindir,;t t
29560 -s,@libexecdir@,$libexecdir,;t t
29561 -s,@datadir@,$datadir,;t t
29562 -s,@sysconfdir@,$sysconfdir,;t t
29563 -s,@sharedstatedir@,$sharedstatedir,;t t
29564 -s,@localstatedir@,$localstatedir,;t t
29565 -s,@libdir@,$libdir,;t t
29566 -s,@includedir@,$includedir,;t t
29567 -s,@oldincludedir@,$oldincludedir,;t t
29568 -s,@infodir@,$infodir,;t t
29569 -s,@mandir@,$mandir,;t t
29570 -s,@build_alias@,$build_alias,;t t
29571 -s,@host_alias@,$host_alias,;t t
29572 -s,@target_alias@,$target_alias,;t t
29573 -s,@DEFS@,$DEFS,;t t
29574 -s,@ECHO_C@,$ECHO_C,;t t
29575 -s,@ECHO_N@,$ECHO_N,;t t
29576 -s,@ECHO_T@,$ECHO_T,;t t
29577 -s,@LIBS@,$LIBS,;t t
29578 -s,@build@,$build,;t t
29579 -s,@build_cpu@,$build_cpu,;t t
29580 -s,@build_vendor@,$build_vendor,;t t
29581 -s,@build_os@,$build_os,;t t
29582 -s,@host@,$host,;t t
29583 -s,@host_cpu@,$host_cpu,;t t
29584 -s,@host_vendor@,$host_vendor,;t t
29585 -s,@host_os@,$host_os,;t t
29586 -s,@target@,$target,;t t
29587 -s,@target_cpu@,$target_cpu,;t t
29588 -s,@target_vendor@,$target_vendor,;t t
29589 -s,@target_os@,$target_os,;t t
29590 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29591 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29592 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29593 -s,@PACKAGE@,$PACKAGE,;t t
29594 -s,@VERSION@,$VERSION,;t t
29595 -s,@ACLOCAL@,$ACLOCAL,;t t
29596 -s,@AUTOCONF@,$AUTOCONF,;t t
29597 -s,@AUTOMAKE@,$AUTOMAKE,;t t
29598 -s,@AUTOHEADER@,$AUTOHEADER,;t t
29599 -s,@MAKEINFO@,$MAKEINFO,;t t
29600 -s,@SET_MAKE@,$SET_MAKE,;t t
29601 -s,@LIBVER_CURRENT@,$LIBVER_CURRENT,;t t
29602 -s,@LIBVER_REVISION@,$LIBVER_REVISION,;t t
29603 -s,@LIBVER_AGE@,$LIBVER_AGE,;t t
29605 -s,@CFLAGS@,$CFLAGS,;t t
29606 -s,@LDFLAGS@,$LDFLAGS,;t t
29607 -s,@CPPFLAGS@,$CPPFLAGS,;t t
29608 -s,@ac_ct_CC@,$ac_ct_CC,;t t
29609 -s,@EXEEXT@,$EXEEXT,;t t
29610 -s,@OBJEXT@,$OBJEXT,;t t
29612 -s,@LEXLIB@,$LEXLIB,;t t
29613 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
29614 -s,@YACC@,$YACC,;t t
29615 -s,@LN_S@,$LN_S,;t t
29616 -s,@ECHO@,$ECHO,;t t
29617 -s,@RANLIB@,$RANLIB,;t t
29618 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29619 -s,@STRIP@,$STRIP,;t t
29620 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29622 -s,@EGREP@,$EGREP,;t t
29623 -s,@LIBTOOL@,$LIBTOOL,;t t
29624 -s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
29625 -s,@PERL@,$PERL,;t t
29626 -s,@LIBOBJS@,$LIBOBJS,;t t
29627 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29632 - cat >>$CONFIG_STATUS <<\_ACEOF
29633 - # Split the substitutions into bite-sized pieces for seds with
29634 - # small command number limits, like on Digital OSF/1 and HP-UX.
29635 - ac_max_sed_lines=48
29636 - ac_sed_frag=1 # Number of current file.
29637 - ac_beg=1 # First line for current file.
29638 - ac_end=$ac_max_sed_lines # Line after last line for current file.
29641 - while $ac_more_lines; do
29642 - if test $ac_beg -gt 1; then
29643 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29645 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29647 - if test ! -s $tmp/subs.frag; then
29648 - ac_more_lines=false
29650 - # The purpose of the label and of the branching condition is to
29651 - # speed up the sed processing (if there are no `@' at all, there
29652 - # is no need to browse any of the substitutions).
29653 - # These are the two extra sed commands mentioned above.
29655 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29656 - if test -z "$ac_sed_cmds"; then
29657 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29659 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29661 - ac_sed_frag=`expr $ac_sed_frag + 1`
29663 - ac_end=`expr $ac_end + $ac_max_sed_lines`
29666 - if test -z "$ac_sed_cmds"; then
29668 +if test -n "$CONFIG_FILES"; then
29675 +for ac_last_try in false false false false false :; do
29676 + cat >conf$$subs.sed <<_ACEOF
29677 +SHELL!$SHELL$ac_delim
29678 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29679 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29680 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29681 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29682 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29683 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29684 +exec_prefix!$exec_prefix$ac_delim
29685 +prefix!$prefix$ac_delim
29686 +program_transform_name!$program_transform_name$ac_delim
29687 +bindir!$bindir$ac_delim
29688 +sbindir!$sbindir$ac_delim
29689 +libexecdir!$libexecdir$ac_delim
29690 +datarootdir!$datarootdir$ac_delim
29691 +datadir!$datadir$ac_delim
29692 +sysconfdir!$sysconfdir$ac_delim
29693 +sharedstatedir!$sharedstatedir$ac_delim
29694 +localstatedir!$localstatedir$ac_delim
29695 +includedir!$includedir$ac_delim
29696 +oldincludedir!$oldincludedir$ac_delim
29697 +docdir!$docdir$ac_delim
29698 +infodir!$infodir$ac_delim
29699 +htmldir!$htmldir$ac_delim
29700 +dvidir!$dvidir$ac_delim
29701 +pdfdir!$pdfdir$ac_delim
29702 +psdir!$psdir$ac_delim
29703 +libdir!$libdir$ac_delim
29704 +localedir!$localedir$ac_delim
29705 +mandir!$mandir$ac_delim
29706 +DEFS!$DEFS$ac_delim
29707 +ECHO_C!$ECHO_C$ac_delim
29708 +ECHO_N!$ECHO_N$ac_delim
29709 +ECHO_T!$ECHO_T$ac_delim
29710 +LIBS!$LIBS$ac_delim
29711 +build_alias!$build_alias$ac_delim
29712 +host_alias!$host_alias$ac_delim
29713 +target_alias!$target_alias$ac_delim
29714 +build!$build$ac_delim
29715 +build_cpu!$build_cpu$ac_delim
29716 +build_vendor!$build_vendor$ac_delim
29717 +build_os!$build_os$ac_delim
29718 +host!$host$ac_delim
29719 +host_cpu!$host_cpu$ac_delim
29720 +host_vendor!$host_vendor$ac_delim
29721 +host_os!$host_os$ac_delim
29722 +target!$target$ac_delim
29723 +target_cpu!$target_cpu$ac_delim
29724 +target_vendor!$target_vendor$ac_delim
29725 +target_os!$target_os$ac_delim
29726 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29727 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29728 +INSTALL_DATA!$INSTALL_DATA$ac_delim
29729 +CYGPATH_W!$CYGPATH_W$ac_delim
29730 +PACKAGE!$PACKAGE$ac_delim
29731 +VERSION!$VERSION$ac_delim
29732 +ACLOCAL!$ACLOCAL$ac_delim
29733 +AUTOCONF!$AUTOCONF$ac_delim
29734 +AUTOMAKE!$AUTOMAKE$ac_delim
29735 +AUTOHEADER!$AUTOHEADER$ac_delim
29736 +MAKEINFO!$MAKEINFO$ac_delim
29737 +install_sh!$install_sh$ac_delim
29738 +STRIP!$STRIP$ac_delim
29739 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29740 +mkdir_p!$mkdir_p$ac_delim
29742 +SET_MAKE!$SET_MAKE$ac_delim
29743 +am__leading_dot!$am__leading_dot$ac_delim
29744 +AMTAR!$AMTAR$ac_delim
29745 +am__tar!$am__tar$ac_delim
29746 +am__untar!$am__untar$ac_delim
29747 +LIBVER_CURRENT!$LIBVER_CURRENT$ac_delim
29748 +LIBVER_REVISION!$LIBVER_REVISION$ac_delim
29749 +LIBVER_AGE!$LIBVER_AGE$ac_delim
29751 +CFLAGS!$CFLAGS$ac_delim
29752 +LDFLAGS!$LDFLAGS$ac_delim
29753 +CPPFLAGS!$CPPFLAGS$ac_delim
29754 +ac_ct_CC!$ac_ct_CC$ac_delim
29755 +EXEEXT!$EXEEXT$ac_delim
29756 +OBJEXT!$OBJEXT$ac_delim
29757 +DEPDIR!$DEPDIR$ac_delim
29758 +am__include!$am__include$ac_delim
29759 +am__quote!$am__quote$ac_delim
29760 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29761 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29762 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29763 +CCDEPMODE!$CCDEPMODE$ac_delim
29764 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29765 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29767 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
29768 +LEXLIB!$LEXLIB$ac_delim
29769 +YACC!$YACC$ac_delim
29770 +YFLAGS!$YFLAGS$ac_delim
29771 +GREP!$GREP$ac_delim
29772 +EGREP!$EGREP$ac_delim
29773 +LN_S!$LN_S$ac_delim
29776 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29778 + elif $ac_last_try; then
29779 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29780 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29781 + { (exit 1); exit 1; }; }
29783 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29785 -fi # test -n "$CONFIG_FILES"
29788 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29789 +if test -n "$ac_eof"; then
29790 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29791 + ac_eof=`expr $ac_eof + 1`
29794 +cat >>$CONFIG_STATUS <<_ACEOF
29795 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29796 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29799 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29800 +s/^/s,@/; s/!/@,|#_!!_#|/
29803 +s/'"$ac_delim"'$/,g/; t
29805 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29806 +' >>$CONFIG_STATUS <conf$$subs.sed
29807 +rm -f conf$$subs.sed
29808 +cat >>$CONFIG_STATUS <<_ACEOF
29814 +for ac_last_try in false false false false false :; do
29815 + cat >conf$$subs.sed <<_ACEOF
29816 +ECHO!$ECHO$ac_delim
29818 +RANLIB!$RANLIB$ac_delim
29821 +CXXFLAGS!$CXXFLAGS$ac_delim
29822 +ac_ct_CXX!$ac_ct_CXX$ac_delim
29823 +CXXDEPMODE!$CXXDEPMODE$ac_delim
29824 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29825 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29826 +CXXCPP!$CXXCPP$ac_delim
29828 +FFLAGS!$FFLAGS$ac_delim
29829 +ac_ct_F77!$ac_ct_F77$ac_delim
29830 +LIBTOOL!$LIBTOOL$ac_delim
29831 +LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
29832 +PERL!$PERL$ac_delim
29833 +LIBOBJS!$LIBOBJS$ac_delim
29834 +LTLIBOBJS!$LTLIBOBJS$ac_delim
29837 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
29839 + elif $ac_last_try; then
29840 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29841 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29842 + { (exit 1); exit 1; }; }
29844 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29848 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29849 +if test -n "$ac_eof"; then
29850 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29851 + ac_eof=`expr $ac_eof + 1`
29854 +cat >>$CONFIG_STATUS <<_ACEOF
29855 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29856 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29859 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29860 +s/^/s,@/; s/!/@,|#_!!_#|/
29863 +s/'"$ac_delim"'$/,g/; t
29865 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29866 +' >>$CONFIG_STATUS <conf$$subs.sed
29867 +rm -f conf$$subs.sed
29868 +cat >>$CONFIG_STATUS <<_ACEOF
29875 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
29876 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29877 +# trailing colons and then remove the whole line if VPATH becomes empty
29878 +# (actually we leave an empty line to preserve line numbers).
29879 +if test "x$srcdir" = x.; then
29880 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
29881 +s/:*\$(srcdir):*/:/
29882 +s/:*\${srcdir}:*/:/
29884 +s/^\([^=]*=[ ]*\):*/\1/
29890 cat >>$CONFIG_STATUS <<\_ACEOF
29891 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29892 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29894 - - | *:- | *:-:* ) # input from stdin
29896 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29897 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29898 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29899 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29900 - * ) ac_file_in=$ac_file.in ;;
29901 +fi # test -n "$CONFIG_FILES"
29904 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
29907 + :[FHLC]) ac_mode=$ac_tag; continue;;
29909 + case $ac_mode$ac_tag in
29911 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29912 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29913 + { (exit 1); exit 1; }; };;
29914 + :[FH]-) ac_tag=-:-;;
29915 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29926 + :L) ac_source=$1;;
29932 + -) ac_f="$tmp/stdin";;
29933 + *) # Look for the file first in the build tree, then in the source tree
29934 + # (if the path is not absolute). The absolute path cannot be DOS-style,
29935 + # because $ac_f cannot contain `:'.
29936 + test -f "$ac_f" ||
29939 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29941 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29942 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29943 + { (exit 1); exit 1; }; };;
29945 + ac_file_inputs="$ac_file_inputs $ac_f"
29948 + # Let's still pretend it is `configure' which instantiates (i.e., don't
29949 + # use $as_me), people would be surprised to read:
29950 + # /* config.h. Generated by config.status. */
29951 + configure_input="Generated from "`IFS=:
29952 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29953 + if test x"$ac_file" != x-; then
29954 + configure_input="$ac_file. $configure_input"
29955 + { echo "$as_me:$LINENO: creating $ac_file" >&5
29956 +echo "$as_me: creating $ac_file" >&6;}
29960 + *:-:* | *:-) cat >"$tmp/stdin";;
29965 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29966 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29967 + ac_dir=`$as_dirname -- "$ac_file" ||
29968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29969 X"$ac_file" : 'X\(//\)[^/]' \| \
29970 X"$ac_file" : 'X\(//\)$' \| \
29971 - X"$ac_file" : 'X\(/\)' \| \
29972 - . : '\(.\)' 2>/dev/null ||
29973 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29975 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29976 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29977 - /^X\(\/\/\)$/{ s//\1/; q; }
29978 - /^X\(\/\).*/{ s//\1/; q; }
29980 - { if $as_mkdir_p; then
29981 - mkdir -p "$ac_dir"
29984 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29988 + /^X\(\/\/\)[^/].*/{
30001 + { as_dir="$ac_dir"
30002 + case $as_dir in #(
30003 + -*) as_dir=./$as_dir;;
30005 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30007 - while test ! -d "$as_dir"; do
30008 - as_dirs="$as_dir $as_dirs"
30009 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30011 + case $as_dir in #(
30012 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30013 + *) as_qdir=$as_dir;;
30015 + as_dirs="'$as_qdir' $as_dirs"
30016 + as_dir=`$as_dirname -- "$as_dir" ||
30017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30018 X"$as_dir" : 'X\(//\)[^/]' \| \
30019 X"$as_dir" : 'X\(//\)$' \| \
30020 - X"$as_dir" : 'X\(/\)' \| \
30021 - . : '\(.\)' 2>/dev/null ||
30022 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30024 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30025 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30026 - /^X\(\/\/\)$/{ s//\1/; q; }
30027 - /^X\(\/\).*/{ s//\1/; q; }
30029 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30033 + /^X\(\/\/\)[^/].*/{
30046 + test -d "$as_dir" && break
30048 - test ! -n "$as_dirs" || mkdir $as_dirs
30049 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30050 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30051 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30052 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30053 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30054 { (exit 1); exit 1; }; }; }
30058 -if test "$ac_dir" != .; then
30060 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30062 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30063 - # A "../" for each directory in $ac_dir_suffix.
30064 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30066 - ac_dir_suffix= ac_top_builddir=
30068 + # A ".." for each directory in $ac_dir_suffix.
30069 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30070 + case $ac_top_builddir_sub in
30071 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30072 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30075 +ac_abs_top_builddir=$ac_pwd
30076 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
30077 +# for backward compatibility:
30078 +ac_top_builddir=$ac_top_build_prefix
30081 - .) # No --srcdir option. We are building in place.
30082 + .) # We are building in place.
30084 - if test -z "$ac_top_builddir"; then
30087 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30089 - [\\/]* | ?:[\\/]* ) # Absolute path.
30090 + ac_top_srcdir=$ac_top_builddir_sub
30091 + ac_abs_top_srcdir=$ac_pwd ;;
30092 + [\\/]* | ?:[\\/]* ) # Absolute name.
30093 ac_srcdir=$srcdir$ac_dir_suffix;
30094 - ac_top_srcdir=$srcdir ;;
30095 - *) # Relative path.
30096 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30097 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30098 + ac_top_srcdir=$srcdir
30099 + ac_abs_top_srcdir=$srcdir ;;
30100 + *) # Relative name.
30101 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30102 + ac_top_srcdir=$ac_top_build_prefix$srcdir
30103 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30105 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30107 -# Do not use `cd foo && pwd` to compute absolute paths, because
30108 -# the directories may not exist.
30110 -.) ac_abs_builddir="$ac_dir";;
30112 - case "$ac_dir" in
30113 - .) ac_abs_builddir=`pwd`;;
30114 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30115 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30118 -case $ac_abs_builddir in
30119 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30121 - case ${ac_top_builddir}. in
30122 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30123 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30124 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30127 -case $ac_abs_builddir in
30128 -.) ac_abs_srcdir=$ac_srcdir;;
30130 - case $ac_srcdir in
30131 - .) ac_abs_srcdir=$ac_abs_builddir;;
30132 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30133 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30136 -case $ac_abs_builddir in
30137 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30139 - case $ac_top_srcdir in
30140 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30141 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30142 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30153 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30154 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
30155 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30159 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30160 - # use $as_me), people would be surprised to read:
30161 - # /* config.h. Generated by config.status. */
30162 - if test x"$ac_file" = x-; then
30165 - configure_input="$ac_file. "
30167 - configure_input=$configure_input"Generated from `echo $ac_file_in |
30168 - sed 's,.*/,,'` by configure."
30170 - # First look for the input files in the build tree, otherwise in the
30172 - ac_file_inputs=`IFS=:
30173 - for f in $ac_file_in; do
30175 - -) echo $tmp/stdin ;;
30177 - # Absolute (can't be DOS-style, as IFS=:)
30178 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30179 -echo "$as_me: error: cannot find input file: $f" >&2;}
30180 - { (exit 1); exit 1; }; }
30183 - if test -f "$f"; then
30186 - elif test -f "$srcdir/$f"; then
30188 - echo "$srcdir/$f"
30191 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30192 -echo "$as_me: error: cannot find input file: $f" >&2;}
30193 - { (exit 1); exit 1; }; }
30196 - done` || { (exit 1); exit 1; }
30198 - if test x"$ac_file" != x-; then
30199 - { echo "$as_me:$LINENO: creating $ac_file" >&5
30200 -echo "$as_me: creating $ac_file" >&6;}
30203 +cat >>$CONFIG_STATUS <<\_ACEOF
30204 +# If the template does not know about datarootdir, expand it.
30205 +# FIXME: This hack should be removed a few years after 2.60.
30206 +ac_datarootdir_hack=; ac_datarootdir_seen=
30208 +case `sed -n '/datarootdir/ {
30217 +' $ac_file_inputs` in
30218 +*datarootdir*) ac_datarootdir_seen=yes;;
30219 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30220 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30221 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30223 +cat >>$CONFIG_STATUS <<_ACEOF
30224 + ac_datarootdir_hack='
30225 + s&@datadir@&$datadir&g
30226 + s&@docdir@&$docdir&g
30227 + s&@infodir@&$infodir&g
30228 + s&@localedir@&$localedir&g
30229 + s&@mandir@&$mandir&g
30230 + s&\\\${datarootdir}&$datarootdir&g' ;;
30234 +# Neutralize VPATH when `$srcdir' = `.'.
30235 +# Shell code in configure.ac might set extrasub.
30236 +# FIXME: do we really want to maintain this feature?
30237 cat >>$CONFIG_STATUS <<_ACEOF
30240 @@ -9723,370 +21176,299 @@
30241 cat >>$CONFIG_STATUS <<\_ACEOF
30243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30244 -s,@configure_input@,$configure_input,;t t
30245 -s,@srcdir@,$ac_srcdir,;t t
30246 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
30247 -s,@top_srcdir@,$ac_top_srcdir,;t t
30248 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
30249 -s,@builddir@,$ac_builddir,;t t
30250 -s,@abs_builddir@,$ac_abs_builddir,;t t
30251 -s,@top_builddir@,$ac_top_builddir,;t t
30252 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
30253 -s,@INSTALL@,$ac_INSTALL,;t t
30254 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30256 - if test x"$ac_file" != x-; then
30257 - mv $tmp/out $ac_file
30265 -cat >>$CONFIG_STATUS <<\_ACEOF
30268 -# CONFIG_HEADER section.
30271 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30272 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
30274 -# ac_d sets the value in "#define NAME VALUE" lines.
30275 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30276 -ac_dB='[ ].*$,\1#\2'
30279 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30280 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30281 -ac_uB='$,\1#\2define\3'
30284 +s&@configure_input@&$configure_input&;t t
30285 +s&@top_builddir@&$ac_top_builddir_sub&;t t
30286 +s&@srcdir@&$ac_srcdir&;t t
30287 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
30288 +s&@top_srcdir@&$ac_top_srcdir&;t t
30289 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30290 +s&@builddir@&$ac_builddir&;t t
30291 +s&@abs_builddir@&$ac_abs_builddir&;t t
30292 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30293 +s&@INSTALL@&$ac_INSTALL&;t t
30294 +$ac_datarootdir_hack
30295 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
30297 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30298 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30299 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30300 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30301 +which seems to be undefined. Please make sure it is defined." >&5
30302 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30303 +which seems to be undefined. Please make sure it is defined." >&2;}
30305 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30306 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30307 + rm -f "$tmp/stdin"
30309 - - | *:- | *:-:* ) # input from stdin
30311 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30312 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30313 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30314 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30315 - * ) ac_file_in=$ac_file.in ;;
30316 + -) cat "$tmp/out"; rm -f "$tmp/out";;
30317 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30320 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30321 -echo "$as_me: creating $ac_file" >&6;}
30323 - # First look for the input files in the build tree, otherwise in the
30325 - ac_file_inputs=`IFS=:
30326 - for f in $ac_file_in; do
30328 - -) echo $tmp/stdin ;;
30330 - # Absolute (can't be DOS-style, as IFS=:)
30331 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30332 -echo "$as_me: error: cannot find input file: $f" >&2;}
30333 - { (exit 1); exit 1; }; }
30334 - # Do quote $f, to prevent DOS paths from being IFS'd.
30337 - if test -f "$f"; then
30340 - elif test -f "$srcdir/$f"; then
30342 - echo "$srcdir/$f"
30345 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30346 -echo "$as_me: error: cannot find input file: $f" >&2;}
30347 - { (exit 1); exit 1; }; }
30350 - done` || { (exit 1); exit 1; }
30351 - # Remove the trailing spaces.
30352 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30361 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
30362 -# `conftest.undefs', that substitutes the proper values into
30363 -# config.h.in to produce config.h. The first handles `#define'
30364 -# templates, and the second `#undef' templates.
30365 -# And first: Protect against being on the right side of a sed subst in
30366 -# config.status. Protect against being in an unquoted here document
30367 -# in config.status.
30368 -rm -f conftest.defines conftest.undefs
30369 -# Using a here document instead of a string reduces the quoting nightmare.
30370 -# Putting comments in sed scripts is not portable.
30372 -# `end' is used to avoid that the second main sed command (meant for
30373 -# 0-ary CPP macros) applies to n-ary macro definitions.
30374 -# See the Autoconf documentation for `clear'.
30375 -cat >confdef2sed.sed <<\_ACEOF
30380 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30382 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30385 -# If some macros were called several times there might be several times
30386 -# the same #defines, which is useless. Nevertheless, we may not want to
30387 -# sort them, since we want the *last* AC-DEFINE to be honored.
30388 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30389 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30390 -rm -f confdef2sed.sed
30391 +# Transform confdefs.h into a sed script `conftest.defines', that
30392 +# substitutes the proper values into config.h.in to produce config.h.
30393 +rm -f conftest.defines conftest.tail
30394 +# First, append a space to every undef/define line, to ease matching.
30395 +echo 's/$/ /' >conftest.defines
30396 +# Then, protect against being on the right side of a sed subst, or in
30397 +# an unquoted here document, in config.status. If some macros were
30398 +# called several times there might be several #defines for the same
30399 +# symbol, which is useless. But do not sort them, since the last
30400 +# AC_DEFINE must be honored.
30401 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30402 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30403 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
30404 +# PARAMS is the parameter list in the macro definition--in most cases, it's
30405 +# just an empty string.
30406 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30407 +ac_dB='\\)[ (].*,\\1define\\2'
30415 + s/^[ ]*#[ ]*define[ ][ ]*//
30420 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30421 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30422 + ' >>conftest.defines
30424 -# This sed command replaces #undef with comments. This is necessary, for
30425 +# Remove the space that was appended to ease matching.
30426 +# Then replace #undef with comments. This is necessary, for
30427 # example, in the case of _POSIX_SOURCE, which is predefined and required
30428 # on some systems where configure will not decide to define it.
30429 -cat >>conftest.undefs <<\_ACEOF
30430 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30432 +# (The regexp can be short, since the line contains either #define or #undef.)
30434 +s,^[ #]*u.*,/* & */,' >>conftest.defines
30436 +# Break up conftest.defines:
30437 +ac_max_sed_lines=50
30439 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30440 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30441 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30443 +ac_in='$ac_file_inputs'
30444 +ac_out='"$tmp/out1"'
30445 +ac_nxt='"$tmp/out2"'
30447 -# Break up conftest.defines because some shells have a limit on the size
30448 -# of here documents, and old seds have small limits too (100 cmds).
30449 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30450 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30451 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30452 -echo ' :' >>$CONFIG_STATUS
30453 -rm -f conftest.tail
30454 -while grep . conftest.defines >/dev/null
30456 - # Write a limited-size here document to $tmp/defines.sed.
30457 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30458 - # Speed up: don't consider the non `#define' lines.
30459 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30460 - # Work around the forget-to-reset-the-flag bug.
30461 - echo 't clr' >>$CONFIG_STATUS
30462 - echo ': clr' >>$CONFIG_STATUS
30463 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
30466 + # Write a here document:
30467 + cat >>$CONFIG_STATUS <<_ACEOF
30468 + # First, check the format of the line:
30469 + cat >"\$tmp/defines.sed" <<\\CEOF
30470 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30471 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30475 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30477 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
30479 - mv $tmp/out $tmp/in
30480 -' >>$CONFIG_STATUS
30481 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
30482 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30483 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30484 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30485 + grep . conftest.tail >/dev/null || break
30486 rm -f conftest.defines
30487 mv conftest.tail conftest.defines
30489 -rm -f conftest.defines
30490 -echo ' fi # grep' >>$CONFIG_STATUS
30491 -echo >>$CONFIG_STATUS
30493 -# Break up conftest.undefs because some shells have a limit on the size
30494 -# of here documents, and old seds have small limits too (100 cmds).
30495 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30496 -rm -f conftest.tail
30497 -while grep . conftest.undefs >/dev/null
30499 - # Write a limited-size here document to $tmp/undefs.sed.
30500 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30501 - # Speed up: don't consider the non `#undef'
30502 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30503 - # Work around the forget-to-reset-the-flag bug.
30504 - echo 't clr' >>$CONFIG_STATUS
30505 - echo ': clr' >>$CONFIG_STATUS
30506 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30508 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30510 - mv $tmp/out $tmp/in
30511 -' >>$CONFIG_STATUS
30512 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30513 - rm -f conftest.undefs
30514 - mv conftest.tail conftest.undefs
30516 -rm -f conftest.undefs
30517 +rm -f conftest.defines conftest.tail
30519 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
30520 cat >>$CONFIG_STATUS <<\_ACEOF
30521 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30522 - # use $as_me), people would be surprised to read:
30523 - # /* config.h. Generated by config.status. */
30524 - if test x"$ac_file" = x-; then
30525 - echo "/* Generated by configure. */" >$tmp/config.h
30527 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30529 - cat $tmp/in >>$tmp/config.h
30531 if test x"$ac_file" != x-; then
30532 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
30533 + echo "/* $configure_input */" >"$tmp/config.h"
30534 + cat "$ac_result" >>"$tmp/config.h"
30535 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30536 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30537 echo "$as_me: $ac_file is unchanged" >&6;}
30539 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30540 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30541 - X"$ac_file" : 'X\(//\)[^/]' \| \
30542 - X"$ac_file" : 'X\(//\)$' \| \
30543 - X"$ac_file" : 'X\(/\)' \| \
30544 - . : '\(.\)' 2>/dev/null ||
30545 -echo X"$ac_file" |
30546 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30547 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30548 - /^X\(\/\/\)$/{ s//\1/; q; }
30549 - /^X\(\/\).*/{ s//\1/; q; }
30551 - { if $as_mkdir_p; then
30552 - mkdir -p "$ac_dir"
30556 - while test ! -d "$as_dir"; do
30557 - as_dirs="$as_dir $as_dirs"
30558 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30559 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30560 - X"$as_dir" : 'X\(//\)[^/]' \| \
30561 - X"$as_dir" : 'X\(//\)$' \| \
30562 - X"$as_dir" : 'X\(/\)' \| \
30563 - . : '\(.\)' 2>/dev/null ||
30565 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30566 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30567 - /^X\(\/\/\)$/{ s//\1/; q; }
30568 - /^X\(\/\).*/{ s//\1/; q; }
30571 - test ! -n "$as_dirs" || mkdir $as_dirs
30572 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30573 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30574 - { (exit 1); exit 1; }; }; }
30577 - mv $tmp/config.h $ac_file
30578 + mv "$tmp/config.h" $ac_file
30581 - cat $tmp/config.h
30582 - rm -f $tmp/config.h
30583 + echo "/* $configure_input */"
30586 + rm -f "$tmp/out12"
30587 +# Compute $ac_file's index in $config_headers.
30589 +for _am_header in $config_headers :; do
30590 + case $_am_header in
30591 + $ac_file | $ac_file:* )
30594 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30598 -cat >>$CONFIG_STATUS <<\_ACEOF
30599 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30600 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30601 + X$ac_file : 'X\(//\)[^/]' \| \
30602 + X$ac_file : 'X\(//\)$' \| \
30603 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30605 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30609 + /^X\(\/\/\)[^/].*/{
30621 + s/.*/./; q'`/stamp-h$_am_stamp_count
30624 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30625 +echo "$as_me: executing $ac_file commands" >&6;}
30630 -# CONFIG_COMMANDS section.
30632 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
30633 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
30634 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
30635 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
30636 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30637 - X"$ac_dest" : 'X\(//\)[^/]' \| \
30638 - X"$ac_dest" : 'X\(//\)$' \| \
30639 - X"$ac_dest" : 'X\(/\)' \| \
30640 - . : '\(.\)' 2>/dev/null ||
30641 -echo X"$ac_dest" |
30642 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30643 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30644 - /^X\(\/\/\)$/{ s//\1/; q; }
30645 - /^X\(\/\).*/{ s//\1/; q; }
30647 - { if $as_mkdir_p; then
30648 - mkdir -p "$ac_dir"
30650 + case $ac_file$ac_mode in
30651 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30652 + # Strip MF so we end up with the name of the file.
30653 + mf=`echo "$mf" | sed -e 's/:.*$//'`
30654 + # Check whether this is an Automake generated Makefile or not.
30655 + # We used to match only the files named `Makefile.in', but
30656 + # some people rename them; so instead we look at the file content.
30657 + # Grep'ing the first line is not enough: some people post-process
30658 + # each Makefile.in and add a new line on top of each file to say so.
30659 + # So let's grep whole file.
30660 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
30661 + dirpart=`$as_dirname -- "$mf" ||
30662 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30663 + X"$mf" : 'X\(//\)[^/]' \| \
30664 + X"$mf" : 'X\(//\)$' \| \
30665 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30667 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30671 + /^X\(\/\/\)[^/].*/{
30688 + # Extract the definition of DEPDIR, am__include, and am__quote
30689 + # from the Makefile without running `make'.
30690 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30691 + test -z "$DEPDIR" && continue
30692 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
30693 + test -z "am__include" && continue
30694 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30695 + # When using ansi2knr, U may be empty or an underscore; expand it
30696 + U=`sed -n 's/^U = //p' < "$mf"`
30697 + # Find all dependency output files, they are included files with
30698 + # $(DEPDIR) in their names. We invoke sed twice because it is the
30699 + # simplest approach to changing $(DEPDIR) to its actual value in the
30701 + for file in `sed -n "
30702 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30703 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30704 + # Make sure the directory exists.
30705 + test -f "$dirpart/$file" && continue
30706 + fdir=`$as_dirname -- "$file" ||
30707 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30708 + X"$file" : 'X\(//\)[^/]' \| \
30709 + X"$file" : 'X\(//\)$' \| \
30710 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30712 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30716 + /^X\(\/\/\)[^/].*/{
30729 + { as_dir=$dirpart/$fdir
30730 + case $as_dir in #(
30731 + -*) as_dir=./$as_dir;;
30733 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30735 - while test ! -d "$as_dir"; do
30736 - as_dirs="$as_dir $as_dirs"
30737 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30739 + case $as_dir in #(
30740 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30741 + *) as_qdir=$as_dir;;
30743 + as_dirs="'$as_qdir' $as_dirs"
30744 + as_dir=`$as_dirname -- "$as_dir" ||
30745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30746 X"$as_dir" : 'X\(//\)[^/]' \| \
30747 X"$as_dir" : 'X\(//\)$' \| \
30748 - X"$as_dir" : 'X\(/\)' \| \
30749 - . : '\(.\)' 2>/dev/null ||
30750 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30752 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30753 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30754 - /^X\(\/\/\)$/{ s//\1/; q; }
30755 - /^X\(\/\).*/{ s//\1/; q; }
30757 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30761 + /^X\(\/\/\)[^/].*/{
30774 + test -d "$as_dir" && break
30776 - test ! -n "$as_dirs" || mkdir $as_dirs
30777 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30778 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30779 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30780 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30781 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30782 { (exit 1); exit 1; }; }; }
30783 + # echo "creating $dirpart/$file"
30784 + echo '# dummy' > "$dirpart/$file"
30791 -if test "$ac_dir" != .; then
30792 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30793 - # A "../" for each directory in $ac_dir_suffix.
30794 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30796 - ac_dir_suffix= ac_top_builddir=
30800 - .) # No --srcdir option. We are building in place.
30802 - if test -z "$ac_top_builddir"; then
30805 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30807 - [\\/]* | ?:[\\/]* ) # Absolute path.
30808 - ac_srcdir=$srcdir$ac_dir_suffix;
30809 - ac_top_srcdir=$srcdir ;;
30810 - *) # Relative path.
30811 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30812 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30815 -# Do not use `cd foo && pwd` to compute absolute paths, because
30816 -# the directories may not exist.
30818 -.) ac_abs_builddir="$ac_dir";;
30820 - case "$ac_dir" in
30821 - .) ac_abs_builddir=`pwd`;;
30822 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30823 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30826 -case $ac_abs_builddir in
30827 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30829 - case ${ac_top_builddir}. in
30830 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30831 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30832 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30835 -case $ac_abs_builddir in
30836 -.) ac_abs_srcdir=$ac_srcdir;;
30838 - case $ac_srcdir in
30839 - .) ac_abs_srcdir=$ac_abs_builddir;;
30840 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30841 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30844 -case $ac_abs_builddir in
30845 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30847 - case $ac_top_srcdir in
30848 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30849 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30850 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30855 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30856 -echo "$as_me: executing $ac_dest commands" >&6;}
30858 - default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
30864 -cat >>$CONFIG_STATUS <<\_ACEOF
30866 { (exit 0); exit 0; }
30868 diff -urN atm.old/depcomp atm.dev/depcomp
30869 --- atm.old/depcomp 1970-01-01 01:00:00.000000000 +0100
30870 +++ atm.dev/depcomp 2006-11-27 03:51:31.000000000 +0100
30873 +# depcomp - compile a program generating dependencies as side-effects
30875 +scriptversion=2005-07-09.11
30877 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
30879 +# This program is free software; you can redistribute it and/or modify
30880 +# it under the terms of the GNU General Public License as published by
30881 +# the Free Software Foundation; either version 2, or (at your option)
30882 +# any later version.
30884 +# This program is distributed in the hope that it will be useful,
30885 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
30886 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30887 +# GNU General Public License for more details.
30889 +# You should have received a copy of the GNU General Public License
30890 +# along with this program; if not, write to the Free Software
30891 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30892 +# 02110-1301, USA.
30894 +# As a special exception to the GNU General Public License, if you
30895 +# distribute this file as part of a program that contains a
30896 +# configuration script generated by Autoconf, you may include it under
30897 +# the same distribution terms that you use for the rest of that program.
30899 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
30903 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
30908 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
30910 +Run PROGRAMS ARGS to compile a file, generating dependencies
30913 +Environment variables:
30914 + depmode Dependency tracking mode.
30915 + source Source file read by `PROGRAMS ARGS'.
30916 + object Object file output by `PROGRAMS ARGS'.
30917 + DEPDIR directory where to store dependencies.
30918 + depfile Dependency file to output.
30919 + tmpdepfile Temporary file to use when outputing dependencies.
30920 + libtool Whether libtool is used (yes/no).
30922 +Report bugs to <bug-automake@gnu.org>.
30927 + echo "depcomp $scriptversion"
30932 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
30933 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
30937 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
30938 +depfile=${depfile-`echo "$object" |
30939 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
30940 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
30942 +rm -f "$tmpdepfile"
30944 +# Some modes work just like other modes, but use different flags. We
30945 +# parameterize here, but still list the modes in the big case below,
30946 +# to make depend.m4 easier to write. Note that we *cannot* use a case
30947 +# here, because this file can only contain one case statement.
30948 +if test "$depmode" = hp; then
30949 + # HP compiler uses -M and no extra arg.
30954 +if test "$depmode" = dashXmstdout; then
30955 + # This is just like dashmstdout with a different argument.
30957 + depmode=dashmstdout
30960 +case "$depmode" in
30962 +## gcc 3 implements dependency tracking that does exactly what
30963 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
30964 +## it if -MD -MP comes after the -MF stuff. Hmm.
30965 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
30967 + if test $stat -eq 0; then :
30969 + rm -f "$tmpdepfile"
30972 + mv "$tmpdepfile" "$depfile"
30976 +## There are various ways to get dependency output from gcc. Here's
30977 +## why we pick this rather obscure method:
30978 +## - Don't want to use -MD because we'd like the dependencies to end
30979 +## up in a subdir. Having to rename by hand is ugly.
30980 +## (We might end up doing this anyway to support other compilers.)
30981 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
30982 +## -MM, not -M (despite what the docs say).
30983 +## - Using -M directly means running the compiler twice (even worse
30984 +## than renaming).
30985 + if test -z "$gccflag"; then
30988 + "$@" -Wp,"$gccflag$tmpdepfile"
30990 + if test $stat -eq 0; then :
30992 + rm -f "$tmpdepfile"
30996 + echo "$object : \\" > "$depfile"
30997 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
30998 +## The second -e expression handles DOS-style file names with drive letters.
30999 + sed -e 's/^[^:]*: / /' \
31000 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
31001 +## This next piece of magic avoids the `deleted header file' problem.
31002 +## The problem is that when a header file which appears in a .P file
31003 +## is deleted, the dependency causes make to die (because there is
31004 +## typically no way to rebuild the header). We avoid this by adding
31005 +## dummy dependencies for each header file. Too bad gcc doesn't do
31006 +## this for us directly.
31008 +' < "$tmpdepfile" |
31009 +## Some versions of gcc put a space before the `:'. On the theory
31010 +## that the space means something, we add a space to the output as
31012 +## Some versions of the HPUX 10.20 sed can't process this invocation
31013 +## correctly. Breaking it into two sed invocations is a workaround.
31014 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31015 + rm -f "$tmpdepfile"
31019 + # This case exists only to let depend.m4 do its work. It works by
31020 + # looking at the text of this script. This case will never be run,
31021 + # since it is checked for above.
31026 + if test "$libtool" = yes; then
31027 + "$@" "-Wp,-MDupdate,$tmpdepfile"
31029 + "$@" -MDupdate "$tmpdepfile"
31032 + if test $stat -eq 0; then :
31034 + rm -f "$tmpdepfile"
31039 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
31040 + echo "$object : \\" > "$depfile"
31042 + # Clip off the initial element (the dependent). Don't try to be
31043 + # clever and replace this with sed code, as IRIX sed won't handle
31044 + # lines with more than a fixed number of characters (4096 in
31045 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
31046 + # the IRIX cc adds comments like `#:fec' to the end of the
31047 + # dependency line.
31049 +' < "$tmpdepfile" \
31050 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
31055 + # The second pass generates a dummy entry for each header file.
31057 +' < "$tmpdepfile" \
31058 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
31061 + # The sourcefile does not contain any dependencies, so just
31062 + # store a dummy comment line, to avoid errors with the Makefile
31063 + # "include basename.Plo" scheme.
31064 + echo "#dummy" > "$depfile"
31066 + rm -f "$tmpdepfile"
31070 + # The C for AIX Compiler uses -M and outputs the dependencies
31071 + # in a .u file. In older versions, this file always lives in the
31072 + # current directory. Also, the AIX compiler puts `$object:' at the
31073 + # start of each line; $object doesn't have directory information.
31074 + # Version 6 uses the directory in both cases.
31075 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
31076 + tmpdepfile="$stripped.u"
31077 + if test "$libtool" = yes; then
31084 + if test -f "$tmpdepfile"; then :
31086 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
31087 + tmpdepfile="$stripped.u"
31090 + if test $stat -eq 0; then :
31092 + rm -f "$tmpdepfile"
31096 + if test -f "$tmpdepfile"; then
31097 + outname="$stripped.o"
31098 + # Each line is of the form `foo.o: dependent.h'.
31099 + # Do two passes, one to just change these to
31100 + # `$object: dependent.h' and one to simply `dependent.h:'.
31101 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
31102 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
31104 + # The sourcefile does not contain any dependencies, so just
31105 + # store a dummy comment line, to avoid errors with the Makefile
31106 + # "include basename.Plo" scheme.
31107 + echo "#dummy" > "$depfile"
31109 + rm -f "$tmpdepfile"
31113 + # Intel's C compiler understands `-MD -MF file'. However on
31114 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
31115 + # ICC 7.0 will fill foo.d with something like
31116 + # foo.o: sub/foo.c
31117 + # foo.o: sub/foo.h
31118 + # which is wrong. We want:
31119 + # sub/foo.o: sub/foo.c
31120 + # sub/foo.o: sub/foo.h
31123 + # ICC 7.1 will output
31124 + # foo.o: sub/foo.c sub/foo.h
31125 + # and will wrap long lines using \ :
31126 + # foo.o: sub/foo.c ... \
31127 + # sub/foo.h ... \
31130 + "$@" -MD -MF "$tmpdepfile"
31132 + if test $stat -eq 0; then :
31134 + rm -f "$tmpdepfile"
31138 + # Each line is of the form `foo.o: dependent.h',
31139 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
31140 + # Do two passes, one to just change these to
31141 + # `$object: dependent.h' and one to simply `dependent.h:'.
31142 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
31143 + # Some versions of the HPUX 10.20 sed can't process this invocation
31144 + # correctly. Breaking it into two sed invocations is a workaround.
31145 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
31146 + sed -e 's/$/ :/' >> "$depfile"
31147 + rm -f "$tmpdepfile"
31151 + # The Tru64 compiler uses -MD to generate dependencies as a side
31152 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
31153 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
31154 + # dependencies in `foo.d' instead, so we check for that too.
31155 + # Subdirectories are respected.
31156 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
31157 + test "x$dir" = "x$object" && dir=
31158 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
31160 + if test "$libtool" = yes; then
31161 + # With Tru64 cc, shared objects can also be used to make a
31162 + # static library. This mecanism is used in libtool 1.4 series to
31163 + # handle both shared and static libraries in a single compilation.
31164 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
31166 + # With libtool 1.5 this exception was removed, and libtool now
31167 + # generates 2 separate objects for the 2 libraries. These two
31168 + # compilations output dependencies in in $dir.libs/$base.o.d and
31169 + # in $dir$base.o.d. We have to check for both files, because
31170 + # one of the two compilations can be disabled. We should prefer
31171 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
31172 + # automatically cleaned when .libs/ is deleted, while ignoring
31173 + # the former would cause a distcleancheck panic.
31174 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
31175 + tmpdepfile2=$dir$base.o.d # libtool 1.5
31176 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
31177 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
31180 + tmpdepfile1=$dir$base.o.d
31181 + tmpdepfile2=$dir$base.d
31182 + tmpdepfile3=$dir$base.d
31183 + tmpdepfile4=$dir$base.d
31188 + if test $stat -eq 0; then :
31190 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31194 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31196 + test -f "$tmpdepfile" && break
31198 + if test -f "$tmpdepfile"; then
31199 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
31200 + # That's a tab and a space in the [].
31201 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
31203 + echo "#dummy" > "$depfile"
31205 + rm -f "$tmpdepfile"
31209 + # This comment above is used by automake to tell side-effect
31210 + # dependency tracking mechanisms from slower ones.
31213 + # Important note: in order to support this mode, a compiler *must*
31214 + # always write the preprocessed file to stdout, regardless of -o.
31217 + # Remove the call to Libtool.
31218 + if test "$libtool" = yes; then
31219 + while test $1 != '--mode=compile'; do
31225 + # Remove `-o $object'.
31237 + set fnord "$@" "$arg"
31244 + test -z "$dashmflag" && dashmflag=-M
31245 + # Require at least two characters before searching for `:'
31246 + # in the target name. This is to cope with DOS-style filenames:
31247 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
31248 + "$@" $dashmflag |
31249 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
31251 + cat < "$tmpdepfile" > "$depfile"
31253 +' < "$tmpdepfile" | \
31254 +## Some versions of the HPUX 10.20 sed can't process this invocation
31255 +## correctly. Breaking it into two sed invocations is a workaround.
31256 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31257 + rm -f "$tmpdepfile"
31261 + # This case only exists to satisfy depend.m4. It is never actually
31262 + # run, as this mode is specially recognized in the preamble.
31268 + # Remove any Libtool call
31269 + if test "$libtool" = yes; then
31270 + while test $1 != '--mode=compile'; do
31278 + for arg in "$@"; do
31286 + set fnord "$@" "$arg"; shift ;;
31287 + # Strip any option that makedepend may not understand. Remove
31288 + # the object too, otherwise makedepend will parse it as a source file.
31292 + set fnord "$@" "$arg"; shift ;;
31295 + obj_suffix="`echo $object | sed 's/^.*\././'`"
31296 + touch "$tmpdepfile"
31297 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
31299 + cat < "$tmpdepfile" > "$depfile"
31300 + sed '1,2d' "$tmpdepfile" | tr ' ' '
31302 +## Some versions of the HPUX 10.20 sed can't process this invocation
31303 +## correctly. Breaking it into two sed invocations is a workaround.
31304 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31305 + rm -f "$tmpdepfile" "$tmpdepfile".bak
31309 + # Important note: in order to support this mode, a compiler *must*
31310 + # always write the preprocessed file to stdout.
31313 + # Remove the call to Libtool.
31314 + if test "$libtool" = yes; then
31315 + while test $1 != '--mode=compile'; do
31321 + # Remove `-o $object'.
31333 + set fnord "$@" "$arg"
31341 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
31342 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
31343 + sed '$ s: \\$::' > "$tmpdepfile"
31345 + echo "$object : \\" > "$depfile"
31346 + cat < "$tmpdepfile" >> "$depfile"
31347 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
31348 + rm -f "$tmpdepfile"
31352 + # Important note: in order to support this mode, a compiler *must*
31353 + # always write the preprocessed file to stdout, regardless of -o,
31354 + # because we must use -o when running libtool.
31360 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
31366 + set fnord "$@" "$arg"
31373 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
31375 + echo "$object : \\" > "$depfile"
31376 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
31377 + echo " " >> "$depfile"
31378 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
31379 + rm -f "$tmpdepfile"
31387 + echo "Unknown depmode $depmode" 1>&2
31394 +# Local Variables:
31395 +# mode: shell-script
31396 +# sh-indentation: 2
31397 +# eval: (add-hook 'write-file-hooks 'time-stamp)
31398 +# time-stamp-start: "scriptversion="
31399 +# time-stamp-format: "%:y-%02m-%02d.%02H"
31400 +# time-stamp-end: "$"
31402 diff -urN atm.old/doc/Makefile.in atm.dev/doc/Makefile.in
31403 --- atm.old/doc/Makefile.in 2007-10-20 16:57:33.430006415 +0200
31404 +++ atm.dev/doc/Makefile.in 2007-10-20 17:01:40.796103006 +0200
31406 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
31407 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
31408 +# @configure_input@
31410 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
31411 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
31412 +# 2003, 2004, 2005 Free Software Foundation, Inc.
31413 # This Makefile.in is free software; the Free Software Foundation
31414 # gives unlimited permission to copy and/or distribute it,
31415 # with or without modifications, as long as this notice is preserved.
31416 @@ -10,198 +12,310 @@
31417 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
31418 # PARTICULAR PURPOSE.
31425 top_srcdir = @top_srcdir@
31428 -exec_prefix = @exec_prefix@
31431 -sbindir = @sbindir@
31432 -libexecdir = @libexecdir@
31433 -datadir = @datadir@
31434 -sysconfdir = @sysconfdir@
31435 -sharedstatedir = @sharedstatedir@
31436 -localstatedir = @localstatedir@
31438 -infodir = @infodir@
31440 -includedir = @includedir@
31441 -oldincludedir = /usr/include
31445 pkgdatadir = $(datadir)/@PACKAGE@
31446 pkglibdir = $(libdir)/@PACKAGE@
31447 pkgincludedir = $(includedir)/@PACKAGE@
31451 -ACLOCAL = @ACLOCAL@
31452 -AUTOCONF = @AUTOCONF@
31453 -AUTOMAKE = @AUTOMAKE@
31454 -AUTOHEADER = @AUTOHEADER@
31456 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31457 INSTALL = @INSTALL@
31458 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
31459 -INSTALL_DATA = @INSTALL_DATA@
31460 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
31461 -transform = @program_transform_name@
31463 +install_sh_DATA = $(install_sh) -c -m 644
31464 +install_sh_PROGRAM = $(install_sh) -c
31465 +install_sh_SCRIPT = $(install_sh) -c
31466 +INSTALL_HEADER = $(INSTALL_DATA)
31467 +transform = $(program_transform_name)
31471 NORMAL_UNINSTALL = :
31474 -build_alias = @build_alias@
31475 build_triplet = @build@
31476 -host_alias = @host_alias@
31477 host_triplet = @host@
31478 -target_alias = @target_alias@
31479 target_triplet = @target@
31481 +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
31482 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
31483 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
31484 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
31486 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31487 +CONFIG_HEADER = $(top_builddir)/config.h
31488 +CONFIG_CLEAN_FILES =
31491 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
31492 +ACLOCAL = @ACLOCAL@
31493 +AMDEP_FALSE = @AMDEP_FALSE@
31494 +AMDEP_TRUE = @AMDEP_TRUE@
31498 +AUTOCONF = @AUTOCONF@
31499 +AUTOHEADER = @AUTOHEADER@
31500 +AUTOMAKE = @AUTOMAKE@
31503 +CCDEPMODE = @CCDEPMODE@
31506 +CPPFLAGS = @CPPFLAGS@
31509 -DLLTOOL = @DLLTOOL@
31510 +CXXDEPMODE = @CXXDEPMODE@
31511 +CXXFLAGS = @CXXFLAGS@
31512 +CYGPATH_W = @CYGPATH_W@
31523 -GCJFLAGS = @GCJFLAGS@
31524 -HAVE_LIB = @HAVE_LIB@
31527 +INSTALL_DATA = @INSTALL_DATA@
31528 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
31529 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
31530 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
31531 +LDFLAGS = @LDFLAGS@
31535 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
31536 +LIBOBJS = @LIBOBJS@
31538 LIBTOOL = @LIBTOOL@
31539 LIBTOOL_DEPS = @LIBTOOL_DEPS@
31540 LIBVER_AGE = @LIBVER_AGE@
31541 LIBVER_CURRENT = @LIBVER_CURRENT@
31542 LIBVER_REVISION = @LIBVER_REVISION@
31545 +LTLIBOBJS = @LTLIBOBJS@
31546 MAKEINFO = @MAKEINFO@
31547 -OBJDUMP = @OBJDUMP@
31549 PACKAGE = @PACKAGE@
31550 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
31551 +PACKAGE_NAME = @PACKAGE_NAME@
31552 +PACKAGE_STRING = @PACKAGE_STRING@
31553 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
31554 +PACKAGE_VERSION = @PACKAGE_VERSION@
31555 +PATH_SEPARATOR = @PATH_SEPARATOR@
31559 +SET_MAKE = @SET_MAKE@
31562 VERSION = @VERSION@
31566 +ac_ct_CC = @ac_ct_CC@
31567 +ac_ct_CXX = @ac_ct_CXX@
31568 +ac_ct_F77 = @ac_ct_F77@
31569 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
31570 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
31571 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
31572 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
31573 +am__include = @am__include@
31574 +am__leading_dot = @am__leading_dot@
31575 +am__quote = @am__quote@
31576 +am__tar = @am__tar@
31577 +am__untar = @am__untar@
31580 +build_alias = @build_alias@
31581 +build_cpu = @build_cpu@
31582 +build_os = @build_os@
31583 +build_vendor = @build_vendor@
31584 +datadir = @datadir@
31585 +datarootdir = @datarootdir@
31588 +exec_prefix = @exec_prefix@
31590 +host_alias = @host_alias@
31591 +host_cpu = @host_cpu@
31592 +host_os = @host_os@
31593 +host_vendor = @host_vendor@
31594 +htmldir = @htmldir@
31595 +includedir = @includedir@
31596 +infodir = @infodir@
31597 +install_sh = @install_sh@
31599 +libexecdir = @libexecdir@
31600 +localedir = @localedir@
31601 +localstatedir = @localstatedir@
31603 +mkdir_p = @mkdir_p@
31604 +oldincludedir = @oldincludedir@
31607 +program_transform_name = @program_transform_name@
31609 +sbindir = @sbindir@
31610 +sharedstatedir = @sharedstatedir@
31611 +sysconfdir = @sysconfdir@
31613 +target_alias = @target_alias@
31614 +target_cpu = @target_cpu@
31615 +target_os = @target_os@
31616 +target_vendor = @target_vendor@
31617 EXTRA_DIST = README.CLP README.tc atm-linux-howto.sgml atm-linux-howto.txt
31619 HOWTO = atm-linux-howto.sgml
31620 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31621 -CONFIG_HEADER = ../config.h
31622 -CONFIG_CLEAN_FILES =
31623 -DIST_COMMON = README Makefile.am Makefile.in
31627 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
31633 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
31634 - cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
31635 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
31636 + @for dep in $?; do \
31637 + case '$(am__configure_deps)' in \
31639 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
31644 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
31645 + cd $(top_srcdir) && \
31646 + $(AUTOMAKE) --gnu doc/Makefile
31647 +.PRECIOUS: Makefile
31648 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
31650 + *config.status*) \
31651 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
31653 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
31654 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
31657 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
31658 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31660 +$(top_srcdir)/configure: $(am__configure_deps)
31661 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31662 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
31663 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31665 +mostlyclean-libtool:
31668 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
31669 - cd $(top_builddir) \
31670 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
31672 + -rm -rf .libs _libs
31674 +distclean-libtool:
31676 +uninstall-info-am:
31683 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
31687 distdir: $(DISTFILES)
31688 - here=`cd $(top_builddir) && pwd`; \
31689 - top_distdir=`cd $(top_distdir) && pwd`; \
31690 - distdir=`cd $(distdir) && pwd`; \
31691 - cd $(top_srcdir) \
31692 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
31693 - @for file in $(DISTFILES); do \
31695 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
31696 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
31697 + list='$(DISTFILES)'; for file in $$list; do \
31699 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
31700 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
31702 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
31703 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
31704 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
31706 + $(mkdir_p) "$(distdir)$$dir"; \
31710 if test -d $$d/$$file; then \
31711 - cp -pr $$d/$$file $(distdir)/$$file; \
31712 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
31713 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
31715 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
31717 test -f $(distdir)/$$file \
31718 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
31719 - || cp -p $$d/$$file $(distdir)/$$file || :; \
31720 + || cp -p $$d/$$file $(distdir)/$$file \
31731 -installcheck: installcheck-am
31735 +install: install-am
31736 install-exec: install-exec-am
31739 install-data: install-data-am
31740 +uninstall: uninstall-am
31743 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
31744 -install: install-am
31746 -uninstall: uninstall-am
31748 -all-redirect: all-am
31750 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
31754 +installcheck: installcheck-am
31756 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
31757 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
31758 + `test -z '$(STRIP)' || \
31759 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
31760 mostlyclean-generic:
31765 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
31766 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
31767 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
31769 maintainer-clean-generic:
31770 -mostlyclean-am: mostlyclean-generic
31771 + @echo "This command is intended for maintainers to use"
31772 + @echo "it deletes files that may require special tools to rebuild."
31773 +clean-am: clean-generic clean-libtool mostlyclean-am
31775 -mostlyclean: mostlyclean-am
31776 +distclean: distclean-am
31778 +distclean-am: clean-am distclean-generic distclean-libtool
31780 -clean-am: clean-generic mostlyclean-am
31786 -distclean-am: distclean-generic clean-am
31790 -distclean: distclean-am
31793 -maintainer-clean-am: maintainer-clean-generic distclean-am
31794 - @echo "This command is intended for maintainers to use;"
31795 - @echo "it deletes files that may require special tools to rebuild."
31800 +install-info: install-info-am
31806 maintainer-clean: maintainer-clean-am
31808 +maintainer-clean-am: distclean-am maintainer-clean-generic
31810 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
31811 -installcheck-am installcheck install-exec-am install-exec \
31812 -install-data-am install-data install-am install uninstall-am uninstall \
31813 -all-redirect all-am all installdirs mostlyclean-generic \
31814 -distclean-generic clean-generic maintainer-clean-generic clean \
31815 -mostlyclean distclean maintainer-clean
31816 +mostlyclean: mostlyclean-am
31818 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
31824 +uninstall-am: uninstall-info-am
31826 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
31827 + distclean distclean-generic distclean-libtool distdir dvi \
31828 + dvi-am html html-am info info-am install install-am \
31829 + install-data install-data-am install-exec install-exec-am \
31830 + install-info install-info-am install-man install-strip \
31831 + installcheck installcheck-am installdirs maintainer-clean \
31832 + maintainer-clean-generic mostlyclean mostlyclean-generic \
31833 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
31834 + uninstall-info-am
31837 atm-linux-howto/atm-linux-howto.html: ${HOWTO}
31838 @@ -231,7 +345,6 @@
31841 -rm -rf atm-linux-howto/ *.ps *.pdf *.rtf *.out
31843 # Tell versions [3.59,3.63) of GNU make to not export all variables.
31844 # Otherwise a system limit (for SysV at least) may be exceeded.
31846 diff -urN atm.old/ltmain.sh atm.dev/ltmain.sh
31847 --- atm.old/ltmain.sh 2007-10-20 16:57:33.241995701 +0200
31848 +++ atm.dev/ltmain.sh 2006-03-22 01:06:55.000000000 +0100
31850 # ltmain.sh - Provide generalized library-building support services.
31851 # NOTE: Changing this file will not affect anything until you rerun configure.
31853 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
31854 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
31855 # Free Software Foundation, Inc.
31856 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31858 @@ -17,13 +17,41 @@
31860 # You should have received a copy of the GNU General Public License
31861 # along with this program; if not, write to the Free Software
31862 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31863 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31865 # As a special exception to the GNU General Public License, if you
31866 # distribute this file as part of a program that contains a
31867 # configuration script generated by Autoconf, you may include it under
31868 # the same distribution terms that you use for the rest of that program.
31870 +basename="s,^.*/,,g"
31872 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
31873 +# is ksh but when the shell is invoked as "sh" and the current value of
31874 +# the _XPG environment variable is not equal to 1 (one), the special
31875 +# positional parameter $0, within a function call, is the name of the
31879 +# The name of this program:
31880 +progname=`echo "$progpath" | $SED $basename`
31881 +modename="$progname"
31883 +# Global variables:
31889 +VERSION="1.5.22 Debian 1.5.22-4"
31890 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
31892 +# See if we are running on zsh, and set the options which allow our
31893 +# commands through without removal of \ escapes.
31894 +if test -n "${ZSH_VERSION+set}" ; then
31895 + setopt NO_GLOB_SUBST
31898 # Check that we have a working $echo.
31899 if test "X$1" = X--no-reexec; then
31900 # Discard the --no-reexec flag, and continue.
31904 # Restart under the correct shell, and then maybe $echo will work.
31905 - exec $SHELL "$0" --no-reexec ${1+"$@"}
31906 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
31909 if test "X$1" = X--fallback-echo; then
31915 + exit $EXIT_SUCCESS
31918 -# The name of this program.
31919 -progname=`$echo "$0" | ${SED} 's%^.*/%%'`
31920 -modename="$progname"
31926 -TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"
31929 help="Try \`$progname --help' for more information."
31930 magic="%%%MAGIC variable%%%"
31931 @@ -69,17 +87,18 @@
31932 # metacharacters that are still active within double-quoted strings.
31933 Xsed="${SED}"' -e 1s/^X//'
31934 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
31935 -# test EBCDIC or ASCII
31936 -case `echo A|od -x` in
31937 - *[Cc]1*) # EBCDIC based system
31938 - SP2NL="tr '\100' '\n'"
31939 - NL2SP="tr '\r\n' '\100\100'"
31941 - *) # Assume ASCII based system
31942 - SP2NL="tr '\040' '\012'"
31943 - NL2SP="tr '\015\012' '\040\040'"
31946 +# test EBCDIC or ASCII
31947 +case `echo X|tr X '\101'` in
31948 + A) # ASCII based system
31949 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
31950 + SP2NL='tr \040 \012'
31951 + NL2SP='tr \015\012 \040\040'
31953 + *) # EBCDIC based system
31954 + SP2NL='tr \100 \n'
31955 + NL2SP='tr \r\n \100\100'
31960 # Only set LANG and LC_ALL to C if already set.
31961 @@ -94,12 +113,14 @@
31964 # Make sure IFS has a sensible default
31970 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
31971 - echo "$modename: not configured to build any kind of library" 1>&2
31972 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31974 + $echo "$modename: not configured to build any kind of library" 1>&2
31975 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31976 + exit $EXIT_FAILURE
31979 # Global variables.
31980 @@ -111,11 +132,268 @@
31986 lo2o="s/\\.lo\$/.${objext}/"
31987 o2lo="s/\\.${objext}\$/.lo/"
31989 +#####################################
31990 +# Shell function definitions:
31991 +# This seems to be the best place for them
31993 +# func_mktempdir [string]
31994 +# Make a temporary directory that won't clash with other running
31995 +# libtool processes, and avoids race conditions if possible. If
31996 +# given, STRING is the basename for that directory.
31999 + my_template="${TMPDIR-/tmp}/${1-$progname}"
32001 + if test "$run" = ":"; then
32002 + # Return a directory name, but don't create it in dry-run mode
32003 + my_tmpdir="${my_template}-$$"
32006 + # If mktemp works, use that first and foremost
32007 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
32009 + if test ! -d "$my_tmpdir"; then
32010 + # Failing that, at least try and use $RANDOM to avoid a race
32011 + my_tmpdir="${my_template}-${RANDOM-0}$$"
32013 + save_mktempdir_umask=`umask`
32015 + $mkdir "$my_tmpdir"
32016 + umask $save_mktempdir_umask
32019 + # If we're not in dry-run mode, bomb out on failure
32020 + test -d "$my_tmpdir" || {
32021 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
32022 + exit $EXIT_FAILURE
32026 + $echo "X$my_tmpdir" | $Xsed
32030 +# func_win32_libid arg
32031 +# return the library type of file 'arg'
32033 +# Need a lot of goo to handle *both* DLLs and import libs
32034 +# Has to be a shell function in order to 'eat' the argument
32035 +# that is supplied when $file_magic_command is called.
32036 +func_win32_libid ()
32038 + win32_libid_type="unknown"
32039 + win32_fileres=`file -L $1 2>/dev/null`
32040 + case $win32_fileres in
32041 + *ar\ archive\ import\ library*) # definitely import
32042 + win32_libid_type="x86 archive import"
32044 + *ar\ archive*) # could be an import, or static
32045 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
32046 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
32047 + win32_nmres=`eval $NM -f posix -A $1 | \
32048 + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
32049 + case $win32_nmres in
32050 + import*) win32_libid_type="x86 archive import";;
32051 + *) win32_libid_type="x86 archive static";;
32056 + win32_libid_type="x86 DLL"
32058 + *executable*) # but shell scripts are "executable" too...
32059 + case $win32_fileres in
32060 + *MS\ Windows\ PE\ Intel*)
32061 + win32_libid_type="x86 DLL"
32066 + $echo $win32_libid_type
32070 +# func_infer_tag arg
32071 +# Infer tagged configuration to use if any are available and
32072 +# if one wasn't chosen via the "--tag" command line option.
32073 +# Only attempt this if the compiler in the base compile
32074 +# command doesn't match the default compiler.
32075 +# arg is usually of the form 'gcc ...'
32078 + if test -n "$available_tags" && test -z "$tagname"; then
32080 + for arg in $CC; do
32082 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32086 + CC_quoted="$CC_quoted $arg"
32089 + # Blanks in the command may have been stripped by the calling shell,
32090 + # but not from the CC environment variable when configure was run.
32091 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
32092 + # Blanks at the start of $base_compile will cause this to fail
32093 + # if we don't check for them as well.
32095 + for z in $available_tags; do
32096 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
32097 + # Evaluate the configuration.
32098 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
32100 + for arg in $CC; do
32101 + # Double-quote args containing other shell metacharacters.
32103 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32107 + CC_quoted="$CC_quoted $arg"
32110 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
32111 + # The compiler in the base compile command matches
32112 + # the one in the tagged configuration.
32113 + # Assume this is the tagged configuration we want.
32120 + # If $tagname still isn't set, then no tagged configuration
32121 + # was found and let the user know that the "--tag" command
32122 + # line option must be used.
32123 + if test -z "$tagname"; then
32124 + $echo "$modename: unable to infer tagged configuration"
32125 + $echo "$modename: specify a tag with \`--tag'" 1>&2
32126 + exit $EXIT_FAILURE
32128 +# $echo "$modename: using $tagname tagged configuration"
32136 +# func_extract_an_archive dir oldlib
32137 +func_extract_an_archive ()
32139 + f_ex_an_ar_dir="$1"; shift
32140 + f_ex_an_ar_oldlib="$1"
32142 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
32143 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
32144 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
32147 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
32148 + exit $EXIT_FAILURE
32152 +# func_extract_archives gentop oldlib ...
32153 +func_extract_archives ()
32155 + my_gentop="$1"; shift
32156 + my_oldlibs=${1+"$@"}
32163 + $show "${rm}r $my_gentop"
32164 + $run ${rm}r "$my_gentop"
32165 + $show "$mkdir $my_gentop"
32166 + $run $mkdir "$my_gentop"
32168 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
32172 + for my_xlib in $my_oldlibs; do
32173 + # Extract the objects.
32175 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
32176 + *) my_xabs=`pwd`"/$my_xlib" ;;
32178 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
32179 + my_xdir="$my_gentop/$my_xlib"
32181 + $show "${rm}r $my_xdir"
32182 + $run ${rm}r "$my_xdir"
32183 + $show "$mkdir $my_xdir"
32184 + $run $mkdir "$my_xdir"
32186 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
32187 + exit $exit_status
32191 + $show "Extracting $my_xabs"
32192 + # Do not bother doing anything if just a dry run
32193 + if test -z "$run"; then
32194 + darwin_orig_dir=`pwd`
32195 + cd $my_xdir || exit $?
32196 + darwin_archive=$my_xabs
32197 + darwin_curdir=`pwd`
32198 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
32199 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
32200 + if test -n "$darwin_arches"; then
32201 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
32203 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
32204 + for darwin_arch in $darwin_arches ; do
32205 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32206 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
32207 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32208 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
32209 + cd "$darwin_curdir"
32210 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
32211 + done # $darwin_arches
32212 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
32213 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
32216 + for darwin_file in $darwin_filelist; do
32217 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
32218 + lipo -create -output "$darwin_file" $darwin_files
32219 + done # $darwin_filelist
32221 + cd "$darwin_orig_dir"
32223 + cd "$darwin_orig_dir"
32224 + func_extract_an_archive "$my_xdir" "$my_xabs"
32225 + fi # $darwin_arches
32229 + func_extract_an_archive "$my_xdir" "$my_xabs"
32232 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
32234 + func_extract_archives_result="$my_oldobjs"
32236 +# End of Shell function definitions
32237 +#####################################
32240 +eval std_shrext=\"$shrext_cmds\"
32244 # Parse our command line options once, thoroughly.
32245 -while test $# -gt 0
32246 +while test "$#" -gt 0
32250 @@ -131,6 +409,34 @@
32252 execute_dlfiles="$execute_dlfiles $arg"
32256 + preserve_args="${preserve_args}=$arg"
32258 + # Check whether tagname contains only valid characters
32260 + *[!-_A-Za-z0-9,/]*)
32261 + $echo "$progname: invalid tag name: $tagname" 1>&2
32262 + exit $EXIT_FAILURE
32268 + # Don't test for the "default" C tag, as we know, it's there, but
32269 + # not specially marked.
32272 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
32273 + taglist="$taglist $tagname"
32274 + # Evaluate the configuration.
32275 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
32277 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
32285 @@ -148,18 +454,27 @@
32289 - echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32291 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32293 + $echo "Copyright (C) 2005 Free Software Foundation, Inc."
32294 + $echo "This is free software; see the source for copying conditions. There is NO"
32295 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
32300 - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
32302 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
32303 + # Now print the configurations for the tags.
32304 + for tagname in $taglist; do
32305 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
32311 - echo "$progname: enabling shell trace mode"
32312 + $echo "$progname: enabling shell trace mode"
32314 + preserve_args="$preserve_args $arg"
32318 @@ -167,18 +482,18 @@
32322 - echo "host: $host"
32323 + $echo "host: $host"
32324 if test "$build_libtool_libs" = yes; then
32325 - echo "enable shared libraries"
32326 + $echo "enable shared libraries"
32328 - echo "disable shared libraries"
32329 + $echo "disable shared libraries"
32331 if test "$build_old_libs" = yes; then
32332 - echo "enable static libraries"
32333 + $echo "enable static libraries"
32335 - echo "disable static libraries"
32336 + $echo "disable static libraries"
32342 --finish) mode="finish" ;;
32343 @@ -190,6 +505,19 @@
32345 --quiet | --silent)
32347 + preserve_args="$preserve_args $arg"
32353 + preserve_args="$preserve_args --tag"
32356 + set tag "$optarg" ${1+"$@"}
32359 + preserve_args="$preserve_args --tag"
32363 @@ -200,7 +528,7 @@
32365 $echo "$modename: unrecognized option \`$arg'" 1>&2
32368 + exit $EXIT_FAILURE
32372 @@ -213,9 +541,21 @@
32373 if test -n "$prevopt"; then
32374 $echo "$modename: option \`$prevopt' requires an argument" 1>&2
32377 + exit $EXIT_FAILURE
32380 +case $disable_libs in
32384 + build_libtool_libs=no
32385 + build_old_libs=yes
32388 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
32392 # If this variable is set in any of the actions, the command in it
32393 # will be execed at the end. This prevents here-documents from being
32394 # left over by shells.
32395 @@ -225,8 +565,10 @@
32397 # Infer the operation mode.
32398 if test -z "$mode"; then
32399 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
32400 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
32402 - *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
32403 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
32407 @@ -267,7 +609,7 @@
32408 if test -n "$execute_dlfiles" && test "$mode" != execute; then
32409 $echo "$modename: unrecognized option \`-dlopen'" 1>&2
32412 + exit $EXIT_FAILURE
32415 # Change the help message to a mode-specific one.
32416 @@ -281,158 +623,127 @@
32417 modename="$modename: compile"
32418 # Get the compilation command and the source file.
32422 - srcfile="$nonopt"
32423 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
32436 - # Aesthetically quote the previous argument.
32438 - lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
32441 - # Double-quote args containing other shell metacharacters.
32442 - # Many Bourne shells cannot handle close brackets correctly
32443 - # in scan sets, so we specify it separately.
32444 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32449 - # Add the previous argument to base_compile.
32450 - if test -z "$base_compile"; then
32451 - base_compile="$lastarg"
32453 - base_compile="$base_compile $lastarg"
32456 + case $arg_mode in
32458 + # do not "continue". Instead, add this to base_compile
32464 - # Accept any command-line options.
32467 - if test "$user_target" != "no"; then
32468 - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32475 - build_old_libs=yes
32487 + # Accept any command-line options.
32490 + if test -n "$libobj" ; then
32491 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32492 + exit $EXIT_FAILURE
32502 + -static | -prefer-pic | -prefer-non-pic)
32503 + later="$later $arg"
32517 - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32519 - save_ifs="$IFS"; IFS=','
32520 - for arg in $args; do
32523 + arg_mode=arg # the next one goes into the "base_compile" arg list
32524 + continue # The current "srcfile" will either be retained or
32525 + ;; # replaced later. I would guess that would be a bug.
32528 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32530 + save_ifs="$IFS"; IFS=','
32531 + for arg in $args; do
32534 - # Double-quote args containing other shell metacharacters.
32535 - # Many Bourne shells cannot handle close brackets correctly
32536 - # in scan sets, so we specify it separately.
32538 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32542 - lastarg="$lastarg $arg"
32545 - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32546 + # Double-quote args containing other shell metacharacters.
32547 + # Many Bourne shells cannot handle close brackets correctly
32548 + # in scan sets, so we specify it separately.
32550 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32554 + lastarg="$lastarg $arg"
32557 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32559 - # Add the arguments to base_compile.
32560 - if test -z "$base_compile"; then
32561 - base_compile="$lastarg"
32563 + # Add the arguments to base_compile.
32564 base_compile="$base_compile $lastarg"
32572 - case $user_target in
32574 - # The next one is the -o target name
32579 - # We got the output file
32584 + # Accept the current argument as the source file.
32585 + # The previous "srcfile" becomes the current argument.
32587 + lastarg="$srcfile"
32594 - # Accept the current argument as the source file.
32595 - lastarg="$srcfile"
32597 + esac # case $arg_mode
32599 # Aesthetically quote the previous argument.
32601 - # Backslashify any backslashes, double quotes, and dollar signs.
32602 - # These are the only characters that are still specially
32603 - # interpreted inside of double-quoted scrings.
32604 lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
32607 # Double-quote args containing other shell metacharacters.
32608 # Many Bourne shells cannot handle close brackets correctly
32609 - # in scan sets, so we specify it separately.
32611 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
32612 + # in scan sets (worked around with variable expansion),
32613 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
32614 + # at all, so we specify them separately.
32615 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32616 lastarg="\"$lastarg\""
32620 - # Add the previous argument to base_compile.
32621 - if test -z "$base_compile"; then
32622 - base_compile="$lastarg"
32624 - base_compile="$base_compile $lastarg"
32627 + base_compile="$base_compile $lastarg"
32630 - case $user_target in
32632 + case $arg_mode in
32634 + $echo "$modename: you must specify an argument for -Xcompile"
32635 + exit $EXIT_FAILURE
32638 - # Get the name of the library object.
32639 - libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32641 + $echo "$modename: you must specify a target with \`-o'" 1>&2
32642 + exit $EXIT_FAILURE
32645 - $echo "$modename: you must specify a target with \`-o'" 1>&2
32647 + # Get the name of the library object.
32648 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32652 # Recognize several different file suffixes.
32653 # If the user specifies -o file.o, it is replaced with file.lo
32654 - xform='[cCFSfmso]'
32655 + xform='[cCFSifmso]'
32657 *.ada) xform=ada ;;
32658 *.adb) xform=adb ;;
32659 @@ -440,10 +751,13 @@
32660 *.asm) xform=asm ;;
32661 *.c++) xform=c++ ;;
32663 + *.ii) xform=ii ;;
32664 + *.class) xform=class ;;
32665 *.cpp) xform=cpp ;;
32666 *.cxx) xform=cxx ;;
32667 *.f90) xform=f90 ;;
32668 *.for) xform=for ;;
32669 + *.java) xform=java ;;
32672 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
32673 @@ -452,25 +766,63 @@
32674 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
32676 $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
32678 + exit $EXIT_FAILURE
32682 + func_infer_tag $base_compile
32684 + for arg in $later; do
32687 + build_old_libs=yes
32703 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
32705 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32706 + qlibobj="\"$qlibobj\"" ;;
32708 + test "X$libobj" != "X$qlibobj" \
32709 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
32710 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
32711 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
32712 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32713 + if test "X$xdir" = "X$obj"; then
32718 + lobj=${xdir}$objdir/$objname
32720 if test -z "$base_compile"; then
32721 $echo "$modename: you must specify a compilation command" 1>&2
32724 + exit $EXIT_FAILURE
32727 # Delete any leftover library objects.
32728 if test "$build_old_libs" = yes; then
32729 - removelist="$obj $libobj"
32730 + removelist="$obj $lobj $libobj ${libobj}T"
32732 - removelist="$libobj"
32733 + removelist="$lobj $libobj ${libobj}T"
32736 $run $rm $removelist
32737 - trap "$run $rm $removelist; exit 1" 1 2 15
32738 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32740 # On Cygwin there's no "real" PIC flag so we must build both object types
32742 @@ -489,8 +841,9 @@
32743 output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
32744 lockfile="$output_obj.lock"
32745 removelist="$removelist $output_obj $lockfile"
32746 - trap "$run $rm $removelist; exit 1" 1 2 15
32747 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32753 @@ -498,13 +851,13 @@
32754 # Lock this critical section if it is needed
32755 # We use this script file to make the link, it avoids creating a new file
32756 if test "$need_locks" = yes; then
32757 - until $run ln "$0" "$lockfile" 2>/dev/null; do
32758 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
32759 $show "Waiting for $lockfile to be removed"
32762 elif test "$need_locks" = warn; then
32763 if test -f "$lockfile"; then
32766 *** ERROR, $lockfile exists and contains:
32767 `cat $lockfile 2>/dev/null`
32769 @@ -516,14 +869,33 @@
32772 $run $rm $removelist
32774 + exit $EXIT_FAILURE
32776 - echo $srcfile > "$lockfile"
32777 + $echo "$srcfile" > "$lockfile"
32780 if test -n "$fix_srcfile_path"; then
32781 eval srcfile=\"$fix_srcfile_path\"
32783 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
32784 + case $qsrcfile in
32785 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32786 + qsrcfile="\"$qsrcfile\"" ;;
32789 + $run $rm "$libobj" "${libobj}T"
32791 + # Create a libtool object file (analogous to a ".la" file),
32792 + # but don't create it if we're doing a dry run.
32793 + test -z "$run" && cat > ${libobj}T <<EOF
32794 +# $libobj - a libtool object file
32795 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
32797 +# Please DO NOT delete this file!
32798 +# It is necessary for linking the library.
32800 +# Name of the PIC object.
32803 # Only build a PIC object if we are building libtool libraries.
32804 if test "$build_libtool_libs" = yes; then
32805 @@ -531,53 +903,38 @@
32806 fbsd_hideous_sh_bug=$base_compile
32808 if test "$pic_mode" != no; then
32809 - # All platforms use -DPIC, to notify preprocessed assembler code.
32810 - command="$base_compile $srcfile $pic_flag -DPIC"
32811 + command="$base_compile $qsrcfile $pic_flag"
32813 # Don't build PIC code
32814 - command="$base_compile $srcfile"
32815 + command="$base_compile $qsrcfile"
32817 - if test "$build_old_libs" = yes; then
32818 - lo_libobj="$libobj"
32819 - dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
32820 - if test "X$dir" = "X$libobj"; then
32823 - dir="$dir/$objdir"
32825 - libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
32827 - if test -d "$dir"; then
32828 - $show "$rm $libobj"
32831 - $show "$mkdir $dir"
32834 - if test $status -ne 0 && test ! -d $dir; then
32837 + if test ! -d "${xdir}$objdir"; then
32838 + $show "$mkdir ${xdir}$objdir"
32839 + $run $mkdir ${xdir}$objdir
32841 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
32842 + exit $exit_status
32845 - if test "$compiler_o_lo" = yes; then
32846 - output_obj="$libobj"
32847 - command="$command -o $output_obj"
32848 - elif test "$compiler_c_o" = yes; then
32849 - output_obj="$obj"
32850 - command="$command -o $output_obj"
32852 + if test -z "$output_obj"; then
32853 + # Place PIC objects in $objdir
32854 + command="$command -o $lobj"
32857 - $run $rm "$output_obj"
32858 + $run $rm "$lobj" "$output_obj"
32861 if $run eval "$command"; then :
32863 test -n "$output_obj" && $run $rm $removelist
32865 + exit $EXIT_FAILURE
32868 if test "$need_locks" = warn &&
32869 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32871 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32873 *** ERROR, $lockfile contains:
32874 `cat $lockfile 2>/dev/null`
32876 @@ -592,13 +949,13 @@
32879 $run $rm $removelist
32881 + exit $EXIT_FAILURE
32884 # Just move the object if needed, then go on to compile the next one
32885 - if test x"$output_obj" != x"$libobj"; then
32886 - $show "$mv $output_obj $libobj"
32887 - if $run $mv $output_obj $libobj; then :
32888 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
32889 + $show "$mv $output_obj $lobj"
32890 + if $run $mv $output_obj $lobj; then :
32893 $run $rm $removelist
32894 @@ -606,77 +963,50 @@
32898 - # If we have no pic_flag, then copy the object into place and finish.
32899 - if (test -z "$pic_flag" || test "$pic_mode" != default) &&
32900 - test "$build_old_libs" = yes; then
32901 - # Rename the .lo from within objdir to obj
32902 - if test -f $obj; then
32906 + # Append the name of the PIC object to the libtool object file.
32907 + test -z "$run" && cat >> ${libobj}T <<EOF
32908 +pic_object='$objdir/$objname'
32910 - $show "$mv $libobj $obj"
32911 - if $run $mv $libobj $obj; then :
32914 - $run $rm $removelist
32919 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32920 - if test "X$xdir" = "X$obj"; then
32925 - baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
32926 - libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
32927 - # Now arrange that obj and lo_libobj become the same file
32928 - $show "(cd $xdir && $LN_S $baseobj $libobj)"
32929 - if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
32930 - # Unlock the critical section if it was locked
32931 - if test "$need_locks" != no; then
32932 - $run $rm "$lockfile"
32937 - $run $rm $removelist
32940 + # Allow error messages only from the first compilation.
32941 + if test "$suppress_opt" = yes; then
32942 + suppress_output=' >/dev/null 2>&1'
32945 + # No PIC object so indicate it doesn't exist in the libtool
32947 + test -z "$run" && cat >> ${libobj}T <<EOF
32950 - # Allow error messages only from the first compilation.
32951 - suppress_output=' >/dev/null 2>&1'
32955 # Only build a position-dependent object if we build old libraries.
32956 if test "$build_old_libs" = yes; then
32957 if test "$pic_mode" != yes; then
32958 # Don't build PIC code
32959 - command="$base_compile $srcfile"
32960 + command="$base_compile $qsrcfile"
32962 - # All platforms use -DPIC, to notify preprocessed assembler code.
32963 - command="$base_compile $srcfile $pic_flag -DPIC"
32964 + command="$base_compile $qsrcfile $pic_flag"
32966 if test "$compiler_c_o" = yes; then
32967 command="$command -o $obj"
32968 - output_obj="$obj"
32971 # Suppress compiler output if we already did a PIC compilation.
32972 command="$command$suppress_output"
32973 - $run $rm "$output_obj"
32974 + $run $rm "$obj" "$output_obj"
32976 if $run eval "$command"; then :
32978 $run $rm $removelist
32980 + exit $EXIT_FAILURE
32983 if test "$need_locks" = warn &&
32984 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32986 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32988 *** ERROR, $lockfile contains:
32989 `cat $lockfile 2>/dev/null`
32991 @@ -691,11 +1021,11 @@
32994 $run $rm $removelist
32996 + exit $EXIT_FAILURE
32999 # Just move the object if needed
33000 - if test x"$output_obj" != x"$obj"; then
33001 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
33002 $show "$mv $output_obj $obj"
33003 if $run $mv $output_obj $obj; then :
33005 @@ -705,29 +1035,31 @@
33009 - # Create an invalid libtool object if no PIC, so that we do not
33010 - # accidentally link it into a program.
33011 - if test "$build_libtool_libs" != yes; then
33012 - $show "echo timestamp > $libobj"
33013 - $run eval "echo timestamp > \$libobj" || exit $?
33015 - # Move the .lo from within objdir
33016 - $show "$mv $libobj $lo_libobj"
33017 - if $run $mv $libobj $lo_libobj; then :
33020 - $run $rm $removelist
33024 + # Append the name of the non-PIC object the libtool object file.
33025 + # Only append if the libtool object file exists.
33026 + test -z "$run" && cat >> ${libobj}T <<EOF
33027 +# Name of the non-PIC object.
33028 +non_pic_object='$objname'
33032 + # Append the name of the non-PIC object the libtool object file.
33033 + # Only append if the libtool object file exists.
33034 + test -z "$run" && cat >> ${libobj}T <<EOF
33035 +# Name of the non-PIC object.
33036 +non_pic_object=none
33041 + $run $mv "${libobj}T" "${libobj}"
33043 # Unlock the critical section if it was locked
33044 if test "$need_locks" != no; then
33045 $run $rm "$lockfile"
33049 + exit $EXIT_SUCCESS
33052 # libtool link mode
33053 @@ -738,7 +1070,7 @@
33054 # It is impossible to link a dll without this setting, and
33055 # we shouldn't force the makefile maintainer to figure out
33056 # which system we are compiling for in order to pass an extra
33057 - # flag for every libtool invokation.
33058 + # flag for every libtool invocation.
33059 # allow_undefined=no
33061 # FIXME: Unfortunately, there are problems with the above when trying
33062 @@ -753,6 +1085,7 @@
33065 libtool_args="$nonopt"
33066 + base_compile="$nonopt $@"
33067 compile_command="$nonopt"
33068 finalize_command="$nonopt"
33070 @@ -783,6 +1116,9 @@
33075 + notinst_path= # paths that contain not-installed libtool libraries
33076 + precious_files_regex=
33077 prefer_static_libs=no
33080 @@ -794,6 +1130,9 @@
33086 + func_infer_tag $base_compile
33088 # We need to know -static, to get the right output filenames.
33090 @@ -807,14 +1146,15 @@
33091 if test -n "$link_static_flag"; then
33092 dlopen_self=$dlopen_self_static
33094 + prefer_static_libs=yes
33096 if test -z "$pic_flag" && test -n "$link_static_flag"; then
33097 dlopen_self=$dlopen_self_static
33099 + prefer_static_libs=built
33101 build_libtool_libs=no
33103 - prefer_static_libs=yes
33107 @@ -824,7 +1164,7 @@
33108 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
33110 # Go through the arguments, transforming them on the way.
33111 - while test $# -gt 0; do
33112 + while test "$#" -gt 0; do
33116 @@ -889,7 +1229,7 @@
33117 export_symbols="$arg"
33118 if test ! -f "$arg"; then
33119 $echo "$modename: symbol file \`$arg' does not exist"
33121 + exit $EXIT_FAILURE
33125 @@ -904,18 +1244,135 @@
33130 + precious_files_regex="$arg"
33140 + if test -f "$arg"; then
33143 + for fil in `cat $save_arg`
33145 +# moreargs="$moreargs $fil"
33147 + # A libtool-controlled object.
33149 + # Check to see that this really is a libtool object.
33150 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33154 + # Read the .lo file
33155 + # If there is no directory component, then add one.
33157 + */* | *\\*) . $arg ;;
33161 + if test -z "$pic_object" || \
33162 + test -z "$non_pic_object" ||
33163 + test "$pic_object" = none && \
33164 + test "$non_pic_object" = none; then
33165 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33166 + exit $EXIT_FAILURE
33169 + # Extract subdirectory from the argument.
33170 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33171 + if test "X$xdir" = "X$arg"; then
33177 + if test "$pic_object" != none; then
33178 + # Prepend the subdirectory the object is found in.
33179 + pic_object="$xdir$pic_object"
33181 + if test "$prev" = dlfiles; then
33182 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33183 + dlfiles="$dlfiles $pic_object"
33187 + # If libtool objects are unsupported, then we need to preload.
33192 + # CHECK ME: I think I busted this. -Ossama
33193 + if test "$prev" = dlprefiles; then
33194 + # Preload the old-style object.
33195 + dlprefiles="$dlprefiles $pic_object"
33200 + libobjs="$libobjs $pic_object"
33201 + arg="$pic_object"
33204 + # Non-PIC object.
33205 + if test "$non_pic_object" != none; then
33206 + # Prepend the subdirectory the object is found in.
33207 + non_pic_object="$xdir$non_pic_object"
33209 + # A standard non-PIC object
33210 + non_pic_objects="$non_pic_objects $non_pic_object"
33211 + if test -z "$pic_object" || test "$pic_object" = none ; then
33212 + arg="$non_pic_object"
33215 + # If the PIC object exists, use it instead.
33216 + # $xdir was prepended to $pic_object above.
33217 + non_pic_object="$pic_object"
33218 + non_pic_objects="$non_pic_objects $non_pic_object"
33221 + # Only an error if not doing a dry-run.
33222 + if test -z "$run"; then
33223 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33224 + exit $EXIT_FAILURE
33228 + # Extract subdirectory from the argument.
33229 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33230 + if test "X$xdir" = "X$arg"; then
33236 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33237 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33238 + libobjs="$libobjs $pic_object"
33239 + non_pic_objects="$non_pic_objects $non_pic_object"
33244 + $echo "$modename: link input file \`$save_arg' does not exist"
33245 + exit $EXIT_FAILURE
33252 # We need an absolute path.
33254 [\\/]* | [A-Za-z]:[\\/]*) ;;
33256 $echo "$modename: only absolute run-paths are allowed" 1>&2
33258 + exit $EXIT_FAILURE
33261 if test "$prev" = rpath; then
33262 @@ -947,13 +1404,33 @@
33263 finalize_command="$finalize_command $wl$qarg"
33267 + linker_flags="$linker_flags $qarg"
33268 + compiler_flags="$compiler_flags $qarg"
33270 + compile_command="$compile_command $qarg"
33271 + finalize_command="$finalize_command $qarg"
33275 + shrext_cmds="$arg"
33279 + darwin_framework|darwin_framework_skip)
33280 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
33281 + compile_command="$compile_command $arg"
33282 + finalize_command="$finalize_command $arg"
33287 eval "$prev=\"\$arg\""
33292 - fi # test -n $prev
33293 + fi # test -n "$prev"
33297 @@ -995,7 +1472,7 @@
33298 -export-symbols | -export-symbols-regex)
33299 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
33300 $echo "$modename: more than one -exported-symbols argument is not allowed"
33302 + exit $EXIT_FAILURE
33304 if test "X$arg" = "X-export-symbols"; then
33306 @@ -1005,16 +1482,28 @@
33310 + -framework|-arch|-isysroot)
33312 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
33313 + prev=darwin_framework_skip ;;
33314 + *) compiler_flags="$compiler_flags $arg"
33315 + prev=darwin_framework ;;
33317 + compile_command="$compile_command $arg"
33318 + finalize_command="$finalize_command $arg"
33330 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
33331 # so, if we see these flags be careful not to treat them like -L
33333 case $with_gcc/$host in
33334 - no/*-*-irix* | no/*-*-nonstopux*)
33335 + no/*-*-irix* | /*-*-irix*)
33336 compile_command="$compile_command $arg"
33337 finalize_command="$finalize_command $arg"
33339 @@ -1031,7 +1520,8 @@
33340 absdir=`cd "$dir" && pwd`
33341 if test -z "$absdir"; then
33342 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
33345 + notinst_path="$notinst_path $dir"
33349 @@ -1045,10 +1535,15 @@
33352 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
33353 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
33354 case :$dllsearchpath: in
33356 *) dllsearchpath="$dllsearchpath:$dir";;
33358 + case :$dllsearchpath: in
33359 + *":$testbindir:"*) ;;
33360 + *) dllsearchpath="$dllsearchpath:$testbindir";;
33365 @@ -1057,36 +1552,98 @@
33367 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
33369 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
33370 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
33371 # These systems don't actually have a C or math library (as such)
33374 - *-*-mingw* | *-*-os2*)
33376 # These systems don't actually have a C library (as such)
33377 test "X$arg" = "X-lc" && continue
33379 - *-*-openbsd* | *-*-freebsd*)
33380 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33381 # Do not include libc due to us having libc/libc_r.
33382 test "X$arg" = "X-lc" && continue
33385 - elif test "X$arg" = "X-lc_r"; then
33387 - *-*-openbsd* | *-*-freebsd*)
33388 - # Do not include libc_r directly, use -pthread flag.
33389 + *-*-rhapsody* | *-*-darwin1.[012])
33390 + # Rhapsody C and math libraries are in the System framework
33391 + deplibs="$deplibs -framework System"
33394 + *-*-sco3.2v5* | *-*-sco5v6*)
33395 + # Causes problems with __ctype
33396 + test "X$arg" = "X-lc" && continue
33398 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
33399 + # Compiler inserts libc in the correct place for threads to work
33400 + test "X$arg" = "X-lc" && continue
33403 + elif test "X$arg" = "X-lc_r"; then
33405 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33406 + # Do not include libc_r directly, use -pthread flag.
33411 deplibs="$deplibs $arg"
33415 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
33416 + # classes, name mangling, and exception handling.
33418 + compile_command="$compile_command $arg"
33419 + compiler_flags="$compiler_flags $arg"
33420 + finalize_command="$finalize_command $arg"
33425 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33426 + compiler_flags="$compiler_flags $arg"
33427 + compile_command="$compile_command $arg"
33428 + finalize_command="$finalize_command $arg"
33437 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
33438 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
33439 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
33440 + # +DA*, +DD* enable 64-bit mode on the HP compiler
33441 + # -q* pass through compiler args for the IBM compiler
33442 + # -m* pass through architecture-specific compiler args for GCC
33443 + # -m*, -t[45]*, -txscale* pass through architecture-specific
33444 + # compiler args for GCC
33445 + # -pg pass through profiling flag for GCC
33446 + # @file GCC response files
33447 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
33448 + -t[45]*|-txscale*|@*)
33450 + # Unknown arguments in both finalize_command and compile_command need
33451 + # to be aesthetically quoted because they are evaled later.
33452 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
33454 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
33458 + compile_command="$compile_command $arg"
33459 + finalize_command="$finalize_command $arg"
33460 + compiler_flags="$compiler_flags $arg"
33472 @@ -1111,8 +1668,18 @@
33483 + -precious-files-regex)
33484 + prev=precious_regex
33491 @@ -1135,7 +1702,7 @@
33492 [\\/]* | [A-Za-z]:[\\/]*) ;;
33494 $echo "$modename: only absolute run-paths are allowed" 1>&2
33496 + exit $EXIT_FAILURE
33500 @@ -1163,6 +1730,11 @@
33511 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
33512 @@ -1211,6 +1783,11 @@
33521 # Some other compiler flag.
33523 # Unknown arguments in both finalize_command and compile_command need
33524 @@ -1223,29 +1800,106 @@
33528 - *.lo | *.$objext)
33529 - # A library or standard object.
33530 - if test "$prev" = dlfiles; then
33531 - # This file was specified with -dlopen.
33532 - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33533 - dlfiles="$dlfiles $arg"
33537 - # If libtool objects are unsupported, then we need to preload.
33540 + # A standard object.
33541 + objs="$objs $arg"
33545 + # A libtool-controlled object.
33547 + # Check to see that this really is a libtool object.
33548 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33552 + # Read the .lo file
33553 + # If there is no directory component, then add one.
33555 + */* | *\\*) . $arg ;;
33559 + if test -z "$pic_object" || \
33560 + test -z "$non_pic_object" ||
33561 + test "$pic_object" = none && \
33562 + test "$non_pic_object" = none; then
33563 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33564 + exit $EXIT_FAILURE
33567 + # Extract subdirectory from the argument.
33568 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33569 + if test "X$xdir" = "X$arg"; then
33575 + if test "$pic_object" != none; then
33576 + # Prepend the subdirectory the object is found in.
33577 + pic_object="$xdir$pic_object"
33579 + if test "$prev" = dlfiles; then
33580 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33581 + dlfiles="$dlfiles $pic_object"
33585 + # If libtool objects are unsupported, then we need to preload.
33590 + # CHECK ME: I think I busted this. -Ossama
33591 + if test "$prev" = dlprefiles; then
33592 + # Preload the old-style object.
33593 + dlprefiles="$dlprefiles $pic_object"
33598 + libobjs="$libobjs $pic_object"
33599 + arg="$pic_object"
33603 - if test "$prev" = dlprefiles; then
33604 - # Preload the old-style object.
33605 - dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
33607 + # Non-PIC object.
33608 + if test "$non_pic_object" != none; then
33609 + # Prepend the subdirectory the object is found in.
33610 + non_pic_object="$xdir$non_pic_object"
33612 + # A standard non-PIC object
33613 + non_pic_objects="$non_pic_objects $non_pic_object"
33614 + if test -z "$pic_object" || test "$pic_object" = none ; then
33615 + arg="$non_pic_object"
33618 + # If the PIC object exists, use it instead.
33619 + # $xdir was prepended to $pic_object above.
33620 + non_pic_object="$pic_object"
33621 + non_pic_objects="$non_pic_objects $non_pic_object"
33625 - *.lo) libobjs="$libobjs $arg" ;;
33626 - *) objs="$objs $arg" ;;
33628 + # Only an error if not doing a dry-run.
33629 + if test -z "$run"; then
33630 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33631 + exit $EXIT_FAILURE
33635 + # Extract subdirectory from the argument.
33636 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33637 + if test "X$xdir" = "X$arg"; then
33643 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33644 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33645 + libobjs="$libobjs $pic_object"
33646 + non_pic_objects="$non_pic_objects $non_pic_object"
33651 @@ -1296,7 +1950,7 @@
33652 if test -n "$prev"; then
33653 $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
33656 + exit $EXIT_FAILURE
33659 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
33660 @@ -1305,6 +1959,7 @@
33661 finalize_command="$finalize_command $arg"
33665 # calculate the name of the file, without its directory
33666 outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
33667 libobjs_save="$libobjs"
33668 @@ -1325,12 +1980,12 @@
33669 output_objdir="$output_objdir/$objdir"
33671 # Create the object directory.
33672 - if test ! -d $output_objdir; then
33673 + if test ! -d "$output_objdir"; then
33674 $show "$mkdir $output_objdir"
33675 $run $mkdir $output_objdir
33677 - if test $status -ne 0 && test ! -d $output_objdir; then
33680 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
33681 + exit $exit_status
33685 @@ -1339,7 +1994,7 @@
33687 $echo "$modename: you must specify an output file" 1>&2
33690 + exit $EXIT_FAILURE
33692 *.$libext) linkmode=oldlib ;;
33693 *.lo | *.$objext) linkmode=obj ;;
33694 @@ -1347,7 +2002,17 @@
33695 *) linkmode=prog ;; # Anything else should be a program.
33699 + *cygwin* | *mingw* | *pw32*)
33700 + # don't eliminate duplications in $postdeps and $predeps
33701 + duplicate_compiler_generated_deps=yes
33704 + duplicate_compiler_generated_deps=$duplicate_deps
33710 # Find all interdependent deplibs by searching for libraries
33711 # that are linked more than once (e.g. -la -lb -la)
33712 @@ -1359,12 +2024,30 @@
33714 libs="$libs $deplib"
33717 + if test "$linkmode" = lib; then
33718 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
33720 + # Compute libraries that are listed more than once in $predeps
33721 + # $postdeps and mark them as special (i.e., whose duplicates are
33722 + # not to be eliminated).
33724 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
33725 + for pre_post_dep in $predeps $postdeps; do
33726 + case "$pre_post_deps " in
33727 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
33729 + pre_post_deps="$pre_post_deps $pre_post_dep"
33736 newdependency_libs=
33737 newlib_search_path=
33738 need_relink=no # whether we're linking any uninstalled libtool libraries
33739 notinst_deplibs= # not-installed libtool libraries
33740 - notinst_path= # paths that contain not-installed libtool libraries
33744 @@ -1373,7 +2056,7 @@
33747 $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
33749 + exit $EXIT_FAILURE
33753 @@ -1390,39 +2073,58 @@
33756 for pass in $passes; do
33757 - if test $linkmode = prog; then
33758 - # Determine which files to process
33759 + if test "$linkmode,$pass" = "lib,link" ||
33760 + test "$linkmode,$pass" = "prog,scan"; then
33764 + if test "$linkmode" = prog; then
33768 - save_deplibs="$deplibs" # Collect dlpreopened libraries
33771 + dlopen) libs="$dlfiles" ;;
33772 dlpreopen) libs="$dlprefiles" ;;
33773 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
33775 + libs="$deplibs %DEPLIBS%"
33776 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
33780 + if test "$pass" = dlopen; then
33781 + # Collect dlpreopened libraries
33782 + save_deplibs="$deplibs"
33785 for deplib in $libs; do
33790 - if test $linkmode = oldlib && test $linkmode = obj; then
33791 - $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
33793 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33794 + if test "$linkmode,$pass" = "prog,link"; then
33795 + compile_deplibs="$deplib $compile_deplibs"
33796 + finalize_deplibs="$deplib $finalize_deplibs"
33798 + compiler_flags="$compiler_flags $deplib"
33800 - if test $pass = conv; then
33801 - deplibs="$deplib $deplibs"
33805 + if test "$linkmode" != lib && test "$linkmode" != prog; then
33806 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
33809 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
33810 for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
33811 - # Search the libtool library
33812 - lib="$searchdir/lib${name}.la"
33813 - if test -f "$lib"; then
33817 + for search_ext in .la $std_shrext .so .a; do
33818 + # Search the libtool library
33819 + lib="$searchdir/lib${name}${search_ext}"
33820 + if test -f "$lib"; then
33821 + if test "$search_ext" = ".la"; then
33830 if test "$found" != yes; then
33831 # deplib doesn't seem to be a libtool library
33832 @@ -1431,40 +2133,76 @@
33833 finalize_deplibs="$deplib $finalize_deplibs"
33835 deplibs="$deplib $deplibs"
33836 - test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
33837 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33840 + else # deplib is a libtool library
33841 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
33842 + # We need to do some special things here, and not later.
33843 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
33844 + case " $predeps $postdeps " in
33846 + if (${SED} -e '2q' $lib |
33847 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33851 + */* | *\\*) . $lib ;;
33854 + for l in $old_library $library_names; do
33857 + if test "X$ll" = "X$old_library" ; then # only static version available
33859 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
33860 + test "X$ladir" = "X$lib" && ladir="."
33861 + lib=$ladir/$old_library
33862 + if test "$linkmode,$pass" = "prog,link"; then
33863 + compile_deplibs="$deplib $compile_deplibs"
33864 + finalize_deplibs="$deplib $finalize_deplibs"
33866 + deplibs="$deplib $deplibs"
33867 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33881 deplibs="$deplib $deplibs"
33882 - test $pass = conv && continue
33883 + test "$pass" = conv && continue
33884 newdependency_libs="$deplib $newdependency_libs"
33885 newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33888 - if test $pass = conv; then
33889 + if test "$pass" = conv; then
33890 deplibs="$deplib $deplibs"
33893 - if test $pass = scan; then
33894 + if test "$pass" = scan; then
33895 deplibs="$deplib $deplibs"
33896 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33898 compile_deplibs="$deplib $compile_deplibs"
33899 finalize_deplibs="$deplib $finalize_deplibs"
33901 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33904 - $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
33905 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
33911 - if test $pass = link; then
33912 + if test "$pass" = link; then
33913 dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
33914 # Make sure the xrpath contains only unique directories.
33916 @@ -1477,30 +2215,45 @@
33918 *.la) lib="$deplib" ;;
33920 - if test $pass = conv; then
33921 + if test "$pass" = conv; then
33922 deplibs="$deplib $deplibs"
33927 - if test "$deplibs_check_method" != pass_all; then
33929 - echo "*** Warning: Trying to link with static lib archive $deplib."
33930 - echo "*** I have the capability to make that library automatically link in when"
33931 - echo "*** you link to this library. But I can only do this if you have a"
33932 - echo "*** shared version of the library, which you do not appear to have"
33933 - echo "*** because the file extensions .$libext of this argument makes me believe"
33934 - echo "*** that it is just a static archive that I should not used here."
33936 + case $deplibs_check_method in
33938 + set dummy $deplibs_check_method
33939 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
33940 + if eval $echo \"$deplib\" 2>/dev/null \
33942 + | $EGREP "$match_pattern_regex" > /dev/null; then
33950 + if test "$valid_a_lib" != yes; then
33952 + $echo "*** Warning: Trying to link with static lib archive $deplib."
33953 + $echo "*** I have the capability to make that library automatically link in when"
33954 + $echo "*** you link to this library. But I can only do this if you have a"
33955 + $echo "*** shared version of the library, which you do not appear to have"
33956 + $echo "*** because the file extensions .$libext of this argument makes me believe"
33957 + $echo "*** that it is just a static archive that I should not used here."
33960 - echo "*** Warning: Linking the shared library $output against the"
33961 - echo "*** static library $deplib is not portable!"
33963 + $echo "*** Warning: Linking the shared library $output against the"
33964 + $echo "*** static library $deplib is not portable!"
33965 deplibs="$deplib $deplibs"
33970 - if test $pass != link; then
33971 + if test "$pass" != link; then
33972 deplibs="$deplib $deplibs"
33974 compile_deplibs="$deplib $compile_deplibs"
33975 @@ -1511,14 +2264,18 @@
33979 - if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33980 - # If there is no dlopen support or we're linking statically,
33981 - # we need to preload.
33982 - newdlprefiles="$newdlprefiles $deplib"
33983 - compile_deplibs="$deplib $compile_deplibs"
33984 - finalize_deplibs="$deplib $finalize_deplibs"
33986 - newdlfiles="$newdlfiles $deplib"
33987 + if test "$pass" = conv; then
33988 + deplibs="$deplib $deplibs"
33989 + elif test "$linkmode" = prog; then
33990 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33991 + # If there is no dlopen support or we're linking statically,
33992 + # we need to preload.
33993 + newdlprefiles="$newdlprefiles $deplib"
33994 + compile_deplibs="$deplib $compile_deplibs"
33995 + finalize_deplibs="$deplib $finalize_deplibs"
33997 + newdlfiles="$newdlfiles $deplib"
34002 @@ -1527,17 +2284,17 @@
34005 esac # case $deplib
34006 - if test $found = yes || test -f "$lib"; then :
34007 + if test "$found" = yes || test -f "$lib"; then :
34009 - $echo "$modename: cannot find the library \`$lib'" 1>&2
34011 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
34012 + exit $EXIT_FAILURE
34015 # Check to see that this really is a libtool archive.
34016 - if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34017 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34019 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
34021 + exit $EXIT_FAILURE
34024 ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
34025 @@ -1550,8 +2307,11 @@
34028 # If the library was installed with an old release of libtool,
34029 - # it will not redefine variable installed.
34030 + # it will not redefine variables installed, or shouldnotlink
34036 # Read the .la file
34038 @@ -1561,19 +2321,18 @@
34040 if test "$linkmode,$pass" = "lib,link" ||
34041 test "$linkmode,$pass" = "prog,scan" ||
34042 - { test $linkmode = oldlib && test $linkmode = obj; }; then
34043 - # Add dl[pre]opened files of deplib
34044 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
34045 test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
34046 test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
34049 - if test $pass = conv; then
34050 + if test "$pass" = conv; then
34051 # Only check for convenience libraries
34052 deplibs="$lib $deplibs"
34053 if test -z "$libdir"; then
34054 if test -z "$old_library"; then
34055 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34057 + exit $EXIT_FAILURE
34059 # It is a libtool convenience library, so add in its objects.
34060 convenience="$convenience $ladir/$objdir/$old_library"
34061 @@ -1588,13 +2347,14 @@
34063 tmp_libs="$tmp_libs $deplib"
34065 - elif test $linkmode != prog && test $linkmode != lib; then
34066 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
34067 $echo "$modename: \`$lib' is not a convenience library" 1>&2
34069 + exit $EXIT_FAILURE
34075 # Get the name of the library we link against.
34077 for l in $old_library $library_names; do
34078 @@ -1602,19 +2362,23 @@
34080 if test -z "$linklib"; then
34081 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34083 + exit $EXIT_FAILURE
34086 # This library was specified with -dlopen.
34087 - if test $pass = dlopen; then
34088 + if test "$pass" = dlopen; then
34089 if test -z "$libdir"; then
34090 $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
34092 + exit $EXIT_FAILURE
34094 - if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
34095 + if test -z "$dlname" ||
34096 + test "$dlopen_support" != yes ||
34097 + test "$build_libtool_libs" = no; then
34098 # If there is no dlname, no dlopen support or we're linking
34099 - # statically, we need to preload.
34100 - dlprefiles="$dlprefiles $lib"
34101 + # statically, we need to preload. We also need to preload any
34102 + # dependent libraries so libltdl's deplib preloader doesn't
34103 + # bomb out in the load deplibs phase.
34104 + dlprefiles="$dlprefiles $lib $dependency_libs"
34106 newdlfiles="$newdlfiles $lib"
34108 @@ -1646,19 +2410,27 @@
34112 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
34114 - dir="$ladir/$objdir"
34115 - absdir="$abs_ladir/$objdir"
34116 - # Remove this search path later
34117 - notinst_path="$notinst_path $abs_ladir"
34118 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
34120 + absdir="$abs_ladir"
34121 + # Remove this search path later
34122 + notinst_path="$notinst_path $abs_ladir"
34124 + dir="$ladir/$objdir"
34125 + absdir="$abs_ladir/$objdir"
34126 + # Remove this search path later
34127 + notinst_path="$notinst_path $abs_ladir"
34129 fi # $installed = yes
34130 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34132 # This library was specified with -dlpreopen.
34133 - if test $pass = dlpreopen; then
34134 + if test "$pass" = dlpreopen; then
34135 if test -z "$libdir"; then
34136 $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
34138 + exit $EXIT_FAILURE
34140 # Prefer using a static library (so that no silly _DYNAMIC symbols
34141 # are required to link).
34142 @@ -1674,18 +2446,19 @@
34144 if test -z "$libdir"; then
34145 # Link the convenience library
34146 - if test $linkmode = lib; then
34147 + if test "$linkmode" = lib; then
34148 deplibs="$dir/$old_library $deplibs"
34149 elif test "$linkmode,$pass" = "prog,link"; then
34150 compile_deplibs="$dir/$old_library $compile_deplibs"
34151 finalize_deplibs="$dir/$old_library $finalize_deplibs"
34153 - deplibs="$lib $deplibs"
34154 + deplibs="$lib $deplibs" # used for prog,scan pass
34159 - if test $linkmode = prog && test $pass != link; then
34161 + if test "$linkmode" = prog && test "$pass" != link; then
34162 newlib_search_path="$newlib_search_path $ladir"
34163 deplibs="$lib $deplibs"
34165 @@ -1701,7 +2474,7 @@
34166 -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
34168 # Need to link against all dependency_libs?
34169 - if test $linkalldeplibs = yes; then
34170 + if test "$linkalldeplibs" = yes; then
34171 deplibs="$deplib $deplibs"
34173 # Need to hardcode shared library paths
34174 @@ -1718,13 +2491,19 @@
34176 fi # $linkmode = prog...
34178 - link_static=no # Whether the deplib will be linked statically
34179 - if test -n "$library_names" &&
34180 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34181 - # Link against this shared library
34182 + if test "$linkmode,$pass" = "prog,link"; then
34183 + if test -n "$library_names" &&
34184 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34185 + # We need to hardcode the library path
34186 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
34187 + # Make sure the rpath contains only unique directories.
34188 + case "$temp_rpath " in
34190 + *" $absdir "*) ;;
34191 + *) temp_rpath="$temp_rpath $absdir" ;;
34195 - if test "$linkmode,$pass" = "prog,link" ||
34196 - { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
34197 # Hardcode the library path.
34198 # Skip directories that are in the system default run-time
34200 @@ -1746,17 +2525,6 @@
34204 - if test $linkmode = prog; then
34205 - # We need to hardcode the library path
34206 - if test -n "$shlibpath_var"; then
34207 - # Make sure the rpath contains only unique directories.
34208 - case "$temp_rpath " in
34210 - *" $absdir "*) ;;
34211 - *) temp_rpath="$temp_rpath $dir" ;;
34215 fi # $linkmode,$pass = prog,link...
34217 if test "$alldeplibs" = yes &&
34218 @@ -1766,11 +2534,56 @@
34219 # We only need to search for static libraries
34224 + link_static=no # Whether the deplib will be linked statically
34225 + use_static_libs=$prefer_static_libs
34226 + if test "$use_static_libs" = built && test "$installed" = yes ; then
34227 + use_static_libs=no
34229 + if test -n "$library_names" &&
34230 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
34231 if test "$installed" = no; then
34232 notinst_deplibs="$notinst_deplibs $lib"
34235 + # This is a shared library
34237 + # Warn about portability, can't link against -module's on
34238 + # some systems (darwin)
34239 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
34241 + if test "$linkmode" = prog; then
34242 + $echo "*** Warning: Linking the executable $output against the loadable module"
34244 + $echo "*** Warning: Linking the shared library $output against the loadable module"
34246 + $echo "*** $linklib is not portable!"
34248 + if test "$linkmode" = lib &&
34249 + test "$hardcode_into_libs" = yes; then
34250 + # Hardcode the library path.
34251 + # Skip directories that are in the system default run-time
34253 + case " $sys_lib_dlsearch_path " in
34254 + *" $absdir "*) ;;
34256 + case "$compile_rpath " in
34257 + *" $absdir "*) ;;
34258 + *) compile_rpath="$compile_rpath $absdir"
34262 + case " $sys_lib_dlsearch_path " in
34263 + *" $libdir "*) ;;
34265 + case "$finalize_rpath " in
34266 + *" $libdir "*) ;;
34267 + *) finalize_rpath="$finalize_rpath $libdir"
34273 if test -n "$old_archive_from_expsyms_cmds"; then
34274 # figure out the soname
34275 @@ -1784,7 +2597,7 @@
34276 elif test -n "$soname_spec"; then
34280 + *cygwin* | mingw*)
34281 major=`expr $current - $age`
34282 versuffix="-$major"
34284 @@ -1796,17 +2609,18 @@
34286 # Make a new name for the extract_expsyms_cmds to use
34288 - soname=`echo $soroot | ${SED} -e 's/^.*\///'`
34289 - newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34290 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
34291 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34293 # If the library has no export list, then create one now
34294 if test -f "$output_objdir/$soname-def"; then :
34296 $show "extracting exported symbol list from \`$soname'"
34297 save_ifs="$IFS"; IFS='~'
34298 - eval cmds=\"$extract_expsyms_cmds\"
34299 + cmds=$extract_expsyms_cmds
34300 for cmd in $cmds; do
34302 + eval cmd=\"$cmd\"
34304 $run eval "$cmd" || exit $?
34306 @@ -1817,9 +2631,10 @@
34307 if test -f "$output_objdir/$newlib"; then :; else
34308 $show "generating import library for \`$soname'"
34309 save_ifs="$IFS"; IFS='~'
34310 - eval cmds=\"$old_archive_from_expsyms_cmds\"
34311 + cmds=$old_archive_from_expsyms_cmds
34312 for cmd in $cmds; do
34314 + eval cmd=\"$cmd\"
34316 $run eval "$cmd" || exit $?
34318 @@ -1828,9 +2643,9 @@
34319 # make sure the library variables are pointing to the new library
34322 - fi # test -n $old_archive_from_expsyms_cmds
34323 + fi # test -n "$old_archive_from_expsyms_cmds"
34325 - if test $linkmode = prog || test "$mode" != relink; then
34326 + if test "$linkmode" = prog || test "$mode" != relink; then
34330 @@ -1839,6 +2654,26 @@
34331 immediate | unsupported)
34332 if test "$hardcode_direct" = no; then
34333 add="$dir/$linklib"
34335 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
34336 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
34337 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
34338 + *-*-unixware7*) add_dir="-L$dir" ;;
34340 + # if the lib is a module then we can not link against
34341 + # it, someone is ignoring the new warnings I added
34342 + if /usr/bin/file -L $add 2> /dev/null |
34343 + $EGREP ": [^:]* bundle" >/dev/null ; then
34344 + $echo "** Warning, lib $linklib is a module, not a shared library"
34345 + if test -z "$old_library" ; then
34347 + $echo "** And there doesn't seem to be a static archive available"
34348 + $echo "** The link will probably fail, sorry"
34350 + add="$dir/$old_library"
34354 elif test "$hardcode_minus_L" = no; then
34356 *-*-sunos*) add_shlibpath="$dir" ;;
34357 @@ -1859,10 +2694,10 @@
34359 # Try looking first in the location we're being installed to.
34360 if test -n "$inst_prefix_dir"; then
34361 - case "$libdir" in
34363 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34367 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34372 @@ -1878,7 +2713,7 @@
34374 if test "$lib_linked" != yes; then
34375 $echo "$modename: configuration error: unsupported hardcode properties"
34377 + exit $EXIT_FAILURE
34380 if test -n "$add_shlibpath"; then
34381 @@ -1887,7 +2722,7 @@
34382 *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
34385 - if test $linkmode = prog; then
34386 + if test "$linkmode" = prog; then
34387 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
34388 test -n "$add" && compile_deplibs="$add $compile_deplibs"
34390 @@ -1904,7 +2739,7 @@
34394 - if test $linkmode = prog || test "$mode" = relink; then
34395 + if test "$linkmode" = prog || test "$mode" = relink; then
34399 @@ -1920,21 +2755,28 @@
34400 *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
34403 + elif test "$hardcode_automatic" = yes; then
34404 + if test -n "$inst_prefix_dir" &&
34405 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
34406 + add="$inst_prefix_dir$libdir/$linklib"
34408 + add="$libdir/$linklib"
34411 # We cannot seem to hardcode it, guess we'll fake it.
34412 add_dir="-L$libdir"
34413 # Try looking first in the location we're being installed to.
34414 if test -n "$inst_prefix_dir"; then
34415 - case "$libdir" in
34417 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34421 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34428 - if test $linkmode = prog; then
34429 + if test "$linkmode" = prog; then
34430 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
34431 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
34433 @@ -1942,16 +2784,7 @@
34434 test -n "$add" && deplibs="$add $deplibs"
34437 - elif test $linkmode = prog; then
34438 - if test "$alldeplibs" = yes &&
34439 - { test "$deplibs_check_method" = pass_all ||
34440 - { test "$build_libtool_libs" = yes &&
34441 - test -n "$library_names"; }; }; then
34442 - # We only need to search for static libraries
34446 - # Try to link the static library
34447 + elif test "$linkmode" = prog; then
34448 # Here we assume that one of hardcode_direct or hardcode_minus_L
34449 # is not unsupported. This is valid on all known static and
34450 # shared platforms.
34451 @@ -1971,21 +2804,21 @@
34453 # Just print a warning and add the library to dependency_libs so
34454 # that the program can be linked against the static library.
34456 - echo "*** Warning: This system can not link to static lib archive $lib."
34457 - echo "*** I have the capability to make that library automatically link in when"
34458 - echo "*** you link to this library. But I can only do this if you have a"
34459 - echo "*** shared version of the library, which you do not appear to have."
34461 + $echo "*** Warning: This system can not link to static lib archive $lib."
34462 + $echo "*** I have the capability to make that library automatically link in when"
34463 + $echo "*** you link to this library. But I can only do this if you have a"
34464 + $echo "*** shared version of the library, which you do not appear to have."
34465 if test "$module" = yes; then
34466 - echo "*** But as you try to build a module library, libtool will still create "
34467 - echo "*** a static module, that should work as long as the dlopening application"
34468 - echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34469 + $echo "*** But as you try to build a module library, libtool will still create "
34470 + $echo "*** a static module, that should work as long as the dlopening application"
34471 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34472 if test -z "$global_symbol_pipe"; then
34474 - echo "*** However, this would only work if libtool was able to extract symbol"
34475 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34476 - echo "*** not find such a program. So, this module is probably useless."
34477 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
34479 + $echo "*** However, this would only work if libtool was able to extract symbol"
34480 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34481 + $echo "*** not find such a program. So, this module is probably useless."
34482 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
34484 if test "$build_old_libs" = no; then
34485 build_libtool_libs=module
34486 @@ -1995,17 +2828,16 @@
34490 - convenience="$convenience $dir/$old_library"
34491 - old_convenience="$old_convenience $dir/$old_library"
34492 deplibs="$dir/$old_library $deplibs"
34495 fi # link shared/static library?
34497 - if test $linkmode = lib; then
34498 + if test "$linkmode" = lib; then
34499 if test -n "$dependency_libs" &&
34500 - { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
34501 - test $link_static = yes; }; then
34502 + { test "$hardcode_into_libs" != yes ||
34503 + test "$build_old_libs" = yes ||
34504 + test "$link_static" = yes; }; then
34505 # Extract -R from dependency_libs
34507 for libdir in $dependency_libs; do
34508 @@ -2036,7 +2868,7 @@
34509 tmp_libs="$tmp_libs $deplib"
34512 - if test $link_all_deplibs != no; then
34513 + if test "$link_all_deplibs" != no; then
34514 # Add the search paths of all dependency libraries
34515 for deplib in $dependency_libs; do
34517 @@ -2056,38 +2888,83 @@
34520 if grep "^installed=no" $deplib > /dev/null; then
34521 - path="-L$absdir/$objdir"
34522 + path="$absdir/$objdir"
34524 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
34525 if test -z "$libdir"; then
34526 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
34528 + exit $EXIT_FAILURE
34530 if test "$absdir" != "$libdir"; then
34531 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
34539 + # we do not want to link against static libs,
34540 + # but need to link against shared
34541 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
34542 + if test -n "$deplibrary_names" ; then
34543 + for tmp in $deplibrary_names ; do
34546 + if test -f "$path/$depdepl" ; then
34547 + depdepl="$path/$depdepl"
34549 + # do not add paths which are already there
34550 + case " $newlib_search_path " in
34552 + *) newlib_search_path="$newlib_search_path $path";;
34565 + # Again, we only want to link against shared libraries
34566 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
34567 + for tmp in $newlib_search_path ; do
34568 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
34569 + eval depdepl="$tmp/lib$tmp_libs.dylib"
34580 case " $deplibs " in
34582 - *) deplibs="$deplibs $path" ;;
34583 + *) deplibs="$path $deplibs" ;;
34585 + case " $deplibs " in
34586 + *" $depdepl "*) ;;
34587 + *) deplibs="$depdepl $deplibs" ;;
34590 fi # link_all_deplibs != no
34591 fi # linkmode = lib
34592 done # for deplib in $libs
34593 - if test $pass = dlpreopen; then
34594 + dependency_libs="$newdependency_libs"
34595 + if test "$pass" = dlpreopen; then
34596 # Link the dlpreopened libraries before other libraries
34597 for deplib in $save_deplibs; do
34598 deplibs="$deplib $deplibs"
34601 - if test $pass != dlopen; then
34602 - test $pass != scan && dependency_libs="$newdependency_libs"
34603 - if test $pass != conv; then
34604 + if test "$pass" != dlopen; then
34605 + if test "$pass" != conv; then
34606 # Make sure lib_search_path contains only unique directories.
34608 for dir in $newlib_search_path; do
34609 @@ -2109,9 +2986,30 @@
34610 eval tmp_libs=\"\$$var\"
34612 for deplib in $tmp_libs; do
34613 + # FIXME: Pedantically, this is the right thing to do, so
34614 + # that some nasty dependency loop isn't accidentally
34616 + #new_libs="$deplib $new_libs"
34617 + # Pragmatically, this seems to cause very few problems in
34620 -L*) new_libs="$deplib $new_libs" ;;
34623 + # And here is the reason: when a library appears more
34624 + # than once as an explicit dependence of a library, or
34625 + # is implicitly linked in more than once by the
34626 + # compiler, it is considered special, and multiple
34627 + # occurrences thereof are not removed. Compare this
34628 + # with having the same library being listed as a
34629 + # dependency of multiple other libraries: in this case,
34630 + # we know (pedantically, we assume) the library does not
34631 + # need to be listed more than once, so we keep only the
34632 + # last copy. This is not always right, but it is rare
34633 + # enough that we require users that really mean to play
34634 + # such unportable linking tricks to link the library
34635 + # using -Wl,-lname, so that libtool does not consider it
34636 + # for duplicate removal.
34637 case " $specialdeplibs " in
34638 *" $deplib "*) new_libs="$deplib $new_libs" ;;
34640 @@ -2139,19 +3037,32 @@
34641 eval $var=\"$tmp_libs\"
34644 - if test "$pass" = "conv" &&
34645 - { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
34646 - libs="$deplibs" # reset libs
34649 + # Last step: remove runtime libs from dependency_libs
34650 + # (they stay in deplibs)
34652 + for i in $dependency_libs ; do
34653 + case " $predeps $postdeps $compiler_lib_search_path " in
34658 + if test -n "$i" ; then
34659 + tmp_libs="$tmp_libs $i"
34662 + dependency_libs=$tmp_libs
34664 - if test $linkmode = prog; then
34665 + if test "$linkmode" = prog; then
34666 dlfiles="$newdlfiles"
34667 dlprefiles="$newdlprefiles"
34672 + if test -n "$deplibs"; then
34673 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
34676 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
34677 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
34679 @@ -2165,7 +3076,7 @@
34682 if test -n "$vinfo"; then
34683 - $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
34684 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
34687 if test -n "$release"; then
34688 @@ -2187,17 +3098,19 @@
34689 case $outputname in
34691 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34692 + eval shared_ext=\"$shrext_cmds\"
34693 eval libname=\"$libname_spec\"
34696 if test "$module" = no; then
34697 $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
34700 + exit $EXIT_FAILURE
34702 if test "$need_lib_prefix" != no; then
34703 # Add the "lib" prefix for modules if required
34704 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34705 + eval shared_ext=\"$shrext_cmds\"
34706 eval libname=\"$libname_spec\"
34708 libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34709 @@ -2208,11 +3121,11 @@
34710 if test -n "$objs"; then
34711 if test "$deplibs_check_method" != pass_all; then
34712 $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
34714 + exit $EXIT_FAILURE
34717 - echo "*** Warning: Linking the shared library $output against the non-libtool"
34718 - echo "*** objects $objs is not portable!"
34720 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
34721 + $echo "*** objects $objs is not portable!"
34722 libobjs="$libobjs $objs"
34725 @@ -2222,7 +3135,7 @@
34729 - if test $# -gt 2; then
34730 + if test "$#" -gt 2; then
34731 $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
34733 install_libdir="$2"
34734 @@ -2231,14 +3144,16 @@
34735 if test -z "$rpath"; then
34736 if test "$build_libtool_libs" = yes; then
34737 # Building a libtool convenience library.
34739 + # Some compilers have problems with a `.al' extension so
34740 + # convenience libraries should have the same extension an
34741 + # archive normally would.
34742 oldlibs="$output_objdir/$libname.$libext $oldlibs"
34743 build_libtool_libs=convenience
34747 if test -n "$vinfo"; then
34748 - $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
34749 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
34752 if test -n "$release"; then
34753 @@ -2254,45 +3169,87 @@
34754 if test -n "$8"; then
34755 $echo "$modename: too many parameters to \`-version-info'" 1>&2
34758 + exit $EXIT_FAILURE
34764 + # convert absolute version numbers to libtool ages
34765 + # this retains compatibility with .la files and attempts
34766 + # to make the code below a bit more comprehensible
34768 + case $vinfo_number in
34770 + number_major="$2"
34771 + number_minor="$3"
34772 + number_revision="$4"
34774 + # There are really only two kinds -- those that
34775 + # use the current revision as the major version
34776 + # and those that subtract age and use age as
34777 + # a minor version. But, then there is irix
34778 + # which has an extra 1 added just for fun
34780 + case $version_type in
34781 + darwin|linux|osf|windows)
34782 + current=`expr $number_major + $number_minor`
34783 + age="$number_minor"
34784 + revision="$number_revision"
34786 + freebsd-aout|freebsd-elf|sunos)
34787 + current="$number_major"
34788 + revision="$number_minor"
34792 + current=`expr $number_major + $number_minor - 1`
34793 + age="$number_minor"
34794 + revision="$number_minor"
34797 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
34798 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34799 + exit $EXIT_FAILURE
34810 # Check that each of the things are valid numbers.
34812 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34813 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34815 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
34816 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
34817 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34819 + exit $EXIT_FAILURE
34824 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34825 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34827 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
34828 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
34829 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34831 + exit $EXIT_FAILURE
34836 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34837 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34839 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
34840 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
34841 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34843 + exit $EXIT_FAILURE
34847 - if test $age -gt $current; then
34848 + if test "$age" -gt "$current"; then
34849 $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
34850 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34852 + exit $EXIT_FAILURE
34855 # Calculate the version variables.
34856 @@ -2309,7 +3266,7 @@
34857 versuffix="$major.$age.$revision"
34858 # Darwin ld doesn't like 0 for these options...
34859 minor_current=`expr $current + 1`
34860 - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
34861 + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
34865 @@ -2333,7 +3290,7 @@
34867 # Add in all the interfaces that we are compatible with.
34869 - while test $loop != 0; do
34870 + while test "$loop" -ne 0; do
34871 iface=`expr $revision - $loop`
34872 loop=`expr $loop - 1`
34873 verstring="$verstring_prefix$major.$iface:$verstring"
34874 @@ -2356,7 +3313,7 @@
34876 # Add in all the interfaces that we are compatible with.
34878 - while test $loop != 0; do
34879 + while test "$loop" -ne 0; do
34880 iface=`expr $current - $loop`
34881 loop=`expr $loop - 1`
34882 verstring="$verstring:${iface}.0"
34883 @@ -2380,20 +3337,19 @@
34886 $echo "$modename: unknown library version type \`$version_type'" 1>&2
34887 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34889 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34890 + exit $EXIT_FAILURE
34894 # Clear the version info if we defaulted, and they specified a release.
34895 if test -z "$vinfo" && test -n "$release"; then
34898 case $version_type in
34900 # we can't check for "0.0" in archive_cmds due to quoting
34901 # problems, so we reset it completely
34907 @@ -2427,9 +3383,30 @@
34910 if test "$mode" != relink; then
34911 - # Remove our outputs.
34912 - $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
34913 - $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
34914 + # Remove our outputs, but don't remove object files since they
34915 + # may have been created when compiling PIC objects.
34917 + tempremovelist=`$echo "$output_objdir/*"`
34918 + for p in $tempremovelist; do
34922 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
34923 + if test "X$precious_files_regex" != "X"; then
34924 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
34929 + removelist="$removelist $p"
34934 + if test -n "$removelist"; then
34935 + $show "${rm}r $removelist"
34936 + $run ${rm}r $removelist
34940 # Now set the variables for building old libraries.
34941 @@ -2442,9 +3419,9 @@
34943 # Eliminate all temporary directories.
34944 for path in $notinst_path; do
34945 - lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
34946 - deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
34947 - dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
34948 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
34949 + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
34950 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
34953 if test -n "$xrpath"; then
34954 @@ -2457,7 +3434,7 @@
34955 *) finalize_rpath="$finalize_rpath $libdir" ;;
34958 - if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
34959 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
34960 dependency_libs="$temp_xrpath $dependency_libs"
34963 @@ -2495,12 +3472,18 @@
34965 # Don't link with libc until the a.out ld.so is fixed.
34967 - *-*-openbsd* | *-*-freebsd*)
34968 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
34969 # Do not include libc due to us having libc/libc_r.
34972 + *-*-sco3.2v5* | *-*-sco5v6*)
34973 + # Causes problems with __ctype
34975 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
34976 + # Compiler inserts libc in the correct place for threads to work
34979 # Add libc to deplibs on all other systems if necessary.
34980 - if test $build_libtool_need_lc = "yes"; then
34981 + if test "$build_libtool_need_lc" = "yes"; then
34982 deplibs="$deplibs -lc"
34985 @@ -2527,7 +3510,7 @@
34986 # This might be a little naive. We might want to check
34987 # whether the library exists or not. But this is on
34988 # osf3 & osf4 and I'm not really sure... Just
34989 - # implementing what was already the behaviour.
34990 + # implementing what was already the behavior.
34991 newdeplibs=$deplibs
34994 @@ -2540,68 +3523,88 @@
34995 int main() { return 0; }
34998 - $CC -o conftest conftest.c $deplibs
34999 - if test $? -eq 0 ; then
35000 + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
35001 + if test "$?" -eq 0 ; then
35002 ldd_output=`ldd conftest`
35003 for i in $deplibs; do
35004 - name="`expr $i : '-l\(.*\)'`"
35005 + name=`expr $i : '-l\(.*\)'`
35006 # If $name is empty we are operating on a -L argument.
35007 - if test -n "$name" && test "$name" != "0"; then
35008 - libname=`eval \\$echo \"$libname_spec\"`
35009 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35010 - set dummy $deplib_matches
35012 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35013 - newdeplibs="$newdeplibs $i"
35017 - echo "*** Warning: dynamic linker does not accept needed library $i."
35018 - echo "*** I have the capability to make that library automatically link in when"
35019 - echo "*** you link to this library. But I can only do this if you have a"
35020 - echo "*** shared version of the library, which I believe you do not have"
35021 - echo "*** because a test_compile did reveal that the linker did not use it for"
35022 - echo "*** its dynamic dependency list that programs get resolved with at runtime."
35023 + if test "$name" != "" && test "$name" -ne "0"; then
35024 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35025 + case " $predeps $postdeps " in
35027 + newdeplibs="$newdeplibs $i"
35032 + if test -n "$i" ; then
35033 + libname=`eval \\$echo \"$libname_spec\"`
35034 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35035 + set dummy $deplib_matches
35037 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35038 + newdeplibs="$newdeplibs $i"
35042 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35043 + $echo "*** I have the capability to make that library automatically link in when"
35044 + $echo "*** you link to this library. But I can only do this if you have a"
35045 + $echo "*** shared version of the library, which I believe you do not have"
35046 + $echo "*** because a test_compile did reveal that the linker did not use it for"
35047 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
35051 newdeplibs="$newdeplibs $i"
35055 - # Error occured in the first compile. Let's try to salvage
35056 + # Error occurred in the first compile. Let's try to salvage
35057 # the situation: Compile a separate program for each library.
35058 for i in $deplibs; do
35059 - name="`expr $i : '-l\(.*\)'`"
35060 - # If $name is empty we are operating on a -L argument.
35061 - if test -n "$name" && test "$name" != "0"; then
35062 + name=`expr $i : '-l\(.*\)'`
35063 + # If $name is empty we are operating on a -L argument.
35064 + if test "$name" != "" && test "$name" != "0"; then
35066 - $CC -o conftest conftest.c $i
35067 + $LTCC $LTCFLAGS -o conftest conftest.c $i
35069 - if test $? -eq 0 ; then
35070 + if test "$?" -eq 0 ; then
35071 ldd_output=`ldd conftest`
35072 - libname=`eval \\$echo \"$libname_spec\"`
35073 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35074 - set dummy $deplib_matches
35076 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35077 - newdeplibs="$newdeplibs $i"
35081 - echo "*** Warning: dynamic linker does not accept needed library $i."
35082 - echo "*** I have the capability to make that library automatically link in when"
35083 - echo "*** you link to this library. But I can only do this if you have a"
35084 - echo "*** shared version of the library, which you do not appear to have"
35085 - echo "*** because a test_compile did reveal that the linker did not use this one"
35086 - echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35087 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35088 + case " $predeps $postdeps " in
35090 + newdeplibs="$newdeplibs $i"
35095 + if test -n "$i" ; then
35096 + libname=`eval \\$echo \"$libname_spec\"`
35097 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35098 + set dummy $deplib_matches
35100 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35101 + newdeplibs="$newdeplibs $i"
35105 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35106 + $echo "*** I have the capability to make that library automatically link in when"
35107 + $echo "*** you link to this library. But I can only do this if you have a"
35108 + $echo "*** shared version of the library, which you do not appear to have"
35109 + $echo "*** because a test_compile did reveal that the linker did not use this one"
35110 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35116 - echo "*** Warning! Library $i is needed by this library but I was not able to"
35117 - echo "*** make it link in! You will probably need to install it or some"
35118 - echo "*** library that it depends on before this library will be fully"
35119 - echo "*** functional. Installing it before continuing would be even better."
35121 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
35122 + $echo "*** make it link in! You will probably need to install it or some"
35123 + $echo "*** library that it depends on before this library will be fully"
35124 + $echo "*** functional. Installing it before continuing would be even better."
35127 newdeplibs="$newdeplibs $i"
35128 @@ -2613,13 +3616,22 @@
35129 set dummy $deplibs_check_method
35130 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35131 for a_deplib in $deplibs; do
35132 - name="`expr $a_deplib : '-l\(.*\)'`"
35133 + name=`expr $a_deplib : '-l\(.*\)'`
35134 # If $name is empty we are operating on a -L argument.
35135 - if test -n "$name" && test "$name" != "0"; then
35136 - libname=`eval \\$echo \"$libname_spec\"`
35137 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35138 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35139 - for potent_lib in $potential_libs; do
35140 + if test "$name" != "" && test "$name" != "0"; then
35141 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35142 + case " $predeps $postdeps " in
35144 + newdeplibs="$newdeplibs $a_deplib"
35149 + if test -n "$a_deplib" ; then
35150 + libname=`eval \\$echo \"$libname_spec\"`
35151 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35152 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35153 + for potent_lib in $potential_libs; do
35154 # Follow soft links.
35155 if ls -lLd "$potent_lib" 2>/dev/null \
35156 | grep " -> " >/dev/null; then
35157 @@ -2640,26 +3652,27 @@
35159 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
35161 - | egrep "$file_magic_regex" > /dev/null; then
35162 + | $EGREP "$file_magic_regex" > /dev/null; then
35163 newdeplibs="$newdeplibs $a_deplib"
35172 if test -n "$a_deplib" ; then
35175 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35176 - echo "*** I have the capability to make that library automatically link in when"
35177 - echo "*** you link to this library. But I can only do this if you have a"
35178 - echo "*** shared version of the library, which you do not appear to have"
35179 - echo "*** because I did check the linker path looking for a file starting"
35181 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35182 + $echo "*** I have the capability to make that library automatically link in when"
35183 + $echo "*** you link to this library. But I can only do this if you have a"
35184 + $echo "*** shared version of the library, which you do not appear to have"
35185 + $echo "*** because I did check the linker path looking for a file starting"
35186 if test -z "$potlib" ; then
35187 - echo "*** with $libname but no candidates were found. (...for file magic test)"
35188 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
35190 - echo "*** with $libname and none of the candidates passed a file format test"
35191 - echo "*** using a file magic. Last file checked: $potlib"
35192 + $echo "*** with $libname and none of the candidates passed a file format test"
35193 + $echo "*** using a file magic. Last file checked: $potlib"
35197 @@ -2672,36 +3685,46 @@
35198 set dummy $deplibs_check_method
35199 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35200 for a_deplib in $deplibs; do
35201 - name="`expr $a_deplib : '-l\(.*\)'`"
35202 + name=`expr $a_deplib : '-l\(.*\)'`
35203 # If $name is empty we are operating on a -L argument.
35204 if test -n "$name" && test "$name" != "0"; then
35205 - libname=`eval \\$echo \"$libname_spec\"`
35206 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35207 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35208 - for potent_lib in $potential_libs; do
35209 - potlib="$potent_lib" # see symlink-check below in file_magic test
35210 - if eval echo \"$potent_lib\" 2>/dev/null \
35212 - | egrep "$match_pattern_regex" > /dev/null; then
35213 - newdeplibs="$newdeplibs $a_deplib"
35217 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35218 + case " $predeps $postdeps " in
35220 + newdeplibs="$newdeplibs $a_deplib"
35225 + if test -n "$a_deplib" ; then
35226 + libname=`eval \\$echo \"$libname_spec\"`
35227 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35228 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35229 + for potent_lib in $potential_libs; do
35230 + potlib="$potent_lib" # see symlink-check above in file_magic test
35231 + if eval $echo \"$potent_lib\" 2>/dev/null \
35233 + | $EGREP "$match_pattern_regex" > /dev/null; then
35234 + newdeplibs="$newdeplibs $a_deplib"
35242 if test -n "$a_deplib" ; then
35245 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35246 - echo "*** I have the capability to make that library automatically link in when"
35247 - echo "*** you link to this library. But I can only do this if you have a"
35248 - echo "*** shared version of the library, which you do not appear to have"
35249 - echo "*** because I did check the linker path looking for a file starting"
35251 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35252 + $echo "*** I have the capability to make that library automatically link in when"
35253 + $echo "*** you link to this library. But I can only do this if you have a"
35254 + $echo "*** shared version of the library, which you do not appear to have"
35255 + $echo "*** because I did check the linker path looking for a file starting"
35256 if test -z "$potlib" ; then
35257 - echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35258 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35260 - echo "*** with $libname and none of the candidates passed a file format test"
35261 - echo "*** using a regex pattern. Last file checked: $potlib"
35262 + $echo "*** with $libname and none of the candidates passed a file format test"
35263 + $echo "*** using a regex pattern. Last file checked: $potlib"
35267 @@ -2712,16 +3735,23 @@
35269 none | unknown | *)
35271 - if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35272 - -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
35273 - grep . >/dev/null; then
35275 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35276 + -e 's/ -[LR][^ ]*//g'`
35277 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35278 + for i in $predeps $postdeps ; do
35279 + # can't use Xsed below, because $i might contain '/'
35280 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
35283 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
35284 + | grep . >/dev/null; then
35286 if test "X$deplibs_check_method" = "Xnone"; then
35287 - echo "*** Warning: inter-library dependencies are not supported in this platform."
35288 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
35290 - echo "*** Warning: inter-library dependencies are not known to be supported."
35291 + $echo "*** Warning: inter-library dependencies are not known to be supported."
35293 - echo "*** All declared inter-library dependencies are being dropped."
35294 + $echo "*** All declared inter-library dependencies are being dropped."
35298 @@ -2741,17 +3771,17 @@
35300 if test "$droppeddeps" = yes; then
35301 if test "$module" = yes; then
35303 - echo "*** Warning: libtool could not satisfy all declared inter-library"
35304 - echo "*** dependencies of module $libname. Therefore, libtool will create"
35305 - echo "*** a static module, that should work as long as the dlopening"
35306 - echo "*** application is linked with the -dlopen flag."
35308 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
35309 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
35310 + $echo "*** a static module, that should work as long as the dlopening"
35311 + $echo "*** application is linked with the -dlopen flag."
35312 if test -z "$global_symbol_pipe"; then
35314 - echo "*** However, this would only work if libtool was able to extract symbol"
35315 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35316 - echo "*** not find such a program. So, this module is probably useless."
35317 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
35319 + $echo "*** However, this would only work if libtool was able to extract symbol"
35320 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35321 + $echo "*** not find such a program. So, this module is probably useless."
35322 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
35324 if test "$build_old_libs" = no; then
35325 oldlibs="$output_objdir/$libname.$libext"
35326 @@ -2761,16 +3791,16 @@
35327 build_libtool_libs=no
35330 - echo "*** The inter-library dependencies that have been dropped here will be"
35331 - echo "*** automatically added whenever a program is linked with this library"
35332 - echo "*** or is declared to -dlopen it."
35334 - if test $allow_undefined = no; then
35336 - echo "*** Since this library must not contain undefined symbols,"
35337 - echo "*** because either the platform does not support them or"
35338 - echo "*** it was explicitly requested with -no-undefined,"
35339 - echo "*** libtool will only create a static version of it."
35340 + $echo "*** The inter-library dependencies that have been dropped here will be"
35341 + $echo "*** automatically added whenever a program is linked with this library"
35342 + $echo "*** or is declared to -dlopen it."
35344 + if test "$allow_undefined" = no; then
35346 + $echo "*** Since this library must not contain undefined symbols,"
35347 + $echo "*** because either the platform does not support them or"
35348 + $echo "*** it was explicitly requested with -no-undefined,"
35349 + $echo "*** libtool will only create a static version of it."
35350 if test "$build_old_libs" = no; then
35351 oldlibs="$output_objdir/$libname.$libext"
35352 build_libtool_libs=module
35353 @@ -2785,6 +3815,35 @@
35354 deplibs=$newdeplibs
35358 + # move library search paths that coincide with paths to not yet
35359 + # installed libraries to the beginning of the library search list
35361 + for path in $notinst_path; do
35362 + case " $new_libs " in
35363 + *" -L$path/$objdir "*) ;;
35365 + case " $deplibs " in
35366 + *" -L$path/$objdir "*)
35367 + new_libs="$new_libs -L$path/$objdir" ;;
35372 + for deplib in $deplibs; do
35375 + case " $new_libs " in
35376 + *" $deplib "*) ;;
35377 + *) new_libs="$new_libs $deplib" ;;
35380 + *) new_libs="$new_libs $deplib" ;;
35383 + deplibs="$new_libs"
35386 # All the library-specific variables (install_libdir is set above).
35389 @@ -2792,7 +3851,7 @@
35391 # Test again, we may have decided not to build it any more
35392 if test "$build_libtool_libs" = yes; then
35393 - if test $hardcode_into_libs = yes; then
35394 + if test "$hardcode_into_libs" = yes; then
35395 # Hardcode the library paths
35398 @@ -2828,7 +3887,11 @@
35399 if test -n "$hardcode_libdir_separator" &&
35400 test -n "$hardcode_libdirs"; then
35401 libdir="$hardcode_libdirs"
35402 - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35403 + if test -n "$hardcode_libdir_flag_spec_ld"; then
35404 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
35406 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35409 if test -n "$runpath_var" && test -n "$perm_rpath"; then
35410 # We should set the runpath_var.
35411 @@ -2848,6 +3911,7 @@
35414 # Get the real and link names of the library.
35415 + eval shared_ext=\"$shrext_cmds\"
35416 eval library_names=\"$library_names_spec\"
35417 set dummy $library_names
35419 @@ -2858,31 +3922,17 @@
35423 - test -z "$dlname" && dlname=$soname
35424 + if test -z "$dlname"; then
35428 lib="$output_objdir/$realname"
35432 linknames="$linknames $link"
35435 - # Ensure that we have .o objects for linkers which dislike .lo
35436 - # (e.g. aix) in case we are running --disable-static
35437 - for obj in $libobjs; do
35438 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
35439 - if test "X$xdir" = "X$obj"; then
35444 - baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
35445 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35446 - if test ! -f $xdir/$oldobj; then
35447 - $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
35448 - $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
35452 # Use standard objects if they are pic
35453 test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
35455 @@ -2892,17 +3942,29 @@
35456 $show "generating symbol list for \`$libname.la'"
35457 export_symbols="$output_objdir/$libname.exp"
35458 $run $rm $export_symbols
35459 - eval cmds=\"$export_symbols_cmds\"
35460 + cmds=$export_symbols_cmds
35461 save_ifs="$IFS"; IFS='~'
35462 for cmd in $cmds; do
35465 - $run eval "$cmd" || exit $?
35466 + eval cmd=\"$cmd\"
35467 + if len=`expr "X$cmd" : ".*"` &&
35468 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35470 + $run eval "$cmd" || exit $?
35471 + skipped_export=false
35473 + # The command line is too long to execute in one step.
35474 + $show "using reloadable object file for export list..."
35476 + # Break out early, otherwise skipped_export may be
35477 + # set to false by a later but shorter cmd.
35482 if test -n "$export_symbols_regex"; then
35483 - $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35484 - $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35485 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35486 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35487 $show "$mv \"${export_symbols}T\" \"$export_symbols\""
35488 $run eval '$mv "${export_symbols}T" "$export_symbols"'
35490 @@ -2913,46 +3975,30 @@
35491 $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
35495 + for test_deplib in $deplibs; do
35496 + case " $convenience " in
35497 + *" $test_deplib "*) ;;
35499 + tmp_deplibs="$tmp_deplibs $test_deplib"
35503 + deplibs="$tmp_deplibs"
35505 if test -n "$convenience"; then
35506 if test -n "$whole_archive_flag_spec"; then
35507 + save_libobjs=$libobjs
35508 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35510 gentop="$output_objdir/${outputname}x"
35511 - $show "${rm}r $gentop"
35512 - $run ${rm}r "$gentop"
35513 - $show "mkdir $gentop"
35514 - $run mkdir "$gentop"
35516 - if test $status -ne 0 && test ! -d "$gentop"; then
35519 generated="$generated $gentop"
35521 - for xlib in $convenience; do
35522 - # Extract the objects.
35524 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35525 - *) xabs=`pwd`"/$xlib" ;;
35527 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35528 - xdir="$gentop/$xlib"
35530 - $show "${rm}r $xdir"
35531 - $run ${rm}r "$xdir"
35532 - $show "mkdir $xdir"
35533 - $run mkdir "$xdir"
35535 - if test $status -ne 0 && test ! -d "$xdir"; then
35538 - $show "(cd $xdir && $AR x $xabs)"
35539 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35541 - libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35543 + func_extract_archives $gentop $convenience
35544 + libobjs="$libobjs $func_extract_archives_result"
35549 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
35550 eval flag=\"$thread_safe_flag_spec\"
35551 linker_flags="$linker_flags $flag"
35552 @@ -2964,34 +4010,175 @@
35555 # Do each of the archive commands.
35556 + if test "$module" = yes && test -n "$module_cmds" ; then
35557 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35558 + eval test_cmds=\"$module_expsym_cmds\"
35559 + cmds=$module_expsym_cmds
35561 + eval test_cmds=\"$module_cmds\"
35562 + cmds=$module_cmds
35565 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35566 - eval cmds=\"$archive_expsym_cmds\"
35567 + eval test_cmds=\"$archive_expsym_cmds\"
35568 + cmds=$archive_expsym_cmds
35570 + eval test_cmds=\"$archive_cmds\"
35571 + cmds=$archive_cmds
35575 + if test "X$skipped_export" != "X:" &&
35576 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35577 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35580 - save_deplibs="$deplibs"
35581 - for conv in $convenience; do
35583 - for test_deplib in $deplibs; do
35584 - if test "$test_deplib" != "$conv"; then
35585 - tmp_deplibs="$tmp_deplibs $test_deplib"
35586 + # The command line is too long to link in one step, link piecewise.
35587 + $echo "creating reloadable object files..."
35589 + # Save the value of $output and $libobjs because we want to
35590 + # use them later. If we have whole_archive_flag_spec, we
35591 + # want to use save_libobjs as it was before
35592 + # whole_archive_flag_spec was expanded, because we can't
35593 + # assume the linker understands whole_archive_flag_spec.
35594 + # This may have to be revisited, in case too many
35595 + # convenience libraries get linked in and end up exceeding
35597 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
35598 + save_libobjs=$libobjs
35600 + save_output=$output
35601 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
35603 + # Clear the reloadable object creation command queue and
35604 + # initialize k to one.
35611 + output=$output_objdir/$output_la-${k}.$objext
35612 + # Loop over the list of objects to be linked.
35613 + for obj in $save_libobjs
35615 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
35616 + if test "X$objlist" = X ||
35617 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35618 + test "$len" -le "$max_cmd_len"; }; then
35619 + objlist="$objlist $obj"
35621 + # The command $test_cmds is almost too long, add a
35622 + # command to the queue.
35623 + if test "$k" -eq 1 ; then
35624 + # The first file doesn't have a previous command to add.
35625 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
35627 + # All subsequent reloadable object files will link in
35628 + # the last one created.
35629 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
35632 - deplibs="$tmp_deplibs"
35633 + last_robj=$output_objdir/$output_la-${k}.$objext
35635 + output=$output_objdir/$output_la-${k}.$objext
35640 + # Handle the remaining objects by creating one last
35641 + # reloadable object file. All subsequent reloadable object
35642 + # files will link in the last one created.
35643 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
35644 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
35646 + if ${skipped_export-false}; then
35647 + $show "generating symbol list for \`$libname.la'"
35648 + export_symbols="$output_objdir/$libname.exp"
35649 + $run $rm $export_symbols
35651 + # Append the command to create the export file.
35652 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
35655 + # Set up a command to remove the reloadable object files
35656 + # after they are used.
35658 + while test "$i" -lt "$k"
35661 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
35664 + $echo "creating a temporary reloadable object file: $output"
35666 + # Loop through the commands generated above and execute them.
35667 + save_ifs="$IFS"; IFS='~'
35668 + for cmd in $concat_cmds; do
35671 + $run eval "$cmd" || exit $?
35673 - eval cmds=\"$archive_cmds\"
35674 - deplibs="$save_deplibs"
35678 + # Restore the value of output.
35679 + output=$save_output
35681 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
35682 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35684 + # Expand the library linking commands again to reset the
35685 + # value of $libobjs for piecewise linking.
35687 + # Do each of the archive commands.
35688 + if test "$module" = yes && test -n "$module_cmds" ; then
35689 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35690 + cmds=$module_expsym_cmds
35692 + cmds=$module_cmds
35695 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35696 + cmds=$archive_expsym_cmds
35698 + cmds=$archive_cmds
35702 + # Append the command to remove the reloadable object files
35703 + # to the just-reset $cmds.
35704 + eval cmds=\"\$cmds~\$rm $delfiles\"
35706 save_ifs="$IFS"; IFS='~'
35707 for cmd in $cmds; do
35709 + eval cmd=\"$cmd\"
35711 - $run eval "$cmd" || exit $?
35712 + $run eval "$cmd" || {
35715 + # Restore the uninstalled library and exit
35716 + if test "$mode" = relink; then
35717 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
35725 # Restore the uninstalled library and exit
35726 if test "$mode" = relink; then
35727 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
35730 + if test -n "$convenience"; then
35731 + if test -z "$whole_archive_flag_spec"; then
35732 + $show "${rm}r $gentop"
35733 + $run ${rm}r "$gentop"
35737 + exit $EXIT_SUCCESS
35740 # Create links to the real library.
35741 @@ -3039,7 +4226,7 @@
35743 if test -n "$objs$old_deplibs"; then
35744 $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
35746 + exit $EXIT_FAILURE
35749 obj=`$echo "X$output" | $Xsed -e "$lo2o"`
35750 @@ -3068,38 +4255,10 @@
35751 eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
35753 gentop="$output_objdir/${obj}x"
35754 - $show "${rm}r $gentop"
35755 - $run ${rm}r "$gentop"
35756 - $show "mkdir $gentop"
35757 - $run mkdir "$gentop"
35759 - if test $status -ne 0 && test ! -d "$gentop"; then
35762 generated="$generated $gentop"
35764 - for xlib in $convenience; do
35765 - # Extract the objects.
35767 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35768 - *) xabs=`pwd`"/$xlib" ;;
35770 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35771 - xdir="$gentop/$xlib"
35773 - $show "${rm}r $xdir"
35774 - $run ${rm}r "$xdir"
35775 - $show "mkdir $xdir"
35776 - $run mkdir "$xdir"
35778 - if test $status -ne 0 && test ! -d "$xdir"; then
35781 - $show "(cd $xdir && $AR x $xabs)"
35782 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35784 - reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35786 + func_extract_archives $gentop $convenience
35787 + reload_conv_objs="$reload_objs $func_extract_archives_result"
35791 @@ -3107,10 +4266,11 @@
35792 reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
35795 - eval cmds=\"$reload_cmds\"
35796 + cmds=$reload_cmds
35797 save_ifs="$IFS"; IFS='~'
35798 for cmd in $cmds; do
35800 + eval cmd=\"$cmd\"
35802 $run eval "$cmd" || exit $?
35804 @@ -3123,7 +4283,7 @@
35805 $run ${rm}r $gentop
35809 + exit $EXIT_SUCCESS
35812 if test "$build_libtool_libs" != yes; then
35813 @@ -3134,37 +4294,24 @@
35815 # Create an invalid libtool object if no PIC, so that we don't
35816 # accidentally link it into a program.
35817 - $show "echo timestamp > $libobj"
35818 - $run eval "echo timestamp > $libobj" || exit $?
35820 + # $show "echo timestamp > $libobj"
35821 + # $run eval "echo timestamp > $libobj" || exit $?
35822 + exit $EXIT_SUCCESS
35825 if test -n "$pic_flag" || test "$pic_mode" != default; then
35826 # Only do commands if we really have different PIC objects.
35827 reload_objs="$libobjs $reload_conv_objs"
35829 - eval cmds=\"$reload_cmds\"
35830 + cmds=$reload_cmds
35831 save_ifs="$IFS"; IFS='~'
35832 for cmd in $cmds; do
35834 + eval cmd=\"$cmd\"
35836 $run eval "$cmd" || exit $?
35840 - # Just create a symlink.
35841 - $show $rm $libobj
35843 - xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
35844 - if test "X$xdir" = "X$libobj"; then
35849 - baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
35850 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35851 - $show "(cd $xdir && $LN_S $oldobj $baseobj)"
35852 - $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
35855 if test -n "$gentop"; then
35856 @@ -3172,12 +4319,12 @@
35857 $run ${rm}r $gentop
35861 + exit $EXIT_SUCCESS
35866 - *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35867 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35869 if test -n "$vinfo"; then
35870 $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
35871 @@ -3199,16 +4346,48 @@
35872 # On Rhapsody replace the C library is the System framework
35873 compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35874 finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35877 - # Don't allow lazy linking, it breaks C++ global constructors
35878 - compile_command="$compile_command ${wl}-bind_at_load"
35879 - finalize_command="$finalize_command ${wl}-bind_at_load"
35887 + # Don't allow lazy linking, it breaks C++ global constructors
35888 + if test "$tagname" = CXX ; then
35889 + compile_command="$compile_command ${wl}-bind_at_load"
35890 + finalize_command="$finalize_command ${wl}-bind_at_load"
35896 + # move library search paths that coincide with paths to not yet
35897 + # installed libraries to the beginning of the library search list
35899 + for path in $notinst_path; do
35900 + case " $new_libs " in
35901 + *" -L$path/$objdir "*) ;;
35903 + case " $compile_deplibs " in
35904 + *" -L$path/$objdir "*)
35905 + new_libs="$new_libs -L$path/$objdir" ;;
35910 + for deplib in $compile_deplibs; do
35913 + case " $new_libs " in
35914 + *" $deplib "*) ;;
35915 + *) new_libs="$new_libs $deplib" ;;
35918 + *) new_libs="$new_libs $deplib" ;;
35921 + compile_deplibs="$new_libs"
35924 compile_command="$compile_command $compile_deplibs"
35925 finalize_command="$finalize_command $finalize_deplibs"
35927 @@ -3253,10 +4432,15 @@
35930 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
35931 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
35932 case :$dllsearchpath: in
35934 *) dllsearchpath="$dllsearchpath:$libdir";;
35936 + case :$dllsearchpath: in
35937 + *":$testbindir:"*) ;;
35938 + *) dllsearchpath="$dllsearchpath:$testbindir";;
35943 @@ -3359,31 +4543,43 @@
35946 if test -n "$exclude_expsyms"; then
35947 - $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35948 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35949 $run eval '$mv "$nlist"T "$nlist"'
35952 if test -n "$export_symbols_regex"; then
35953 - $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35954 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35955 $run eval '$mv "$nlist"T "$nlist"'
35958 # Prepare the list of exported symbols
35959 if test -z "$export_symbols"; then
35960 - export_symbols="$output_objdir/$output.exp"
35961 + export_symbols="$output_objdir/$outputname.exp"
35962 $run $rm $export_symbols
35963 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35964 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35966 + *cygwin* | *mingw* )
35967 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35968 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
35972 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
35973 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
35974 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
35975 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
35976 $run eval 'mv "$nlist"T "$nlist"'
35978 + *cygwin* | *mingw* )
35979 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35980 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
35986 for arg in $dlprefiles; do
35987 $show "extracting global C symbols from \`$arg'"
35988 - name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
35989 - $run eval 'echo ": $name " >> "$nlist"'
35990 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
35991 + $run eval '$echo ": $name " >> "$nlist"'
35992 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
35995 @@ -3392,7 +4588,7 @@
35996 test -f "$nlist" || : > "$nlist"
35998 if test -n "$exclude_expsyms"; then
35999 - egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36000 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36001 $mv "$nlist"T "$nlist"
36004 @@ -3412,7 +4608,7 @@
36005 if test -f "$nlist"S; then
36006 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
36008 - echo '/* NONE */' >> "$output_objdir/$dlsyms"
36009 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
36012 $echo >> "$output_objdir/$dlsyms" "\
36013 @@ -3427,7 +4623,26 @@
36016 /* The mapping between symbol names and symbols. */
36020 + *cygwin* | *mingw* )
36021 + $echo >> "$output_objdir/$dlsyms" "\
36022 +/* DATA imports from DLLs on WIN32 can't be const, because
36023 + runtime relocations are performed -- see ld's documentation
36024 + on pseudo-relocs */
36029 + $echo >> "$output_objdir/$dlsyms" "\
36036 + $echo >> "$output_objdir/$dlsyms" "\
36040 @@ -3464,30 +4679,43 @@
36041 *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
36042 case "$compile_command " in
36044 - *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
36045 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
36048 case "$compile_command " in
36050 - *) pic_flag_for_symtable=" $pic_flag -DPIC";;
36051 + *) pic_flag_for_symtable=" $pic_flag";;
36055 # Now compile the dynamic symbol file.
36056 - $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36057 - $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36058 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36059 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36061 # Clean up the generated files.
36062 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
36063 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
36065 # Transform the symbol file into the correct name.
36066 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36067 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36069 + *cygwin* | *mingw* )
36070 + if test -f "$output_objdir/${outputname}.def" ; then
36071 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36072 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36074 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36075 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36079 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36080 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36085 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
36087 + exit $EXIT_FAILURE
36091 @@ -3500,7 +4728,7 @@
36092 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
36095 - if test $need_relink = no || test "$build_libtool_libs" != yes; then
36096 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
36097 # Replace the output file specification.
36098 compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
36099 link_command="$compile_command$compile_rpath"
36100 @@ -3508,7 +4736,7 @@
36101 # We have no uninstalled library dependencies, so finalize right now.
36102 $show "$link_command"
36103 $run eval "$link_command"
36107 # Delete the generated files.
36108 if test -n "$dlsyms"; then
36109 @@ -3516,7 +4744,7 @@
36110 $run $rm "$output_objdir/${outputname}S.${objext}"
36114 + exit $exit_status
36117 if test -n "$shlibpath_var"; then
36118 @@ -3575,7 +4803,7 @@
36119 # Link the executable and exit
36120 $show "$link_command"
36121 $run eval "$link_command" || exit $?
36123 + exit $EXIT_SUCCESS
36126 if test "$hardcode_action" = relink; then
36127 @@ -3630,10 +4858,10 @@
36130 # Quote $echo for shipping.
36131 - if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
36133 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
36134 - *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
36135 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
36136 + case $progpath in
36137 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
36138 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
36140 qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
36142 @@ -3645,15 +4873,376 @@
36143 # win32 will think the script is a binary if it has
36144 # a .exe suffix, so we strip it off here.
36146 - *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
36147 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
36149 # test for cygwin because mv fails w/o .exe extensions
36151 - *cygwin*) exeext=.exe ;;
36154 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
36158 - trap "$rm $output; exit 1" 1 2 15
36160 + *cygwin* | *mingw* )
36161 + output_name=`basename $output`
36162 + output_path=`dirname $output`
36163 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
36164 + cwrapper="$output_path/$output_name.exe"
36165 + $rm $cwrappersource $cwrapper
36166 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
36168 + cat > $cwrappersource <<EOF
36170 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
36171 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
36173 + The $output program cannot be directly executed until all the libtool
36174 + libraries that it depends on are installed.
36176 + This wrapper executable should never be moved out of the build directory.
36177 + If it is, it will not operate correctly.
36179 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
36180 + but could eventually absorb all of the scripts functionality and
36181 + exec $objdir/$outputname directly.
36184 + cat >> $cwrappersource<<"EOF"
36185 +#include <stdio.h>
36186 +#include <stdlib.h>
36187 +#include <unistd.h>
36188 +#include <malloc.h>
36189 +#include <stdarg.h>
36190 +#include <assert.h>
36191 +#include <string.h>
36192 +#include <ctype.h>
36193 +#include <sys/stat.h>
36195 +#if defined(PATH_MAX)
36196 +# define LT_PATHMAX PATH_MAX
36197 +#elif defined(MAXPATHLEN)
36198 +# define LT_PATHMAX MAXPATHLEN
36200 +# define LT_PATHMAX 1024
36203 +#ifndef DIR_SEPARATOR
36204 +# define DIR_SEPARATOR '/'
36205 +# define PATH_SEPARATOR ':'
36208 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
36209 + defined (__OS2__)
36210 +# define HAVE_DOS_BASED_FILE_SYSTEM
36211 +# ifndef DIR_SEPARATOR_2
36212 +# define DIR_SEPARATOR_2 '\\'
36214 +# ifndef PATH_SEPARATOR_2
36215 +# define PATH_SEPARATOR_2 ';'
36219 +#ifndef DIR_SEPARATOR_2
36220 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
36221 +#else /* DIR_SEPARATOR_2 */
36222 +# define IS_DIR_SEPARATOR(ch) \
36223 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
36224 +#endif /* DIR_SEPARATOR_2 */
36226 +#ifndef PATH_SEPARATOR_2
36227 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
36228 +#else /* PATH_SEPARATOR_2 */
36229 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
36230 +#endif /* PATH_SEPARATOR_2 */
36232 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
36233 +#define XFREE(stale) do { \
36234 + if (stale) { free ((void *) stale); stale = 0; } \
36237 +/* -DDEBUG is fairly common in CFLAGS. */
36239 +#if defined DEBUGWRAPPER
36240 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
36242 +# define DEBUG(format, ...)
36245 +const char *program_name = NULL;
36247 +void * xmalloc (size_t num);
36248 +char * xstrdup (const char *string);
36249 +const char * base_name (const char *name);
36250 +char * find_executable(const char *wrapper);
36251 +int check_executable(const char *path);
36252 +char * strendzap(char *str, const char *pat);
36253 +void lt_fatal (const char *message, ...);
36256 +main (int argc, char *argv[])
36261 + program_name = (char *) xstrdup (base_name (argv[0]));
36262 + DEBUG("(main) argv[0] : %s\n",argv[0]);
36263 + DEBUG("(main) program_name : %s\n",program_name);
36264 + newargz = XMALLOC(char *, argc+2);
36267 + cat >> $cwrappersource <<EOF
36268 + newargz[0] = (char *) xstrdup("$SHELL");
36271 + cat >> $cwrappersource <<"EOF"
36272 + newargz[1] = find_executable(argv[0]);
36273 + if (newargz[1] == NULL)
36274 + lt_fatal("Couldn't find %s", argv[0]);
36275 + DEBUG("(main) found exe at : %s\n",newargz[1]);
36276 + /* we know the script has the same name, without the .exe */
36277 + /* so make sure newargz[1] doesn't end in .exe */
36278 + strendzap(newargz[1],".exe");
36279 + for (i = 1; i < argc; i++)
36280 + newargz[i+1] = xstrdup(argv[i]);
36281 + newargz[argc+1] = NULL;
36283 + for (i=0; i<argc+1; i++)
36285 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
36293 + cat >> $cwrappersource <<EOF
36294 + execv("$SHELL",(char const **)newargz);
36298 + cat >> $cwrappersource <<EOF
36299 + execv("$SHELL",newargz);
36304 + cat >> $cwrappersource <<"EOF"
36309 +xmalloc (size_t num)
36311 + void * p = (void *) malloc (num);
36313 + lt_fatal ("Memory exhausted");
36319 +xstrdup (const char *string)
36321 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
36326 +base_name (const char *name)
36328 + const char *base;
36330 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36331 + /* Skip over the disk name in MSDOS pathnames. */
36332 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
36336 + for (base = name; *name; name++)
36337 + if (IS_DIR_SEPARATOR (*name))
36343 +check_executable(const char * path)
36347 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
36348 + if ((!path) || (!*path))
36351 + if ((stat (path, &st) >= 0) &&
36353 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
36354 +#if defined (S_IXOTH)
36355 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
36357 +#if defined (S_IXGRP)
36358 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
36360 + ((st.st_mode & S_IXUSR) == S_IXUSR))
36367 +/* Searches for the full path of the wrapper. Returns
36368 + newly allocated full path name if found, NULL otherwise */
36370 +find_executable (const char* wrapper)
36372 + int has_slash = 0;
36374 + const char* p_next;
36375 + /* static buffer for getcwd */
36376 + char tmp[LT_PATHMAX + 1];
36378 + char* concat_name;
36380 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
36382 + if ((wrapper == NULL) || (*wrapper == '\0'))
36385 + /* Absolute path? */
36386 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36387 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
36389 + concat_name = xstrdup (wrapper);
36390 + if (check_executable(concat_name))
36391 + return concat_name;
36392 + XFREE(concat_name);
36397 + if (IS_DIR_SEPARATOR (wrapper[0]))
36399 + concat_name = xstrdup (wrapper);
36400 + if (check_executable(concat_name))
36401 + return concat_name;
36402 + XFREE(concat_name);
36404 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36408 + for (p = wrapper; *p; p++)
36416 + /* no slashes; search PATH */
36417 + const char* path = getenv ("PATH");
36418 + if (path != NULL)
36420 + for (p = path; *p; p = p_next)
36424 + for (q = p; *q; q++)
36425 + if (IS_PATH_SEPARATOR(*q))
36428 + p_next = (*q == '\0' ? q : q + 1);
36431 + /* empty path: current directory */
36432 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36433 + lt_fatal ("getcwd failed");
36434 + tmp_len = strlen(tmp);
36435 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36436 + memcpy (concat_name, tmp, tmp_len);
36437 + concat_name[tmp_len] = '/';
36438 + strcpy (concat_name + tmp_len + 1, wrapper);
36442 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
36443 + memcpy (concat_name, p, p_len);
36444 + concat_name[p_len] = '/';
36445 + strcpy (concat_name + p_len + 1, wrapper);
36447 + if (check_executable(concat_name))
36448 + return concat_name;
36449 + XFREE(concat_name);
36452 + /* not found in PATH; assume curdir */
36454 + /* Relative path | not found in path: prepend cwd */
36455 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36456 + lt_fatal ("getcwd failed");
36457 + tmp_len = strlen(tmp);
36458 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36459 + memcpy (concat_name, tmp, tmp_len);
36460 + concat_name[tmp_len] = '/';
36461 + strcpy (concat_name + tmp_len + 1, wrapper);
36463 + if (check_executable(concat_name))
36464 + return concat_name;
36465 + XFREE(concat_name);
36470 +strendzap(char *str, const char *pat)
36472 + size_t len, patlen;
36474 + assert(str != NULL);
36475 + assert(pat != NULL);
36477 + len = strlen(str);
36478 + patlen = strlen(pat);
36480 + if (patlen <= len)
36482 + str += len - patlen;
36483 + if (strcmp(str, pat) == 0)
36490 +lt_error_core (int exit_status, const char * mode,
36491 + const char * message, va_list ap)
36493 + fprintf (stderr, "%s: %s: ", program_name, mode);
36494 + vfprintf (stderr, message, ap);
36495 + fprintf (stderr, ".\n");
36497 + if (exit_status >= 0)
36498 + exit (exit_status);
36502 +lt_fatal (const char *message, ...)
36505 + va_start (ap, message);
36506 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
36510 + # we should really use a build-platform specific compiler
36511 + # here, but OTOH, the wrappers (shell script and this C one)
36512 + # are only useful if you want to execute the "real" binary.
36513 + # Since the "real" binary is built for $host, then this
36514 + # wrapper might as well be built for $host, too.
36515 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
36519 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
36523 @@ -3669,12 +5258,12 @@
36525 # Sed substitution that helps us do robust quoting. It backslashifies
36526 # metacharacters that are still active within double-quoted strings.
36527 -Xsed="${SED}"' -e 1s/^X//'
36528 +Xsed='${SED} -e 1s/^X//'
36529 sed_quote_subst='$sed_quote_subst'
36531 # The HP-UX ksh and POSIX shell print the target directory to stdout
36532 # if CDPATH is set.
36533 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
36534 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
36536 relink_command=\"$relink_command\"
36538 @@ -3729,7 +5318,7 @@
36541 if test "$fast_install" = yes; then
36542 - echo >> $output "\
36543 + $echo >> $output "\
36544 program=lt-'$outputname'$exeext
36545 progdir=\"\$thisdir/$objdir\"
36547 @@ -3745,7 +5334,7 @@
36548 $rm \"\$progdir/\$file\"
36551 - echo >> $output "\
36552 + $echo >> $output "\
36554 # relink executable if necessary
36555 if test -n \"\$relink_command\"; then
36556 @@ -3753,7 +5342,7 @@
36558 $echo \"\$relink_command_output\" >&2
36559 $rm \"\$progdir/\$file\"
36561 + exit $EXIT_FAILURE
36565 @@ -3763,13 +5352,13 @@
36566 $rm \"\$progdir/\$file\"
36569 - echo >> $output "\
36570 + $echo >> $output "\
36571 program='$outputname'
36572 progdir=\"\$thisdir/$objdir\"
36576 - echo >> $output "\
36577 + $echo >> $output "\
36579 if test -f \"\$progdir/\$program\"; then"
36581 @@ -3780,7 +5369,7 @@
36582 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
36584 # Some systems cannot cope with colon-terminated $shlibpath_var
36585 - # The second colon is a workaround for a bug in BeOS R4 ${SED}
36586 + # The second colon is a workaround for a bug in BeOS R4 sed
36587 $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
36589 export $shlibpath_var
36590 @@ -3800,47 +5389,35 @@
36591 # Run the actual program with our arguments.
36594 - # win32 systems need to use the prog path for dll
36596 - *-*-cygwin* | *-*-pw32*)
36597 - $echo >> $output "\
36598 - exec \$progdir/\$program \${1+\"\$@\"}
36602 # Backslashes separate directories on plain windows
36603 *-*-mingw | *-*-os2*)
36604 $echo >> $output "\
36605 - exec \$progdir\\\\\$program \${1+\"\$@\"}
36606 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
36611 $echo >> $output "\
36612 - # Export the path to the program.
36613 - PATH=\"\$progdir:\$PATH\"
36616 - exec \$program \${1+\"\$@\"}
36617 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
36621 $echo >> $output "\
36622 \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
36624 + exit $EXIT_FAILURE
36627 # The program doesn't exist.
36628 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
36629 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
36630 \$echo \"This script is just a wrapper for \$program.\" 1>&2
36631 - echo \"See the $PACKAGE documentation for more information.\" 1>&2
36633 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
36634 + exit $EXIT_FAILURE
36641 + exit $EXIT_SUCCESS
36645 @@ -3856,74 +5433,130 @@
36646 oldobjs="$libobjs_save"
36647 build_libtool_libs=no
36649 - oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
36650 + oldobjs="$old_deplibs $non_pic_objects"
36652 addlibs="$old_convenience"
36655 if test -n "$addlibs"; then
36656 gentop="$output_objdir/${outputname}x"
36657 - $show "${rm}r $gentop"
36658 - $run ${rm}r "$gentop"
36659 - $show "mkdir $gentop"
36660 - $run mkdir "$gentop"
36662 - if test $status -ne 0 && test ! -d "$gentop"; then
36665 generated="$generated $gentop"
36667 - # Add in members from convenience archives.
36668 - for xlib in $addlibs; do
36669 - # Extract the objects.
36671 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
36672 - *) xabs=`pwd`"/$xlib" ;;
36674 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
36675 - xdir="$gentop/$xlib"
36677 - $show "${rm}r $xdir"
36678 - $run ${rm}r "$xdir"
36679 - $show "mkdir $xdir"
36680 - $run mkdir "$xdir"
36682 - if test $status -ne 0 && test ! -d "$xdir"; then
36685 - $show "(cd $xdir && $AR x $xabs)"
36686 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
36688 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
36690 + func_extract_archives $gentop $addlibs
36691 + oldobjs="$oldobjs $func_extract_archives_result"
36694 # Do each command in the archive commands.
36695 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
36696 - eval cmds=\"$old_archive_from_new_cmds\"
36697 + cmds=$old_archive_from_new_cmds
36699 - # Ensure that we have .o objects in place in case we decided
36700 - # not to build a shared library, and have fallen back to building
36701 - # static libs even though --disable-static was passed!
36702 - for oldobj in $oldobjs; do
36703 - if test ! -f $oldobj; then
36704 - xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
36705 - if test "X$xdir" = "X$oldobj"; then
36709 + # POSIX demands no paths to be encoded in archives. We have
36710 + # to avoid creating archives with duplicate basenames if we
36711 + # might have to extract them afterwards, e.g., when creating a
36712 + # static archive out of a convenience library, or when linking
36713 + # the entirety of a libtool archive into another (currently
36714 + # not supported by libtool).
36715 + if (for obj in $oldobjs
36717 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
36718 + done | sort | sort -uc >/dev/null 2>&1); then
36721 + $echo "copying selected object files to avoid basename conflicts..."
36723 + if test -z "$gentop"; then
36724 + gentop="$output_objdir/${outputname}x"
36725 + generated="$generated $gentop"
36727 + $show "${rm}r $gentop"
36728 + $run ${rm}r "$gentop"
36729 + $show "$mkdir $gentop"
36730 + $run $mkdir "$gentop"
36732 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
36733 + exit $exit_status
36735 - baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
36736 - obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
36737 - $show "(cd $xdir && ${LN_S} $obj $baseobj)"
36738 - $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
36742 + save_oldobjs=$oldobjs
36745 + for obj in $save_oldobjs
36747 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
36748 + case " $oldobjs " in
36749 + " ") oldobjs=$obj ;;
36750 + *[\ /]"$objbase "*)
36752 + # Make sure we don't pick an alternate name that also
36754 + newobj=lt$counter-$objbase
36755 + counter=`expr $counter + 1`
36756 + case " $oldobjs " in
36757 + *[\ /]"$newobj "*) ;;
36758 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
36761 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
36762 + $run ln "$obj" "$gentop/$newobj" ||
36763 + $run cp "$obj" "$gentop/$newobj"
36764 + oldobjs="$oldobjs $gentop/$newobj"
36766 + *) oldobjs="$oldobjs $obj" ;;
36771 eval cmds=\"$old_archive_cmds\"
36773 + if len=`expr "X$cmds" : ".*"` &&
36774 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
36775 + cmds=$old_archive_cmds
36777 + # the command line is too long to link in one step, link in parts
36778 + $echo "using piecewise archive linking..."
36779 + save_RANLIB=$RANLIB
36783 + save_oldobjs=$oldobjs
36785 + # Is there a better way of finding the last object in the list?
36786 + for obj in $save_oldobjs
36790 + for obj in $save_oldobjs
36792 + oldobjs="$objlist $obj"
36793 + objlist="$objlist $obj"
36794 + eval test_cmds=\"$old_archive_cmds\"
36795 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
36796 + test "$len" -le "$max_cmd_len"; then
36799 + # the above command should be used before it gets too long
36801 + if test "$obj" = "$last_oldobj" ; then
36802 + RANLIB=$save_RANLIB
36804 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
36805 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
36809 + RANLIB=$save_RANLIB
36811 + if test "X$oldobjs" = "X" ; then
36812 + eval cmds=\"\$concat_cmds\"
36814 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
36818 save_ifs="$IFS"; IFS='~'
36819 for cmd in $cmds; do
36820 + eval cmd=\"$cmd\"
36823 $run eval "$cmd" || exit $?
36824 @@ -3955,8 +5588,12 @@
36827 # Quote the link command for shipping.
36828 - relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
36829 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
36830 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
36831 + if test "$hardcode_automatic" = yes ; then
36836 # Only create the output if not a dry run.
36837 if test -z "$run"; then
36838 @@ -3975,7 +5612,7 @@
36839 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
36840 if test -z "$libdir"; then
36841 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
36843 + exit $EXIT_FAILURE
36845 newdependency_libs="$newdependency_libs $libdir/$name"
36847 @@ -3989,7 +5626,7 @@
36848 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36849 if test -z "$libdir"; then
36850 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36852 + exit $EXIT_FAILURE
36854 newdlfiles="$newdlfiles $libdir/$name"
36856 @@ -4000,17 +5637,36 @@
36857 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36858 if test -z "$libdir"; then
36859 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36861 + exit $EXIT_FAILURE
36863 newdlprefiles="$newdlprefiles $libdir/$name"
36865 dlprefiles="$newdlprefiles"
36868 + for lib in $dlfiles; do
36870 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36871 + *) abs=`pwd`"/$lib" ;;
36873 + newdlfiles="$newdlfiles $abs"
36875 + dlfiles="$newdlfiles"
36877 + for lib in $dlprefiles; do
36879 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36880 + *) abs=`pwd`"/$lib" ;;
36882 + newdlprefiles="$newdlprefiles $abs"
36884 + dlprefiles="$newdlprefiles"
36887 # place dlname in correct position for cygwin
36889 case $host,$output,$installed,$module,$dlname in
36890 - *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36891 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36894 # $outputname - a libtool library file
36895 @@ -4039,13 +5695,16 @@
36896 # Is this an already installed library?
36897 installed=$installed
36899 +# Should we warn about portability when linking against -modules?
36900 +shouldnotlink=$module
36902 # Files to dlopen/dlpreopen
36904 dlpreopen='$dlprefiles'
36906 # Directory that this library needs to be installed in:
36907 libdir='$install_libdir'"
36908 - if test "$installed" = no && test $need_relink = yes; then
36909 + if test "$installed" = no && test "$need_relink" = yes; then
36910 $echo >> $output "\
36911 relink_command=\"$relink_command\""
36913 @@ -4058,7 +5717,7 @@
36914 $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
36918 + exit $EXIT_SUCCESS
36921 # libtool install mode
36922 @@ -4069,11 +5728,11 @@
36923 # install_prog (especially on Windows NT).
36924 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
36925 # Allow the use of GNU shtool's install command.
36926 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
36927 + $echo "X$nonopt" | grep shtool > /dev/null; then
36928 # Aesthetically quote it.
36929 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
36931 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36932 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36936 @@ -4082,14 +5741,14 @@
36944 # The real first argument should be the name of the installation program.
36945 # Aesthetically quote it.
36946 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
36948 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36949 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36953 @@ -4107,28 +5766,31 @@
36955 if test -n "$dest"; then
36956 files="$files $dest"
36969 + case " $install_prog " in
36970 + *[\\\ /]cp\ *) ;;
36974 + -g | -m | -o) prev=$arg ;;
36984 # If the previous option needed an argument, then skip it.
36985 if test -n "$prev"; then
36993 @@ -4137,7 +5799,7 @@
36994 # Aesthetically quote the argument.
36995 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
36997 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36998 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37002 @@ -4147,13 +5809,13 @@
37003 if test -z "$install_prog"; then
37004 $echo "$modename: you must specify an install program" 1>&2
37007 + exit $EXIT_FAILURE
37010 if test -n "$prev"; then
37011 $echo "$modename: the \`$prev' option requires an argument" 1>&2
37014 + exit $EXIT_FAILURE
37017 if test -z "$files"; then
37018 @@ -4163,7 +5825,7 @@
37019 $echo "$modename: you must specify a destination" 1>&2
37023 + exit $EXIT_FAILURE
37026 # Strip any trailing slash from the destination.
37027 @@ -4181,10 +5843,10 @@
37029 # Not a directory, so check to see that there is only one file specified.
37031 - if test $# -gt 2; then
37032 + if test "$#" -gt 2; then
37033 $echo "$modename: \`$dest' is not a directory" 1>&2
37036 + exit $EXIT_FAILURE
37040 @@ -4196,7 +5858,7 @@
37042 $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
37045 + exit $EXIT_FAILURE
37049 @@ -4221,11 +5883,11 @@
37052 # Check to see that this really is a libtool archive.
37053 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37054 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37056 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
37059 + exit $EXIT_FAILURE
37063 @@ -4256,30 +5918,33 @@
37066 if test -n "$relink_command"; then
37067 - # Determine the prefix the user has applied to our future dir.
37068 - inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
37070 - # Don't allow the user to place us outside of our expected
37071 - # location b/c this prevents finding dependent libraries that
37072 - # are installed to the same prefix.
37073 - if test "$inst_prefix_dir" = "$destdir"; then
37074 - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37078 - if test -n "$inst_prefix_dir"; then
37079 - # Stick the inst_prefix_dir data into the link command.
37080 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37082 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
37084 + # Determine the prefix the user has applied to our future dir.
37085 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
37087 + # Don't allow the user to place us outside of our expected
37088 + # location b/c this prevents finding dependent libraries that
37089 + # are installed to the same prefix.
37090 + # At present, this check doesn't affect windows .dll's that
37091 + # are installed into $libdir/../bin (currently, that works fine)
37092 + # but it's something to keep an eye on.
37093 + if test "$inst_prefix_dir" = "$destdir"; then
37094 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37095 + exit $EXIT_FAILURE
37098 + if test -n "$inst_prefix_dir"; then
37099 + # Stick the inst_prefix_dir data into the link command.
37100 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37102 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
37105 $echo "$modename: warning: relinking \`$file'" 1>&2
37106 $show "$relink_command"
37107 if $run eval "$relink_command"; then :
37109 $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
37111 + exit $EXIT_FAILURE
37115 @@ -4301,25 +5966,38 @@
37116 $run eval "$striplib $destdir/$realname" || exit $?
37119 - if test $# -gt 0; then
37120 + if test "$#" -gt 0; then
37121 # Delete the old symlinks, and create new ones.
37122 + # Try `ln -sf' first, because the `ln' binary might depend on
37123 + # the symlink we replace! Solaris /bin/ln does not understand -f,
37124 + # so we also need to try rm && ln -s.
37127 if test "$linkname" != "$realname"; then
37128 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37129 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37130 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37131 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37136 # Do each command in the postinstall commands.
37137 lib="$destdir/$realname"
37138 - eval cmds=\"$postinstall_cmds\"
37139 + cmds=$postinstall_cmds
37140 save_ifs="$IFS"; IFS='~'
37141 for cmd in $cmds; do
37143 + eval cmd=\"$cmd\"
37145 - $run eval "$cmd" || exit $?
37146 + $run eval "$cmd" || {
37149 + # Restore the uninstalled library and exit
37150 + if test "$mode" = relink; then
37151 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
37159 @@ -4357,7 +6035,7 @@
37161 $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
37164 + exit $EXIT_FAILURE
37168 @@ -4375,7 +6053,7 @@
37169 $show "$install_prog $staticobj $staticdest"
37170 $run eval "$install_prog \$staticobj \$staticdest" || exit $?
37173 + exit $EXIT_SUCCESS
37177 @@ -4387,29 +6065,47 @@
37178 destfile="$destdir/$destfile"
37181 + # If the file is missing, and there is a .exe on the end, strip it
37182 + # because it is most likely a libtool script we actually want to
37187 + if test ! -f "$file"; then
37188 + file=`$echo $file|${SED} 's,.exe$,,'`
37189 + stripped_ext=".exe"
37194 # Do a test to see if this is really a libtool program.
37197 - wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
37198 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
37204 - if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37205 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37209 + # Note that it is not necessary on cygwin/mingw to append a dot to
37210 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37211 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37212 + # `FILE.' does not work on cygwin managed mounts.
37214 # If there is no directory component, then add one.
37216 - */* | *\\*) . $wrapper ;;
37217 - *) . ./$wrapper ;;
37219 + */* | *\\*) . ${wrapper} ;;
37220 + *) . ./${wrapper} ;;
37223 # Check the variables that should have been set.
37224 if test -z "$notinst_deplibs"; then
37225 $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
37227 + exit $EXIT_FAILURE
37231 @@ -4431,24 +6127,22 @@
37235 + # Note that it is not necessary on cygwin/mingw to append a dot to
37236 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37237 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37238 + # `FILE.' does not work on cygwin managed mounts.
37240 # If there is no directory component, then add one.
37242 - */* | *\\*) . $wrapper ;;
37243 - *) . ./$wrapper ;;
37245 + */* | *\\*) . ${wrapper} ;;
37246 + *) . ./${wrapper} ;;
37250 if test "$fast_install" = no && test -n "$relink_command"; then
37251 if test "$finalize" = yes && test -z "$run"; then
37253 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
37254 - tmpdir="$tmpdir/libtool-$$"
37255 - if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
37257 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
37260 - file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37261 + tmpdir=`func_mktempdir`
37262 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
37263 outputname="$tmpdir/$file"
37264 # Replace the output file specification.
37265 relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
37266 @@ -4466,14 +6160,14 @@
37269 # Install the binary that we compiled earlier.
37270 - file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37271 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37275 # remove .exe since cygwin /usr/bin/install will append another
37278 case $install_prog,$host in
37279 - /usr/bin/install*,*cygwin*)
37280 + */usr/bin/install*,*cygwin*)
37281 case $file:$destfile in
37284 @@ -4482,7 +6176,7 @@
37285 destfile=$destfile.exe
37288 - destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
37289 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
37293 @@ -4503,16 +6197,17 @@
37294 $show "$install_prog $file $oldlib"
37295 $run eval "$install_prog \$file \$oldlib" || exit $?
37297 - if test -n "$stripme" && test -n "$striplib"; then
37298 + if test -n "$stripme" && test -n "$old_striplib"; then
37299 $show "$old_striplib $oldlib"
37300 $run eval "$old_striplib $oldlib" || exit $?
37303 # Do each command in the postinstall commands.
37304 - eval cmds=\"$old_postinstall_cmds\"
37305 + cmds=$old_postinstall_cmds
37306 save_ifs="$IFS"; IFS='~'
37307 for cmd in $cmds; do
37309 + eval cmd=\"$cmd\"
37311 $run eval "$cmd" || exit $?
37313 @@ -4526,9 +6221,9 @@
37314 if test -n "$current_libdirs"; then
37315 # Maybe just do a dry run.
37316 test -n "$run" && current_libdirs=" -n$current_libdirs"
37317 - exec_cmd='$SHELL $0 --finish$current_libdirs'
37318 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
37321 + exit $EXIT_SUCCESS
37325 @@ -4547,10 +6242,11 @@
37326 for libdir in $libdirs; do
37327 if test -n "$finish_cmds"; then
37328 # Do each command in the finish commands.
37329 - eval cmds=\"$finish_cmds\"
37330 + cmds=$finish_cmds
37331 save_ifs="$IFS"; IFS='~'
37332 for cmd in $cmds; do
37334 + eval cmd=\"$cmd\"
37336 $run eval "$cmd" || admincmds="$admincmds
37338 @@ -4567,43 +6263,43 @@
37341 # Exit here if they wanted silent mode.
37342 - test "$show" = ":" && exit 0
37343 + test "$show" = : && exit $EXIT_SUCCESS
37345 - echo "----------------------------------------------------------------------"
37346 - echo "Libraries have been installed in:"
37347 + $echo "X----------------------------------------------------------------------" | $Xsed
37348 + $echo "Libraries have been installed in:"
37349 for libdir in $libdirs; do
37354 - echo "If you ever happen to want to link against installed libraries"
37355 - echo "in a given directory, LIBDIR, you must either use libtool, and"
37356 - echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37357 - echo "flag during linking and do at least one of the following:"
37359 + $echo "If you ever happen to want to link against installed libraries"
37360 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
37361 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37362 + $echo "flag during linking and do at least one of the following:"
37363 if test -n "$shlibpath_var"; then
37364 - echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37365 - echo " during execution"
37366 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37367 + $echo " during execution"
37369 if test -n "$runpath_var"; then
37370 - echo " - add LIBDIR to the \`$runpath_var' environment variable"
37371 - echo " during linking"
37372 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
37373 + $echo " during linking"
37375 if test -n "$hardcode_libdir_flag_spec"; then
37377 eval flag=\"$hardcode_libdir_flag_spec\"
37379 - echo " - use the \`$flag' linker flag"
37380 + $echo " - use the \`$flag' linker flag"
37382 if test -n "$admincmds"; then
37383 - echo " - have your system administrator run these commands:$admincmds"
37384 + $echo " - have your system administrator run these commands:$admincmds"
37386 if test -f /etc/ld.so.conf; then
37387 - echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37388 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37391 - echo "See any operating system documentation about shared libraries for"
37392 - echo "more information, such as the ld(1) and ld.so(8) manual pages."
37393 - echo "----------------------------------------------------------------------"
37396 + $echo "See any operating system documentation about shared libraries for"
37397 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
37398 + $echo "X----------------------------------------------------------------------" | $Xsed
37399 + exit $EXIT_SUCCESS
37402 # libtool execute mode
37403 @@ -4615,7 +6311,7 @@
37404 if test -z "$cmd"; then
37405 $echo "$modename: you must specify a COMMAND" 1>&2
37408 + exit $EXIT_FAILURE
37411 # Handle -dlopen flags immediately.
37412 @@ -4623,18 +6319,18 @@
37413 if test ! -f "$file"; then
37414 $echo "$modename: \`$file' is not a file" 1>&2
37417 + exit $EXIT_FAILURE
37423 # Check to see that this really is a libtool archive.
37424 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37425 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37427 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
37430 + exit $EXIT_FAILURE
37433 # Read the libtool library.
37434 @@ -4661,7 +6357,7 @@
37437 $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
37439 + exit $EXIT_FAILURE
37443 @@ -4701,7 +6397,7 @@
37446 # Do a test to see if this is really a libtool program.
37447 - if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37448 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37449 # If there is no directory component, then add one.
37451 */* | *\\*) . $file ;;
37452 @@ -4724,7 +6420,7 @@
37453 eval "export $shlibpath_var"
37456 - # Restore saved enviroment variables
37457 + # Restore saved environment variables
37458 if test "${save_LC_ALL+set}" = set; then
37459 LC_ALL="$save_LC_ALL"; export LC_ALL
37461 @@ -4741,7 +6437,7 @@
37462 $echo "export $shlibpath_var"
37466 + exit $EXIT_SUCCESS
37470 @@ -4769,24 +6465,25 @@
37471 if test -z "$rm"; then
37472 $echo "$modename: you must specify an RM program" 1>&2
37475 + exit $EXIT_FAILURE
37480 + origobjdir="$objdir"
37481 for file in $files; do
37482 dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
37483 if test "X$dir" = "X$file"; then
37486 + objdir="$origobjdir"
37488 - objdir="$dir/$objdir"
37489 + objdir="$dir/$origobjdir"
37491 name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37492 - test $mode = uninstall && objdir="$dir"
37493 + test "$mode" = uninstall && objdir="$dir"
37495 # Remember objdir for removal later, being careful to avoid duplicates
37496 - if test $mode = clean; then
37497 + if test "$mode" = clean; then
37498 case " $rmdirs " in
37500 *) rmdirs="$rmdirs $objdir" ;;
37501 @@ -4810,7 +6507,7 @@
37504 # Possibly a libtool archive, so verify it.
37505 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37506 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37509 # Delete the libtool libraries and symlinks.
37510 @@ -4818,18 +6515,27 @@
37511 rmfiles="$rmfiles $objdir/$n"
37513 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
37514 - test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37516 - if test $mode = uninstall; then
37519 + case " $library_names " in
37520 + # " " in the beginning catches empty $dlname
37521 + *" $dlname "*) ;;
37522 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
37524 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37527 if test -n "$library_names"; then
37528 # Do each command in the postuninstall commands.
37529 - eval cmds=\"$postuninstall_cmds\"
37530 + cmds=$postuninstall_cmds
37531 save_ifs="$IFS"; IFS='~'
37532 for cmd in $cmds; do
37534 + eval cmd=\"$cmd\"
37537 - if test $? != 0 && test "$rmforce" != yes; then
37538 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37542 @@ -4838,40 +6544,72 @@
37544 if test -n "$old_library"; then
37545 # Do each command in the old_postuninstall commands.
37546 - eval cmds=\"$old_postuninstall_cmds\"
37547 + cmds=$old_postuninstall_cmds
37548 save_ifs="$IFS"; IFS='~'
37549 for cmd in $cmds; do
37551 + eval cmd=\"$cmd\"
37554 - if test $? != 0 && test "$rmforce" != yes; then
37555 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37561 # FIXME: should reinstall the best remaining shared library.
37569 - if test "$build_old_libs" = yes; then
37570 - oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
37571 - rmfiles="$rmfiles $dir/$oldobj"
37572 + # Possibly a libtool object, so verify it.
37573 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37575 + # Read the .lo file
37578 + # Add PIC object to the list of files to remove.
37579 + if test -n "$pic_object" \
37580 + && test "$pic_object" != none; then
37581 + rmfiles="$rmfiles $dir/$pic_object"
37584 + # Add non-PIC object to the list of files to remove.
37585 + if test -n "$non_pic_object" \
37586 + && test "$non_pic_object" != none; then
37587 + rmfiles="$rmfiles $dir/$non_pic_object"
37593 - # Do a test to see if this is a libtool program.
37594 - if test $mode = clean &&
37595 - (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37598 + if test "$mode" = clean ; then
37602 + file=`$echo $file|${SED} 's,.exe$,,'`
37603 + noexename=`$echo $name|${SED} 's,.exe$,,'`
37604 + # $file with .exe has already been added to rmfiles,
37605 + # add $file without .exe
37606 + rmfiles="$rmfiles $file"
37609 + # Do a test to see if this is a libtool program.
37610 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37612 + . $dir/$noexename
37614 - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37615 - if test "$fast_install" = yes && test -n "$relink_command"; then
37616 - rmfiles="$rmfiles $objdir/lt-$name"
37617 + # note $name still contains .exe if it was in $file originally
37618 + # as does the version of $file that was added into $rmfiles
37619 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37620 + if test "$fast_install" = yes && test -n "$relink_command"; then
37621 + rmfiles="$rmfiles $objdir/lt-$name"
37623 + if test "X$noexename" != "X$name" ; then
37624 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
37629 @@ -4879,6 +6617,7 @@
37630 $show "$rm $rmfiles"
37631 $run $rm $rmfiles || exit_status=1
37633 + objdir="$origobjdir"
37635 # Try to remove the ${objdir}s in the directories where we deleted files
37636 for dir in $rmdirs; do
37637 @@ -4894,20 +6633,20 @@
37639 $echo "$modename: you must specify a MODE" 1>&2
37640 $echo "$generic_help" 1>&2
37642 + exit $EXIT_FAILURE
37646 if test -z "$exec_cmd"; then
37647 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37648 $echo "$generic_help" 1>&2
37650 + exit $EXIT_FAILURE
37652 fi # test -z "$show_help"
37654 if test -n "$exec_cmd"; then
37655 eval exec $exec_cmd
37657 + exit $EXIT_FAILURE
37660 # We need to display help for each of the modes.
37661 @@ -4926,6 +6665,7 @@
37662 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
37663 --quiet same as \`--silent'
37664 --silent don't print informational messages
37665 + --tag=TAG use configuration variables from tag TAG
37666 --version print version information
37668 MODE must be one of the following:
37669 @@ -4939,8 +6679,10 @@
37670 uninstall remove libraries from an installed directory
37672 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
37673 -a more detailed description of MODE."
37675 +a more detailed description of MODE.
37677 +Report bugs to <bug-libtool@gnu.org>."
37678 + exit $EXIT_SUCCESS
37682 @@ -5051,6 +6793,9 @@
37683 -no-install link a not-installable executable
37684 -no-undefined declare that a library does not refer to external symbols
37685 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
37686 + -objectlist FILE Use a list of object files found in FILE to specify objects
37687 + -precious-files-regex REGEX
37688 + don't remove output files matching REGEX
37689 -release RELEASE specify package release information
37690 -rpath LIBDIR the created library will eventually be installed in LIBDIR
37691 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
37692 @@ -5092,14 +6837,33 @@
37694 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37697 + exit $EXIT_FAILURE
37703 $echo "Try \`$modename --help' for more information about other modes."
37708 +# The TAGs below are defined such that we never get into a situation
37709 +# in which we disable both kinds of libraries. Given conflicting
37710 +# choices, we go for a static library, that is the most portable,
37711 +# since we can't tell whether shared libraries were disabled because
37712 +# the user asked for that or because the platform doesn't support
37713 +# them. This is particularly important on AIX, because we don't
37714 +# support having both static and shared libraries enabled at the same
37715 +# time on that platform, so we default to a shared-only configuration.
37716 +# If a disable-shared tag is given, we'll fallback to a static-only
37717 +# configuration. But we'll never go from static-only to shared-only.
37719 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
37720 +disable_libs=shared
37721 +# ### END LIBTOOL TAG CONFIG: disable-shared
37723 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
37724 +disable_libs=static
37725 +# ### END LIBTOOL TAG CONFIG: disable-static
37728 # mode:shell-script
37729 diff -urN atm.old/m4/Makefile.in atm.dev/m4/Makefile.in
37730 --- atm.old/m4/Makefile.in 2007-10-20 16:57:33.430006415 +0200
37731 +++ atm.dev/m4/Makefile.in 2007-10-20 17:01:40.868107114 +0200
37733 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
37734 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
37735 +# @configure_input@
37737 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
37738 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
37739 +# 2003, 2004, 2005 Free Software Foundation, Inc.
37740 # This Makefile.in is free software; the Free Software Foundation
37741 # gives unlimited permission to copy and/or distribute it,
37742 # with or without modifications, as long as this notice is preserved.
37743 @@ -10,195 +12,316 @@
37744 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
37745 # PARTICULAR PURPOSE.
37752 top_srcdir = @top_srcdir@
37755 -exec_prefix = @exec_prefix@
37758 -sbindir = @sbindir@
37759 -libexecdir = @libexecdir@
37760 -datadir = @datadir@
37761 -sysconfdir = @sysconfdir@
37762 -sharedstatedir = @sharedstatedir@
37763 -localstatedir = @localstatedir@
37765 -infodir = @infodir@
37767 -includedir = @includedir@
37768 -oldincludedir = /usr/include
37772 pkgdatadir = $(datadir)/@PACKAGE@
37773 pkglibdir = $(libdir)/@PACKAGE@
37774 pkgincludedir = $(includedir)/@PACKAGE@
37778 -ACLOCAL = @ACLOCAL@
37779 -AUTOCONF = @AUTOCONF@
37780 -AUTOMAKE = @AUTOMAKE@
37781 -AUTOHEADER = @AUTOHEADER@
37783 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
37784 INSTALL = @INSTALL@
37785 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
37786 -INSTALL_DATA = @INSTALL_DATA@
37787 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
37788 -transform = @program_transform_name@
37790 +install_sh_DATA = $(install_sh) -c -m 644
37791 +install_sh_PROGRAM = $(install_sh) -c
37792 +install_sh_SCRIPT = $(install_sh) -c
37793 +INSTALL_HEADER = $(INSTALL_DATA)
37794 +transform = $(program_transform_name)
37798 NORMAL_UNINSTALL = :
37801 -build_alias = @build_alias@
37802 build_triplet = @build@
37803 -host_alias = @host_alias@
37804 host_triplet = @host@
37805 -target_alias = @target_alias@
37806 target_triplet = @target@
37808 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37809 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37810 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
37811 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
37813 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37814 +CONFIG_HEADER = $(top_builddir)/config.h
37815 +CONFIG_CLEAN_FILES =
37818 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
37819 +ACLOCAL = @ACLOCAL@
37820 +AMDEP_FALSE = @AMDEP_FALSE@
37821 +AMDEP_TRUE = @AMDEP_TRUE@
37825 +AUTOCONF = @AUTOCONF@
37826 +AUTOHEADER = @AUTOHEADER@
37827 +AUTOMAKE = @AUTOMAKE@
37830 +CCDEPMODE = @CCDEPMODE@
37833 +CPPFLAGS = @CPPFLAGS@
37836 -DLLTOOL = @DLLTOOL@
37837 +CXXDEPMODE = @CXXDEPMODE@
37838 +CXXFLAGS = @CXXFLAGS@
37839 +CYGPATH_W = @CYGPATH_W@
37850 -GCJFLAGS = @GCJFLAGS@
37851 -HAVE_LIB = @HAVE_LIB@
37854 +INSTALL_DATA = @INSTALL_DATA@
37855 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
37856 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
37857 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
37858 +LDFLAGS = @LDFLAGS@
37862 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
37863 +LIBOBJS = @LIBOBJS@
37865 LIBTOOL = @LIBTOOL@
37866 LIBTOOL_DEPS = @LIBTOOL_DEPS@
37867 LIBVER_AGE = @LIBVER_AGE@
37868 LIBVER_CURRENT = @LIBVER_CURRENT@
37869 LIBVER_REVISION = @LIBVER_REVISION@
37872 +LTLIBOBJS = @LTLIBOBJS@
37873 MAKEINFO = @MAKEINFO@
37874 -OBJDUMP = @OBJDUMP@
37876 PACKAGE = @PACKAGE@
37877 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
37878 +PACKAGE_NAME = @PACKAGE_NAME@
37879 +PACKAGE_STRING = @PACKAGE_STRING@
37880 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
37881 +PACKAGE_VERSION = @PACKAGE_VERSION@
37882 +PATH_SEPARATOR = @PATH_SEPARATOR@
37886 +SET_MAKE = @SET_MAKE@
37889 VERSION = @VERSION@
37891 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37892 -CONFIG_HEADER = ../config.h
37893 -CONFIG_CLEAN_FILES =
37894 -DIST_COMMON = Makefile.am Makefile.in
37897 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
37899 +ac_ct_CC = @ac_ct_CC@
37900 +ac_ct_CXX = @ac_ct_CXX@
37901 +ac_ct_F77 = @ac_ct_F77@
37902 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
37903 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
37904 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
37905 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
37906 +am__include = @am__include@
37907 +am__leading_dot = @am__leading_dot@
37908 +am__quote = @am__quote@
37909 +am__tar = @am__tar@
37910 +am__untar = @am__untar@
37913 +build_alias = @build_alias@
37914 +build_cpu = @build_cpu@
37915 +build_os = @build_os@
37916 +build_vendor = @build_vendor@
37917 +datadir = @datadir@
37918 +datarootdir = @datarootdir@
37921 +exec_prefix = @exec_prefix@
37923 +host_alias = @host_alias@
37924 +host_cpu = @host_cpu@
37925 +host_os = @host_os@
37926 +host_vendor = @host_vendor@
37927 +htmldir = @htmldir@
37928 +includedir = @includedir@
37929 +infodir = @infodir@
37930 +install_sh = @install_sh@
37932 +libexecdir = @libexecdir@
37933 +localedir = @localedir@
37934 +localstatedir = @localstatedir@
37936 +mkdir_p = @mkdir_p@
37937 +oldincludedir = @oldincludedir@
37940 +program_transform_name = @program_transform_name@
37942 +sbindir = @sbindir@
37943 +sharedstatedir = @sharedstatedir@
37944 +sysconfdir = @sysconfdir@
37946 +target_alias = @target_alias@
37947 +target_cpu = @target_cpu@
37948 +target_os = @target_os@
37949 +target_vendor = @target_vendor@
37956 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
37957 - cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile
37958 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
37959 + @for dep in $?; do \
37960 + case '$(am__configure_deps)' in \
37962 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
37967 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
37968 + cd $(top_srcdir) && \
37969 + $(AUTOMAKE) --gnu m4/Makefile
37970 +.PRECIOUS: Makefile
37971 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
37973 + *config.status*) \
37974 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
37976 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
37977 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
37980 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
37981 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37983 +$(top_srcdir)/configure: $(am__configure_deps)
37984 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37985 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
37986 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37988 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
37989 - cd $(top_builddir) \
37990 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
37991 +mostlyclean-libtool:
37995 + -rm -rf .libs _libs
37997 +distclean-libtool:
37999 +uninstall-info-am:
38006 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
38010 distdir: $(DISTFILES)
38011 - here=`cd $(top_builddir) && pwd`; \
38012 - top_distdir=`cd $(top_distdir) && pwd`; \
38013 - distdir=`cd $(distdir) && pwd`; \
38014 - cd $(top_srcdir) \
38015 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu m4/Makefile
38016 - @for file in $(DISTFILES); do \
38018 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38019 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38020 + list='$(DISTFILES)'; for file in $$list; do \
38022 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38023 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38025 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38026 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38027 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38029 + $(mkdir_p) "$(distdir)$$dir"; \
38033 if test -d $$d/$$file; then \
38034 - cp -pr $$d/$$file $(distdir)/$$file; \
38035 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38036 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38038 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38040 test -f $(distdir)/$$file \
38041 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38042 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38043 + || cp -p $$d/$$file $(distdir)/$$file \
38054 -installcheck: installcheck-am
38058 +install: install-am
38059 install-exec: install-exec-am
38062 install-data: install-data-am
38063 +uninstall: uninstall-am
38066 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38067 -install: install-am
38069 -uninstall: uninstall-am
38071 -all-redirect: all-am
38073 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38077 +installcheck: installcheck-am
38079 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38080 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38081 + `test -z '$(STRIP)' || \
38082 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38083 mostlyclean-generic:
38088 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38089 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38090 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38092 maintainer-clean-generic:
38093 -mostlyclean-am: mostlyclean-generic
38094 + @echo "This command is intended for maintainers to use"
38095 + @echo "it deletes files that may require special tools to rebuild."
38098 -mostlyclean: mostlyclean-am
38099 +clean-am: clean-generic clean-libtool mostlyclean-am
38101 -clean-am: clean-generic mostlyclean-am
38102 +distclean: distclean-am
38104 +distclean-am: clean-am distclean-generic distclean-libtool
38109 -distclean-am: distclean-generic clean-am
38113 -distclean: distclean-am
38116 -maintainer-clean-am: maintainer-clean-generic distclean-am
38117 - @echo "This command is intended for maintainers to use;"
38118 - @echo "it deletes files that may require special tools to rebuild."
38127 +install-info: install-info-am
38133 maintainer-clean: maintainer-clean-am
38135 +maintainer-clean-am: distclean-am maintainer-clean-generic
38137 +mostlyclean: mostlyclean-am
38139 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
38149 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
38150 -installcheck-am installcheck install-exec-am install-exec \
38151 -install-data-am install-data install-am install uninstall-am uninstall \
38152 -all-redirect all-am all installdirs mostlyclean-generic \
38153 -distclean-generic clean-generic maintainer-clean-generic clean \
38154 -mostlyclean distclean maintainer-clean
38155 +uninstall-am: uninstall-info-am
38157 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
38158 + distclean distclean-generic distclean-libtool distdir dvi \
38159 + dvi-am html html-am info info-am install install-am \
38160 + install-data install-data-am install-exec install-exec-am \
38161 + install-info install-info-am install-man install-strip \
38162 + installcheck installcheck-am installdirs maintainer-clean \
38163 + maintainer-clean-generic mostlyclean mostlyclean-generic \
38164 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
38165 + uninstall-info-am
38167 # Tell versions [3.59,3.63) of GNU make to not export all variables.
38168 # Otherwise a system limit (for SysV at least) may be exceeded.
38169 diff -urN atm.old/Makefile.in atm.dev/Makefile.in
38170 --- atm.old/Makefile.in 2007-10-20 16:57:33.430006415 +0200
38171 +++ atm.dev/Makefile.in 2007-10-20 17:01:41.372135833 +0200
38173 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
38174 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
38175 +# @configure_input@
38177 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
38178 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
38179 +# 2003, 2004, 2005 Free Software Foundation, Inc.
38180 # This Makefile.in is free software; the Free Software Foundation
38181 # gives unlimited permission to copy and/or distribute it,
38182 # with or without modifications, as long as this notice is preserved.
38183 @@ -10,153 +12,248 @@
38184 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
38185 # PARTICULAR PURPOSE.
38192 top_srcdir = @top_srcdir@
38195 -exec_prefix = @exec_prefix@
38198 -sbindir = @sbindir@
38199 -libexecdir = @libexecdir@
38200 -datadir = @datadir@
38201 -sysconfdir = @sysconfdir@
38202 -sharedstatedir = @sharedstatedir@
38203 -localstatedir = @localstatedir@
38205 -infodir = @infodir@
38207 -includedir = @includedir@
38208 -oldincludedir = /usr/include
38212 pkgdatadir = $(datadir)/@PACKAGE@
38213 pkglibdir = $(libdir)/@PACKAGE@
38214 pkgincludedir = $(includedir)/@PACKAGE@
38218 -ACLOCAL = @ACLOCAL@
38219 -AUTOCONF = @AUTOCONF@
38220 -AUTOMAKE = @AUTOMAKE@
38221 -AUTOHEADER = @AUTOHEADER@
38223 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
38224 INSTALL = @INSTALL@
38225 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
38226 -INSTALL_DATA = @INSTALL_DATA@
38227 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
38228 -transform = @program_transform_name@
38230 +install_sh_DATA = $(install_sh) -c -m 644
38231 +install_sh_PROGRAM = $(install_sh) -c
38232 +install_sh_SCRIPT = $(install_sh) -c
38233 +INSTALL_HEADER = $(INSTALL_DATA)
38234 +transform = $(program_transform_name)
38238 NORMAL_UNINSTALL = :
38241 -build_alias = @build_alias@
38242 build_triplet = @build@
38243 -host_alias = @host_alias@
38244 host_triplet = @host@
38245 -target_alias = @target_alias@
38246 target_triplet = @target@
38247 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38248 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
38249 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38250 + THANKS acconfig.h config.guess config.sub depcomp install-sh \
38251 + ltmain.sh missing mkinstalldirs
38253 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38254 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
38255 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
38257 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
38258 + configure.lineno configure.status.lineno
38259 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38260 +CONFIG_HEADER = config.h
38261 +CONFIG_CLEAN_FILES =
38264 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
38265 + html-recursive info-recursive install-data-recursive \
38266 + install-exec-recursive install-info-recursive \
38267 + install-recursive installcheck-recursive installdirs-recursive \
38268 + pdf-recursive ps-recursive uninstall-info-recursive \
38269 + uninstall-recursive
38272 +DIST_SUBDIRS = $(SUBDIRS)
38273 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
38274 +distdir = $(PACKAGE)-$(VERSION)
38275 +top_distdir = $(distdir)
38276 +am__remove_distdir = \
38277 + { test ! -d $(distdir) \
38278 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
38279 + && rm -fr $(distdir); }; }
38280 +DIST_ARCHIVES = $(distdir).tar.gz
38282 +distuninstallcheck_listfiles = find . -type f -print
38283 +distcleancheck_listfiles = find . -type f -print
38284 +ACLOCAL = @ACLOCAL@
38285 +AMDEP_FALSE = @AMDEP_FALSE@
38286 +AMDEP_TRUE = @AMDEP_TRUE@
38290 +AUTOCONF = @AUTOCONF@
38291 +AUTOHEADER = @AUTOHEADER@
38292 +AUTOMAKE = @AUTOMAKE@
38295 +CCDEPMODE = @CCDEPMODE@
38298 +CPPFLAGS = @CPPFLAGS@
38301 -DLLTOOL = @DLLTOOL@
38302 +CXXDEPMODE = @CXXDEPMODE@
38303 +CXXFLAGS = @CXXFLAGS@
38304 +CYGPATH_W = @CYGPATH_W@
38315 -GCJFLAGS = @GCJFLAGS@
38316 -HAVE_LIB = @HAVE_LIB@
38319 +INSTALL_DATA = @INSTALL_DATA@
38320 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
38321 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
38322 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
38323 +LDFLAGS = @LDFLAGS@
38327 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
38328 +LIBOBJS = @LIBOBJS@
38330 LIBTOOL = @LIBTOOL@
38331 LIBTOOL_DEPS = @LIBTOOL_DEPS@
38332 LIBVER_AGE = @LIBVER_AGE@
38333 LIBVER_CURRENT = @LIBVER_CURRENT@
38334 LIBVER_REVISION = @LIBVER_REVISION@
38337 +LTLIBOBJS = @LTLIBOBJS@
38338 MAKEINFO = @MAKEINFO@
38339 -OBJDUMP = @OBJDUMP@
38341 PACKAGE = @PACKAGE@
38342 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
38343 +PACKAGE_NAME = @PACKAGE_NAME@
38344 +PACKAGE_STRING = @PACKAGE_STRING@
38345 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
38346 +PACKAGE_VERSION = @PACKAGE_VERSION@
38347 +PATH_SEPARATOR = @PATH_SEPARATOR@
38351 +SET_MAKE = @SET_MAKE@
38354 VERSION = @VERSION@
38358 +ac_ct_CC = @ac_ct_CC@
38359 +ac_ct_CXX = @ac_ct_CXX@
38360 +ac_ct_F77 = @ac_ct_F77@
38361 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
38362 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
38363 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
38364 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
38365 +am__include = @am__include@
38366 +am__leading_dot = @am__leading_dot@
38367 +am__quote = @am__quote@
38368 +am__tar = @am__tar@
38369 +am__untar = @am__untar@
38372 +build_alias = @build_alias@
38373 +build_cpu = @build_cpu@
38374 +build_os = @build_os@
38375 +build_vendor = @build_vendor@
38376 +datadir = @datadir@
38377 +datarootdir = @datarootdir@
38380 +exec_prefix = @exec_prefix@
38382 +host_alias = @host_alias@
38383 +host_cpu = @host_cpu@
38384 +host_os = @host_os@
38385 +host_vendor = @host_vendor@
38386 +htmldir = @htmldir@
38387 +includedir = @includedir@
38388 +infodir = @infodir@
38389 +install_sh = @install_sh@
38391 +libexecdir = @libexecdir@
38392 +localedir = @localedir@
38393 +localstatedir = @localstatedir@
38395 +mkdir_p = @mkdir_p@
38396 +oldincludedir = @oldincludedir@
38399 +program_transform_name = @program_transform_name@
38401 +sbindir = @sbindir@
38402 +sharedstatedir = @sharedstatedir@
38403 +sysconfdir = @sysconfdir@
38405 +target_alias = @target_alias@
38406 +target_cpu = @target_cpu@
38407 +target_os = @target_os@
38408 +target_vendor = @target_vendor@
38409 SUBDIRS = m4 src doc
38411 EXTRA_DIST = COPYING.GPL COPYING.LGPL BUGS
38412 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38413 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38414 -CONFIG_HEADER = config.h
38415 -CONFIG_CLEAN_FILES =
38416 -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
38417 -Makefile.am Makefile.in NEWS THANKS acconfig.h aclocal.m4 config.guess \
38418 -config.h.in config.sub configure configure.in install-sh ltmain.sh \
38419 -missing mkinstalldirs
38422 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
38424 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
38430 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
38431 - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
38433 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
38434 - cd $(top_builddir) \
38435 - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38437 -$(ACLOCAL_M4): configure.in
38438 - cd $(srcdir) && $(ACLOCAL)
38441 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
38442 + @for dep in $?; do \
38443 + case '$(am__configure_deps)' in \
38445 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
38446 + cd $(srcdir) && $(AUTOMAKE) --gnu \
38451 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
38452 + cd $(top_srcdir) && \
38453 + $(AUTOMAKE) --gnu Makefile
38454 +.PRECIOUS: Makefile
38455 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38457 + *config.status*) \
38458 + echo ' $(SHELL) ./config.status'; \
38459 + $(SHELL) ./config.status;; \
38461 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
38462 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
38465 -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38466 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38467 $(SHELL) ./config.status --recheck
38468 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
38470 +$(top_srcdir)/configure: $(am__configure_deps)
38471 cd $(srcdir) && $(AUTOCONF)
38472 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
38473 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
38476 +config.h: stamp-h1
38477 @if test ! -f $@; then \
38479 - $(MAKE) stamp-h; \
38480 + rm -f stamp-h1; \
38481 + $(MAKE) stamp-h1; \
38483 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
38484 - cd $(top_builddir) \
38485 - && CONFIG_FILES= CONFIG_HEADERS=config.h \
38486 - $(SHELL) ./config.status
38487 - @echo timestamp > stamp-h 2> /dev/null
38488 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
38489 - @if test ! -f $@; then \
38490 - rm -f $(srcdir)/stamp-h.in; \
38491 - $(MAKE) $(srcdir)/stamp-h.in; \
38493 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
38495 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
38497 + cd $(top_builddir) && $(SHELL) ./config.status config.h
38498 +$(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
38499 cd $(top_srcdir) && $(AUTOHEADER)
38500 - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
38506 + -rm -f config.h stamp-h1
38509 +mostlyclean-libtool:
38515 + -rm -rf .libs _libs
38517 -maintainer-clean-hdr:
38518 +distclean-libtool:
38520 +uninstall-info-am:
38522 # This directory's subdirectories are mostly independent; you can cd
38523 # into them and run `make' without going through this Makefile.
38524 @@ -164,13 +261,14 @@
38525 # (1) if the variable is set in `config.status', edit `config.status'
38526 # (which will cause the Makefiles to be regenerated when you run `make');
38527 # (2) otherwise, pass the desired values on the `make' command line.
38531 -all-recursive install-data-recursive install-exec-recursive \
38532 -installdirs-recursive install-recursive uninstall-recursive \
38533 -check-recursive installcheck-recursive info-recursive dvi-recursive:
38534 - @set fnord $(MAKEFLAGS); amf=$$2; \
38535 +$(RECURSIVE_TARGETS):
38536 + @failcom='exit 1'; \
38537 + for f in x $$MAKEFLAGS; do \
38539 + *=* | --[!k]*);; \
38540 + *k*) failcom='fail=yes';; \
38544 target=`echo $@ | sed s/-recursive//`; \
38545 list='$(SUBDIRS)'; for subdir in $$list; do \
38546 @@ -182,7 +280,7 @@
38547 local_target="$$target"; \
38549 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38550 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38551 + || eval $$failcom; \
38553 if test "$$dot_seen" = "no"; then \
38554 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
38555 @@ -190,13 +288,24 @@
38557 mostlyclean-recursive clean-recursive distclean-recursive \
38558 maintainer-clean-recursive:
38559 - @set fnord $(MAKEFLAGS); amf=$$2; \
38560 + @failcom='exit 1'; \
38561 + for f in x $$MAKEFLAGS; do \
38563 + *=* | --[!k]*);; \
38564 + *k*) failcom='fail=yes';; \
38568 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
38569 - rev="$$subdir $$rev"; \
38570 - test "$$subdir" != "." || dot_seen=yes; \
38572 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
38573 + *) list='$(SUBDIRS)' ;; \
38575 + rev=''; for subdir in $$list; do \
38576 + if test "$$subdir" = "."; then :; else \
38577 + rev="$$subdir $$rev"; \
38580 - test "$$dot_seen" = "no" && rev=". $$rev"; \
38582 target=`echo $@ | sed s/-recursive//`; \
38583 for subdir in $$rev; do \
38584 echo "Making $$target in $$subdir"; \
38585 @@ -206,183 +315,314 @@
38586 local_target="$$target"; \
38588 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38589 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38590 + || eval $$failcom; \
38591 done && test -z "$$fail"
38593 list='$(SUBDIRS)'; for subdir in $$list; do \
38594 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
38597 + list='$(SUBDIRS)'; for subdir in $$list; do \
38598 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
38603 -ID: $(HEADERS) $(SOURCES) $(LISP)
38604 - list='$(SOURCES) $(HEADERS)'; \
38605 - unique=`for i in $$list; do echo $$i; done | \
38606 - awk ' { files[$$0] = 1; } \
38607 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
38608 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
38609 + unique=`for i in $$list; do \
38610 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38612 + $(AWK) ' { files[$$0] = 1; } \
38613 END { for (i in files) print i; }'`; \
38614 - here=`pwd` && cd $(srcdir) \
38615 - && mkid -f$$here/ID $$unique $(LISP)
38616 + mkid -fID $$unique
38619 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
38620 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38621 + $(TAGS_FILES) $(LISP)
38624 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
38625 + include_option=--etags-include; \
38628 + include_option=--include; \
38631 list='$(SUBDIRS)'; for subdir in $$list; do \
38632 - if test "$$subdir" = .; then :; else \
38633 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
38635 + if test "$$subdir" = .; then :; else \
38636 + test ! -f $$subdir/TAGS || \
38637 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
38640 - list='$(SOURCES) $(HEADERS)'; \
38641 - unique=`for i in $$list; do echo $$i; done | \
38642 - awk ' { files[$$0] = 1; } \
38643 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38644 + unique=`for i in $$list; do \
38645 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38647 + $(AWK) ' { files[$$0] = 1; } \
38648 END { for (i in files) print i; }'`; \
38649 - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
38650 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
38655 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
38656 + test -n "$$unique" || unique=$$empty_fix; \
38657 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
38658 + $$tags $$unique; \
38661 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38662 + $(TAGS_FILES) $(LISP)
38665 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38666 + unique=`for i in $$list; do \
38667 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38669 + $(AWK) ' { files[$$0] = 1; } \
38670 + END { for (i in files) print i; }'`; \
38671 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
38672 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
38676 + here=`$(am__cd) $(top_builddir) && pwd` \
38677 + && cd $(top_srcdir) \
38678 + && gtags -i $(GTAGS_ARGS) $$here
38683 -maintainer-clean-tags:
38684 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
38686 -distdir = $(PACKAGE)-$(VERSION)
38687 -top_distdir = $(distdir)
38689 -# This target untars the dist file and tries a VPATH configuration. Then
38690 -# it guarantees that the distribution is self-contained by making another
38693 - -rm -rf $(distdir)
38694 - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
38695 - mkdir $(distdir)/=build
38696 - mkdir $(distdir)/=inst
38697 - dc_install_base=`cd $(distdir)/=inst && pwd`; \
38698 - cd $(distdir)/=build \
38699 - && ../configure --srcdir=.. --prefix=$$dc_install_base \
38700 - && $(MAKE) $(AM_MAKEFLAGS) \
38701 - && $(MAKE) $(AM_MAKEFLAGS) dvi \
38702 - && $(MAKE) $(AM_MAKEFLAGS) check \
38703 - && $(MAKE) $(AM_MAKEFLAGS) install \
38704 - && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38705 - && $(MAKE) $(AM_MAKEFLAGS) dist
38706 - -rm -rf $(distdir)
38707 - @banner="$(distdir).tar.gz is ready for distribution"; \
38708 - dashes=`echo "$$banner" | sed s/./=/g`; \
38709 - echo "$$dashes"; \
38710 - echo "$$banner"; \
38713 - -chmod -R a+r $(distdir)
38714 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38715 - -rm -rf $(distdir)
38717 - -chmod -R a+r $(distdir)
38718 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38719 - -rm -rf $(distdir)
38720 distdir: $(DISTFILES)
38721 - -rm -rf $(distdir)
38722 + $(am__remove_distdir)
38724 - -chmod 777 $(distdir)
38725 - here=`cd $(top_builddir) && pwd`; \
38726 - top_distdir=`cd $(distdir) && pwd`; \
38727 - distdir=`cd $(distdir) && pwd`; \
38728 - cd $(top_srcdir) \
38729 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
38730 - @for file in $(DISTFILES); do \
38732 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38733 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38734 + list='$(DISTFILES)'; for file in $$list; do \
38736 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38737 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38739 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38740 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38741 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38743 + $(mkdir_p) "$(distdir)$$dir"; \
38747 if test -d $$d/$$file; then \
38748 - cp -pr $$d/$$file $(distdir)/$$file; \
38749 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38750 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38752 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38754 test -f $(distdir)/$$file \
38755 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38756 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38757 + || cp -p $$d/$$file $(distdir)/$$file \
38761 - for subdir in $(SUBDIRS); do \
38762 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
38763 if test "$$subdir" = .; then :; else \
38764 - test -d $(distdir)/$$subdir \
38765 - || mkdir $(distdir)/$$subdir \
38766 + test -d "$(distdir)/$$subdir" \
38767 + || $(mkdir_p) "$(distdir)/$$subdir" \
38769 - chmod 777 $(distdir)/$$subdir; \
38770 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
38771 + distdir=`$(am__cd) $(distdir) && pwd`; \
38772 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
38773 + (cd $$subdir && \
38774 + $(MAKE) $(AM_MAKEFLAGS) \
38775 + top_distdir="$$top_distdir" \
38776 + distdir="$$distdir/$$subdir" \
38782 -info: info-recursive
38784 -dvi: dvi-recursive
38785 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
38786 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
38787 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
38788 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
38789 + || chmod -R a+r $(distdir)
38790 +dist-gzip: distdir
38791 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38792 + $(am__remove_distdir)
38794 +dist-bzip2: distdir
38795 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
38796 + $(am__remove_distdir)
38798 +dist-tarZ: distdir
38799 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
38800 + $(am__remove_distdir)
38802 +dist-shar: distdir
38803 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
38804 + $(am__remove_distdir)
38807 + -rm -f $(distdir).zip
38808 + zip -rq $(distdir).zip $(distdir)
38809 + $(am__remove_distdir)
38811 +dist dist-all: distdir
38812 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38813 + $(am__remove_distdir)
38815 +# This target untars the dist file and tries a VPATH configuration. Then
38816 +# it guarantees that the distribution is self-contained by making another
38819 + case '$(DIST_ARCHIVES)' in \
38821 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
38823 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
38825 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
38827 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
38829 + unzip $(distdir).zip ;;\
38831 + chmod -R a-w $(distdir); chmod a+w $(distdir)
38832 + mkdir $(distdir)/_build
38833 + mkdir $(distdir)/_inst
38834 + chmod a-w $(distdir)
38835 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
38836 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
38837 + && cd $(distdir)/_build \
38838 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
38839 + $(DISTCHECK_CONFIGURE_FLAGS) \
38840 + && $(MAKE) $(AM_MAKEFLAGS) \
38841 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
38842 + && $(MAKE) $(AM_MAKEFLAGS) check \
38843 + && $(MAKE) $(AM_MAKEFLAGS) install \
38844 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38845 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
38846 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
38847 + distuninstallcheck \
38848 + && chmod -R a-w "$$dc_install_base" \
38850 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
38851 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
38852 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
38853 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
38854 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
38855 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
38856 + && rm -rf "$$dc_destdir" \
38857 + && $(MAKE) $(AM_MAKEFLAGS) dist \
38858 + && rm -rf $(DIST_ARCHIVES) \
38859 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
38860 + $(am__remove_distdir)
38861 + @(echo "$(distdir) archives ready for distribution: "; \
38862 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
38863 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
38864 +distuninstallcheck:
38865 + @cd $(distuninstallcheck_dir) \
38866 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
38867 + || { echo "ERROR: files left after uninstall:" ; \
38868 + if test -n "$(DESTDIR)"; then \
38869 + echo " (check DESTDIR support)"; \
38871 + $(distuninstallcheck_listfiles) ; \
38873 +distcleancheck: distclean
38874 + @if test '$(srcdir)' = . ; then \
38875 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
38878 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
38879 + || { echo "ERROR: files left in build directory after distclean:" ; \
38880 + $(distcleancheck_listfiles) ; \
38883 check: check-recursive
38885 -installcheck: installcheck-recursive
38886 -all-recursive-am: config.h
38887 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
38890 +all-am: Makefile config.h
38891 +installdirs: installdirs-recursive
38893 +install: install-recursive
38894 install-exec: install-exec-recursive
38897 install-data: install-data-recursive
38898 +uninstall: uninstall-recursive
38901 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38902 -install: install-recursive
38904 -uninstall: uninstall-recursive
38905 -all-am: Makefile config.h
38906 -all-redirect: all-recursive-am
38908 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38909 -installdirs: installdirs-recursive
38913 +installcheck: installcheck-recursive
38915 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38916 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38917 + `test -z '$(STRIP)' || \
38918 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38919 mostlyclean-generic:
38924 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38925 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38926 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38928 maintainer-clean-generic:
38929 -mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
38930 + @echo "This command is intended for maintainers to use"
38931 + @echo "it deletes files that may require special tools to rebuild."
38932 +clean: clean-recursive
38934 -mostlyclean: mostlyclean-recursive
38935 +clean-am: clean-generic clean-libtool mostlyclean-am
38937 -clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
38938 +distclean: distclean-recursive
38939 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38941 +distclean-am: clean-am distclean-generic distclean-hdr \
38942 + distclean-libtool distclean-tags
38944 -clean: clean-recursive
38945 +dvi: dvi-recursive
38947 -distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
38951 -distclean: distclean-recursive
38952 - -rm -f config.status
38953 +html: html-recursive
38955 -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
38956 - maintainer-clean-generic distclean-am
38957 - @echo "This command is intended for maintainers to use;"
38958 - @echo "it deletes files that may require special tools to rebuild."
38959 +info: info-recursive
38967 +install-info: install-info-recursive
38973 maintainer-clean: maintainer-clean-recursive
38974 - -rm -f config.status
38975 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38976 + -rm -rf $(top_srcdir)/autom4te.cache
38978 +maintainer-clean-am: distclean-am maintainer-clean-generic
38980 +mostlyclean: mostlyclean-recursive
38982 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
38983 -install-data-recursive uninstall-data-recursive install-exec-recursive \
38984 -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
38985 -all-recursive check-recursive installcheck-recursive info-recursive \
38986 -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
38987 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
38988 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
38989 -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
38990 -install-exec-am install-exec install-data-am install-data install-am \
38991 -install uninstall-am uninstall all-redirect all-am all installdirs-am \
38992 -installdirs mostlyclean-generic distclean-generic clean-generic \
38993 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
38994 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
38996 +pdf: pdf-recursive
39004 +uninstall-am: uninstall-info-am
39006 +uninstall-info: uninstall-info-recursive
39008 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
39009 + check-am clean clean-generic clean-libtool clean-recursive \
39010 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
39011 + dist-shar dist-tarZ dist-zip distcheck distclean \
39012 + distclean-generic distclean-hdr distclean-libtool \
39013 + distclean-recursive distclean-tags distcleancheck distdir \
39014 + distuninstallcheck dvi dvi-am html html-am info info-am \
39015 + install install-am install-data install-data-am install-exec \
39016 + install-exec-am install-info install-info-am install-man \
39017 + install-strip installcheck installcheck-am installdirs \
39018 + installdirs-am maintainer-clean maintainer-clean-generic \
39019 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
39020 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
39021 + tags tags-recursive uninstall uninstall-am uninstall-info-am
39024 rpms: dist src/extra/linux-atm.spec
39025 @@ -395,7 +635,6 @@
39030 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39031 # Otherwise a system limit (for SysV at least) may be exceeded.
39033 diff -urN atm.old/src/arpd/Makefile.in atm.dev/src/arpd/Makefile.in
39034 --- atm.old/src/arpd/Makefile.in 2007-10-20 16:57:33.434006644 +0200
39035 +++ atm.dev/src/arpd/Makefile.in 2007-10-20 17:01:41.076118963 +0200
39037 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39038 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39039 +# @configure_input@
39041 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39042 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39043 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39044 # This Makefile.in is free software; the Free Software Foundation
39045 # gives unlimited permission to copy and/or distribute it,
39046 # with or without modifications, as long as this notice is preserved.
39047 @@ -10,211 +12,307 @@
39048 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39049 # PARTICULAR PURPOSE.
39056 top_srcdir = @top_srcdir@
39059 -exec_prefix = @exec_prefix@
39062 -sbindir = @sbindir@
39063 -libexecdir = @libexecdir@
39064 -datadir = @datadir@
39065 -sysconfdir = @sysconfdir@
39066 -sharedstatedir = @sharedstatedir@
39067 -localstatedir = @localstatedir@
39069 -infodir = @infodir@
39071 -includedir = @includedir@
39072 -oldincludedir = /usr/include
39076 pkgdatadir = $(datadir)/@PACKAGE@
39077 pkglibdir = $(libdir)/@PACKAGE@
39078 pkgincludedir = $(includedir)/@PACKAGE@
39080 top_builddir = ../..
39082 -ACLOCAL = @ACLOCAL@
39083 -AUTOCONF = @AUTOCONF@
39084 -AUTOMAKE = @AUTOMAKE@
39085 -AUTOHEADER = @AUTOHEADER@
39087 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39088 INSTALL = @INSTALL@
39089 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39090 -INSTALL_DATA = @INSTALL_DATA@
39091 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39092 -transform = @program_transform_name@
39094 +install_sh_DATA = $(install_sh) -c -m 644
39095 +install_sh_PROGRAM = $(install_sh) -c
39096 +install_sh_SCRIPT = $(install_sh) -c
39097 +INSTALL_HEADER = $(INSTALL_DATA)
39098 +transform = $(program_transform_name)
39102 NORMAL_UNINSTALL = :
39105 -build_alias = @build_alias@
39106 build_triplet = @build@
39107 -host_alias = @host_alias@
39108 host_triplet = @host@
39109 -target_alias = @target_alias@
39110 target_triplet = @target@
39111 +sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39113 +DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
39114 + $(srcdir)/Makefile.in
39115 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39116 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39117 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39119 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39120 +CONFIG_HEADER = $(top_builddir)/config.h
39121 +CONFIG_CLEAN_FILES =
39122 +am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" \
39123 + "$(DESTDIR)$(includedir)"
39124 +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
39125 +PROGRAMS = $(sbin_PROGRAMS)
39126 +am_atmarp_OBJECTS = atmarp.$(OBJEXT)
39127 +atmarp_OBJECTS = $(am_atmarp_OBJECTS)
39128 +atmarp_LDADD = $(LDADD)
39129 +atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39130 +am_atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39131 + itf.$(OBJEXT) table.$(OBJEXT)
39132 +atmarpd_OBJECTS = $(am_atmarpd_OBJECTS)
39133 +atmarpd_LDADD = $(LDADD)
39134 +atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39135 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
39136 +depcomp = $(SHELL) $(top_srcdir)/depcomp
39137 +am__depfiles_maybe = depfiles
39138 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
39139 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39140 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
39141 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
39142 + $(AM_CFLAGS) $(CFLAGS)
39144 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
39145 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
39146 +SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39147 +DIST_SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39148 +man8dir = $(mandir)/man8
39150 +MANS = $(man_MANS)
39151 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39152 +am__vpath_adj = case $$p in \
39153 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39156 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39157 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39158 +HEADERS = $(include_HEADERS)
39161 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
39162 +ACLOCAL = @ACLOCAL@
39163 +AMDEP_FALSE = @AMDEP_FALSE@
39164 +AMDEP_TRUE = @AMDEP_TRUE@
39168 +AUTOCONF = @AUTOCONF@
39169 +AUTOHEADER = @AUTOHEADER@
39170 +AUTOMAKE = @AUTOMAKE@
39173 +CCDEPMODE = @CCDEPMODE@
39176 +CPPFLAGS = @CPPFLAGS@
39179 -DLLTOOL = @DLLTOOL@
39180 +CXXDEPMODE = @CXXDEPMODE@
39181 +CXXFLAGS = @CXXFLAGS@
39182 +CYGPATH_W = @CYGPATH_W@
39193 -GCJFLAGS = @GCJFLAGS@
39194 -HAVE_LIB = @HAVE_LIB@
39197 +INSTALL_DATA = @INSTALL_DATA@
39198 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
39199 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
39200 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
39201 +LDFLAGS = @LDFLAGS@
39205 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
39206 +LIBOBJS = @LIBOBJS@
39208 LIBTOOL = @LIBTOOL@
39209 LIBTOOL_DEPS = @LIBTOOL_DEPS@
39210 LIBVER_AGE = @LIBVER_AGE@
39211 LIBVER_CURRENT = @LIBVER_CURRENT@
39212 LIBVER_REVISION = @LIBVER_REVISION@
39215 +LTLIBOBJS = @LTLIBOBJS@
39216 MAKEINFO = @MAKEINFO@
39217 -OBJDUMP = @OBJDUMP@
39219 PACKAGE = @PACKAGE@
39220 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
39221 +PACKAGE_NAME = @PACKAGE_NAME@
39222 +PACKAGE_STRING = @PACKAGE_STRING@
39223 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
39224 +PACKAGE_VERSION = @PACKAGE_VERSION@
39225 +PATH_SEPARATOR = @PATH_SEPARATOR@
39229 +SET_MAKE = @SET_MAKE@
39232 VERSION = @VERSION@
39236 +ac_ct_CC = @ac_ct_CC@
39237 +ac_ct_CXX = @ac_ct_CXX@
39238 +ac_ct_F77 = @ac_ct_F77@
39239 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39240 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39241 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
39242 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
39243 +am__include = @am__include@
39244 +am__leading_dot = @am__leading_dot@
39245 +am__quote = @am__quote@
39246 +am__tar = @am__tar@
39247 +am__untar = @am__untar@
39250 +build_alias = @build_alias@
39251 +build_cpu = @build_cpu@
39252 +build_os = @build_os@
39253 +build_vendor = @build_vendor@
39254 +datadir = @datadir@
39255 +datarootdir = @datarootdir@
39258 +exec_prefix = @exec_prefix@
39260 +host_alias = @host_alias@
39261 +host_cpu = @host_cpu@
39262 +host_os = @host_os@
39263 +host_vendor = @host_vendor@
39264 +htmldir = @htmldir@
39265 +includedir = @includedir@
39266 +infodir = @infodir@
39267 +install_sh = @install_sh@
39269 +libexecdir = @libexecdir@
39270 +localedir = @localedir@
39271 +localstatedir = @localstatedir@
39273 +mkdir_p = @mkdir_p@
39274 +oldincludedir = @oldincludedir@
39277 +program_transform_name = @program_transform_name@
39279 +sbindir = @sbindir@
39280 +sharedstatedir = @sharedstatedir@
39281 +sysconfdir = @sysconfdir@
39283 +target_alias = @target_alias@
39284 +target_cpu = @target_cpu@
39285 +target_os = @target_os@
39286 +target_vendor = @target_vendor@
39287 LDADD = $(top_builddir)/src/lib/libatm.la
39289 -sbin_PROGRAMS = atmarp atmarpd
39291 atmarp_SOURCES = atmarp.c atmarp.h atmarpd.h
39292 -atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h table.c table.h atmarp.h
39294 +atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h \
39295 + table.c table.h atmarp.h
39297 include_HEADERS = atmarp.h atmarpd.h
39299 man_MANS = atmarp.8 atmarpd.8
39301 EXTRA_DIST = $(man_MANS)
39302 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39303 -CONFIG_HEADER = ../../config.h
39304 -CONFIG_CLEAN_FILES =
39305 -sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39306 -PROGRAMS = $(sbin_PROGRAMS)
39310 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
39311 -CPPFLAGS = @CPPFLAGS@
39312 -LDFLAGS = @LDFLAGS@
39314 -atmarp_OBJECTS = atmarp.$(OBJEXT)
39315 -atmarp_LDADD = $(LDADD)
39316 -atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39318 -atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39319 -itf.$(OBJEXT) table.$(OBJEXT)
39320 -atmarpd_LDADD = $(LDADD)
39321 -atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39324 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39325 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39327 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
39328 -man8dir = $(mandir)/man8
39329 -MANS = $(man_MANS)
39332 -HEADERS = $(include_HEADERS)
39334 -DIST_COMMON = Makefile.am Makefile.in
39337 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
39341 -DEP_FILES = .deps/arp.P .deps/atmarp.P .deps/atmarpd.P .deps/io.P \
39342 -.deps/itf.P .deps/table.P
39343 -SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39344 -OBJECTS = $(atmarp_OBJECTS) $(atmarpd_OBJECTS)
39348 -.SUFFIXES: .S .c .lo .o .obj .s
39349 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
39350 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile
39352 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
39353 - cd $(top_builddir) \
39354 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
39357 -mostlyclean-sbinPROGRAMS:
39359 -clean-sbinPROGRAMS:
39360 - -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
39362 -distclean-sbinPROGRAMS:
39364 -maintainer-clean-sbinPROGRAMS:
39366 +.SUFFIXES: .c .lo .o .obj
39367 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
39368 + @for dep in $?; do \
39369 + case '$(am__configure_deps)' in \
39371 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
39376 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile'; \
39377 + cd $(top_srcdir) && \
39378 + $(AUTOMAKE) --gnu src/arpd/Makefile
39379 +.PRECIOUS: Makefile
39380 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
39382 + *config.status*) \
39383 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
39385 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
39386 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
39389 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
39390 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39392 +$(top_srcdir)/configure: $(am__configure_deps)
39393 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39394 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
39395 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39396 install-sbinPROGRAMS: $(sbin_PROGRAMS)
39398 - $(mkinstalldirs) $(DESTDIR)$(sbindir)
39399 + test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
39400 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39401 - if test -f $$p; then \
39402 - echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
39403 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39404 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39406 + || test -f $$p1 \
39408 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
39409 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
39410 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
39414 uninstall-sbinPROGRAMS:
39415 @$(NORMAL_UNINSTALL)
39416 - list='$(sbin_PROGRAMS)'; for p in $$list; do \
39417 - rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39418 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39419 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
39420 + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
39421 + rm -f "$(DESTDIR)$(sbindir)/$$f"; \
39424 -# FIXME: We should only use cygpath when building on Windows,
39425 -# and only if it is available.
39427 - $(COMPILE) -c `cygpath -w $<`
39434 +clean-sbinPROGRAMS:
39435 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39436 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39437 + echo " rm -f $$p $$f"; \
39438 + rm -f $$p $$f ; \
39440 +atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39441 + @rm -f atmarp$(EXEEXT)
39442 + $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39443 +atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39444 + @rm -f atmarpd$(EXEEXT)
39445 + $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39447 mostlyclean-compile:
39448 - -rm -f *.o core *.core
39456 -maintainer-clean-compile:
39459 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39460 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arp.Po@am__quote@
39461 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarp.Po@am__quote@
39462 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarpd.Po@am__quote@
39463 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@
39464 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itf.Po@am__quote@
39465 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table.Po@am__quote@
39468 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39469 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39470 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39471 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39472 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
39475 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39477 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
39478 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39479 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39480 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39481 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
39484 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39485 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39486 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
39487 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39488 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
39490 mostlyclean-libtool:
39492 @@ -223,21 +321,14 @@
39493 -rm -rf .libs _libs
39497 -maintainer-clean-libtool:
39499 -atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39500 - @rm -f atmarp$(EXEEXT)
39501 - $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39503 -atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39504 - @rm -f atmarpd$(EXEEXT)
39505 - $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39508 - $(mkinstalldirs) $(DESTDIR)$(man8dir)
39509 - @list='$(man8_MANS)'; \
39510 - l2='$(man_MANS)'; for i in $$l2; do \
39512 +uninstall-info-am:
39513 +install-man8: $(man8_MANS) $(man_MANS)
39514 + @$(NORMAL_INSTALL)
39515 + test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
39516 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39517 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39518 + for i in $$l2; do \
39520 *.8*) list="$$list $$i" ;; \
39522 @@ -246,209 +337,228 @@
39523 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
39524 else file=$$i; fi; \
39525 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39526 + case "$$ext" in \
39530 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39531 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39532 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39533 - echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
39534 - $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
39535 + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
39536 + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
39540 - @list='$(man8_MANS)'; \
39541 - l2='$(man_MANS)'; for i in $$l2; do \
39542 + @$(NORMAL_UNINSTALL)
39543 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39544 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39545 + for i in $$l2; do \
39547 *.8*) list="$$list $$i" ;; \
39550 for i in $$list; do \
39551 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39552 + case "$$ext" in \
39556 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39557 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39558 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39559 - echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
39560 - rm -f $(DESTDIR)$(man8dir)/$$inst; \
39561 + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
39562 + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
39564 -install-man: $(MANS)
39565 - @$(NORMAL_INSTALL)
39566 - $(MAKE) $(AM_MAKEFLAGS) install-man8
39568 - @$(NORMAL_UNINSTALL)
39569 - $(MAKE) $(AM_MAKEFLAGS) uninstall-man8
39571 install-includeHEADERS: $(include_HEADERS)
39573 - $(mkinstalldirs) $(DESTDIR)$(includedir)
39574 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
39575 @list='$(include_HEADERS)'; for p in $$list; do \
39576 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
39577 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
39578 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
39579 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
39580 + f=$(am__strip_dir) \
39581 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
39582 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
39585 uninstall-includeHEADERS:
39586 @$(NORMAL_UNINSTALL)
39587 - list='$(include_HEADERS)'; for p in $$list; do \
39588 - rm -f $(DESTDIR)$(includedir)/$$p; \
39589 + @list='$(include_HEADERS)'; for p in $$list; do \
39590 + f=$(am__strip_dir) \
39591 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
39592 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
39595 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
39596 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39597 + unique=`for i in $$list; do \
39598 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39600 + $(AWK) ' { files[$$0] = 1; } \
39601 + END { for (i in files) print i; }'`; \
39602 + mkid -fID $$unique
39605 -ID: $(HEADERS) $(SOURCES) $(LISP)
39606 - list='$(SOURCES) $(HEADERS)'; \
39607 - unique=`for i in $$list; do echo $$i; done | \
39608 - awk ' { files[$$0] = 1; } \
39609 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39610 + $(TAGS_FILES) $(LISP)
39613 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39614 + unique=`for i in $$list; do \
39615 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39617 + $(AWK) ' { files[$$0] = 1; } \
39618 END { for (i in files) print i; }'`; \
39619 - here=`pwd` && cd $(srcdir) \
39620 - && mkid -f$$here/ID $$unique $(LISP)
39622 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
39623 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
39624 + test -n "$$unique" || unique=$$empty_fix; \
39625 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
39626 + $$tags $$unique; \
39629 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39630 + $(TAGS_FILES) $(LISP)
39633 - list='$(SOURCES) $(HEADERS)'; \
39634 - unique=`for i in $$list; do echo $$i; done | \
39635 - awk ' { files[$$0] = 1; } \
39636 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39637 + unique=`for i in $$list; do \
39638 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39640 + $(AWK) ' { files[$$0] = 1; } \
39641 END { for (i in files) print i; }'`; \
39642 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
39643 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
39648 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
39649 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
39653 + here=`$(am__cd) $(top_builddir) && pwd` \
39654 + && cd $(top_srcdir) \
39655 + && gtags -i $(GTAGS_ARGS) $$here
39660 -maintainer-clean-tags:
39662 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
39665 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
39667 distdir: $(DISTFILES)
39668 - here=`cd $(top_builddir) && pwd`; \
39669 - top_distdir=`cd $(top_distdir) && pwd`; \
39670 - distdir=`cd $(distdir) && pwd`; \
39671 - cd $(top_srcdir) \
39672 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/arpd/Makefile
39673 - @for file in $(DISTFILES); do \
39675 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
39676 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
39677 + list='$(DISTFILES)'; for file in $$list; do \
39679 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
39680 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
39682 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
39683 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
39684 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
39686 + $(mkdir_p) "$(distdir)$$dir"; \
39690 if test -d $$d/$$file; then \
39691 - cp -pr $$d/$$file $(distdir)/$$file; \
39692 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
39693 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
39695 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
39697 test -f $(distdir)/$$file \
39698 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
39699 - || cp -p $$d/$$file $(distdir)/$$file || :; \
39700 + || cp -p $$d/$$file $(distdir)/$$file \
39705 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
39707 --include $(DEP_FILES)
39709 -mostlyclean-depend:
39716 -maintainer-clean-depend:
39719 - @echo '$(COMPILE) -c $<'; \
39720 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39721 - @-cp .deps/$(*F).pp .deps/$(*F).P; \
39722 - tr ' ' '\012' < .deps/$(*F).pp \
39723 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39724 - >> .deps/$(*F).P; \
39725 - rm .deps/$(*F).pp
39728 - @echo '$(LTCOMPILE) -c $<'; \
39729 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39730 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
39731 - < .deps/$(*F).pp > .deps/$(*F).P; \
39732 - tr ' ' '\012' < .deps/$(*F).pp \
39733 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39734 - >> .deps/$(*F).P; \
39735 - rm -f .deps/$(*F).pp
39743 -installcheck: installcheck-am
39744 -install-exec-am: install-sbinPROGRAMS
39745 +all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39747 + for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(includedir)"; do \
39748 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
39750 +install: install-am
39751 install-exec: install-exec-am
39753 -install-data-am: install-man install-includeHEADERS
39754 install-data: install-data-am
39755 +uninstall: uninstall-am
39758 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
39759 -install: install-am
39760 -uninstall-am: uninstall-sbinPROGRAMS uninstall-man \
39761 - uninstall-includeHEADERS
39762 -uninstall: uninstall-am
39763 -all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39764 -all-redirect: all-am
39766 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
39768 - $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 \
39769 - $(DESTDIR)$(includedir)
39772 +installcheck: installcheck-am
39774 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
39775 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
39776 + `test -z '$(STRIP)' || \
39777 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
39778 mostlyclean-generic:
39783 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
39784 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
39785 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
39787 maintainer-clean-generic:
39788 -mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
39789 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
39790 - mostlyclean-generic
39791 + @echo "This command is intended for maintainers to use"
39792 + @echo "it deletes files that may require special tools to rebuild."
39795 -mostlyclean: mostlyclean-am
39796 +clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
39799 -clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
39800 - clean-depend clean-generic mostlyclean-am
39801 +distclean: distclean-am
39802 + -rm -rf ./$(DEPDIR)
39804 +distclean-am: clean-am distclean-compile distclean-generic \
39805 + distclean-libtool distclean-tags
39810 -distclean-am: distclean-sbinPROGRAMS distclean-compile \
39811 - distclean-libtool distclean-tags distclean-depend \
39812 - distclean-generic clean-am
39816 -distclean: distclean-am
39819 -maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
39820 - maintainer-clean-compile maintainer-clean-libtool \
39821 - maintainer-clean-tags maintainer-clean-depend \
39822 - maintainer-clean-generic distclean-am
39823 - @echo "This command is intended for maintainers to use;"
39824 - @echo "it deletes files that may require special tools to rebuild."
39829 +install-data-am: install-includeHEADERS install-man
39831 +install-exec-am: install-sbinPROGRAMS
39833 +install-info: install-info-am
39835 +install-man: install-man8
39839 maintainer-clean: maintainer-clean-am
39840 + -rm -rf ./$(DEPDIR)
39842 +maintainer-clean-am: distclean-am maintainer-clean-generic
39844 +mostlyclean: mostlyclean-am
39846 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
39847 + mostlyclean-libtool
39853 -.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
39854 -clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
39855 -install-sbinPROGRAMS mostlyclean-compile distclean-compile \
39856 -clean-compile maintainer-clean-compile mostlyclean-libtool \
39857 -distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
39858 -uninstall-man8 install-man uninstall-man uninstall-includeHEADERS \
39859 -install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
39860 -maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
39861 -clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
39862 -check-am installcheck-am installcheck install-exec-am install-exec \
39863 -install-data-am install-data install-am install uninstall-am uninstall \
39864 -all-redirect all-am all installdirs mostlyclean-generic \
39865 -distclean-generic clean-generic maintainer-clean-generic clean \
39866 -mostlyclean distclean maintainer-clean
39871 +uninstall-am: uninstall-includeHEADERS uninstall-info-am uninstall-man \
39872 + uninstall-sbinPROGRAMS
39874 +uninstall-man: uninstall-man8
39876 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
39877 + clean-libtool clean-sbinPROGRAMS ctags distclean \
39878 + distclean-compile distclean-generic distclean-libtool \
39879 + distclean-tags distdir dvi dvi-am html html-am info info-am \
39880 + install install-am install-data install-data-am install-exec \
39881 + install-exec-am install-includeHEADERS install-info \
39882 + install-info-am install-man install-man8 install-sbinPROGRAMS \
39883 + install-strip installcheck installcheck-am installdirs \
39884 + maintainer-clean maintainer-clean-generic mostlyclean \
39885 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
39886 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
39887 + uninstall-includeHEADERS uninstall-info-am uninstall-man \
39888 + uninstall-man8 uninstall-sbinPROGRAMS
39890 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39891 # Otherwise a system limit (for SysV at least) may be exceeded.
39892 diff -urN atm.old/src/include/Makefile.in atm.dev/src/include/Makefile.in
39893 --- atm.old/src/include/Makefile.in 2007-10-20 16:57:33.430006415 +0200
39894 +++ atm.dev/src/include/Makefile.in 2007-10-20 17:01:41.168124207 +0200
39896 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39897 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39898 +# @configure_input@
39900 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39901 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39902 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39903 # This Makefile.in is free software; the Free Software Foundation
39904 # gives unlimited permission to copy and/or distribute it,
39905 # with or without modifications, as long as this notice is preserved.
39906 @@ -10,244 +12,396 @@
39907 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39908 # PARTICULAR PURPOSE.
39915 top_srcdir = @top_srcdir@
39918 -exec_prefix = @exec_prefix@
39921 -sbindir = @sbindir@
39922 -libexecdir = @libexecdir@
39923 -datadir = @datadir@
39924 -sysconfdir = @sysconfdir@
39925 -sharedstatedir = @sharedstatedir@
39926 -localstatedir = @localstatedir@
39928 -infodir = @infodir@
39930 -includedir = @includedir@
39931 -oldincludedir = /usr/include
39935 pkgdatadir = $(datadir)/@PACKAGE@
39936 pkglibdir = $(libdir)/@PACKAGE@
39937 pkgincludedir = $(includedir)/@PACKAGE@
39939 top_builddir = ../..
39941 -ACLOCAL = @ACLOCAL@
39942 -AUTOCONF = @AUTOCONF@
39943 -AUTOMAKE = @AUTOMAKE@
39944 -AUTOHEADER = @AUTOHEADER@
39946 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39947 INSTALL = @INSTALL@
39948 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39949 -INSTALL_DATA = @INSTALL_DATA@
39950 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39951 -transform = @program_transform_name@
39953 +install_sh_DATA = $(install_sh) -c -m 644
39954 +install_sh_PROGRAM = $(install_sh) -c
39955 +install_sh_SCRIPT = $(install_sh) -c
39956 +INSTALL_HEADER = $(INSTALL_DATA)
39957 +transform = $(program_transform_name)
39961 NORMAL_UNINSTALL = :
39964 -build_alias = @build_alias@
39965 build_triplet = @build@
39966 -host_alias = @host_alias@
39967 host_triplet = @host@
39968 -target_alias = @target_alias@
39969 target_triplet = @target@
39970 +subdir = src/include
39971 +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
39972 + $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39973 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39974 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39975 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39977 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39978 +CONFIG_HEADER = $(top_builddir)/config.h
39979 +CONFIG_CLEAN_FILES =
39982 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39983 +am__vpath_adj = case $$p in \
39984 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39987 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39988 +am__installdirs = "$(DESTDIR)$(includedir)"
39989 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39990 +HEADERS = $(include_HEADERS) $(noinst_HEADERS)
39993 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
39994 +ACLOCAL = @ACLOCAL@
39995 +AMDEP_FALSE = @AMDEP_FALSE@
39996 +AMDEP_TRUE = @AMDEP_TRUE@
40000 +AUTOCONF = @AUTOCONF@
40001 +AUTOHEADER = @AUTOHEADER@
40002 +AUTOMAKE = @AUTOMAKE@
40005 +CCDEPMODE = @CCDEPMODE@
40008 +CPPFLAGS = @CPPFLAGS@
40011 -DLLTOOL = @DLLTOOL@
40012 +CXXDEPMODE = @CXXDEPMODE@
40013 +CXXFLAGS = @CXXFLAGS@
40014 +CYGPATH_W = @CYGPATH_W@
40025 -GCJFLAGS = @GCJFLAGS@
40026 -HAVE_LIB = @HAVE_LIB@
40029 +INSTALL_DATA = @INSTALL_DATA@
40030 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40031 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40032 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40033 +LDFLAGS = @LDFLAGS@
40037 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40038 +LIBOBJS = @LIBOBJS@
40040 LIBTOOL = @LIBTOOL@
40041 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40042 LIBVER_AGE = @LIBVER_AGE@
40043 LIBVER_CURRENT = @LIBVER_CURRENT@
40044 LIBVER_REVISION = @LIBVER_REVISION@
40047 +LTLIBOBJS = @LTLIBOBJS@
40048 MAKEINFO = @MAKEINFO@
40049 -OBJDUMP = @OBJDUMP@
40051 PACKAGE = @PACKAGE@
40052 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40053 +PACKAGE_NAME = @PACKAGE_NAME@
40054 +PACKAGE_STRING = @PACKAGE_STRING@
40055 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40056 +PACKAGE_VERSION = @PACKAGE_VERSION@
40057 +PATH_SEPARATOR = @PATH_SEPARATOR@
40061 +SET_MAKE = @SET_MAKE@
40064 VERSION = @VERSION@
40068 +ac_ct_CC = @ac_ct_CC@
40069 +ac_ct_CXX = @ac_ct_CXX@
40070 +ac_ct_F77 = @ac_ct_F77@
40071 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40072 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40073 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40074 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40075 +am__include = @am__include@
40076 +am__leading_dot = @am__leading_dot@
40077 +am__quote = @am__quote@
40078 +am__tar = @am__tar@
40079 +am__untar = @am__untar@
40082 +build_alias = @build_alias@
40083 +build_cpu = @build_cpu@
40084 +build_os = @build_os@
40085 +build_vendor = @build_vendor@
40086 +datadir = @datadir@
40087 +datarootdir = @datarootdir@
40090 +exec_prefix = @exec_prefix@
40092 +host_alias = @host_alias@
40093 +host_cpu = @host_cpu@
40094 +host_os = @host_os@
40095 +host_vendor = @host_vendor@
40096 +htmldir = @htmldir@
40097 +includedir = @includedir@
40098 +infodir = @infodir@
40099 +install_sh = @install_sh@
40101 +libexecdir = @libexecdir@
40102 +localedir = @localedir@
40103 +localstatedir = @localstatedir@
40105 +mkdir_p = @mkdir_p@
40106 +oldincludedir = @oldincludedir@
40109 +program_transform_name = @program_transform_name@
40111 +sbindir = @sbindir@
40112 +sharedstatedir = @sharedstatedir@
40113 +sysconfdir = @sysconfdir@
40115 +target_alias = @target_alias@
40116 +target_cpu = @target_cpu@
40117 +target_os = @target_os@
40118 +target_vendor = @target_vendor@
40119 include_HEADERS = atm.h atmd.h atmsap.h
40120 noinst_HEADERS = stdint.h
40121 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40122 -CONFIG_HEADER = ../../config.h
40123 -CONFIG_CLEAN_FILES =
40124 -HEADERS = $(include_HEADERS) $(noinst_HEADERS)
40126 -DIST_COMMON = Makefile.am Makefile.in
40130 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40136 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40137 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile
40138 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40139 + @for dep in $?; do \
40140 + case '$(am__configure_deps)' in \
40142 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40147 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \
40148 + cd $(top_srcdir) && \
40149 + $(AUTOMAKE) --gnu src/include/Makefile
40150 +.PRECIOUS: Makefile
40151 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40153 + *config.status*) \
40154 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40156 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40157 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40160 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40161 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40163 +$(top_srcdir)/configure: $(am__configure_deps)
40164 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40165 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40166 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40168 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40169 - cd $(top_builddir) \
40170 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40171 +mostlyclean-libtool:
40175 + -rm -rf .libs _libs
40177 +distclean-libtool:
40179 +uninstall-info-am:
40180 install-includeHEADERS: $(include_HEADERS)
40182 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40183 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
40184 @list='$(include_HEADERS)'; for p in $$list; do \
40185 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
40186 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
40187 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
40188 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
40189 + f=$(am__strip_dir) \
40190 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
40191 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
40194 uninstall-includeHEADERS:
40195 @$(NORMAL_UNINSTALL)
40196 - list='$(include_HEADERS)'; for p in $$list; do \
40197 - rm -f $(DESTDIR)$(includedir)/$$p; \
40198 + @list='$(include_HEADERS)'; for p in $$list; do \
40199 + f=$(am__strip_dir) \
40200 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
40201 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
40204 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40205 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40206 + unique=`for i in $$list; do \
40207 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40209 + $(AWK) ' { files[$$0] = 1; } \
40210 + END { for (i in files) print i; }'`; \
40211 + mkid -fID $$unique
40214 -ID: $(HEADERS) $(SOURCES) $(LISP)
40215 - list='$(SOURCES) $(HEADERS)'; \
40216 - unique=`for i in $$list; do echo $$i; done | \
40217 - awk ' { files[$$0] = 1; } \
40218 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40219 + $(TAGS_FILES) $(LISP)
40222 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40223 + unique=`for i in $$list; do \
40224 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40226 + $(AWK) ' { files[$$0] = 1; } \
40227 END { for (i in files) print i; }'`; \
40228 - here=`pwd` && cd $(srcdir) \
40229 - && mkid -f$$here/ID $$unique $(LISP)
40231 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40232 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40233 + test -n "$$unique" || unique=$$empty_fix; \
40234 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40235 + $$tags $$unique; \
40238 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40239 + $(TAGS_FILES) $(LISP)
40242 - list='$(SOURCES) $(HEADERS)'; \
40243 - unique=`for i in $$list; do echo $$i; done | \
40244 - awk ' { files[$$0] = 1; } \
40245 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40246 + unique=`for i in $$list; do \
40247 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40249 + $(AWK) ' { files[$$0] = 1; } \
40250 END { for (i in files) print i; }'`; \
40251 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40252 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40257 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40258 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40262 + here=`$(am__cd) $(top_builddir) && pwd` \
40263 + && cd $(top_srcdir) \
40264 + && gtags -i $(GTAGS_ARGS) $$here
40269 -maintainer-clean-tags:
40271 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40273 -subdir = src/include
40274 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
40276 distdir: $(DISTFILES)
40277 - here=`cd $(top_builddir) && pwd`; \
40278 - top_distdir=`cd $(top_distdir) && pwd`; \
40279 - distdir=`cd $(distdir) && pwd`; \
40280 - cd $(top_srcdir) \
40281 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/include/Makefile
40282 - @for file in $(DISTFILES); do \
40284 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
40285 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
40286 + list='$(DISTFILES)'; for file in $$list; do \
40288 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
40289 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
40291 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
40292 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
40293 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
40295 + $(mkdir_p) "$(distdir)$$dir"; \
40299 if test -d $$d/$$file; then \
40300 - cp -pr $$d/$$file $(distdir)/$$file; \
40301 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
40302 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
40304 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
40306 test -f $(distdir)/$$file \
40307 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
40308 - || cp -p $$d/$$file $(distdir)/$$file || :; \
40309 + || cp -p $$d/$$file $(distdir)/$$file \
40320 -installcheck: installcheck-am
40322 +all-am: Makefile $(HEADERS)
40324 + for dir in "$(DESTDIR)$(includedir)"; do \
40325 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
40327 +install: install-am
40328 install-exec: install-exec-am
40330 -install-data-am: install-includeHEADERS
40331 install-data: install-data-am
40332 +uninstall: uninstall-am
40335 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
40336 -install: install-am
40337 -uninstall-am: uninstall-includeHEADERS
40338 -uninstall: uninstall-am
40339 -all-am: Makefile $(HEADERS)
40340 -all-redirect: all-am
40342 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
40344 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40347 +installcheck: installcheck-am
40349 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
40350 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
40351 + `test -z '$(STRIP)' || \
40352 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
40353 mostlyclean-generic:
40358 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
40359 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
40360 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
40362 maintainer-clean-generic:
40363 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
40364 + @echo "This command is intended for maintainers to use"
40365 + @echo "it deletes files that may require special tools to rebuild."
40368 -mostlyclean: mostlyclean-am
40369 +clean-am: clean-generic clean-libtool mostlyclean-am
40371 -clean-am: clean-tags clean-generic mostlyclean-am
40372 +distclean: distclean-am
40374 +distclean-am: clean-am distclean-generic distclean-libtool \
40380 -distclean-am: distclean-tags distclean-generic clean-am
40384 -distclean: distclean-am
40387 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
40389 - @echo "This command is intended for maintainers to use;"
40390 - @echo "it deletes files that may require special tools to rebuild."
40395 +install-data-am: install-includeHEADERS
40399 +install-info: install-info-am
40405 maintainer-clean: maintainer-clean-am
40407 +maintainer-clean-am: distclean-am maintainer-clean-generic
40409 +mostlyclean: mostlyclean-am
40411 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
40421 -.PHONY: uninstall-includeHEADERS install-includeHEADERS tags \
40422 -mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
40423 -distdir info-am info dvi-am dvi check check-am installcheck-am \
40424 -installcheck install-exec-am install-exec install-data-am install-data \
40425 -install-am install uninstall-am uninstall all-redirect all-am all \
40426 -installdirs mostlyclean-generic distclean-generic clean-generic \
40427 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
40428 +uninstall-am: uninstall-includeHEADERS uninstall-info-am
40430 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
40431 + clean-libtool ctags distclean distclean-generic \
40432 + distclean-libtool distclean-tags distdir dvi dvi-am html \
40433 + html-am info info-am install install-am install-data \
40434 + install-data-am install-exec install-exec-am \
40435 + install-includeHEADERS install-info install-info-am \
40436 + install-man install-strip installcheck installcheck-am \
40437 + installdirs maintainer-clean maintainer-clean-generic \
40438 + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
40439 + ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS \
40440 + uninstall-info-am
40442 # Tell versions [3.59,3.63) of GNU make to not export all variables.
40443 # Otherwise a system limit (for SysV at least) may be exceeded.
40444 diff -urN atm.old/src/lib/Makefile.am atm.dev/src/lib/Makefile.am
40445 --- atm.old/src/lib/Makefile.am 2001-10-09 23:46:42.000000000 +0200
40446 +++ atm.dev/src/lib/Makefile.am 2007-10-20 17:01:38.015944565 +0200
40448 lib_LTLIBRARIES = libatm.la
40450 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40451 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40452 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40456 diff -urN atm.old/src/lib/Makefile.in atm.dev/src/lib/Makefile.in
40457 --- atm.old/src/lib/Makefile.in 2007-10-20 16:57:33.430006415 +0200
40458 +++ atm.dev/src/lib/Makefile.in 2007-10-20 17:01:41.280130590 +0200
40460 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
40461 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
40462 +# @configure_input@
40464 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
40465 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
40466 +# 2003, 2004, 2005 Free Software Foundation, Inc.
40467 # This Makefile.in is free software; the Free Software Foundation
40468 # gives unlimited permission to copy and/or distribute it,
40469 # with or without modifications, as long as this notice is preserved.
40470 @@ -10,200 +12,310 @@
40471 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
40472 # PARTICULAR PURPOSE.
40474 -#lib_LTLIBRARIES = libatm.la libatmd.la
40481 top_srcdir = @top_srcdir@
40484 -exec_prefix = @exec_prefix@
40487 -sbindir = @sbindir@
40488 -libexecdir = @libexecdir@
40489 -datadir = @datadir@
40490 -sysconfdir = @sysconfdir@
40491 -sharedstatedir = @sharedstatedir@
40492 -localstatedir = @localstatedir@
40494 -infodir = @infodir@
40496 -includedir = @includedir@
40497 -oldincludedir = /usr/include
40501 pkgdatadir = $(datadir)/@PACKAGE@
40502 pkglibdir = $(libdir)/@PACKAGE@
40503 pkgincludedir = $(includedir)/@PACKAGE@
40505 top_builddir = ../..
40507 -ACLOCAL = @ACLOCAL@
40508 -AUTOCONF = @AUTOCONF@
40509 -AUTOMAKE = @AUTOMAKE@
40510 -AUTOHEADER = @AUTOHEADER@
40512 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40513 INSTALL = @INSTALL@
40514 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
40515 -INSTALL_DATA = @INSTALL_DATA@
40516 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
40517 -transform = @program_transform_name@
40519 +install_sh_DATA = $(install_sh) -c -m 644
40520 +install_sh_PROGRAM = $(install_sh) -c
40521 +install_sh_SCRIPT = $(install_sh) -c
40522 +INSTALL_HEADER = $(INSTALL_DATA)
40523 +transform = $(program_transform_name)
40527 NORMAL_UNINSTALL = :
40530 -build_alias = @build_alias@
40531 build_triplet = @build@
40532 -host_alias = @host_alias@
40533 host_triplet = @host@
40534 -target_alias = @target_alias@
40535 target_triplet = @target@
40537 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40538 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40539 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
40540 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40542 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40543 +CONFIG_HEADER = $(top_builddir)/config.h
40544 +CONFIG_CLEAN_FILES =
40545 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
40546 +am__vpath_adj = case $$p in \
40547 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
40550 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
40551 +am__installdirs = "$(DESTDIR)$(libdir)"
40552 +libLTLIBRARIES_INSTALL = $(INSTALL)
40553 +LTLIBRARIES = $(lib_LTLIBRARIES)
40554 +am_libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40555 + text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo \
40556 + sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo \
40557 + text2ip.lo timer.lo unix.lo
40558 +libatm_la_OBJECTS = $(am_libatm_la_OBJECTS)
40559 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
40560 +depcomp = $(SHELL) $(top_srcdir)/depcomp
40561 +am__depfiles_maybe = depfiles
40562 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
40563 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40564 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
40565 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
40566 + $(AM_CFLAGS) $(CFLAGS)
40568 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
40569 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
40570 +SOURCES = $(libatm_la_SOURCES)
40571 +DIST_SOURCES = $(libatm_la_SOURCES)
40574 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40575 +ACLOCAL = @ACLOCAL@
40576 +AMDEP_FALSE = @AMDEP_FALSE@
40577 +AMDEP_TRUE = @AMDEP_TRUE@
40581 +AUTOCONF = @AUTOCONF@
40582 +AUTOHEADER = @AUTOHEADER@
40583 +AUTOMAKE = @AUTOMAKE@
40586 +CCDEPMODE = @CCDEPMODE@
40589 +CPPFLAGS = @CPPFLAGS@
40592 -DLLTOOL = @DLLTOOL@
40593 +CXXDEPMODE = @CXXDEPMODE@
40594 +CXXFLAGS = @CXXFLAGS@
40595 +CYGPATH_W = @CYGPATH_W@
40606 -GCJFLAGS = @GCJFLAGS@
40607 -HAVE_LIB = @HAVE_LIB@
40610 +INSTALL_DATA = @INSTALL_DATA@
40611 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40612 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40613 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40614 +LDFLAGS = @LDFLAGS@
40618 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40619 +LIBOBJS = @LIBOBJS@
40621 LIBTOOL = @LIBTOOL@
40622 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40623 LIBVER_AGE = @LIBVER_AGE@
40624 LIBVER_CURRENT = @LIBVER_CURRENT@
40625 LIBVER_REVISION = @LIBVER_REVISION@
40628 +LTLIBOBJS = @LTLIBOBJS@
40629 MAKEINFO = @MAKEINFO@
40630 -OBJDUMP = @OBJDUMP@
40632 PACKAGE = @PACKAGE@
40633 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40634 +PACKAGE_NAME = @PACKAGE_NAME@
40635 +PACKAGE_STRING = @PACKAGE_STRING@
40636 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40637 +PACKAGE_VERSION = @PACKAGE_VERSION@
40638 +PATH_SEPARATOR = @PATH_SEPARATOR@
40642 +SET_MAKE = @SET_MAKE@
40645 VERSION = @VERSION@
40648 +ac_ct_CC = @ac_ct_CC@
40649 +ac_ct_CXX = @ac_ct_CXX@
40650 +ac_ct_F77 = @ac_ct_F77@
40651 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40652 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40653 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40654 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40655 +am__include = @am__include@
40656 +am__leading_dot = @am__leading_dot@
40657 +am__quote = @am__quote@
40658 +am__tar = @am__tar@
40659 +am__untar = @am__untar@
40662 +build_alias = @build_alias@
40663 +build_cpu = @build_cpu@
40664 +build_os = @build_os@
40665 +build_vendor = @build_vendor@
40666 +datadir = @datadir@
40667 +datarootdir = @datarootdir@
40670 +exec_prefix = @exec_prefix@
40672 +host_alias = @host_alias@
40673 +host_cpu = @host_cpu@
40674 +host_os = @host_os@
40675 +host_vendor = @host_vendor@
40676 +htmldir = @htmldir@
40677 +includedir = @includedir@
40678 +infodir = @infodir@
40679 +install_sh = @install_sh@
40681 +libexecdir = @libexecdir@
40682 +localedir = @localedir@
40683 +localstatedir = @localstatedir@
40685 +mkdir_p = @mkdir_p@
40686 +oldincludedir = @oldincludedir@
40689 +program_transform_name = @program_transform_name@
40691 +sbindir = @sbindir@
40692 +sharedstatedir = @sharedstatedir@
40693 +sysconfdir = @sysconfdir@
40695 +target_alias = @target_alias@
40696 +target_cpu = @target_cpu@
40697 +target_os = @target_os@
40698 +target_vendor = @target_vendor@
40700 +#lib_LTLIBRARIES = libatm.la libatmd.la
40701 lib_LTLIBRARIES = libatm.la
40703 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40704 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40706 -libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c misc.c atmres.h ans.c common.c diag.c kptr.c text2ip.c timer.c unix.c
40707 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40708 +libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
40709 + qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c \
40710 + misc.c atmres.h ans.c \
40711 + common.c diag.c kptr.c text2ip.c timer.c unix.c
40713 libatm_la_LIBADD = -lresolv
40714 -libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h $(top_builddir)/src/include/atmsap.h $(top_builddir)/src/include/stdint.h $(top_builddir)/src/include/atmd.h
40716 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40717 -CONFIG_HEADER = ../../config.h
40718 -CONFIG_CLEAN_FILES =
40719 -LTLIBRARIES = $(lib_LTLIBRARIES)
40722 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
40723 -CPPFLAGS = @CPPFLAGS@
40725 -libatm_la_LDFLAGS =
40726 -libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40727 -text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo \
40728 -misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo
40730 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40731 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40733 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
40734 -DIST_COMMON = Makefile.am Makefile.in
40736 +libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
40737 + $(top_builddir)/src/include/atmsap.h \
40738 + $(top_builddir)/src/include/stdint.h \
40739 + $(top_builddir)/src/include/atmd.h
40741 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40746 -DEP_FILES = .deps/ans.P .deps/atm2text.P .deps/atmequal.P \
40747 -.deps/common.P .deps/diag.P .deps/kptr.P .deps/misc.P .deps/qos2text.P \
40748 -.deps/qosequal.P .deps/sap2text.P .deps/sapequal.P .deps/sdu2cell.P \
40749 -.deps/text2atm.P .deps/text2ip.P .deps/text2qos.P .deps/text2sap.P \
40750 -.deps/timer.P .deps/unix.P
40751 -SOURCES = $(libatm_la_SOURCES)
40752 -OBJECTS = $(libatm_la_OBJECTS)
40756 -.SUFFIXES: .S .c .lo .o .obj .s
40757 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40758 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile
40760 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40761 - cd $(top_builddir) \
40762 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40765 -mostlyclean-libLTLIBRARIES:
40767 -clean-libLTLIBRARIES:
40768 - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40770 -distclean-libLTLIBRARIES:
40772 -maintainer-clean-libLTLIBRARIES:
40774 +.SUFFIXES: .c .lo .o .obj
40775 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40776 + @for dep in $?; do \
40777 + case '$(am__configure_deps)' in \
40779 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40784 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile'; \
40785 + cd $(top_srcdir) && \
40786 + $(AUTOMAKE) --gnu src/lib/Makefile
40787 +.PRECIOUS: Makefile
40788 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40790 + *config.status*) \
40791 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40793 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40794 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40797 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40798 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40800 +$(top_srcdir)/configure: $(am__configure_deps)
40801 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40802 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40803 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40804 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
40806 - $(mkinstalldirs) $(DESTDIR)$(libdir)
40807 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
40808 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40809 if test -f $$p; then \
40810 - echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
40811 - $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
40812 + f=$(am__strip_dir) \
40813 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
40814 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
40818 uninstall-libLTLIBRARIES:
40819 @$(NORMAL_UNINSTALL)
40820 - list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40821 - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
40822 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40823 + p=$(am__strip_dir) \
40824 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
40825 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
40828 -# FIXME: We should only use cygpath when building on Windows,
40829 -# and only if it is available.
40831 - $(COMPILE) -c `cygpath -w $<`
40838 +clean-libLTLIBRARIES:
40839 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40840 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40841 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
40842 + test "$$dir" != "$$p" || dir=.; \
40843 + echo "rm -f \"$${dir}/so_locations\""; \
40844 + rm -f "$${dir}/so_locations"; \
40846 +libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40847 + $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40849 mostlyclean-compile:
40850 - -rm -f *.o core *.core
40858 -maintainer-clean-compile:
40861 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40862 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ans.Plo@am__quote@
40863 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atm2text.Plo@am__quote@
40864 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmequal.Plo@am__quote@
40865 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
40866 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diag.Plo@am__quote@
40867 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kptr.Plo@am__quote@
40868 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
40869 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qos2text.Plo@am__quote@
40870 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qosequal.Plo@am__quote@
40871 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sap2text.Plo@am__quote@
40872 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sapequal.Plo@am__quote@
40873 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sdu2cell.Plo@am__quote@
40874 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2atm.Plo@am__quote@
40875 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2ip.Plo@am__quote@
40876 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2qos.Plo@am__quote@
40877 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2sap.Plo@am__quote@
40878 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Plo@am__quote@
40879 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unix.Plo@am__quote@
40882 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40883 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40884 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40885 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40886 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
40889 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40891 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
40892 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40893 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40894 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40895 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
40898 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40899 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40900 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
40901 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40902 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
40904 mostlyclean-libtool:
40906 @@ -212,169 +324,178 @@
40907 -rm -rf .libs _libs
40911 +uninstall-info-am:
40913 -maintainer-clean-libtool:
40915 -libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40916 - $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40918 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40919 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40920 + unique=`for i in $$list; do \
40921 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40923 + $(AWK) ' { files[$$0] = 1; } \
40924 + END { for (i in files) print i; }'`; \
40925 + mkid -fID $$unique
40928 -ID: $(HEADERS) $(SOURCES) $(LISP)
40929 - list='$(SOURCES) $(HEADERS)'; \
40930 - unique=`for i in $$list; do echo $$i; done | \
40931 - awk ' { files[$$0] = 1; } \
40932 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40933 + $(TAGS_FILES) $(LISP)
40936 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40937 + unique=`for i in $$list; do \
40938 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40940 + $(AWK) ' { files[$$0] = 1; } \
40941 END { for (i in files) print i; }'`; \
40942 - here=`pwd` && cd $(srcdir) \
40943 - && mkid -f$$here/ID $$unique $(LISP)
40945 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40946 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40947 + test -n "$$unique" || unique=$$empty_fix; \
40948 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40949 + $$tags $$unique; \
40952 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40953 + $(TAGS_FILES) $(LISP)
40956 - list='$(SOURCES) $(HEADERS)'; \
40957 - unique=`for i in $$list; do echo $$i; done | \
40958 - awk ' { files[$$0] = 1; } \
40959 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40960 + unique=`for i in $$list; do \
40961 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40963 + $(AWK) ' { files[$$0] = 1; } \
40964 END { for (i in files) print i; }'`; \
40965 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40966 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40971 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40972 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40976 + here=`$(am__cd) $(top_builddir) && pwd` \
40977 + && cd $(top_srcdir) \
40978 + && gtags -i $(GTAGS_ARGS) $$here
40983 -maintainer-clean-tags:
40985 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40988 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
40990 distdir: $(DISTFILES)
40991 - here=`cd $(top_builddir) && pwd`; \
40992 - top_distdir=`cd $(top_distdir) && pwd`; \
40993 - distdir=`cd $(distdir) && pwd`; \
40994 - cd $(top_srcdir) \
40995 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/lib/Makefile
40996 - @for file in $(DISTFILES); do \
40998 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
40999 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41000 + list='$(DISTFILES)'; for file in $$list; do \
41002 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41003 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41005 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41006 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41007 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41009 + $(mkdir_p) "$(distdir)$$dir"; \
41013 if test -d $$d/$$file; then \
41014 - cp -pr $$d/$$file $(distdir)/$$file; \
41015 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41016 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41018 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41020 test -f $(distdir)/$$file \
41021 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41022 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41023 + || cp -p $$d/$$file $(distdir)/$$file \
41028 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
41030 --include $(DEP_FILES)
41032 -mostlyclean-depend:
41039 -maintainer-clean-depend:
41042 - @echo '$(COMPILE) -c $<'; \
41043 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41044 - @-cp .deps/$(*F).pp .deps/$(*F).P; \
41045 - tr ' ' '\012' < .deps/$(*F).pp \
41046 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41047 - >> .deps/$(*F).P; \
41048 - rm .deps/$(*F).pp
41051 - @echo '$(LTCOMPILE) -c $<'; \
41052 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41053 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
41054 - < .deps/$(*F).pp > .deps/$(*F).P; \
41055 - tr ' ' '\012' < .deps/$(*F).pp \
41056 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41057 - >> .deps/$(*F).P; \
41058 - rm -f .deps/$(*F).pp
41066 -installcheck: installcheck-am
41067 -install-exec-am: install-libLTLIBRARIES
41068 +all-am: Makefile $(LTLIBRARIES)
41070 + for dir in "$(DESTDIR)$(libdir)"; do \
41071 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
41073 +install: install-am
41074 install-exec: install-exec-am
41077 install-data: install-data-am
41078 +uninstall: uninstall-am
41081 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41082 -install: install-am
41083 -uninstall-am: uninstall-libLTLIBRARIES
41084 -uninstall: uninstall-am
41085 -all-am: Makefile $(LTLIBRARIES)
41086 -all-redirect: all-am
41088 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41090 - $(mkinstalldirs) $(DESTDIR)$(libdir)
41093 +installcheck: installcheck-am
41095 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41096 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41097 + `test -z '$(STRIP)' || \
41098 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41099 mostlyclean-generic:
41104 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41105 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41106 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41108 maintainer-clean-generic:
41109 -mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
41110 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
41111 - mostlyclean-generic
41112 + @echo "This command is intended for maintainers to use"
41113 + @echo "it deletes files that may require special tools to rebuild."
41116 -mostlyclean: mostlyclean-am
41117 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
41120 -clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
41121 - clean-depend clean-generic mostlyclean-am
41122 +distclean: distclean-am
41123 + -rm -rf ./$(DEPDIR)
41125 +distclean-am: clean-am distclean-compile distclean-generic \
41126 + distclean-libtool distclean-tags
41131 -distclean-am: distclean-libLTLIBRARIES distclean-compile \
41132 - distclean-libtool distclean-tags distclean-depend \
41133 - distclean-generic clean-am
41137 -distclean: distclean-am
41140 -maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
41141 - maintainer-clean-compile maintainer-clean-libtool \
41142 - maintainer-clean-tags maintainer-clean-depend \
41143 - maintainer-clean-generic distclean-am
41144 - @echo "This command is intended for maintainers to use;"
41145 - @echo "it deletes files that may require special tools to rebuild."
41152 +install-exec-am: install-libLTLIBRARIES
41154 +install-info: install-info-am
41160 maintainer-clean: maintainer-clean-am
41161 + -rm -rf ./$(DEPDIR)
41163 +maintainer-clean-am: distclean-am maintainer-clean-generic
41165 +mostlyclean: mostlyclean-am
41167 -.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
41168 -clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
41169 -uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
41170 -distclean-compile clean-compile maintainer-clean-compile \
41171 -mostlyclean-libtool distclean-libtool clean-libtool \
41172 -maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
41173 -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
41174 -distclean-depend clean-depend maintainer-clean-depend info-am info \
41175 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41176 -install-exec install-data-am install-data install-am install \
41177 -uninstall-am uninstall all-redirect all-am all installdirs \
41178 -mostlyclean-generic distclean-generic clean-generic \
41179 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41180 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
41181 + mostlyclean-libtool
41191 +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
41193 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
41194 + clean-libLTLIBRARIES clean-libtool ctags distclean \
41195 + distclean-compile distclean-generic distclean-libtool \
41196 + distclean-tags distdir dvi dvi-am html html-am info info-am \
41197 + install install-am install-data install-data-am install-exec \
41198 + install-exec-am install-info install-info-am \
41199 + install-libLTLIBRARIES install-man install-strip installcheck \
41200 + installcheck-am installdirs maintainer-clean \
41201 + maintainer-clean-generic mostlyclean mostlyclean-compile \
41202 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
41203 + tags uninstall uninstall-am uninstall-info-am \
41204 + uninstall-libLTLIBRARIES
41207 #libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
41208 @@ -389,7 +510,6 @@
41209 #libatmd_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
41210 # $(top_builddir)/src/include/atmd.h \
41211 # $(top_builddir)/src/include/stdint.h
41213 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41214 # Otherwise a system limit (for SysV at least) may be exceeded.
41216 diff -urN atm.old/src/Makefile.in atm.dev/src/Makefile.in
41217 --- atm.old/src/Makefile.in 2007-10-20 16:57:33.454007784 +0200
41218 +++ atm.dev/src/Makefile.in 2007-10-20 17:01:40.948111660 +0200
41220 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41221 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
41222 +# @configure_input@
41224 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41225 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
41226 +# 2003, 2004, 2005 Free Software Foundation, Inc.
41227 # This Makefile.in is free software; the Free Software Foundation
41228 # gives unlimited permission to copy and/or distribute it,
41229 # with or without modifications, as long as this notice is preserved.
41230 @@ -10,112 +12,209 @@
41231 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
41232 # PARTICULAR PURPOSE.
41239 top_srcdir = @top_srcdir@
41242 -exec_prefix = @exec_prefix@
41245 -sbindir = @sbindir@
41246 -libexecdir = @libexecdir@
41247 -datadir = @datadir@
41248 -sysconfdir = @sysconfdir@
41249 -sharedstatedir = @sharedstatedir@
41250 -localstatedir = @localstatedir@
41252 -infodir = @infodir@
41254 -includedir = @includedir@
41255 -oldincludedir = /usr/include
41259 pkgdatadir = $(datadir)/@PACKAGE@
41260 pkglibdir = $(libdir)/@PACKAGE@
41261 pkgincludedir = $(includedir)/@PACKAGE@
41265 -ACLOCAL = @ACLOCAL@
41266 -AUTOCONF = @AUTOCONF@
41267 -AUTOMAKE = @AUTOMAKE@
41268 -AUTOHEADER = @AUTOHEADER@
41270 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41271 INSTALL = @INSTALL@
41272 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
41273 -INSTALL_DATA = @INSTALL_DATA@
41274 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
41275 -transform = @program_transform_name@
41277 +install_sh_DATA = $(install_sh) -c -m 644
41278 +install_sh_PROGRAM = $(install_sh) -c
41279 +install_sh_SCRIPT = $(install_sh) -c
41280 +INSTALL_HEADER = $(INSTALL_DATA)
41281 +transform = $(program_transform_name)
41285 NORMAL_UNINSTALL = :
41288 -build_alias = @build_alias@
41289 build_triplet = @build@
41290 -host_alias = @host_alias@
41291 host_triplet = @host@
41292 -target_alias = @target_alias@
41293 target_triplet = @target@
41295 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41296 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41297 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
41298 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41300 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41301 +CONFIG_HEADER = $(top_builddir)/config.h
41302 +CONFIG_CLEAN_FILES =
41305 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
41306 + html-recursive info-recursive install-data-recursive \
41307 + install-exec-recursive install-info-recursive \
41308 + install-recursive installcheck-recursive installdirs-recursive \
41309 + pdf-recursive ps-recursive uninstall-info-recursive \
41310 + uninstall-recursive
41313 +DIST_SUBDIRS = $(SUBDIRS)
41314 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
41315 +ACLOCAL = @ACLOCAL@
41316 +AMDEP_FALSE = @AMDEP_FALSE@
41317 +AMDEP_TRUE = @AMDEP_TRUE@
41321 +AUTOCONF = @AUTOCONF@
41322 +AUTOHEADER = @AUTOHEADER@
41323 +AUTOMAKE = @AUTOMAKE@
41326 +CCDEPMODE = @CCDEPMODE@
41329 +CPPFLAGS = @CPPFLAGS@
41332 -DLLTOOL = @DLLTOOL@
41333 +CXXDEPMODE = @CXXDEPMODE@
41334 +CXXFLAGS = @CXXFLAGS@
41335 +CYGPATH_W = @CYGPATH_W@
41346 -GCJFLAGS = @GCJFLAGS@
41347 -HAVE_LIB = @HAVE_LIB@
41350 +INSTALL_DATA = @INSTALL_DATA@
41351 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
41352 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
41353 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
41354 +LDFLAGS = @LDFLAGS@
41358 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
41359 +LIBOBJS = @LIBOBJS@
41361 LIBTOOL = @LIBTOOL@
41362 LIBTOOL_DEPS = @LIBTOOL_DEPS@
41363 LIBVER_AGE = @LIBVER_AGE@
41364 LIBVER_CURRENT = @LIBVER_CURRENT@
41365 LIBVER_REVISION = @LIBVER_REVISION@
41368 +LTLIBOBJS = @LTLIBOBJS@
41369 MAKEINFO = @MAKEINFO@
41370 -OBJDUMP = @OBJDUMP@
41372 PACKAGE = @PACKAGE@
41373 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
41374 +PACKAGE_NAME = @PACKAGE_NAME@
41375 +PACKAGE_STRING = @PACKAGE_STRING@
41376 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
41377 +PACKAGE_VERSION = @PACKAGE_VERSION@
41378 +PATH_SEPARATOR = @PATH_SEPARATOR@
41382 +SET_MAKE = @SET_MAKE@
41385 VERSION = @VERSION@
41389 +ac_ct_CC = @ac_ct_CC@
41390 +ac_ct_CXX = @ac_ct_CXX@
41391 +ac_ct_F77 = @ac_ct_F77@
41392 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
41393 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
41394 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
41395 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
41396 +am__include = @am__include@
41397 +am__leading_dot = @am__leading_dot@
41398 +am__quote = @am__quote@
41399 +am__tar = @am__tar@
41400 +am__untar = @am__untar@
41403 +build_alias = @build_alias@
41404 +build_cpu = @build_cpu@
41405 +build_os = @build_os@
41406 +build_vendor = @build_vendor@
41407 +datadir = @datadir@
41408 +datarootdir = @datarootdir@
41411 +exec_prefix = @exec_prefix@
41413 +host_alias = @host_alias@
41414 +host_cpu = @host_cpu@
41415 +host_os = @host_os@
41416 +host_vendor = @host_vendor@
41417 +htmldir = @htmldir@
41418 +includedir = @includedir@
41419 +infodir = @infodir@
41420 +install_sh = @install_sh@
41422 +libexecdir = @libexecdir@
41423 +localedir = @localedir@
41424 +localstatedir = @localstatedir@
41426 +mkdir_p = @mkdir_p@
41427 +oldincludedir = @oldincludedir@
41430 +program_transform_name = @program_transform_name@
41432 +sbindir = @sbindir@
41433 +sharedstatedir = @sharedstatedir@
41434 +sysconfdir = @sysconfdir@
41436 +target_alias = @target_alias@
41437 +target_cpu = @target_cpu@
41438 +target_os = @target_os@
41439 +target_vendor = @target_vendor@
41440 SUBDIRS = include lib arpd
41441 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41442 -CONFIG_HEADER = ../config.h
41443 -CONFIG_CLEAN_FILES =
41444 -DIST_COMMON = Makefile.am Makefile.in
41446 +all: all-recursive
41448 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41454 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41455 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
41456 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
41457 + @for dep in $?; do \
41458 + case '$(am__configure_deps)' in \
41460 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
41465 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
41466 + cd $(top_srcdir) && \
41467 + $(AUTOMAKE) --gnu src/Makefile
41468 +.PRECIOUS: Makefile
41469 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41471 + *config.status*) \
41472 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
41474 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
41475 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
41478 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
41479 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41481 +$(top_srcdir)/configure: $(am__configure_deps)
41482 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41483 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
41484 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41486 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41487 - cd $(top_builddir) \
41488 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41489 +mostlyclean-libtool:
41493 + -rm -rf .libs _libs
41495 +distclean-libtool:
41497 +uninstall-info-am:
41499 # This directory's subdirectories are mostly independent; you can cd
41500 # into them and run `make' without going through this Makefile.
41501 @@ -123,13 +222,14 @@
41502 # (1) if the variable is set in `config.status', edit `config.status'
41503 # (which will cause the Makefiles to be regenerated when you run `make');
41504 # (2) otherwise, pass the desired values on the `make' command line.
41508 -all-recursive install-data-recursive install-exec-recursive \
41509 -installdirs-recursive install-recursive uninstall-recursive \
41510 -check-recursive installcheck-recursive info-recursive dvi-recursive:
41511 - @set fnord $(MAKEFLAGS); amf=$$2; \
41512 +$(RECURSIVE_TARGETS):
41513 + @failcom='exit 1'; \
41514 + for f in x $$MAKEFLAGS; do \
41516 + *=* | --[!k]*);; \
41517 + *k*) failcom='fail=yes';; \
41521 target=`echo $@ | sed s/-recursive//`; \
41522 list='$(SUBDIRS)'; for subdir in $$list; do \
41523 @@ -141,7 +241,7 @@
41524 local_target="$$target"; \
41526 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41527 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41528 + || eval $$failcom; \
41530 if test "$$dot_seen" = "no"; then \
41531 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
41532 @@ -149,13 +249,24 @@
41534 mostlyclean-recursive clean-recursive distclean-recursive \
41535 maintainer-clean-recursive:
41536 - @set fnord $(MAKEFLAGS); amf=$$2; \
41537 + @failcom='exit 1'; \
41538 + for f in x $$MAKEFLAGS; do \
41540 + *=* | --[!k]*);; \
41541 + *k*) failcom='fail=yes';; \
41545 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
41546 - rev="$$subdir $$rev"; \
41547 - test "$$subdir" != "." || dot_seen=yes; \
41549 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
41550 + *) list='$(SUBDIRS)' ;; \
41552 + rev=''; for subdir in $$list; do \
41553 + if test "$$subdir" = "."; then :; else \
41554 + rev="$$subdir $$rev"; \
41557 - test "$$dot_seen" = "no" && rev=". $$rev"; \
41559 target=`echo $@ | sed s/-recursive//`; \
41560 for subdir in $$rev; do \
41561 echo "Making $$target in $$subdir"; \
41562 @@ -165,146 +276,210 @@
41563 local_target="$$target"; \
41565 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41566 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41567 + || eval $$failcom; \
41568 done && test -z "$$fail"
41570 list='$(SUBDIRS)'; for subdir in $$list; do \
41571 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
41574 + list='$(SUBDIRS)'; for subdir in $$list; do \
41575 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
41580 -ID: $(HEADERS) $(SOURCES) $(LISP)
41581 - list='$(SOURCES) $(HEADERS)'; \
41582 - unique=`for i in $$list; do echo $$i; done | \
41583 - awk ' { files[$$0] = 1; } \
41584 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
41585 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41586 + unique=`for i in $$list; do \
41587 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41589 + $(AWK) ' { files[$$0] = 1; } \
41590 END { for (i in files) print i; }'`; \
41591 - here=`pwd` && cd $(srcdir) \
41592 - && mkid -f$$here/ID $$unique $(LISP)
41593 + mkid -fID $$unique
41596 -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
41597 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41598 + $(TAGS_FILES) $(LISP)
41601 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
41602 + include_option=--etags-include; \
41605 + include_option=--include; \
41608 list='$(SUBDIRS)'; for subdir in $$list; do \
41609 - if test "$$subdir" = .; then :; else \
41610 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
41612 + if test "$$subdir" = .; then :; else \
41613 + test ! -f $$subdir/TAGS || \
41614 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
41617 - list='$(SOURCES) $(HEADERS)'; \
41618 - unique=`for i in $$list; do echo $$i; done | \
41619 - awk ' { files[$$0] = 1; } \
41620 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41621 + unique=`for i in $$list; do \
41622 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41624 + $(AWK) ' { files[$$0] = 1; } \
41625 END { for (i in files) print i; }'`; \
41626 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
41627 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
41632 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
41633 + test -n "$$unique" || unique=$$empty_fix; \
41634 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
41635 + $$tags $$unique; \
41638 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41639 + $(TAGS_FILES) $(LISP)
41642 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41643 + unique=`for i in $$list; do \
41644 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41646 + $(AWK) ' { files[$$0] = 1; } \
41647 + END { for (i in files) print i; }'`; \
41648 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
41649 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
41653 + here=`$(am__cd) $(top_builddir) && pwd` \
41654 + && cd $(top_srcdir) \
41655 + && gtags -i $(GTAGS_ARGS) $$here
41660 -maintainer-clean-tags:
41662 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
41665 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41667 distdir: $(DISTFILES)
41668 - here=`cd $(top_builddir) && pwd`; \
41669 - top_distdir=`cd $(top_distdir) && pwd`; \
41670 - distdir=`cd $(distdir) && pwd`; \
41671 - cd $(top_srcdir) \
41672 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
41673 - @for file in $(DISTFILES); do \
41675 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41676 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41677 + list='$(DISTFILES)'; for file in $$list; do \
41679 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41680 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41682 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41683 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41684 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41686 + $(mkdir_p) "$(distdir)$$dir"; \
41690 if test -d $$d/$$file; then \
41691 - cp -pr $$d/$$file $(distdir)/$$file; \
41692 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41693 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41695 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41697 test -f $(distdir)/$$file \
41698 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41699 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41700 + || cp -p $$d/$$file $(distdir)/$$file \
41704 - for subdir in $(SUBDIRS); do \
41705 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
41706 if test "$$subdir" = .; then :; else \
41707 - test -d $(distdir)/$$subdir \
41708 - || mkdir $(distdir)/$$subdir \
41709 + test -d "$(distdir)/$$subdir" \
41710 + || $(mkdir_p) "$(distdir)/$$subdir" \
41712 - chmod 777 $(distdir)/$$subdir; \
41713 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
41714 + distdir=`$(am__cd) $(distdir) && pwd`; \
41715 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
41716 + (cd $$subdir && \
41717 + $(MAKE) $(AM_MAKEFLAGS) \
41718 + top_distdir="$$top_distdir" \
41719 + distdir="$$distdir/$$subdir" \
41725 -info: info-recursive
41727 -dvi: dvi-recursive
41729 check: check-recursive
41731 -installcheck: installcheck-recursive
41734 +installdirs: installdirs-recursive
41736 +install: install-recursive
41737 install-exec: install-exec-recursive
41740 install-data: install-data-recursive
41741 +uninstall: uninstall-recursive
41744 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41745 -install: install-recursive
41747 -uninstall: uninstall-recursive
41749 -all-redirect: all-recursive
41751 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41752 -installdirs: installdirs-recursive
41756 +installcheck: installcheck-recursive
41758 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41759 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41760 + `test -z '$(STRIP)' || \
41761 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41762 mostlyclean-generic:
41767 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41768 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41769 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41771 maintainer-clean-generic:
41772 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
41773 + @echo "This command is intended for maintainers to use"
41774 + @echo "it deletes files that may require special tools to rebuild."
41775 +clean: clean-recursive
41777 -mostlyclean: mostlyclean-recursive
41778 +clean-am: clean-generic clean-libtool mostlyclean-am
41780 -clean-am: clean-tags clean-generic mostlyclean-am
41781 +distclean: distclean-recursive
41783 +distclean-am: clean-am distclean-generic distclean-libtool \
41786 -clean: clean-recursive
41787 +dvi: dvi-recursive
41789 -distclean-am: distclean-tags distclean-generic clean-am
41793 -distclean: distclean-recursive
41794 +html: html-recursive
41796 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
41798 - @echo "This command is intended for maintainers to use;"
41799 - @echo "it deletes files that may require special tools to rebuild."
41800 +info: info-recursive
41808 +install-info: install-info-recursive
41814 maintainer-clean: maintainer-clean-recursive
41816 +maintainer-clean-am: distclean-am maintainer-clean-generic
41818 +mostlyclean: mostlyclean-recursive
41820 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
41822 +pdf: pdf-recursive
41830 +uninstall-am: uninstall-info-am
41832 -.PHONY: install-data-recursive uninstall-data-recursive \
41833 -install-exec-recursive uninstall-exec-recursive installdirs-recursive \
41834 -uninstalldirs-recursive all-recursive check-recursive \
41835 -installcheck-recursive info-recursive dvi-recursive \
41836 -mostlyclean-recursive distclean-recursive clean-recursive \
41837 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
41838 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
41839 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41840 -install-exec install-data-am install-data install-am install \
41841 -uninstall-am uninstall all-redirect all-am all installdirs-am \
41842 -installdirs mostlyclean-generic distclean-generic clean-generic \
41843 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41844 +uninstall-info: uninstall-info-recursive
41846 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
41847 + clean clean-generic clean-libtool clean-recursive ctags \
41848 + ctags-recursive distclean distclean-generic distclean-libtool \
41849 + distclean-recursive distclean-tags distdir dvi dvi-am html \
41850 + html-am info info-am install install-am install-data \
41851 + install-data-am install-exec install-exec-am install-info \
41852 + install-info-am install-man install-strip installcheck \
41853 + installcheck-am installdirs installdirs-am maintainer-clean \
41854 + maintainer-clean-generic maintainer-clean-recursive \
41855 + mostlyclean mostlyclean-generic mostlyclean-libtool \
41856 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
41857 + uninstall uninstall-am uninstall-info-am
41859 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41860 # Otherwise a system limit (for SysV at least) may be exceeded.