1 Index: linux-atm-2.4.1/aclocal.m4
2 ===================================================================
3 --- linux-atm-2.4.1.orig/aclocal.m4 2007-10-20 21:45:35.714867704 +0200
4 +++ linux-atm-2.4.1/aclocal.m4 2007-10-20 21:46:56.439467936 +0200
6 -dnl aclocal.m4 generated automatically by aclocal 1.4-p6
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
9 -dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
10 -dnl This file is free software; the Free Software Foundation
11 -dnl gives unlimited permission to copy and/or distribute it,
12 -dnl with or without modifications, as long as this notice is preserved.
14 -dnl This program is distributed in the hope that it will be useful,
15 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 -dnl PARTICULAR PURPOSE.
19 -# lib-prefix.m4 serial 4 (gettext-0.14.2)
20 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
21 -dnl This file is free software; the Free Software Foundation
22 -dnl gives unlimited permission to copy and/or distribute it,
23 -dnl with or without modifications, as long as this notice is preserved.
25 -dnl From Bruno Haible.
27 -dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
28 -dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
29 -dnl require excessive bracketing.
30 -ifdef([AC_HELP_STRING],
31 -[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
32 -[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
34 -dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
35 -dnl to access previously installed libraries. The basic assumption is that
36 -dnl a user will want packages to use other packages he previously installed
37 -dnl with the same --prefix option.
38 -dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
39 -dnl libraries, but is otherwise very convenient.
40 -AC_DEFUN([AC_LIB_PREFIX],
42 - AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
43 - AC_REQUIRE([AC_PROG_CC])
44 - AC_REQUIRE([AC_CANONICAL_HOST])
45 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
46 - dnl By default, look in $includedir and $libdir.
48 - AC_LIB_WITH_FINAL_PREFIX([
49 - eval additional_includedir=\"$includedir\"
50 - eval additional_libdir=\"$libdir\"
52 - AC_LIB_ARG_WITH([lib-prefix],
53 -[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
54 - --without-lib-prefix don't search for libraries in includedir and libdir],
56 - if test "X$withval" = "Xno"; then
59 - if test "X$withval" = "X"; then
60 - AC_LIB_WITH_FINAL_PREFIX([
61 - eval additional_includedir=\"$includedir\"
62 - eval additional_libdir=\"$libdir\"
65 - additional_includedir="$withval/include"
66 - additional_libdir="$withval/lib"
70 - if test $use_additional = yes; then
71 - dnl Potentially add $additional_includedir to $CPPFLAGS.
72 - dnl But don't add it
73 - dnl 1. if it's the standard /usr/include,
74 - dnl 2. if it's already present in $CPPFLAGS,
75 - dnl 3. if it's /usr/local/include and we are using GCC on Linux,
76 - dnl 4. if it doesn't exist as a directory.
77 - if test "X$additional_includedir" != "X/usr/include"; then
79 - for x in $CPPFLAGS; do
80 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
81 - if test "X$x" = "X-I$additional_includedir"; then
86 - if test -z "$haveit"; then
87 - if test "X$additional_includedir" = "X/usr/local/include"; then
88 - if test -n "$GCC"; then
90 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
94 - if test -z "$haveit"; then
95 - if test -d "$additional_includedir"; then
96 - dnl Really add $additional_includedir to $CPPFLAGS.
97 - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
102 - dnl Potentially add $additional_libdir to $LDFLAGS.
103 - dnl But don't add it
104 - dnl 1. if it's the standard /usr/lib,
105 - dnl 2. if it's already present in $LDFLAGS,
106 - dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
107 - dnl 4. if it doesn't exist as a directory.
108 - if test "X$additional_libdir" != "X/usr/lib"; then
110 - for x in $LDFLAGS; do
111 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
112 - if test "X$x" = "X-L$additional_libdir"; then
117 - if test -z "$haveit"; then
118 - if test "X$additional_libdir" = "X/usr/local/lib"; then
119 - if test -n "$GCC"; then
121 - linux*) haveit=yes;;
125 - if test -z "$haveit"; then
126 - if test -d "$additional_libdir"; then
127 - dnl Really add $additional_libdir to $LDFLAGS.
128 - LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
136 -dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
137 -dnl acl_final_exec_prefix, containing the values to which $prefix and
138 -dnl $exec_prefix will expand at the end of the configure script.
139 -AC_DEFUN([AC_LIB_PREPARE_PREFIX],
141 - dnl Unfortunately, prefix and exec_prefix get only finally determined
142 - dnl at the end of configure.
143 - if test "X$prefix" = "XNONE"; then
144 - acl_final_prefix="$ac_default_prefix"
146 - acl_final_prefix="$prefix"
148 - if test "X$exec_prefix" = "XNONE"; then
149 - acl_final_exec_prefix='${prefix}'
151 - acl_final_exec_prefix="$exec_prefix"
153 - acl_save_prefix="$prefix"
154 - prefix="$acl_final_prefix"
155 - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
156 - prefix="$acl_save_prefix"
159 -dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
160 -dnl variables prefix and exec_prefix bound to the values they will have
161 -dnl at the end of the configure script.
162 -AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
164 - acl_save_prefix="$prefix"
165 - prefix="$acl_final_prefix"
166 - acl_save_exec_prefix="$exec_prefix"
167 - exec_prefix="$acl_final_exec_prefix"
169 - exec_prefix="$acl_save_exec_prefix"
170 - prefix="$acl_save_prefix"
173 -# lib-link.m4 serial 6 (gettext-0.14.3)
174 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
175 -dnl This file is free software; the Free Software Foundation
176 -dnl gives unlimited permission to copy and/or distribute it,
177 -dnl with or without modifications, as long as this notice is preserved.
179 -dnl From Bruno Haible.
183 -dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
184 -dnl the libraries corresponding to explicit and implicit dependencies.
185 -dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
186 -dnl augments the CPPFLAGS variable.
187 -AC_DEFUN([AC_LIB_LINKFLAGS],
189 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
190 - AC_REQUIRE([AC_LIB_RPATH])
191 - define([Name],[translit([$1],[./-], [___])])
192 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
193 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
194 - AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
195 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
196 - ac_cv_lib[]Name[]_libs="$LIB[]NAME"
197 - ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
198 - ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
200 - LIB[]NAME="$ac_cv_lib[]Name[]_libs"
201 - LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
202 - INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
203 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
204 - AC_SUBST([LIB]NAME)
205 - AC_SUBST([LTLIB]NAME)
206 - dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
207 - dnl results of this search when this library appears as a dependency.
213 -dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
214 -dnl searches for libname and the libraries corresponding to explicit and
215 -dnl implicit dependencies, together with the specified include files and
216 -dnl the ability to compile and link the specified testcode. If found, it
217 -dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
218 -dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
219 -dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
220 -dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
221 -AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
223 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
224 - AC_REQUIRE([AC_LIB_RPATH])
225 - define([Name],[translit([$1],[./-], [___])])
226 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
227 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
229 - dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
231 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
233 - dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
234 - dnl because if the user has installed lib[]Name and not disabled its use
235 - dnl via --without-lib[]Name-prefix, he wants to use it.
236 - ac_save_CPPFLAGS="$CPPFLAGS"
237 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
239 - AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
240 - ac_save_LIBS="$LIBS"
241 - LIBS="$LIBS $LIB[]NAME"
242 - AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
243 - LIBS="$ac_save_LIBS"
245 - if test "$ac_cv_lib[]Name" = yes; then
247 - AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
248 - AC_MSG_CHECKING([how to link with lib[]$1])
249 - AC_MSG_RESULT([$LIB[]NAME])
252 - dnl If $LIB[]NAME didn't lead to a usable library, we don't need
253 - dnl $INC[]NAME either.
254 - CPPFLAGS="$ac_save_CPPFLAGS"
258 - AC_SUBST([HAVE_LIB]NAME)
259 - AC_SUBST([LIB]NAME)
260 - AC_SUBST([LTLIB]NAME)
265 -dnl Determine the platform dependent parameters needed to use rpath:
266 -dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
267 -dnl hardcode_direct, hardcode_minus_L.
268 -AC_DEFUN([AC_LIB_RPATH],
270 - dnl Tell automake >= 1.10 to complain if config.rpath is missing.
271 - m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
272 - AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
273 - AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
274 - AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
275 - AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
276 - AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
277 - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
278 - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
280 - rm -f ./conftest.sh
284 - libext="$acl_cv_libext"
285 - shlibext="$acl_cv_shlibext"
286 - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
287 - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
288 - hardcode_direct="$acl_cv_hardcode_direct"
289 - hardcode_minus_L="$acl_cv_hardcode_minus_L"
290 - dnl Determine whether the user wants rpath handling at all.
291 - AC_ARG_ENABLE(rpath,
292 - [ --disable-rpath do not hardcode runtime library paths],
293 - :, enable_rpath=yes)
296 -dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
297 -dnl the libraries corresponding to explicit and implicit dependencies.
298 -dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
299 -AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
301 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
302 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
303 - dnl By default, look in $includedir and $libdir.
305 - AC_LIB_WITH_FINAL_PREFIX([
306 - eval additional_includedir=\"$includedir\"
307 - eval additional_libdir=\"$libdir\"
309 - AC_LIB_ARG_WITH([lib$1-prefix],
310 -[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
311 - --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
313 - if test "X$withval" = "Xno"; then
316 - if test "X$withval" = "X"; then
317 - AC_LIB_WITH_FINAL_PREFIX([
318 - eval additional_includedir=\"$includedir\"
319 - eval additional_libdir=\"$libdir\"
322 - additional_includedir="$withval/include"
323 - additional_libdir="$withval/lib"
327 - dnl Search the library and its dependencies in $additional_libdir and
328 - dnl $LDFLAGS. Using breadth-first-seach.
334 - names_already_handled=
335 - names_next_round='$1 $2'
336 - while test -n "$names_next_round"; do
337 - names_this_round="$names_next_round"
339 - for name in $names_this_round; do
341 - for n in $names_already_handled; do
342 - if test "$n" = "$name"; then
343 - already_handled=yes
347 - if test -z "$already_handled"; then
348 - names_already_handled="$names_already_handled $name"
349 - dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
350 - dnl or AC_LIB_HAVE_LINKFLAGS call.
351 - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
352 - eval value=\"\$HAVE_LIB$uppername\"
353 - if test -n "$value"; then
354 - if test "$value" = yes; then
355 - eval value=\"\$LIB$uppername\"
356 - test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
357 - eval value=\"\$LTLIB$uppername\"
358 - test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
360 - dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
361 - dnl that this library doesn't exist. So just drop it.
365 - dnl Search the library lib$name in $additional_libdir and $LDFLAGS
366 - dnl and the already constructed $LIBNAME/$LTLIBNAME.
371 - if test $use_additional = yes; then
372 - if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
373 - found_dir="$additional_libdir"
374 - found_so="$additional_libdir/lib$name.$shlibext"
375 - if test -f "$additional_libdir/lib$name.la"; then
376 - found_la="$additional_libdir/lib$name.la"
379 - if test -f "$additional_libdir/lib$name.$libext"; then
380 - found_dir="$additional_libdir"
381 - found_a="$additional_libdir/lib$name.$libext"
382 - if test -f "$additional_libdir/lib$name.la"; then
383 - found_la="$additional_libdir/lib$name.la"
388 - if test "X$found_dir" = "X"; then
389 - for x in $LDFLAGS $LTLIB[]NAME; do
390 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
393 - dir=`echo "X$x" | sed -e 's/^X-L//'`
394 - if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
396 - found_so="$dir/lib$name.$shlibext"
397 - if test -f "$dir/lib$name.la"; then
398 - found_la="$dir/lib$name.la"
401 - if test -f "$dir/lib$name.$libext"; then
403 - found_a="$dir/lib$name.$libext"
404 - if test -f "$dir/lib$name.la"; then
405 - found_la="$dir/lib$name.la"
411 - if test "X$found_dir" != "X"; then
416 - if test "X$found_dir" != "X"; then
417 - dnl Found the library.
418 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
419 - if test "X$found_so" != "X"; then
420 - dnl Linking with a shared library. We attempt to hardcode its
421 - dnl directory into the executable's runpath, unless it's the
422 - dnl standard /usr/lib.
423 - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
424 - dnl No hardcoding is needed.
425 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
427 - dnl Use an explicit option to hardcode DIR into the resulting
429 - dnl Potentially add DIR to ltrpathdirs.
430 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
432 - for x in $ltrpathdirs; do
433 - if test "X$x" = "X$found_dir"; then
438 - if test -z "$haveit"; then
439 - ltrpathdirs="$ltrpathdirs $found_dir"
441 - dnl The hardcoding into $LIBNAME is system dependent.
442 - if test "$hardcode_direct" = yes; then
443 - dnl Using DIR/libNAME.so during linking hardcodes DIR into the
444 - dnl resulting binary.
445 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
447 - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
448 - dnl Use an explicit option to hardcode DIR into the resulting
450 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
451 - dnl Potentially add DIR to rpathdirs.
452 - dnl The rpathdirs will be appended to $LIBNAME at the end.
454 - for x in $rpathdirs; do
455 - if test "X$x" = "X$found_dir"; then
460 - if test -z "$haveit"; then
461 - rpathdirs="$rpathdirs $found_dir"
464 - dnl Rely on "-L$found_dir".
465 - dnl But don't add it if it's already contained in the LDFLAGS
466 - dnl or the already constructed $LIBNAME
468 - for x in $LDFLAGS $LIB[]NAME; do
469 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
470 - if test "X$x" = "X-L$found_dir"; then
475 - if test -z "$haveit"; then
476 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
478 - if test "$hardcode_minus_L" != no; then
479 - dnl FIXME: Not sure whether we should use
480 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
482 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
484 - dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
485 - dnl here, because this doesn't fit in flags passed to the
486 - dnl compiler. So give up. No hardcoding. This affects only
487 - dnl very old systems.
488 - dnl FIXME: Not sure whether we should use
489 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
491 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
497 - if test "X$found_a" != "X"; then
498 - dnl Linking with a static library.
499 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
501 - dnl We shouldn't come here, but anyway it's good to have a
503 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
506 - dnl Assume the include files are nearby.
507 - additional_includedir=
508 - case "$found_dir" in
510 - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
511 - additional_includedir="$basedir/include"
514 - if test "X$additional_includedir" != "X"; then
515 - dnl Potentially add $additional_includedir to $INCNAME.
516 - dnl But don't add it
517 - dnl 1. if it's the standard /usr/include,
518 - dnl 2. if it's /usr/local/include and we are using GCC on Linux,
519 - dnl 3. if it's already present in $CPPFLAGS or the already
520 - dnl constructed $INCNAME,
521 - dnl 4. if it doesn't exist as a directory.
522 - if test "X$additional_includedir" != "X/usr/include"; then
524 - if test "X$additional_includedir" = "X/usr/local/include"; then
525 - if test -n "$GCC"; then
527 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
531 - if test -z "$haveit"; then
532 - for x in $CPPFLAGS $INC[]NAME; do
533 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
534 - if test "X$x" = "X-I$additional_includedir"; then
539 - if test -z "$haveit"; then
540 - if test -d "$additional_includedir"; then
541 - dnl Really add $additional_includedir to $INCNAME.
542 - INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
548 - dnl Look for dependencies.
549 - if test -n "$found_la"; then
550 - dnl Read the .la file. It defines the variables
551 - dnl dlname, library_names, old_library, dependency_libs, current,
552 - dnl age, revision, installed, dlopen, dlpreopen, libdir.
553 - save_libdir="$libdir"
554 - case "$found_la" in
555 - */* | *\\*) . "$found_la" ;;
556 - *) . "./$found_la" ;;
558 - libdir="$save_libdir"
559 - dnl We use only dependency_libs.
560 - for dep in $dependency_libs; do
563 - additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
564 - dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
565 - dnl But don't add it
566 - dnl 1. if it's the standard /usr/lib,
567 - dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
568 - dnl 3. if it's already present in $LDFLAGS or the already
569 - dnl constructed $LIBNAME,
570 - dnl 4. if it doesn't exist as a directory.
571 - if test "X$additional_libdir" != "X/usr/lib"; then
573 - if test "X$additional_libdir" = "X/usr/local/lib"; then
574 - if test -n "$GCC"; then
576 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
580 - if test -z "$haveit"; then
582 - for x in $LDFLAGS $LIB[]NAME; do
583 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
584 - if test "X$x" = "X-L$additional_libdir"; then
589 - if test -z "$haveit"; then
590 - if test -d "$additional_libdir"; then
591 - dnl Really add $additional_libdir to $LIBNAME.
592 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
596 - for x in $LDFLAGS $LTLIB[]NAME; do
597 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
598 - if test "X$x" = "X-L$additional_libdir"; then
603 - if test -z "$haveit"; then
604 - if test -d "$additional_libdir"; then
605 - dnl Really add $additional_libdir to $LTLIBNAME.
606 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
613 - dir=`echo "X$dep" | sed -e 's/^X-R//'`
614 - if test "$enable_rpath" != no; then
615 - dnl Potentially add DIR to rpathdirs.
616 - dnl The rpathdirs will be appended to $LIBNAME at the end.
618 - for x in $rpathdirs; do
619 - if test "X$x" = "X$dir"; then
624 - if test -z "$haveit"; then
625 - rpathdirs="$rpathdirs $dir"
627 - dnl Potentially add DIR to ltrpathdirs.
628 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
630 - for x in $ltrpathdirs; do
631 - if test "X$x" = "X$dir"; then
636 - if test -z "$haveit"; then
637 - ltrpathdirs="$ltrpathdirs $dir"
642 - dnl Handle this in the next round.
643 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
646 - dnl Handle this in the next round. Throw away the .la's
647 - dnl directory; it is already contained in a preceding -L
649 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
652 - dnl Most likely an immediate library name.
653 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
654 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
660 - dnl Didn't find the library; assume it is in the system directories
661 - dnl known to the linker and runtime loader. (All the system
662 - dnl directories known to the linker should also be known to the
663 - dnl runtime loader, otherwise the system is severely misconfigured.)
664 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
665 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
671 - if test "X$rpathdirs" != "X"; then
672 - if test -n "$hardcode_libdir_separator"; then
673 - dnl Weird platform: only the last -rpath option counts, the user must
674 - dnl pass all path elements in one option. We can arrange that for a
675 - dnl single library, but not when more than one $LIBNAMEs are used.
677 - for found_dir in $rpathdirs; do
678 - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
680 - dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
681 - acl_save_libdir="$libdir"
683 - eval flag=\"$hardcode_libdir_flag_spec\"
684 - libdir="$acl_save_libdir"
685 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
687 - dnl The -rpath options are cumulative.
688 - for found_dir in $rpathdirs; do
689 - acl_save_libdir="$libdir"
690 - libdir="$found_dir"
691 - eval flag=\"$hardcode_libdir_flag_spec\"
692 - libdir="$acl_save_libdir"
693 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
697 - if test "X$ltrpathdirs" != "X"; then
698 - dnl When using libtool, the option that works for both libraries and
699 - dnl executables is -R. The -R options are cumulative.
700 - for found_dir in $ltrpathdirs; do
701 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
706 -dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
707 -dnl unless already present in VAR.
708 -dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
709 -dnl contains two or three consecutive elements that belong together.
710 -AC_DEFUN([AC_LIB_APPENDTOVAR],
712 - for element in [$2]; do
715 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
716 - if test "X$x" = "X$element"; then
721 - if test -z "$haveit"; then
722 - [$1]="${[$1]}${[$1]:+ }$element"
727 -# lib-ld.m4 serial 3 (gettext-0.13)
728 -dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
729 -dnl This file is free software; the Free Software Foundation
730 -dnl gives unlimited permission to copy and/or distribute it,
731 -dnl with or without modifications, as long as this notice is preserved.
733 -dnl Subroutines of libtool.m4,
734 -dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
735 -dnl with libtool.m4.
737 -dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
738 -AC_DEFUN([AC_LIB_PROG_LD_GNU],
739 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
740 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
741 -case `$LD -v 2>&1 </dev/null` in
742 -*GNU* | *'with BFD'*)
743 - acl_cv_prog_gnu_ld=yes ;;
745 - acl_cv_prog_gnu_ld=no ;;
747 -with_gnu_ld=$acl_cv_prog_gnu_ld
750 -dnl From libtool-1.4. Sets the variable LD.
751 -AC_DEFUN([AC_LIB_PROG_LD],
752 -[AC_ARG_WITH(gnu-ld,
753 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
754 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
755 -AC_REQUIRE([AC_PROG_CC])dnl
756 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
757 -# Prepare PATH_SEPARATOR.
758 -# The user is always right.
759 -if test "${PATH_SEPARATOR+set}" != set; then
760 - echo "#! /bin/sh" >conf$$.sh
761 - echo "exit 0" >>conf$$.sh
763 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
771 -if test "$GCC" = yes; then
772 - # Check if gcc -print-prog-name=ld gives a path.
773 - AC_MSG_CHECKING([for ld used by GCC])
776 - # gcc leaves a trailing carriage return which upsets mingw
777 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
779 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
782 - # Accept absolute paths.
783 - [[\\/]* | [A-Za-z]:[\\/]*)]
784 - [re_direlt='/[^/][^/]*/\.\./']
785 - # Canonicalize the path of ld
786 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
787 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
788 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
790 - test -z "$LD" && LD="$ac_prog"
793 - # If it fails, then pretend we aren't using GCC.
797 - # If it is relative, then search for the first ld in PATH.
798 - with_gnu_ld=unknown
801 -elif test "$with_gnu_ld" = yes; then
802 - AC_MSG_CHECKING([for GNU ld])
804 - AC_MSG_CHECKING([for non-GNU ld])
806 -AC_CACHE_VAL(acl_cv_path_LD,
807 -[if test -z "$LD"; then
808 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
809 - for ac_dir in $PATH; do
810 - test -z "$ac_dir" && ac_dir=.
811 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
812 - acl_cv_path_LD="$ac_dir/$ac_prog"
813 - # Check to see if the program is GNU ld. I'd rather use --version,
814 - # but apparently some GNU ld's only accept -v.
815 - # Break only if it was the GNU/non-GNU ld that we prefer.
816 - case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
817 - *GNU* | *'with BFD'*)
818 - test "$with_gnu_ld" != no && break ;;
820 - test "$with_gnu_ld" != yes && break ;;
826 - acl_cv_path_LD="$LD" # Let the user override the test with a path.
828 -LD="$acl_cv_path_LD"
829 -if test -n "$LD"; then
834 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
838 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
840 -AC_DEFUN([AM_CONFIG_HEADER],
842 -AC_CONFIG_HEADER([$1])
843 -dnl When config.status generates a header, we must update the stamp-h file.
844 -dnl This file resides in the same directory as the config header
845 -dnl that is generated. We must strip everything past the first ":",
846 -dnl and everything past the last "/".
847 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
848 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
849 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
851 -for am_file in <<$1>>; do
852 - case " <<$>>CONFIG_HEADERS " in
853 - *" <<$>>am_file "*<<)>>
854 - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
857 - am_indx=`expr "<<$>>am_indx" + 1`
861 -# Do all the work for Automake. This macro actually does too much --
862 -# some checks are only needed if your package does certain things.
863 -# But this isn't really a big deal.
868 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
870 -AC_DEFUN([AM_INIT_AUTOMAKE],
871 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
872 -AC_REQUIRE([AC_PROG_INSTALL])
877 -dnl test to see if srcdir already configured
878 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
879 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
882 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
883 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
884 -AC_REQUIRE([AM_SANITY_CHECK])
885 -AC_REQUIRE([AC_ARG_PROGRAM])
886 -dnl FIXME This is truly gross.
887 -missing_dir=`cd $ac_aux_dir && pwd`
888 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
889 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
890 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
891 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
892 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
893 -AC_REQUIRE([AC_PROG_MAKE_SET])])
895 -# Copyright 2002 Free Software Foundation, Inc.
897 -# This program is free software; you can redistribute it and/or modify
898 -# it under the terms of the GNU General Public License as published by
899 -# the Free Software Foundation; either version 2, or (at your option)
900 -# any later version.
901 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
902 +# 2005 Free Software Foundation, Inc.
903 +# This file is free software; the Free Software Foundation
904 +# gives unlimited permission to copy and/or distribute it,
905 +# with or without modifications, as long as this notice is preserved.
907 # This program is distributed in the hope that it will be useful,
908 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
909 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
910 -# GNU General Public License for more details.
912 -# You should have received a copy of the GNU General Public License
913 -# along with this program; if not, write to the Free Software
914 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
916 -# AM_AUTOMAKE_VERSION(VERSION)
917 -# ----------------------------
918 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
919 -# generated from the m4 files accompanying Automake X.Y.
920 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
922 -# AM_SET_CURRENT_AUTOMAKE_VERSION
923 -# -------------------------------
924 -# Call AM_AUTOMAKE_VERSION so it can be traced.
925 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
926 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
927 - [AM_AUTOMAKE_VERSION([1.4-p6])])
930 -# Check to make sure that the build environment is sane.
933 -AC_DEFUN([AM_SANITY_CHECK],
934 -[AC_MSG_CHECKING([whether build environment is sane])
937 -echo timestamp > conftestfile
938 -# Do `set' in a subshell so we don't clobber the current shell's
939 -# arguments. Must try -L first in case configure is actually a
940 -# symlink; some systems play weird games with the mod time of symlinks
941 -# (eg FreeBSD returns the mod time of the symlink's containing
944 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
945 - if test "[$]*" = "X"; then
947 - set X `ls -t $srcdir/configure conftestfile`
949 - if test "[$]*" != "X $srcdir/configure conftestfile" \
950 - && test "[$]*" != "X conftestfile $srcdir/configure"; then
952 - # If neither matched, then we have a broken ls. This can happen
953 - # if, for instance, CONFIG_SHELL is bash and it inherits a
954 - # broken ls alias from the environment. This has actually
955 - # happened. Such a system could not be considered "sane".
956 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
957 -alias in your environment])
960 - test "[$]2" = conftestfile
966 - AC_MSG_ERROR([newly created file is older than distributed files!
967 -Check your system clock])
970 -AC_MSG_RESULT(yes)])
972 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
973 -dnl The program must properly implement --version.
974 -AC_DEFUN([AM_MISSING_PROG],
975 -[AC_MSG_CHECKING(for working $2)
976 -# Run test in a subshell; some versions of sh will print an error if
977 -# an executable is not found, even if stderr is redirected.
978 -# Redirect stdin to placate older versions of autoconf. Sigh.
979 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
981 - AC_MSG_RESULT(found)
984 - AC_MSG_RESULT(missing)
987 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
988 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
989 +# PARTICULAR PURPOSE.
991 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
994 -dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
995 -AC_DEFUN([AM_PROG_LEX],
996 -[missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
997 -AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex)
1000 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
1002 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1003 +libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1005 # serial 47 AC_PROG_LIBTOOL
1006 # Debian $Rev: 9373 $
1007 @@ -1096,7 +128,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 +148,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 +168,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 +188,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 +239,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 +361,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 +538,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 +589,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 +636,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 +646,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 +675,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 +743,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 +817,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 +825,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 +891,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 +915,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 +986,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 +999,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 +1047,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 +1059,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 +1129,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 +1297,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 +1325,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 +1356,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 +1379,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 +1402,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 +1430,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 +1462,7 @@
1472 - case "$host_cpu" in
1476 hardcode_into_libs=yes
1477 @@ -2348,6 +1502,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 +1557,7 @@
1499 # This must be Linux ELF.
1501 +linux* | k*bsd*-gnu)
1505 @@ -2407,7 +1573,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 +1598,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 +1635,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 +1679,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 +1704,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 +1737,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 +1773,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 +1802,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 +1831,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 +1895,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 +1933,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 +2069,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 +2179,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 +2211,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 +2238,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 +2280,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 +2303,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 +2325,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 +2341,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 +2357,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 +2380,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 +2391,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 +2416,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 +2442,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 +2510,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 +2535,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 +2579,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 +2633,7 @@
1941 # enable support for Windows resource files
1942 AC_DEFUN([AC_LIBTOOL_RC],
1943 [AC_REQUIRE([LT_AC_PROG_RC])
1944 @@ -3452,36 +2666,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 +2678,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 +2689,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 +2702,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 +2727,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 +2739,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 +2757,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 +2767,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 +2786,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 +2886,7 @@
2121 exp_sym_flag='-bexport'
2122 @@ -3749,7 +2905,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 +2924,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 +2956,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 +2970,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 +3008,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 +3017,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 +3102,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 +3126,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 +3140,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 +3154,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 +3180,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 +3209,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 +3228,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 +3257,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 +3268,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 +3295,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 +3360,7 @@
2551 case $cc_basename in
2554 # FIXME: insert proper C++ library support
2555 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2557 @@ -4156,7 +3370,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 +3381,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 +3415,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 +3440,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 +3459,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 +3474,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 +3503,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 +3524,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 +3544,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 +3578,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 +3616,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 +3705,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 +3722,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 +3776,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 +3852,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 +3926,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 +3945,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 +3954,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 +3966,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 +3975,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 +4003,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 +4031,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 +4040,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 +4064,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 +4103,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 +4209,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 +4220,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 +4255,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 +4272,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 +4340,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 +4614,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 +4635,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 +4682,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 +4842,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 +4854,7 @@
3147 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3149 - case "$host_cpu" in
3154 @@ -5551,18 +4879,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 +4908,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 +4936,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 +4951,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 +4987,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 +5019,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 +5037,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 +5052,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 +5060,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 +5114,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 +5135,7 @@
3373 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3375 - case "$host_cpu" in
3380 @@ -5810,6 +5161,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 +5182,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 +5205,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 +5233,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 +5250,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 +5263,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 +5301,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 +5310,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 +5344,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 +5390,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 +5401,10 @@
3531 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3537 @@ -6021,6 +5415,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 +5486,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 +5498,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 +5561,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 +5582,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 +5616,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 +5626,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 +5642,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 +5676,7 @@
3756 exp_sym_flag='-bexport'
3757 @@ -6236,7 +5695,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 +5714,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 +5727,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 +5745,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 +5759,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 +5776,7 @@
3826 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3831 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3834 @@ -6336,57 +5797,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 +5881,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 +5904,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 +5983,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 +6007,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 +6053,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 +6061,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 +6078,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 +6146,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 +6202,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 +6229,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 +6355,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 +6380,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 Index: linux-atm-2.4.1/configure
5075 ===================================================================
5076 --- linux-atm-2.4.1.orig/configure 2007-10-20 21:45:35.770870894 +0200
5077 +++ linux-atm-2.4.1/configure 2007-10-20 21:45:44.283355992 +0200
5080 # Guess values for system-dependent variables and create Makefiles.
5081 -# Generated by GNU Autoconf 2.59.
5082 +# Generated by GNU Autoconf 2.61.
5084 -# Copyright (C) 2003 Free Software Foundation, Inc.
5085 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5086 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5087 # This configure script is free software; the Free Software Foundation
5088 # gives unlimited permission to copy, distribute and modify it.
5089 ## --------------------- ##
5090 ## M4sh Initialization. ##
5091 ## --------------------- ##
5093 -# Be Bourne compatible
5094 +# Be more Bourne compatible
5095 +DUALCASE=1; export DUALCASE # for MKS sh
5096 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5099 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5100 # is contrary to our usage. Disable this feature.
5101 alias -g '${1+"$@"}'='"$@"'
5102 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5104 + setopt NO_GLOB_SUBST
5106 + case `(set -o) 2>/dev/null` in
5107 + *posix*) set -o posix ;;
5116 +# Avoid depending upon Character Ranges.
5117 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5118 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5119 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5120 +as_cr_digits='0123456789'
5121 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5123 +# The user is always right.
5124 +if test "${PATH_SEPARATOR+set}" != set; then
5125 + echo "#! /bin/sh" >conf$$.sh
5126 + echo "exit 0" >>conf$$.sh
5127 + chmod +x conf$$.sh
5128 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5129 + PATH_SEPARATOR=';'
5135 -DUALCASE=1; export DUALCASE # for MKS sh
5137 # Support unset when possible.
5138 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5144 +# We need space, tab and new line, in precisely that order. Quoting is
5145 +# there to prevent editors from complaining about space-tab.
5146 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5147 +# splitting by setting IFS to empty value.)
5152 +# Find who we are. Look in the path if we contain no directory separator.
5154 + *[\\/]* ) as_myself=$0 ;;
5155 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 +for as_dir in $PATH
5159 + test -z "$as_dir" && as_dir=.
5160 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5166 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5167 +# in which case we are not to be found in the path.
5168 +if test "x$as_myself" = x; then
5171 +if test ! -f "$as_myself"; then
5172 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5173 + { (exit 1); exit 1; }
5176 # Work around bugs in pre-3.0 UWIN ksh.
5177 -$as_unset ENV MAIL MAILPATH
5178 +for as_var in ENV MAIL MAILPATH
5179 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5184 @@ -44,18 +108,19 @@
5185 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5186 eval $as_var=C; export $as_var
5189 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5193 # Required to use basename.
5194 -if expr a : '\(a\)' >/dev/null 2>&1; then
5195 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5196 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5202 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5203 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5204 as_basename=basename
5207 @@ -63,157 +128,388 @@
5210 # Name of the executable.
5211 -as_me=`$as_basename "$0" ||
5212 +as_me=`$as_basename -- "$0" ||
5213 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5214 X"$0" : 'X\(//\)$' \| \
5215 - X"$0" : 'X\(/\)$' \| \
5216 - . : '\(.\)' 2>/dev/null ||
5217 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5219 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5220 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5221 - /^X\/\(\/\).*/{ s//\1/; q; }
5223 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5240 -# PATH needs CR, and LINENO needs CR and PATH.
5241 -# Avoid depending upon Character Ranges.
5242 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5243 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5244 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5245 -as_cr_digits='0123456789'
5246 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5248 -# The user is always right.
5249 -if test "${PATH_SEPARATOR+set}" != set; then
5250 - echo "#! /bin/sh" >conf$$.sh
5251 - echo "exit 0" >>conf$$.sh
5252 - chmod +x conf$$.sh
5253 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5254 - PATH_SEPARATOR=';'
5259 +if test "x$CONFIG_SHELL" = x; then
5260 + if (eval ":") 2>/dev/null; then
5261 + as_have_required=yes
5263 + as_have_required=no
5266 + if test $as_have_required = yes && (eval ":
5267 +(as_func_return () {
5270 +as_func_success () {
5273 +as_func_failure () {
5276 +as_func_ret_success () {
5279 +as_func_ret_failure () {
5284 +if as_func_success; then
5288 + echo as_func_success failed.
5291 +if as_func_failure; then
5293 + echo as_func_failure succeeded.
5296 - as_lineno_1=$LINENO
5297 - as_lineno_2=$LINENO
5298 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5299 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5300 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5301 - # Find who we are. Look in the path if we contain no path at all
5302 - # relative or not.
5304 - *[\\/]* ) as_myself=$0 ;;
5305 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 -for as_dir in $PATH
5309 - test -z "$as_dir" && as_dir=.
5310 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5312 +if as_func_ret_success; then
5316 + echo as_func_ret_success failed.
5321 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5322 - # in which case we are not to be found in the path.
5323 - if test "x$as_myself" = x; then
5326 - if test ! -f "$as_myself"; then
5327 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5328 - { (exit 1); exit 1; }; }
5330 - case $CONFIG_SHELL in
5332 +if as_func_ret_failure; then
5334 + echo as_func_ret_failure succeeded.
5337 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5341 + echo positional parameters were not saved.
5344 +test \$exitcode = 0) || { (exit 1); exit 1; }
5347 + as_lineno_1=\$LINENO
5348 + as_lineno_2=\$LINENO
5349 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5350 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5351 +") 2> /dev/null; then
5354 + as_candidate_shells=
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5359 test -z "$as_dir" && as_dir=.
5360 - for as_base in sh bash ksh sh5; do
5364 - if ("$as_dir/$as_base" -c '
5365 + for as_base in sh bash ksh sh5; do
5366 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5373 + for as_shell in $as_candidate_shells $SHELL; do
5374 + # Try only shells that exist, to save several forks.
5375 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5376 + { ("$as_shell") 2> /dev/null <<\_ASEOF
5377 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5380 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5381 + # is contrary to our usage. Disable this feature.
5382 + alias -g '${1+"$@"}'='"$@"'
5383 + setopt NO_GLOB_SUBST
5385 + case `(set -o) 2>/dev/null` in
5386 + *posix*) set -o posix ;;
5395 + CONFIG_SHELL=$as_shell
5396 + as_have_required=yes
5397 + if { "$as_shell" 2> /dev/null <<\_ASEOF
5398 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5401 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5402 + # is contrary to our usage. Disable this feature.
5403 + alias -g '${1+"$@"}'='"$@"'
5404 + setopt NO_GLOB_SUBST
5406 + case `(set -o) 2>/dev/null` in
5407 + *posix*) set -o posix ;;
5414 +(as_func_return () {
5417 +as_func_success () {
5420 +as_func_failure () {
5423 +as_func_ret_success () {
5426 +as_func_ret_failure () {
5431 +if as_func_success; then
5435 + echo as_func_success failed.
5438 +if as_func_failure; then
5440 + echo as_func_failure succeeded.
5443 +if as_func_ret_success; then
5447 + echo as_func_ret_success failed.
5450 +if as_func_ret_failure; then
5452 + echo as_func_ret_failure succeeded.
5455 +if ( set x; as_func_ret_success y && test x = "$1" ); then
5459 + echo positional parameters were not saved.
5462 +test $exitcode = 0) || { (exit 1); exit 1; }
5467 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5468 test "x$as_lineno_1" != "x$as_lineno_2" &&
5469 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5470 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5471 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5472 - CONFIG_SHELL=$as_dir/$as_base
5473 - export CONFIG_SHELL
5474 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5481 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
5492 + if test "x$CONFIG_SHELL" != x; then
5493 + for as_var in BASH_ENV ENV
5494 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5496 + export CONFIG_SHELL
5497 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5501 + if test $as_have_required = no; then
5502 + echo This script requires a shell more modern than all the
5503 + echo shells that I found on your system. Please install a
5504 + echo modern shell, or manually run the script under such a
5505 + echo shell if you do have one.
5506 + { (exit 1); exit 1; }
5516 +(eval "as_func_return () {
5519 +as_func_success () {
5522 +as_func_failure () {
5525 +as_func_ret_success () {
5528 +as_func_ret_failure () {
5533 +if as_func_success; then
5537 + echo as_func_success failed.
5540 +if as_func_failure; then
5542 + echo as_func_failure succeeded.
5545 +if as_func_ret_success; then
5549 + echo as_func_ret_success failed.
5552 +if as_func_ret_failure; then
5554 + echo as_func_ret_failure succeeded.
5557 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5561 + echo positional parameters were not saved.
5564 +test \$exitcode = 0") || {
5565 + echo No shell found that supports shell functions.
5566 + echo Please tell autoconf@gnu.org about your system,
5567 + echo including any error possibly output before this
5573 + as_lineno_1=$LINENO
5574 + as_lineno_2=$LINENO
5575 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5576 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5578 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5579 # uniformly replaced by the line number. The first 'sed' inserts a
5580 - # line-number line before each line; the second 'sed' does the real
5581 - # work. The second script uses 'N' to pair each line-number line
5582 - # with the numbered line, and appends trailing '-' during
5583 - # substitution so that $LINENO is not a special case at line end.
5584 + # line-number line after each line using $LINENO; the second 'sed'
5585 + # does the real work. The second script uses 'N' to pair each
5586 + # line-number line with the line containing $LINENO, and appends
5587 + # trailing '-' during substitution so that $LINENO is not a special
5588 + # case at line end.
5589 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5590 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5591 - sed '=' <$as_myself |
5592 + # scripts with optimization help from Paolo Bonzini. Blame Lee
5593 + # E. McMahon (1931-1989) for sed's syntax. :-)
5606 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5608 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5611 - s,^['$as_cr_digits']*\n,,
5614 - chmod +x $as_me.lineno ||
5615 + chmod +x "$as_me.lineno" ||
5616 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5617 { (exit 1); exit 1; }; }
5619 # Don't try to exec as it changes $[0], causing all sort of problems
5620 # (the dirname of $[0] is not the place where we might find the
5621 - # original and so on. Autoconf is especially sensible to this).
5623 + # original and so on. Autoconf is especially sensitive to this).
5624 + . "./$as_me.lineno"
5625 # Exit status is that of the last command.
5630 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5631 - *c*,-n*) ECHO_N= ECHO_C='
5633 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5634 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5635 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5636 + as_dirname=dirname
5641 +ECHO_C= ECHO_N= ECHO_T=
5642 +case `echo -n x` in
5644 + case `echo 'x\c'` in
5645 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5652 -if expr a : '\(a\)' >/dev/null 2>&1; then
5653 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5654 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5660 rm -f conf$$ conf$$.exe conf$$.file
5661 +if test -d conf$$.dir; then
5662 + rm -f conf$$.dir/conf$$.file
5668 if ln -s conf$$.file conf$$ 2>/dev/null; then
5669 - # We could just check for DJGPP; but this test a) works b) is more generic
5670 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5671 - if test -f conf$$.exe; then
5672 - # Don't use ln at all; we don't have any links
5674 + # ... but there are two gotchas:
5675 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5676 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5677 + # In both cases, we have to default to `cp -p'.
5678 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5683 elif ln conf$$.file conf$$ 2>/dev/null; then
5688 -rm -f conf$$ conf$$.exe conf$$.file
5689 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5690 +rmdir conf$$.dir 2>/dev/null
5692 if mkdir -p . 2>/dev/null; then
5694 @@ -222,7 +518,28 @@
5698 -as_executable_p="test -f"
5699 +if test -x / >/dev/null 2>&1; then
5700 + as_test_x='test -x'
5702 + if ls -dL / >/dev/null 2>&1; then
5709 + if test -d "$1"; then
5715 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5716 + ???[sx]*):;;*)false;;esac;fi
5720 +as_executable_p=$as_test_x
5722 # Sed expression to map a string onto a valid CPP name.
5723 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5724 @@ -231,26 +548,6 @@
5725 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5729 -# We need space, tab and new line, in precisely that order.
5738 -# Find the correct PATH separator. Usually this is `:', but
5739 -# DJGPP uses `;' like DOS.
5740 -if test "X${PATH_SEPARATOR+set}" != Xset; then
5741 - UNAME=${UNAME-`uname 2>/dev/null`}
5743 - *-DOS) lt_cv_sys_path_separator=';' ;;
5744 - *) lt_cv_sys_path_separator=':' ;;
5746 - PATH_SEPARATOR=$lt_cv_sys_path_separator
5750 # Check that we are running under the correct shell.
5752 elif test "X$1" = X--fallback-echo; then
5753 # Avoid inline document here, it may be left over
5755 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
5756 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
5757 # Yippee, $echo works!
5760 @@ -282,22 +579,22 @@
5761 # used as fallback echo
5770 # The HP-UX ksh and POSIX shell print the target directory to stdout
5772 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
5773 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5775 if test -z "$ECHO"; then
5776 if test "X${echo_test_string+set}" != Xset; then
5777 # find a string as large as possible, as long as the shell can cope with it
5778 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
5779 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
5780 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
5781 - echo_test_string="`eval $cmd`" &&
5782 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
5783 + echo_test_string=`eval $cmd` &&
5784 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
5789 # So, first we look for a working echo in the user's PATH.
5791 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5792 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5793 for dir in $PATH /usr/ucb; do
5794 + IFS="$lt_save_ifs"
5795 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
5796 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
5797 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
5803 + IFS="$lt_save_ifs"
5805 if test "X$echo" = Xecho; then
5806 # We didn't find a better echo, so look for alternatives.
5807 @@ -400,29 +698,31 @@
5812 +tagnames=${tagnames+${tagnames},}CXX
5814 +tagnames=${tagnames+${tagnames},}F77
5816 +exec 7<&0 </dev/null 6>&1
5819 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5820 # so uname gets run too.
5821 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5828 ac_default_prefix=/usr/local
5830 ac_config_libobj_dir=.
5836 SHELL=${CONFIG_SHELL-/bin/sh}
5838 -# Maximum number of lines to put in a shell here document.
5839 -# This variable seems obsolete. It should probably be removed, and
5840 -# only ac_max_sed_lines should be used.
5841 -: ${ac_max_here_lines=38}
5843 # Identity of this package.
5846 @@ -434,42 +734,174 @@
5847 # Factoring default headers for most tests.
5848 ac_includes_default="\
5850 -#if HAVE_SYS_TYPES_H
5851 +#ifdef HAVE_SYS_TYPES_H
5852 # include <sys/types.h>
5854 -#if HAVE_SYS_STAT_H
5855 +#ifdef HAVE_SYS_STAT_H
5856 # include <sys/stat.h>
5859 +#ifdef STDC_HEADERS
5860 # include <stdlib.h>
5861 # include <stddef.h>
5864 +# ifdef HAVE_STDLIB_H
5865 # include <stdlib.h>
5869 -# if !STDC_HEADERS && HAVE_MEMORY_H
5870 +#ifdef HAVE_STRING_H
5871 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5872 # include <memory.h>
5874 # include <string.h>
5877 +#ifdef HAVE_STRINGS_H
5878 # include <strings.h>
5880 -#if HAVE_INTTYPES_H
5881 +#ifdef HAVE_INTTYPES_H
5882 # include <inttypes.h>
5885 -# include <stdint.h>
5889 +#ifdef HAVE_STDINT_H
5890 +# include <stdint.h>
5892 +#ifdef HAVE_UNISTD_H
5893 # include <unistd.h>
5896 -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'
5897 +ac_subst_vars='SHELL
5906 +program_transform_name
5959 +INSTALL_STRIP_PROGRAM
5985 +am__fastdepCC_FALSE
6002 +am__fastdepCXX_TRUE
6003 +am__fastdepCXX_FALSE
6014 + ac_precious_vars='build_alias
6033 # Initialize some variables set by options.
6035 @@ -496,34 +928,48 @@
6036 # and all the variables that are supposed to be based on exec_prefix
6037 # by default will actually change.
6038 # Use braces instead of parens because sh, perl, etc. also accept them.
6039 +# (The list follows the same order as the GNU Coding Standards.)
6040 bindir='${exec_prefix}/bin'
6041 sbindir='${exec_prefix}/sbin'
6042 libexecdir='${exec_prefix}/libexec'
6043 -datadir='${prefix}/share'
6044 +datarootdir='${prefix}/share'
6045 +datadir='${datarootdir}'
6046 sysconfdir='${prefix}/etc'
6047 sharedstatedir='${prefix}/com'
6048 localstatedir='${prefix}/var'
6049 -libdir='${exec_prefix}/lib'
6050 includedir='${prefix}/include'
6051 oldincludedir='/usr/include'
6052 -infodir='${prefix}/info'
6053 -mandir='${prefix}/man'
6054 +docdir='${datarootdir}/doc/${PACKAGE}'
6055 +infodir='${datarootdir}/info'
6056 +htmldir='${docdir}'
6060 +libdir='${exec_prefix}/lib'
6061 +localedir='${datarootdir}/locale'
6062 +mandir='${datarootdir}/man'
6068 # If the previous option needs an argument, assign it.
6069 if test -n "$ac_prev"; then
6070 - eval "$ac_prev=\$ac_option"
6071 + eval $ac_prev=\$ac_option
6076 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6077 + case $ac_option in
6078 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
6079 + *) ac_optarg=yes ;;
6082 # Accept the important Cygnus configure options, so we can diagnose typos.
6084 - case $ac_option in
6085 + case $ac_dashdash$ac_option in
6087 + ac_dashdash=yes ;;
6089 -bindir | --bindir | --bindi | --bind | --bin | --bi)
6091 @@ -545,33 +991,45 @@
6092 --config-cache | -C)
6093 cache_file=config.cache ;;
6095 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6096 + -datadir | --datadir | --datadi | --datad)
6098 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6100 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
6101 datadir=$ac_optarg ;;
6103 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
6104 + | --dataroo | --dataro | --datar)
6105 + ac_prev=datarootdir ;;
6106 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
6107 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
6108 + datarootdir=$ac_optarg ;;
6110 -disable-* | --disable-*)
6111 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6112 # Reject names that are not valid shell variable names.
6113 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6114 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6115 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6116 { (exit 1); exit 1; }; }
6117 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6118 - eval "enable_$ac_feature=no" ;;
6119 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6120 + eval enable_$ac_feature=no ;;
6122 + -docdir | --docdir | --docdi | --doc | --do)
6124 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
6125 + docdir=$ac_optarg ;;
6127 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
6129 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
6130 + dvidir=$ac_optarg ;;
6132 -enable-* | --enable-*)
6133 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6134 # Reject names that are not valid shell variable names.
6135 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6136 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6137 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6138 { (exit 1); exit 1; }; }
6139 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6140 - case $ac_option in
6141 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6142 - *) ac_optarg=yes ;;
6144 - eval "enable_$ac_feature='$ac_optarg'" ;;
6145 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6146 + eval enable_$ac_feature=\$ac_optarg ;;
6148 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6149 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6150 @@ -598,6 +1056,12 @@
6151 -host=* | --host=* | --hos=* | --ho=*)
6152 host_alias=$ac_optarg ;;
6154 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
6155 + ac_prev=htmldir ;;
6156 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
6158 + htmldir=$ac_optarg ;;
6160 -includedir | --includedir | --includedi | --included | --include \
6161 | --includ | --inclu | --incl | --inc)
6162 ac_prev=includedir ;;
6163 @@ -622,13 +1086,16 @@
6164 | --libexe=* | --libex=* | --libe=*)
6165 libexecdir=$ac_optarg ;;
6167 + -localedir | --localedir | --localedi | --localed | --locale)
6168 + ac_prev=localedir ;;
6169 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
6170 + localedir=$ac_optarg ;;
6172 -localstatedir | --localstatedir | --localstatedi | --localstated \
6173 - | --localstate | --localstat | --localsta | --localst \
6174 - | --locals | --local | --loca | --loc | --lo)
6175 + | --localstate | --localstat | --localsta | --localst | --locals)
6176 ac_prev=localstatedir ;;
6177 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6178 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6179 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6180 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6181 localstatedir=$ac_optarg ;;
6183 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6184 @@ -693,6 +1160,16 @@
6185 | --progr-tra=* | --program-tr=* | --program-t=*)
6186 program_transform_name=$ac_optarg ;;
6188 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
6190 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
6191 + pdfdir=$ac_optarg ;;
6193 + -psdir | --psdir | --psdi | --psd | --ps)
6195 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6196 + psdir=$ac_optarg ;;
6198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6199 | -silent | --silent | --silen | --sile | --sil)
6201 @@ -745,24 +1222,20 @@
6203 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6204 # Reject names that are not valid shell variable names.
6205 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6206 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6207 { echo "$as_me: error: invalid package name: $ac_package" >&2
6208 { (exit 1); exit 1; }; }
6209 - ac_package=`echo $ac_package| sed 's/-/_/g'`
6210 - case $ac_option in
6211 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6212 - *) ac_optarg=yes ;;
6214 - eval "with_$ac_package='$ac_optarg'" ;;
6215 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6216 + eval with_$ac_package=\$ac_optarg ;;
6218 -without-* | --without-*)
6219 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6220 # Reject names that are not valid shell variable names.
6221 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6222 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6223 { echo "$as_me: error: invalid package name: $ac_package" >&2
6224 { (exit 1); exit 1; }; }
6225 - ac_package=`echo $ac_package | sed 's/-/_/g'`
6226 - eval "with_$ac_package=no" ;;
6227 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6228 + eval with_$ac_package=no ;;
6231 # Obsolete; use --with-x.
6232 @@ -793,8 +1266,7 @@
6233 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6234 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6235 { (exit 1); exit 1; }; }
6236 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6237 - eval "$ac_envvar='$ac_optarg'"
6238 + eval $ac_envvar=\$ac_optarg
6239 export $ac_envvar ;;
6242 @@ -814,27 +1286,19 @@
6243 { (exit 1); exit 1; }; }
6246 -# Be sure to have absolute paths.
6247 -for ac_var in exec_prefix prefix
6248 +# Be sure to have absolute directory names.
6249 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
6250 + datadir sysconfdir sharedstatedir localstatedir includedir \
6251 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6252 + libdir localedir mandir
6254 - eval ac_val=$`echo $ac_var`
6255 + eval ac_val=\$$ac_var
6257 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6258 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6259 - { (exit 1); exit 1; }; };;
6263 -# Be sure to have absolute paths.
6264 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6265 - localstatedir libdir includedir oldincludedir infodir mandir
6267 - eval ac_val=$`echo $ac_var`
6269 - [\\/$]* | ?:[\\/]* ) ;;
6270 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6271 - { (exit 1); exit 1; }; };;
6272 + [\\/$]* | ?:[\\/]* ) continue;;
6273 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6275 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6276 + { (exit 1); exit 1; }; }
6279 # There might be people who depend on the old broken behavior: `$host'
6280 @@ -861,74 +1325,76 @@
6281 test "$silent" = yes && exec 6>/dev/null
6284 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
6285 +ac_ls_di=`ls -di .` &&
6286 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6287 + { echo "$as_me: error: Working directory cannot be determined" >&2
6288 + { (exit 1); exit 1; }; }
6289 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6290 + { echo "$as_me: error: pwd does not report name of working directory" >&2
6291 + { (exit 1); exit 1; }; }
6294 # Find the source files, if location was not specified.
6295 if test -z "$srcdir"; then
6296 ac_srcdir_defaulted=yes
6297 - # Try the directory containing this script, then its parent.
6298 - ac_confdir=`(dirname "$0") 2>/dev/null ||
6299 + # Try the directory containing this script, then the parent directory.
6300 + ac_confdir=`$as_dirname -- "$0" ||
6301 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6302 X"$0" : 'X\(//\)[^/]' \| \
6303 X"$0" : 'X\(//\)$' \| \
6304 - X"$0" : 'X\(/\)' \| \
6305 - . : '\(.\)' 2>/dev/null ||
6306 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6308 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6309 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6310 - /^X\(\/\/\)$/{ s//\1/; q; }
6311 - /^X\(\/\).*/{ s//\1/; q; }
6313 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6317 + /^X\(\/\/\)[^/].*/{
6331 - if test ! -r $srcdir/$ac_unique_file; then
6332 + if test ! -r "$srcdir/$ac_unique_file"; then
6336 ac_srcdir_defaulted=no
6338 -if test ! -r $srcdir/$ac_unique_file; then
6339 - if test "$ac_srcdir_defaulted" = yes; then
6340 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6341 - { (exit 1); exit 1; }; }
6343 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6344 +if test ! -r "$srcdir/$ac_unique_file"; then
6345 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6346 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6347 { (exit 1); exit 1; }; }
6350 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6351 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6352 - { (exit 1); exit 1; }; }
6353 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6354 -ac_env_build_alias_set=${build_alias+set}
6355 -ac_env_build_alias_value=$build_alias
6356 -ac_cv_env_build_alias_set=${build_alias+set}
6357 -ac_cv_env_build_alias_value=$build_alias
6358 -ac_env_host_alias_set=${host_alias+set}
6359 -ac_env_host_alias_value=$host_alias
6360 -ac_cv_env_host_alias_set=${host_alias+set}
6361 -ac_cv_env_host_alias_value=$host_alias
6362 -ac_env_target_alias_set=${target_alias+set}
6363 -ac_env_target_alias_value=$target_alias
6364 -ac_cv_env_target_alias_set=${target_alias+set}
6365 -ac_cv_env_target_alias_value=$target_alias
6366 -ac_env_CC_set=${CC+set}
6367 -ac_env_CC_value=$CC
6368 -ac_cv_env_CC_set=${CC+set}
6369 -ac_cv_env_CC_value=$CC
6370 -ac_env_CFLAGS_set=${CFLAGS+set}
6371 -ac_env_CFLAGS_value=$CFLAGS
6372 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
6373 -ac_cv_env_CFLAGS_value=$CFLAGS
6374 -ac_env_LDFLAGS_set=${LDFLAGS+set}
6375 -ac_env_LDFLAGS_value=$LDFLAGS
6376 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6377 -ac_cv_env_LDFLAGS_value=$LDFLAGS
6378 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6379 -ac_env_CPPFLAGS_value=$CPPFLAGS
6380 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6381 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6382 -ac_env_CPP_set=${CPP+set}
6383 -ac_env_CPP_value=$CPP
6384 -ac_cv_env_CPP_set=${CPP+set}
6385 -ac_cv_env_CPP_value=$CPP
6386 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6388 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6389 + { (exit 1); exit 1; }; }
6391 +# When building in place, set srcdir=.
6392 +if test "$ac_abs_confdir" = "$ac_pwd"; then
6395 +# Remove unnecessary trailing slashes from srcdir.
6396 +# Double slashes in file names in object file debugging info
6397 +# mess up M-x gdb in Emacs.
6399 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6401 +for ac_var in $ac_precious_vars; do
6402 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
6403 + eval ac_env_${ac_var}_value=\$${ac_var}
6404 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6405 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
6409 # Report the --help message.
6410 @@ -957,9 +1423,6 @@
6411 -n, --no-create do not create output files
6412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
6417 Installation directories:
6418 --prefix=PREFIX install architecture-independent files in PREFIX
6419 [$ac_default_prefix]
6420 @@ -977,15 +1440,22 @@
6421 --bindir=DIR user executables [EPREFIX/bin]
6422 --sbindir=DIR system admin executables [EPREFIX/sbin]
6423 --libexecdir=DIR program executables [EPREFIX/libexec]
6424 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
6425 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6426 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6427 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6428 --libdir=DIR object code libraries [EPREFIX/lib]
6429 --includedir=DIR C header files [PREFIX/include]
6430 --oldincludedir=DIR C header files for non-gcc [/usr/include]
6431 - --infodir=DIR info documentation [PREFIX/info]
6432 - --mandir=DIR man documentation [PREFIX/man]
6433 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
6434 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
6435 + --infodir=DIR info documentation [DATAROOTDIR/info]
6436 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
6437 + --mandir=DIR man documentation [DATAROOTDIR/man]
6438 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
6439 + --htmldir=DIR html documentation [DOCDIR]
6440 + --dvidir=DIR dvi documentation [DOCDIR]
6441 + --pdfdir=DIR pdf documentation [DOCDIR]
6442 + --psdir=DIR ps documentation [DOCDIR]
6446 @@ -1009,9 +1479,12 @@
6448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6450 - --enable-shared=PKGS build shared libraries default=yes
6451 - --enable-static=PKGS build static libraries default=yes
6452 - --enable-fast-install=PKGS optimize for fast installation default=yes
6453 + --disable-dependency-tracking speeds up one-time build
6454 + --enable-dependency-tracking do not reject slow dependency extractors
6455 + --enable-shared[=PKGS] build shared libraries [default=yes]
6456 + --enable-static[=PKGS] build static libraries [default=yes]
6457 + --enable-fast-install[=PKGS]
6458 + optimize for fast installation [default=yes]
6459 --disable-libtool-lock avoid locking (might break parallel builds)
6460 --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)
6461 --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)
6462 @@ -1023,8 +1496,10 @@
6464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6466 - --with-gnu-ld assume the C compiler uses GNU ld default=no
6467 - --with-pic try to use only PIC/non-PIC objects default=use both
6468 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
6469 + --with-pic try to use only PIC/non-PIC objects [default=use
6471 + --with-tags[=TAGS] include additional configurations [automatic]
6472 --with-uni=VERSION UNI version to use (3.0,3.1,4.0) default=dynamic
6474 Some influential environment variables:
6475 @@ -1032,126 +1507,105 @@
6476 CFLAGS C compiler flags
6477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6478 nonstandard directory <lib dir>
6479 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6480 - headers in a nonstandard directory <include dir>
6481 + LIBS libraries to pass to the linker, e.g. -l<library>
6482 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
6483 + you have headers in a nonstandard directory <include dir>
6484 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
6485 + the first program found out of: `bison -y', `byacc', `yacc'.
6486 + YFLAGS The list of arguments that will be passed by default to $YACC.
6487 + This script will default YFLAGS to the empty string to avoid a
6488 + default value of `-d' given by some make applications.
6490 + CXX C++ compiler command
6491 + CXXFLAGS C++ compiler flags
6492 + CXXCPP C++ preprocessor
6493 + F77 Fortran 77 compiler command
6494 + FFLAGS Fortran 77 compiler flags
6496 Use these variables to override the choices made by `configure' or to help
6497 it to find libraries and programs with nonstandard names/locations.
6503 if test "$ac_init_help" = "recursive"; then
6504 # If there are subdirs, report their specific --help.
6506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6507 - test -d $ac_dir || continue
6508 + test -d "$ac_dir" || continue
6511 -if test "$ac_dir" != .; then
6513 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6515 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6516 - # A "../" for each directory in $ac_dir_suffix.
6517 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6519 - ac_dir_suffix= ac_top_builddir=
6521 + # A ".." for each directory in $ac_dir_suffix.
6522 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6523 + case $ac_top_builddir_sub in
6524 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6525 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6528 +ac_abs_top_builddir=$ac_pwd
6529 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6530 +# for backward compatibility:
6531 +ac_top_builddir=$ac_top_build_prefix
6534 - .) # No --srcdir option. We are building in place.
6535 + .) # We are building in place.
6537 - if test -z "$ac_top_builddir"; then
6540 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6542 - [\\/]* | ?:[\\/]* ) # Absolute path.
6543 + ac_top_srcdir=$ac_top_builddir_sub
6544 + ac_abs_top_srcdir=$ac_pwd ;;
6545 + [\\/]* | ?:[\\/]* ) # Absolute name.
6546 ac_srcdir=$srcdir$ac_dir_suffix;
6547 - ac_top_srcdir=$srcdir ;;
6548 - *) # Relative path.
6549 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6550 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6553 -# Do not use `cd foo && pwd` to compute absolute paths, because
6554 -# the directories may not exist.
6556 -.) ac_abs_builddir="$ac_dir";;
6559 - .) ac_abs_builddir=`pwd`;;
6560 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6561 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6564 -case $ac_abs_builddir in
6565 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6567 - case ${ac_top_builddir}. in
6568 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6569 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6570 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6573 -case $ac_abs_builddir in
6574 -.) ac_abs_srcdir=$ac_srcdir;;
6576 - case $ac_srcdir in
6577 - .) ac_abs_srcdir=$ac_abs_builddir;;
6578 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6579 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6582 -case $ac_abs_builddir in
6583 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6585 - case $ac_top_srcdir in
6586 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6587 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6588 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6590 + ac_top_srcdir=$srcdir
6591 + ac_abs_top_srcdir=$srcdir ;;
6592 + *) # Relative name.
6593 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6594 + ac_top_srcdir=$ac_top_build_prefix$srcdir
6595 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6597 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6600 - # Check for guested configure; otherwise get Cygnus style configure.
6601 - if test -f $ac_srcdir/configure.gnu; then
6603 - $SHELL $ac_srcdir/configure.gnu --help=recursive
6604 - elif test -f $ac_srcdir/configure; then
6606 - $SHELL $ac_srcdir/configure --help=recursive
6607 - elif test -f $ac_srcdir/configure.ac ||
6608 - test -f $ac_srcdir/configure.in; then
6610 - $ac_configure --help
6611 + cd "$ac_dir" || { ac_status=$?; continue; }
6612 + # Check for guested configure.
6613 + if test -f "$ac_srcdir/configure.gnu"; then
6615 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
6616 + elif test -f "$ac_srcdir/configure"; then
6618 + $SHELL "$ac_srcdir/configure" --help=recursive
6620 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6623 + fi || ac_status=$?
6624 + cd "$ac_pwd" || { ac_status=$?; break; }
6628 -test -n "$ac_init_help" && exit 0
6629 +test -n "$ac_init_help" && exit $ac_status
6630 if $ac_init_version; then
6633 +generated by GNU Autoconf 2.61
6635 -Copyright (C) 2003 Free Software Foundation, Inc.
6636 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6637 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6638 This configure script is free software; the Free Software Foundation
6639 gives unlimited permission to copy, distribute and modify it.
6646 +cat >config.log <<_ACEOF
6647 This file contains any messages produced by compilers while
6648 running configure, to aid debugging if configure makes a mistake.
6650 It was created by $as_me, which was
6651 -generated by GNU Autoconf 2.59. Invocation command line was
6652 +generated by GNU Autoconf 2.61. Invocation command line was
6661 @@ -1170,7 +1624,7 @@
6662 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6663 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6664 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6665 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6666 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
6667 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6668 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6669 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6670 @@ -1184,6 +1638,7 @@
6671 test -z "$as_dir" && as_dir=.
6672 echo "PATH: $as_dir"
6678 @@ -1205,7 +1660,6 @@
6683 ac_must_keep_next=false
6686 @@ -1216,7 +1670,7 @@
6687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6688 | -silent | --silent | --silen | --sile | --sil)
6690 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6692 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6695 @@ -1238,9 +1692,7 @@
6696 -* ) ac_must_keep_next=true ;;
6699 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6700 - # Get rid of the leading space.
6702 + ac_configure_args="$ac_configure_args '$ac_arg'"
6706 @@ -1251,8 +1703,8 @@
6707 # When interrupted or exit'd, cleanup temporary files, and complete
6708 # config.log. We remove comments because anyway the quotes in there
6709 # would cause problems or look ugly.
6710 -# WARNING: Be sure not to use single quotes in there, as some shells,
6711 -# such as our DU 5.0 friend, will then `close' the trap.
6712 +# WARNING: Use '\'' to represent an apostrophe within the trap.
6713 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
6714 trap 'exit_status=$?
6715 # Save into config.log some information that might help in debugging.
6717 @@ -1265,20 +1717,34 @@
6720 # The following way of writing the cache mishandles newlines in values,
6723 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
6724 + eval ac_val=\$$ac_var
6725 + case $ac_val in #(
6727 + case $ac_var in #(
6728 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6729 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6731 + case $ac_var in #(
6732 + _ | IFS | as_nl) ;; #(
6733 + *) $as_unset $ac_var ;;
6738 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6740 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
6741 + *${as_nl}ac_space=\ *)
6743 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6744 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6746 + "s/'\''/'\''\\\\'\'''\''/g;
6747 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
6751 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6752 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6762 @@ -1289,22 +1755,28 @@
6764 for ac_var in $ac_subst_vars
6766 - eval ac_val=$`echo $ac_var`
6767 - echo "$ac_var='"'"'$ac_val'"'"'"
6768 + eval ac_val=\$$ac_var
6770 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6772 + echo "$ac_var='\''$ac_val'\''"
6776 if test -n "$ac_subst_files"; then
6778 -## ------------- ##
6779 -## Output files. ##
6780 -## ------------- ##
6781 +## ------------------- ##
6782 +## File substitutions. ##
6783 +## ------------------- ##
6786 for ac_var in $ac_subst_files
6788 - eval ac_val=$`echo $ac_var`
6789 - echo "$ac_var='"'"'$ac_val'"'"'"
6790 + eval ac_val=\$$ac_var
6792 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6794 + echo "$ac_var='\''$ac_val'\''"
6798 @@ -1316,26 +1788,24 @@
6802 - sed "/^$/d" confdefs.h | sort
6806 test "$ac_signal" != 0 &&
6807 echo "$as_me: caught signal $ac_signal"
6808 echo "$as_me: exit $exit_status"
6810 - rm -f core *.core &&
6811 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6812 + rm -f core *.core core.conftest.* &&
6813 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
6817 for ac_signal in 1 2 13 15; do
6818 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6822 # confdefs.h avoids OS command line length limits that DEFS can exceed.
6823 -rm -rf conftest* confdefs.h
6824 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6826 +rm -f -r conftest* confdefs.h
6828 # Predefined preprocessor variables.
6830 @@ -1366,14 +1836,17 @@
6832 # Let the site file select an alternate cache file if it wants to.
6833 # Prefer explicitly selected file to automatically selected ones.
6834 -if test -z "$CONFIG_SITE"; then
6835 - if test "x$prefix" != xNONE; then
6836 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6838 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6840 +if test -n "$CONFIG_SITE"; then
6841 + set x "$CONFIG_SITE"
6842 +elif test "x$prefix" != xNONE; then
6843 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
6845 + set x "$ac_default_prefix/share/config.site" \
6846 + "$ac_default_prefix/etc/config.site"
6848 -for ac_site_file in $CONFIG_SITE; do
6852 if test -r "$ac_site_file"; then
6853 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6854 echo "$as_me: loading site script $ac_site_file" >&6;}
6855 @@ -1389,8 +1862,8 @@
6856 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6857 echo "$as_me: loading cache $cache_file" >&6;}
6859 - [\\/]* | ?:[\\/]* ) . $cache_file;;
6860 - *) . ./$cache_file;;
6861 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
6862 + *) . "./$cache_file";;
6866 @@ -1402,12 +1875,11 @@
6867 # Check that the precious variables saved in the cache have kept the same
6869 ac_cache_corrupted=false
6870 -for ac_var in `(set) 2>&1 |
6871 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6872 +for ac_var in $ac_precious_vars; do
6873 eval ac_old_set=\$ac_cv_env_${ac_var}_set
6874 eval ac_new_set=\$ac_env_${ac_var}_set
6875 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6876 - eval ac_new_val="\$ac_env_${ac_var}_value"
6877 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
6878 + eval ac_new_val=\$ac_env_${ac_var}_value
6879 case $ac_old_set,$ac_new_set in
6881 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6882 @@ -1432,8 +1904,7 @@
6883 # Pass precious variables to config.status.
6884 if test "$ac_new_set" = set; then
6886 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6887 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6888 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6889 *) ac_arg=$ac_var=$ac_new_val ;;
6891 case " $ac_configure_args " in
6892 @@ -1450,14 +1921,6 @@
6893 { (exit 1); exit 1; }; }
6897 -ac_cpp='$CPP $CPPFLAGS'
6898 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6899 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6900 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6907 @@ -1474,111 +1937,165 @@
6912 +ac_cpp='$CPP $CPPFLAGS'
6913 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6914 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6915 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6917 - ac_config_headers="$ac_config_headers config.h"
6919 - ac_config_commands="$ac_config_commands default-1"
6920 +ac_config_headers="$ac_config_headers config.h"
6924 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6925 - if test -f $ac_dir/install-sh; then
6926 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6927 + if test -f "$ac_dir/install-sh"; then
6929 ac_install_sh="$ac_aux_dir/install-sh -c"
6931 - elif test -f $ac_dir/install.sh; then
6932 + elif test -f "$ac_dir/install.sh"; then
6934 ac_install_sh="$ac_aux_dir/install.sh -c"
6936 - elif test -f $ac_dir/shtool; then
6937 + elif test -f "$ac_dir/shtool"; then
6939 ac_install_sh="$ac_aux_dir/shtool install -c"
6943 if test -z "$ac_aux_dir"; then
6944 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6945 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6946 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6947 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6948 { (exit 1); exit 1; }; }
6950 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6951 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6952 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6954 +# These three variables are undocumented and unsupported,
6955 +# and are intended to be withdrawn in a future Autoconf release.
6956 +# They can cause serious problems if a builder's source tree is in a directory
6957 +# whose full name contains unusual characters.
6958 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6959 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6960 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6963 # Make sure we can run config.sub.
6964 -$ac_config_sub sun4 >/dev/null 2>&1 ||
6965 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6966 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6967 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6968 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6969 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6970 { (exit 1); exit 1; }; }
6972 -echo "$as_me:$LINENO: checking build system type" >&5
6973 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
6974 +{ echo "$as_me:$LINENO: checking build system type" >&5
6975 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6976 if test "${ac_cv_build+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 - ac_cv_build_alias=$build_alias
6980 -test -z "$ac_cv_build_alias" &&
6981 - ac_cv_build_alias=`$ac_config_guess`
6982 -test -z "$ac_cv_build_alias" &&
6983 + ac_build_alias=$build_alias
6984 +test "x$ac_build_alias" = x &&
6985 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6986 +test "x$ac_build_alias" = x &&
6987 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6988 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6989 { (exit 1); exit 1; }; }
6990 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6991 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6992 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6993 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6994 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6995 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6996 { (exit 1); exit 1; }; }
6999 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7000 -echo "${ECHO_T}$ac_cv_build" >&6
7001 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7002 +echo "${ECHO_T}$ac_cv_build" >&6; }
7003 +case $ac_cv_build in
7005 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7006 +echo "$as_me: error: invalid value of canonical build" >&2;}
7007 + { (exit 1); exit 1; }; };;
7010 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7011 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7012 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7013 +ac_save_IFS=$IFS; IFS='-'
7019 +# Remember, the first character of IFS is used to create $*,
7020 +# except with old shells:
7023 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7026 -echo "$as_me:$LINENO: checking host system type" >&5
7027 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
7028 +{ echo "$as_me:$LINENO: checking host system type" >&5
7029 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7030 if test "${ac_cv_host+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 - ac_cv_host_alias=$host_alias
7034 -test -z "$ac_cv_host_alias" &&
7035 - ac_cv_host_alias=$ac_cv_build_alias
7036 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7037 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7038 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7039 + if test "x$host_alias" = x; then
7040 + ac_cv_host=$ac_cv_build
7042 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7043 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7044 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7045 { (exit 1); exit 1; }; }
7049 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7050 -echo "${ECHO_T}$ac_cv_host" >&6
7051 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7052 +echo "${ECHO_T}$ac_cv_host" >&6; }
7053 +case $ac_cv_host in
7055 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7056 +echo "$as_me: error: invalid value of canonical host" >&2;}
7057 + { (exit 1); exit 1; }; };;
7060 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7061 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7062 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7063 +ac_save_IFS=$IFS; IFS='-'
7069 +# Remember, the first character of IFS is used to create $*,
7070 +# except with old shells:
7073 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7076 -echo "$as_me:$LINENO: checking target system type" >&5
7077 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
7078 +{ echo "$as_me:$LINENO: checking target system type" >&5
7079 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
7080 if test "${ac_cv_target+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 - ac_cv_target_alias=$target_alias
7084 -test "x$ac_cv_target_alias" = "x" &&
7085 - ac_cv_target_alias=$ac_cv_host_alias
7086 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
7087 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7088 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7089 + if test "x$target_alias" = x; then
7090 + ac_cv_target=$ac_cv_host
7092 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
7093 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
7094 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
7095 { (exit 1); exit 1; }; }
7099 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7100 -echo "${ECHO_T}$ac_cv_target" >&6
7101 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7102 +echo "${ECHO_T}$ac_cv_target" >&6; }
7103 +case $ac_cv_target in
7105 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
7106 +echo "$as_me: error: invalid value of canonical target" >&2;}
7107 + { (exit 1); exit 1; }; };;
7109 target=$ac_cv_target
7110 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7111 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7112 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7113 +ac_save_IFS=$IFS; IFS='-'
7114 +set x $ac_cv_target
7119 +# Remember, the first character of IFS is used to create $*,
7120 +# except with old shells:
7123 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
7126 # The aliases save the names the user supplied, while $host etc.
7127 @@ -1588,7 +2105,7 @@
7129 program_prefix=${target_alias}-
7131 -am__api_version="1.4"
7132 +am__api_version="1.9"
7133 # Find a good install program. We prefer a C program (faster),
7134 # so one script is as good as another. But avoid the broken or
7135 # incompatible versions:
7136 @@ -1602,8 +2119,8 @@
7137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7138 # OS/2's system install, which has a completely different semantic
7139 # ./install, which can be erroneously created by make from ./install.sh.
7140 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7141 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7142 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7143 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7144 if test -z "$INSTALL"; then
7145 if test "${ac_cv_path_install+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 @@ -1625,7 +2142,7 @@
7149 for ac_prog in ginstall scoinst install; do
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7152 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7153 if test $ac_prog = install &&
7154 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7155 # AIX install. It has an incompatible calling convention.
7156 @@ -1644,21 +2161,22 @@
7164 if test "${ac_cv_path_install+set}" = set; then
7165 INSTALL=$ac_cv_path_install
7167 - # As a last resort, use the slow shell script. We don't cache a
7168 - # path for INSTALL within a source directory, because that will
7169 + # As a last resort, use the slow shell script. Don't cache a
7170 + # value for INSTALL within a source directory, because that will
7171 # break other packages using the cache if that directory is
7172 - # removed, or if the path is relative.
7173 + # removed, or if the value is a relative name.
7174 INSTALL=$ac_install_sh
7177 -echo "$as_me:$LINENO: result: $INSTALL" >&5
7178 -echo "${ECHO_T}$INSTALL" >&6
7179 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7180 +echo "${ECHO_T}$INSTALL" >&6; }
7182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7183 # It thinks the first close brace ends the variable substitution.
7184 @@ -1668,24 +2186,25 @@
7186 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7188 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7189 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7190 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7191 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7194 -echo timestamp > conftestfile
7195 +echo timestamp > conftest.file
7196 # Do `set' in a subshell so we don't clobber the current shell's
7197 # arguments. Must try -L first in case configure is actually a
7198 # symlink; some systems play weird games with the mod time of symlinks
7199 # (eg FreeBSD returns the mod time of the symlink's containing
7202 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
7203 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7204 if test "$*" = "X"; then
7206 - set X `ls -t $srcdir/configure conftestfile`
7207 + set X `ls -t $srcdir/configure conftest.file`
7209 - if test "$*" != "X $srcdir/configure conftestfile" \
7210 - && test "$*" != "X conftestfile $srcdir/configure"; then
7211 + rm -f conftest.file
7212 + if test "$*" != "X $srcdir/configure conftest.file" \
7213 + && test "$*" != "X conftest.file $srcdir/configure"; then
7215 # If neither matched, then we have a broken ls. This can happen
7216 # if, for instance, CONFIG_SHELL is bash and it inherits a
7217 @@ -1698,7 +2217,7 @@
7218 { (exit 1); exit 1; }; }
7221 - test "$2" = conftestfile
7222 + test "$2" = conftest.file
7226 @@ -1710,62 +2229,171 @@
7227 Check your system clock" >&2;}
7228 { (exit 1); exit 1; }; }
7231 -echo "$as_me:$LINENO: result: yes" >&5
7232 -echo "${ECHO_T}yes" >&6
7233 +{ echo "$as_me:$LINENO: result: yes" >&5
7234 +echo "${ECHO_T}yes" >&6; }
7235 test "$program_prefix" != NONE &&
7236 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
7237 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
7238 # Use a double $ so make ignores it.
7239 test "$program_suffix" != NONE &&
7240 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7241 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7242 # Double any \ or $. echo might interpret backslashes.
7243 # By default was `s,x,x', remove it if useless.
7244 cat <<\_ACEOF >conftest.sed
7245 s/[\\$]/&&/g;s/;s,x,x,$//
7247 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7251 +# expand $ac_aux_dir to an absolute path
7252 +am_aux_dir=`cd $ac_aux_dir && pwd`
7254 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7255 +# Use eval to expand $SHELL
7256 +if eval "$MISSING --run true"; then
7257 + am_missing_run="$MISSING --run "
7260 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7261 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7264 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7265 + # We used to keeping the `.' as first argument, in order to
7266 + # allow $(mkdir_p) to be used without argument. As in
7267 + # $(mkdir_p) $(somedir)
7268 + # where $(somedir) is conditionally defined. However this is wrong
7269 + # for two reasons:
7270 + # 1. if the package is installed by a user who cannot write `.'
7271 + # make install will fail,
7272 + # 2. the above comment should most certainly read
7273 + # $(mkdir_p) $(DESTDIR)$(somedir)
7274 + # so it does not work when $(somedir) is undefined and
7275 + # $(DESTDIR) is not.
7276 + # To support the latter case, we have to write
7277 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7278 + # so the `.' trick is pointless.
7279 + mkdir_p='mkdir -p --'
7281 + # On NextStep and OpenStep, the `mkdir' command does not
7282 + # recognize any option. It will interpret all options as
7283 + # directories to create, and then abort because `.' already
7285 + for d in ./-p ./--version;
7287 + test -d $d && rmdir $d
7289 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7290 + if test -f "$ac_aux_dir/mkinstalldirs"; then
7291 + mkdir_p='$(mkinstalldirs)'
7293 + mkdir_p='$(install_sh) -d'
7297 +for ac_prog in gawk mawk nawk awk
7299 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7300 +set dummy $ac_prog; ac_word=$2
7301 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7302 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7303 +if test "${ac_cv_prog_AWK+set}" = set; then
7304 + echo $ECHO_N "(cached) $ECHO_C" >&6
7306 + if test -n "$AWK"; then
7307 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
7309 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 +for as_dir in $PATH
7313 + test -z "$as_dir" && as_dir=.
7314 + for ac_exec_ext in '' $ac_executable_extensions; do
7315 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7316 + ac_cv_prog_AWK="$ac_prog"
7317 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 +AWK=$ac_cv_prog_AWK
7327 +if test -n "$AWK"; then
7328 + { echo "$as_me:$LINENO: result: $AWK" >&5
7329 +echo "${ECHO_T}$AWK" >&6; }
7331 + { echo "$as_me:$LINENO: result: no" >&5
7332 +echo "${ECHO_T}no" >&6; }
7336 + test -n "$AWK" && break
7339 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7340 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7341 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7342 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7343 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7344 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7345 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7346 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 cat >conftest.make <<\_ACEOF
7352 - @echo 'ac_maketemp="$(MAKE)"'
7353 + @echo '@@@%%%=$(MAKE)=@@@%%%'
7355 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7356 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7357 -if test -n "$ac_maketemp"; then
7358 - eval ac_cv_prog_make_${ac_make}_set=yes
7360 - eval ac_cv_prog_make_${ac_make}_set=no
7362 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
7363 + *@@@%%%=?*=@@@%%%*)
7364 + eval ac_cv_prog_make_${ac_make}_set=yes;;
7366 + eval ac_cv_prog_make_${ac_make}_set=no;;
7370 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7371 - echo "$as_me:$LINENO: result: yes" >&5
7372 -echo "${ECHO_T}yes" >&6
7373 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7374 + { echo "$as_me:$LINENO: result: yes" >&5
7375 +echo "${ECHO_T}yes" >&6; }
7378 - echo "$as_me:$LINENO: result: no" >&5
7379 -echo "${ECHO_T}no" >&6
7380 + { echo "$as_me:$LINENO: result: no" >&5
7381 +echo "${ECHO_T}no" >&6; }
7382 SET_MAKE="MAKE=${MAKE-make}"
7390 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
7391 +rm -rf .tst 2>/dev/null
7392 +mkdir .tst 2>/dev/null
7393 +if test -d .tst; then
7398 +rmdir .tst 2>/dev/null
7400 +# test to see if srcdir already configured
7401 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
7402 + test -f $srcdir/config.status; then
7403 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7404 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7405 { (exit 1); exit 1; }; }
7408 +# test whether we have cygpath
7409 +if test -z "$CYGPATH_W"; then
7410 + if (cygpath --version) >/dev/null 2>/dev/null; then
7411 + CYGPATH_W='cygpath -w'
7418 +# Define the identity of the package.
7423 cat >>confdefs.h <<_ACEOF
7424 #define PACKAGE "$PACKAGE"
7426 @@ -1775,83 +2403,138 @@
7427 #define VERSION "$VERSION"
7430 +# Some tools Automake needs.
7432 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7435 -missing_dir=`cd $ac_aux_dir && pwd`
7436 -echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
7437 -echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
7438 -# Run test in a subshell; some versions of sh will print an error if
7439 -# an executable is not found, even if stderr is redirected.
7440 -# Redirect stdin to placate older versions of autoconf. Sigh.
7441 -if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7442 - ACLOCAL=aclocal-${am__api_version}
7443 - echo "$as_me:$LINENO: result: found" >&5
7444 -echo "${ECHO_T}found" >&6
7446 - ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
7447 - echo "$as_me:$LINENO: result: missing" >&5
7448 -echo "${ECHO_T}missing" >&6
7451 -echo "$as_me:$LINENO: checking for working autoconf" >&5
7452 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
7453 -# Run test in a subshell; some versions of sh will print an error if
7454 -# an executable is not found, even if stderr is redirected.
7455 -# Redirect stdin to placate older versions of autoconf. Sigh.
7456 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
7458 - echo "$as_me:$LINENO: result: found" >&5
7459 -echo "${ECHO_T}found" >&6
7461 - AUTOCONF="$missing_dir/missing autoconf"
7462 - echo "$as_me:$LINENO: result: missing" >&5
7463 -echo "${ECHO_T}missing" >&6
7466 -echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
7467 -echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
7468 -# Run test in a subshell; some versions of sh will print an error if
7469 -# an executable is not found, even if stderr is redirected.
7470 -# Redirect stdin to placate older versions of autoconf. Sigh.
7471 -if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7472 - AUTOMAKE=automake-${am__api_version}
7473 - echo "$as_me:$LINENO: result: found" >&5
7474 -echo "${ECHO_T}found" >&6
7476 - AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
7477 - echo "$as_me:$LINENO: result: missing" >&5
7478 -echo "${ECHO_T}missing" >&6
7481 -echo "$as_me:$LINENO: checking for working autoheader" >&5
7482 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
7483 -# Run test in a subshell; some versions of sh will print an error if
7484 -# an executable is not found, even if stderr is redirected.
7485 -# Redirect stdin to placate older versions of autoconf. Sigh.
7486 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
7487 - AUTOHEADER=autoheader
7488 - echo "$as_me:$LINENO: result: found" >&5
7489 -echo "${ECHO_T}found" >&6
7491 - AUTOHEADER="$missing_dir/missing autoheader"
7492 - echo "$as_me:$LINENO: result: missing" >&5
7493 -echo "${ECHO_T}missing" >&6
7496 -echo "$as_me:$LINENO: checking for working makeinfo" >&5
7497 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
7498 -# Run test in a subshell; some versions of sh will print an error if
7499 -# an executable is not found, even if stderr is redirected.
7500 -# Redirect stdin to placate older versions of autoconf. Sigh.
7501 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
7503 - echo "$as_me:$LINENO: result: found" >&5
7504 -echo "${ECHO_T}found" >&6
7506 - MAKEINFO="$missing_dir/missing makeinfo"
7507 - echo "$as_me:$LINENO: result: missing" >&5
7508 -echo "${ECHO_T}missing" >&6
7509 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7512 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7515 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7518 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7520 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
7522 +# Installed binaries are usually stripped using `strip' when the user
7523 +# run `make install-strip'. However `strip' might not be the right
7524 +# tool to use in cross-compilation environments, therefore Automake
7525 +# will honor the `STRIP' environment variable to overrule this program.
7526 +if test "$cross_compiling" != no; then
7527 + if test -n "$ac_tool_prefix"; then
7528 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7529 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7530 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7531 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7532 +if test "${ac_cv_prog_STRIP+set}" = set; then
7533 + echo $ECHO_N "(cached) $ECHO_C" >&6
7535 + if test -n "$STRIP"; then
7536 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7538 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 +for as_dir in $PATH
7542 + test -z "$as_dir" && as_dir=.
7543 + for ac_exec_ext in '' $ac_executable_extensions; do
7544 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7546 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 +STRIP=$ac_cv_prog_STRIP
7556 +if test -n "$STRIP"; then
7557 + { echo "$as_me:$LINENO: result: $STRIP" >&5
7558 +echo "${ECHO_T}$STRIP" >&6; }
7560 + { echo "$as_me:$LINENO: result: no" >&5
7561 +echo "${ECHO_T}no" >&6; }
7566 +if test -z "$ac_cv_prog_STRIP"; then
7567 + ac_ct_STRIP=$STRIP
7568 + # Extract the first word of "strip", so it can be a program name with args.
7569 +set dummy strip; ac_word=$2
7570 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7571 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7572 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7573 + echo $ECHO_N "(cached) $ECHO_C" >&6
7575 + if test -n "$ac_ct_STRIP"; then
7576 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7578 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 +for as_dir in $PATH
7582 + test -z "$as_dir" && as_dir=.
7583 + for ac_exec_ext in '' $ac_executable_extensions; do
7584 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7585 + ac_cv_prog_ac_ct_STRIP="strip"
7586 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7596 +if test -n "$ac_ct_STRIP"; then
7597 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7598 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7600 + { echo "$as_me:$LINENO: result: no" >&5
7601 +echo "${ECHO_T}no" >&6; }
7604 + if test "x$ac_ct_STRIP" = x; then
7607 + case $cross_compiling:$ac_tool_warned in
7609 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7610 +whose name does not start with the host triplet. If you think this
7611 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7612 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7613 +whose name does not start with the host triplet. If you think this
7614 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7615 +ac_tool_warned=yes ;;
7617 + STRIP=$ac_ct_STRIP
7620 + STRIP="$ac_cv_prog_STRIP"
7624 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7626 +# We need awk for the "check" target. The system "awk" is bad on
7628 +# Always define AMTAR for backward compatibility.
7630 +AMTAR=${AMTAR-"${am_missing_run}tar"}
7632 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
7639 @@ -1870,8 +2553,8 @@
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7643 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7644 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7645 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7646 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7647 if test "${ac_cv_prog_CC+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 @@ -1884,32 +2567,34 @@
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 if test -n "$CC"; then
7668 - echo "$as_me:$LINENO: result: $CC" >&5
7669 -echo "${ECHO_T}$CC" >&6
7670 + { echo "$as_me:$LINENO: result: $CC" >&5
7671 +echo "${ECHO_T}$CC" >&6; }
7673 - echo "$as_me:$LINENO: result: no" >&5
7674 -echo "${ECHO_T}no" >&6
7675 + { echo "$as_me:$LINENO: result: no" >&5
7676 +echo "${ECHO_T}no" >&6; }
7681 if test -z "$ac_cv_prog_CC"; then
7683 # Extract the first word of "gcc", so it can be a program name with args.
7684 set dummy gcc; ac_word=$2
7685 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7686 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7687 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7688 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 @@ -1922,36 +2607,51 @@
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_ac_ct_CC="gcc"
7699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7709 if test -n "$ac_ct_CC"; then
7710 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7711 -echo "${ECHO_T}$ac_ct_CC" >&6
7712 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7713 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7715 - echo "$as_me:$LINENO: result: no" >&5
7716 -echo "${ECHO_T}no" >&6
7717 + { echo "$as_me:$LINENO: result: no" >&5
7718 +echo "${ECHO_T}no" >&6; }
7722 + if test "x$ac_ct_CC" = x; then
7725 + case $cross_compiling:$ac_tool_warned in
7727 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7728 +whose name does not start with the host triplet. If you think this
7729 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7730 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7731 +whose name does not start with the host triplet. If you think this
7732 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7733 +ac_tool_warned=yes ;;
7741 if test -z "$CC"; then
7742 - if test -n "$ac_tool_prefix"; then
7743 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7744 + if test -n "$ac_tool_prefix"; then
7745 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7746 set dummy ${ac_tool_prefix}cc; ac_word=$2
7747 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7748 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7749 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7750 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7751 if test "${ac_cv_prog_CC+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 @@ -1964,74 +2664,34 @@
7756 test -z "$as_dir" && as_dir=.
7757 for ac_exec_ext in '' $ac_executable_extensions; do
7758 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7759 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_prog_CC="${ac_tool_prefix}cc"
7761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 if test -n "$CC"; then
7772 - echo "$as_me:$LINENO: result: $CC" >&5
7773 -echo "${ECHO_T}$CC" >&6
7775 - echo "$as_me:$LINENO: result: no" >&5
7776 -echo "${ECHO_T}no" >&6
7780 -if test -z "$ac_cv_prog_CC"; then
7782 - # Extract the first word of "cc", so it can be a program name with args.
7783 -set dummy cc; ac_word=$2
7784 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7785 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7786 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7787 - echo $ECHO_N "(cached) $ECHO_C" >&6
7789 - if test -n "$ac_ct_CC"; then
7790 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7792 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 -for as_dir in $PATH
7796 - test -z "$as_dir" && as_dir=.
7797 - for ac_exec_ext in '' $ac_executable_extensions; do
7798 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 - ac_cv_prog_ac_ct_CC="cc"
7800 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7808 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
7809 -if test -n "$ac_ct_CC"; then
7810 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7811 -echo "${ECHO_T}$ac_ct_CC" >&6
7812 + { echo "$as_me:$LINENO: result: $CC" >&5
7813 +echo "${ECHO_T}$CC" >&6; }
7815 - echo "$as_me:$LINENO: result: no" >&5
7816 -echo "${ECHO_T}no" >&6
7817 + { echo "$as_me:$LINENO: result: no" >&5
7818 +echo "${ECHO_T}no" >&6; }
7823 - CC="$ac_cv_prog_CC"
7828 if test -z "$CC"; then
7829 # Extract the first word of "cc", so it can be a program name with args.
7830 set dummy cc; ac_word=$2
7831 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7832 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7833 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7834 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7835 if test "${ac_cv_prog_CC+set}" = set; then
7836 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 @@ -2045,7 +2705,7 @@
7840 test -z "$as_dir" && as_dir=.
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7843 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7844 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7845 ac_prog_rejected=yes
7847 @@ -2056,6 +2716,7 @@
7853 if test $ac_prog_rejected = yes; then
7854 # We found a bogon in the path, so make sure we never use it.
7855 @@ -2073,22 +2734,23 @@
7858 if test -n "$CC"; then
7859 - echo "$as_me:$LINENO: result: $CC" >&5
7860 -echo "${ECHO_T}$CC" >&6
7861 + { echo "$as_me:$LINENO: result: $CC" >&5
7862 +echo "${ECHO_T}$CC" >&6; }
7864 - echo "$as_me:$LINENO: result: no" >&5
7865 -echo "${ECHO_T}no" >&6
7866 + { echo "$as_me:$LINENO: result: no" >&5
7867 +echo "${ECHO_T}no" >&6; }
7872 if test -z "$CC"; then
7873 if test -n "$ac_tool_prefix"; then
7875 + for ac_prog in cl.exe
7877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7879 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7880 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7881 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7882 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7883 if test "${ac_cv_prog_CC+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 @@ -2101,36 +2763,38 @@
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 if test -n "$CC"; then
7904 - echo "$as_me:$LINENO: result: $CC" >&5
7905 -echo "${ECHO_T}$CC" >&6
7906 + { echo "$as_me:$LINENO: result: $CC" >&5
7907 +echo "${ECHO_T}$CC" >&6; }
7909 - echo "$as_me:$LINENO: result: no" >&5
7910 -echo "${ECHO_T}no" >&6
7911 + { echo "$as_me:$LINENO: result: no" >&5
7912 +echo "${ECHO_T}no" >&6; }
7916 test -n "$CC" && break
7919 if test -z "$CC"; then
7922 + for ac_prog in cl.exe
7924 # Extract the first word of "$ac_prog", so it can be a program name with args.
7925 set dummy $ac_prog; ac_word=$2
7926 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7927 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7928 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7929 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 @@ -2143,29 +2807,45 @@
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_prog_ac_ct_CC="$ac_prog"
7940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7950 if test -n "$ac_ct_CC"; then
7951 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7952 -echo "${ECHO_T}$ac_ct_CC" >&6
7953 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7954 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7956 - echo "$as_me:$LINENO: result: no" >&5
7957 -echo "${ECHO_T}no" >&6
7958 + { echo "$as_me:$LINENO: result: no" >&5
7959 +echo "${ECHO_T}no" >&6; }
7963 test -n "$ac_ct_CC" && break
7967 + if test "x$ac_ct_CC" = x; then
7970 + case $cross_compiling:$ac_tool_warned in
7972 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7973 +whose name does not start with the host triplet. If you think this
7974 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7975 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7976 +whose name does not start with the host triplet. If you think this
7977 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7978 +ac_tool_warned=yes ;;
7985 @@ -2178,21 +2858,35 @@
7986 { (exit 1); exit 1; }; }
7988 # Provide some information about the compiler.
7989 -echo "$as_me:$LINENO:" \
7990 - "checking for C compiler version" >&5
7991 +echo "$as_me:$LINENO: checking for C compiler version" >&5
7992 ac_compiler=`set X $ac_compile; echo $2`
7993 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7994 - (eval $ac_compiler --version </dev/null >&5) 2>&5
7995 +{ (ac_try="$ac_compiler --version >&5"
7996 +case "(($ac_try" in
7997 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7998 + *) ac_try_echo=$ac_try;;
8000 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8001 + (eval "$ac_compiler --version >&5") 2>&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }
8005 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8006 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8007 +{ (ac_try="$ac_compiler -v >&5"
8008 +case "(($ac_try" in
8009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8010 + *) ac_try_echo=$ac_try;;
8012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8013 + (eval "$ac_compiler -v >&5") 2>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }
8017 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8018 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8019 +{ (ac_try="$ac_compiler -V >&5"
8020 +case "(($ac_try" in
8021 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8022 + *) ac_try_echo=$ac_try;;
8024 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8025 + (eval "$ac_compiler -V >&5") 2>&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }
8029 @@ -2217,47 +2911,77 @@
8030 # Try to create an executable without -o first, disregard a.out.
8031 # It will help us diagnose broken compilers, and finding out an intuition
8033 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8034 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
8035 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8036 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
8037 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8038 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
8039 - (eval $ac_link_default) 2>&5
8041 +# List of possible output files, starting from the most likely.
8042 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
8043 +# only as a last resort. b.out is created by i960 compilers.
8044 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
8046 +# The IRIX 6 linker writes into existing files which may not be
8047 +# executable, retaining their permissions. Remove them first so a
8048 +# subsequent execution test works.
8050 +for ac_file in $ac_files
8053 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8054 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8059 +if { (ac_try="$ac_link_default"
8060 +case "(($ac_try" in
8061 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8062 + *) ac_try_echo=$ac_try;;
8064 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8065 + (eval "$ac_link_default") 2>&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; then
8069 - # Find the output, starting from the most likely. This scheme is
8070 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
8073 -# Be careful to initialize this variable, since it used to be cached.
8074 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
8076 -# b.out is created by i960 compilers.
8077 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
8078 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8079 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8080 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
8081 +# so that the user can short-circuit this test for compilers unknown to
8083 +for ac_file in $ac_files ''
8085 test -f "$ac_file" || continue
8087 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
8089 - conftest.$ac_ext )
8090 - # This is the source file.
8091 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
8094 # We found the default executable, but exeext='' is most
8098 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8099 - # FIXME: I believe we export ac_cv_exeext for Libtool,
8100 - # but it would be cool to find out if it's true. Does anybody
8101 - # maintain Libtool? --akim.
8102 - export ac_cv_exeext
8103 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8105 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8107 + # We set ac_cv_exeext here because the later test for it is not
8108 + # safe: cross compilers may not add the suffix if given an `-o'
8109 + # argument, so we may need to know it at that point already.
8110 + # Even if this section looks crufty: it has the advantage of
8111 + # actually working.
8117 +test "$ac_cv_exeext" = no && ac_cv_exeext=
8123 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
8124 +echo "${ECHO_T}$ac_file" >&6; }
8125 +if test -z "$ac_file"; then
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.$ac_ext >&5
8129 @@ -2269,19 +2993,21 @@
8132 ac_exeext=$ac_cv_exeext
8133 -echo "$as_me:$LINENO: result: $ac_file" >&5
8134 -echo "${ECHO_T}$ac_file" >&6
8136 -# Check the compiler produces executables we can run. If not, either
8137 +# Check that the compiler produces executables we can run. If not, either
8138 # the compiler is broken, or we cross compile.
8139 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8140 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
8141 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8142 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
8143 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8144 # If not cross compiling, check that we can run a simple program.
8145 if test "$cross_compiling" != yes; then
8146 if { ac_try='./$ac_file'
8147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 - (eval $ac_try) 2>&5
8149 + { (case "(($ac_try" in
8150 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8151 + *) ac_try_echo=$ac_try;;
8153 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8154 + (eval "$ac_try") 2>&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 @@ -2300,22 +3026,27 @@
8162 -echo "$as_me:$LINENO: result: yes" >&5
8163 -echo "${ECHO_T}yes" >&6
8164 +{ echo "$as_me:$LINENO: result: yes" >&5
8165 +echo "${ECHO_T}yes" >&6; }
8167 rm -f a.out a.exe conftest$ac_cv_exeext b.out
8168 ac_clean_files=$ac_clean_files_save
8169 -# Check the compiler produces executables we can run. If not, either
8170 +# Check that the compiler produces executables we can run. If not, either
8171 # the compiler is broken, or we cross compile.
8172 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8173 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
8174 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
8175 -echo "${ECHO_T}$cross_compiling" >&6
8177 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
8178 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
8179 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180 - (eval $ac_link) 2>&5
8181 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8182 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
8183 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
8184 +echo "${ECHO_T}$cross_compiling" >&6; }
8186 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
8187 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
8188 +if { (ac_try="$ac_link"
8189 +case "(($ac_try" in
8190 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8191 + *) ac_try_echo=$ac_try;;
8193 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8194 + (eval "$ac_link") 2>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; then
8198 @@ -2326,9 +3057,8 @@
8199 for ac_file in conftest.exe conftest conftest.*; do
8200 test -f "$ac_file" || continue
8202 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
8203 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8204 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8205 - export ac_cv_exeext
8209 @@ -2342,14 +3072,14 @@
8212 rm -f conftest$ac_cv_exeext
8213 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8214 -echo "${ECHO_T}$ac_cv_exeext" >&6
8215 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8216 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
8218 rm -f conftest.$ac_ext
8219 EXEEXT=$ac_cv_exeext
8221 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
8222 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
8223 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
8224 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
8225 if test "${ac_cv_objext+set}" = set; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 @@ -2369,14 +3099,20 @@
8231 rm -f conftest.o conftest.obj
8232 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8233 - (eval $ac_compile) 2>&5
8234 +if { (ac_try="$ac_compile"
8235 +case "(($ac_try" in
8236 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8237 + *) ac_try_echo=$ac_try;;
8239 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8240 + (eval "$ac_compile") 2>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; then
8244 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
8245 + for ac_file in conftest.o conftest.obj conftest.*; do
8246 + test -f "$ac_file" || continue;
8248 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
8249 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
8250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8253 @@ -2394,12 +3130,12 @@
8255 rm -f conftest.$ac_cv_objext conftest.$ac_ext
8257 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8258 -echo "${ECHO_T}$ac_cv_objext" >&6
8259 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8260 +echo "${ECHO_T}$ac_cv_objext" >&6; }
8261 OBJEXT=$ac_cv_objext
8263 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8264 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
8265 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8266 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
8267 if test "${ac_cv_c_compiler_gnu+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 @@ -2422,49 +3158,49 @@
8273 rm -f conftest.$ac_objext
8274 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8275 - (eval $ac_compile) 2>conftest.er1
8276 +if { (ac_try="$ac_compile"
8277 +case "(($ac_try" in
8278 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8279 + *) ac_try_echo=$ac_try;;
8281 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 + (eval "$ac_compile") 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 - (exit $ac_status); } &&
8289 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 - (eval $ac_try) 2>&5
8293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 - (exit $ac_status); }; } &&
8295 - { ac_try='test -s conftest.$ac_objext'
8296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 - (eval $ac_try) 2>&5
8299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 - (exit $ac_status); }; }; then
8301 + (exit $ac_status); } && {
8302 + test -z "$ac_c_werror_flag" ||
8303 + test ! -s conftest.err
8304 + } && test -s conftest.$ac_objext; then
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.$ac_ext >&5
8311 + ac_compiler_gnu=no
8313 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8315 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8319 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8320 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
8321 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8322 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
8323 GCC=`test $ac_compiler_gnu = yes && echo yes`
8324 ac_test_CFLAGS=${CFLAGS+set}
8325 ac_save_CFLAGS=$CFLAGS
8327 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8328 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
8329 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8330 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
8331 if test "${ac_cv_prog_cc_g+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 - cat >conftest.$ac_ext <<_ACEOF
8335 + ac_save_c_werror_flag=$ac_c_werror_flag
8336 + ac_c_werror_flag=yes
8337 + ac_cv_prog_cc_g=no
8339 + cat >conftest.$ac_ext <<_ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 @@ -2480,37 +3216,118 @@
8346 rm -f conftest.$ac_objext
8347 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8348 - (eval $ac_compile) 2>conftest.er1
8349 +if { (ac_try="$ac_compile"
8350 +case "(($ac_try" in
8351 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8352 + *) ac_try_echo=$ac_try;;
8354 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8355 + (eval "$ac_compile") 2>conftest.er1
8357 grep -v '^ *+' conftest.er1 >conftest.err
8359 cat conftest.err >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 - (exit $ac_status); } &&
8362 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 - (eval $ac_try) 2>&5
8365 + (exit $ac_status); } && {
8366 + test -z "$ac_c_werror_flag" ||
8367 + test ! -s conftest.err
8368 + } && test -s conftest.$ac_objext; then
8369 + ac_cv_prog_cc_g=yes
8371 + echo "$as_me: failed program was:" >&5
8372 +sed 's/^/| /' conftest.$ac_ext >&5
8375 + cat >conftest.$ac_ext <<_ACEOF
8378 +cat confdefs.h >>conftest.$ac_ext
8379 +cat >>conftest.$ac_ext <<_ACEOF
8380 +/* end confdefs.h. */
8390 +rm -f conftest.$ac_objext
8391 +if { (ac_try="$ac_compile"
8392 +case "(($ac_try" in
8393 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8394 + *) ac_try_echo=$ac_try;;
8396 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8397 + (eval "$ac_compile") 2>conftest.er1
8399 + grep -v '^ *+' conftest.er1 >conftest.err
8400 + rm -f conftest.er1
8401 + cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 - (exit $ac_status); }; } &&
8404 - { ac_try='test -s conftest.$ac_objext'
8405 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 - (eval $ac_try) 2>&5
8407 + (exit $ac_status); } && {
8408 + test -z "$ac_c_werror_flag" ||
8409 + test ! -s conftest.err
8410 + } && test -s conftest.$ac_objext; then
8413 + echo "$as_me: failed program was:" >&5
8414 +sed 's/^/| /' conftest.$ac_ext >&5
8416 + ac_c_werror_flag=$ac_save_c_werror_flag
8418 + cat >conftest.$ac_ext <<_ACEOF
8421 +cat confdefs.h >>conftest.$ac_ext
8422 +cat >>conftest.$ac_ext <<_ACEOF
8423 +/* end confdefs.h. */
8433 +rm -f conftest.$ac_objext
8434 +if { (ac_try="$ac_compile"
8435 +case "(($ac_try" in
8436 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8437 + *) ac_try_echo=$ac_try;;
8439 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8440 + (eval "$ac_compile") 2>conftest.er1
8442 + grep -v '^ *+' conftest.er1 >conftest.err
8443 + rm -f conftest.er1
8444 + cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 - (exit $ac_status); }; }; then
8447 + (exit $ac_status); } && {
8448 + test -z "$ac_c_werror_flag" ||
8449 + test ! -s conftest.err
8450 + } && test -s conftest.$ac_objext; then
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.$ac_ext >&5
8460 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8464 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8467 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8468 + ac_c_werror_flag=$ac_save_c_werror_flag
8470 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8471 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
8472 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8473 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8474 if test "$ac_test_CFLAGS" = set; then
8475 CFLAGS=$ac_save_CFLAGS
8476 elif test $ac_cv_prog_cc_g = yes; then
8477 @@ -2526,12 +3343,12 @@
8481 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
8482 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8483 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
8484 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
8485 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
8486 +if test "${ac_cv_prog_cc_c89+set}" = set; then
8487 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 - ac_cv_prog_cc_stdc=no
8490 + ac_cv_prog_cc_c89=no
8492 cat >conftest.$ac_ext <<_ACEOF
8494 @@ -2565,12 +3382,17 @@
8495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8496 function prototypes and stuff, but not '\xHH' hex character constants.
8497 These don't provoke an error unfortunately, instead are silently treated
8498 - as 'x'. The following induces an error, until -std1 is added to get
8499 + as 'x'. The following induces an error, until -std is added to get
8500 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8501 array size at least. It's necessary to write '\x00'==0 to get something
8502 - that's true only with -std1. */
8503 + that's true only with -std. */
8504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8506 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8507 + inside strings and character constants. */
8509 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8511 int test (int i, double x);
8512 struct s1 {int (*f) (int a);};
8513 struct s2 {int (*f) (double a);};
8514 @@ -2585,256 +3407,244 @@
8518 -# Don't try gcc -ansi; that turns off useful extensions and
8519 -# breaks some systems' header files.
8520 -# AIX -qlanglvl=ansi
8521 -# Ultrix and OSF/1 -std1
8522 -# HP-UX 10.20 and later -Ae
8523 -# HP-UX older versions -Aa -D_HPUX_SOURCE
8524 -# SVR4 -Xc -D__EXTENSIONS__
8525 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8526 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8527 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8529 CC="$ac_save_CC $ac_arg"
8530 rm -f conftest.$ac_objext
8531 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8532 - (eval $ac_compile) 2>conftest.er1
8533 +if { (ac_try="$ac_compile"
8534 +case "(($ac_try" in
8535 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8536 + *) ac_try_echo=$ac_try;;
8538 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8539 + (eval "$ac_compile") 2>conftest.er1
8541 grep -v '^ *+' conftest.er1 >conftest.err
8543 cat conftest.err >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 - (exit $ac_status); } &&
8546 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 - (eval $ac_try) 2>&5
8550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 - (exit $ac_status); }; } &&
8552 - { ac_try='test -s conftest.$ac_objext'
8553 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 - (eval $ac_try) 2>&5
8556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 - (exit $ac_status); }; }; then
8558 - ac_cv_prog_cc_stdc=$ac_arg
8560 + (exit $ac_status); } && {
8561 + test -z "$ac_c_werror_flag" ||
8562 + test ! -s conftest.err
8563 + } && test -s conftest.$ac_objext; then
8564 + ac_cv_prog_cc_c89=$ac_arg
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8571 -rm -f conftest.err conftest.$ac_objext
8573 +rm -f core conftest.err conftest.$ac_objext
8574 + test "x$ac_cv_prog_cc_c89" != "xno" && break
8576 -rm -f conftest.$ac_ext conftest.$ac_objext
8577 +rm -f conftest.$ac_ext
8582 -case "x$ac_cv_prog_cc_stdc" in
8584 - echo "$as_me:$LINENO: result: none needed" >&5
8585 -echo "${ECHO_T}none needed" >&6 ;;
8587 +case "x$ac_cv_prog_cc_c89" in
8589 + { echo "$as_me:$LINENO: result: none needed" >&5
8590 +echo "${ECHO_T}none needed" >&6; } ;;
8592 + { echo "$as_me:$LINENO: result: unsupported" >&5
8593 +echo "${ECHO_T}unsupported" >&6; } ;;
8595 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
8596 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8597 - CC="$CC $ac_cv_prog_cc_stdc" ;;
8598 + CC="$CC $ac_cv_prog_cc_c89"
8599 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
8600 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
8603 -# Some people use a C++ compiler to compile C. Since we use `exit',
8604 -# in C++ we need to declare it. In case someone uses the same compiler
8605 -# for both compiling C and C++ we need to have the C++ compiler decide
8606 -# the declaration of exit, since it's the most demanding environment.
8607 -cat >conftest.$ac_ext <<_ACEOF
8608 -#ifndef __cplusplus
8612 -rm -f conftest.$ac_objext
8613 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8614 - (eval $ac_compile) 2>conftest.er1
8616 - grep -v '^ *+' conftest.er1 >conftest.err
8617 - rm -f conftest.er1
8618 - cat conftest.err >&5
8619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 - (exit $ac_status); } &&
8621 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8622 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 - (eval $ac_try) 2>&5
8625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 - (exit $ac_status); }; } &&
8627 - { ac_try='test -s conftest.$ac_objext'
8628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 - (eval $ac_try) 2>&5
8631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 - (exit $ac_status); }; }; then
8633 - for ac_declaration in \
8635 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
8636 - 'extern "C" void std::exit (int); using std::exit;' \
8637 - 'extern "C" void exit (int) throw ();' \
8638 - 'extern "C" void exit (int);' \
8639 - 'void exit (int);'
8641 - cat >conftest.$ac_ext <<_ACEOF
8644 -cat confdefs.h >>conftest.$ac_ext
8645 -cat >>conftest.$ac_ext <<_ACEOF
8646 -/* end confdefs.h. */
8648 -#include <stdlib.h>
8657 -rm -f conftest.$ac_objext
8658 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8659 - (eval $ac_compile) 2>conftest.er1
8661 - grep -v '^ *+' conftest.er1 >conftest.err
8662 - rm -f conftest.er1
8663 - cat conftest.err >&5
8664 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 - (exit $ac_status); } &&
8666 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8667 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668 - (eval $ac_try) 2>&5
8670 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 - (exit $ac_status); }; } &&
8672 - { ac_try='test -s conftest.$ac_objext'
8673 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674 - (eval $ac_try) 2>&5
8676 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 - (exit $ac_status); }; }; then
8680 - echo "$as_me: failed program was:" >&5
8681 -sed 's/^/| /' conftest.$ac_ext >&5
8685 +ac_cpp='$CPP $CPPFLAGS'
8686 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8687 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8688 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8689 +DEPDIR="${am__leading_dot}deps"
8691 +ac_config_commands="$ac_config_commands depfiles"
8694 +am_make=${MAKE-make}
8695 +cat > confinc << 'END'
8700 +# If we don't find an include directive, just comment out the code.
8701 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
8702 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
8706 +# First try GNU make style include.
8707 +echo "include confinc" > confmf
8708 +# We grep out `Entering directory' and `Leaving directory'
8709 +# messages which can occur if `w' ends up in MAKEFLAGS.
8710 +# In particular we don't look at `^make:' because GNU make might
8711 +# be invoked under some other name (usually "gmake"), in which
8712 +# case it prints its new name instead of `make'.
8713 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8714 + am__include=include
8718 +# Now try BSD make style include.
8719 +if test "$am__include" = "#"; then
8720 + echo '.include "confinc"' > confmf
8721 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8722 + am__include=.include
8727 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8728 - cat >conftest.$ac_ext <<_ACEOF
8731 -cat confdefs.h >>conftest.$ac_ext
8732 -cat >>conftest.$ac_ext <<_ACEOF
8733 -/* end confdefs.h. */
8743 -rm -f conftest.$ac_objext
8744 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8745 - (eval $ac_compile) 2>conftest.er1
8747 - grep -v '^ *+' conftest.er1 >conftest.err
8748 - rm -f conftest.er1
8749 - cat conftest.err >&5
8750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 - (exit $ac_status); } &&
8752 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8753 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8754 - (eval $ac_try) 2>&5
8756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 - (exit $ac_status); }; } &&
8758 - { ac_try='test -s conftest.$ac_objext'
8759 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 - (eval $ac_try) 2>&5
8762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 - (exit $ac_status); }; }; then
8766 - echo "$as_me: failed program was:" >&5
8767 -sed 's/^/| /' conftest.$ac_ext >&5
8770 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
8771 +echo "${ECHO_T}$_am_result" >&6; }
8772 +rm -f confinc confmf
8774 +# Check whether --enable-dependency-tracking was given.
8775 +if test "${enable_dependency_tracking+set}" = set; then
8776 + enableval=$enable_dependency_tracking;
8778 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8781 -if test -n "$ac_declaration"; then
8782 - echo '#ifdef __cplusplus' >>confdefs.h
8783 - echo $ac_declaration >>confdefs.h
8784 - echo '#endif' >>confdefs.h
8786 +if test "x$enable_dependency_tracking" != xno; then
8787 + am_depcomp="$ac_aux_dir/depcomp"
8788 + AMDEPBACKSLASH='\'
8792 - echo "$as_me: failed program was:" >&5
8793 -sed 's/^/| /' conftest.$ac_ext >&5
8795 +if test "x$enable_dependency_tracking" != xno; then
8802 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8804 -ac_cpp='$CPP $CPPFLAGS'
8805 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8806 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8807 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
8810 -missing_dir=`cd $ac_aux_dir && pwd`
8811 -for ac_prog in flex lex
8813 - # Extract the first word of "$ac_prog", so it can be a program name with args.
8814 -set dummy $ac_prog; ac_word=$2
8815 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8816 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8817 -if test "${ac_cv_prog_LEX+set}" = set; then
8820 +depcc="$CC" am_compiler_list=
8822 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8823 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8824 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 - if test -n "$LEX"; then
8828 - ac_cv_prog_LEX="$LEX" # Let the user override the test.
8830 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8831 -for as_dir in $PATH
8834 - test -z "$as_dir" && as_dir=.
8835 - for ac_exec_ext in '' $ac_executable_extensions; do
8836 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8837 - ac_cv_prog_LEX="$ac_prog"
8838 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8843 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8844 + # We make a subdir and do the tests there. Otherwise we can end up
8845 + # making bogus files that we don't know about and never remove. For
8846 + # instance it was reported that on HP-UX the gcc test will end up
8847 + # making a dummy file named `D' -- because `-MD' means `put the output
8849 + mkdir conftest.dir
8850 + # Copy depcomp to subdir because otherwise we won't find it if we're
8851 + # using a relative directory.
8852 + cp "$am_depcomp" conftest.dir
8854 + # We will build objects and dependencies in a subdirectory because
8855 + # it helps to detect inapplicable dependency modes. For instance
8856 + # both Tru64's cc and ICC support -MD to output dependencies as a
8857 + # side effect of compilation, but ICC will put the dependencies in
8858 + # the current directory while Tru64 will put them in the object
8862 + am_cv_CC_dependencies_compiler_type=none
8863 + if test "$am_compiler_list" = ""; then
8864 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8866 + for depmode in $am_compiler_list; do
8867 + # Setup a source with many dependencies, because some compilers
8868 + # like to wrap large dependency lists on column 80 (with \), and
8869 + # we should not choose a depcomp mode which is confused by this.
8871 + # We need to recreate these files for each test, as the compiler may
8872 + # overwrite some of them when testing with obscure command lines.
8873 + # This happens at least with the AIX C compiler.
8874 + : > sub/conftest.c
8875 + for i in 1 2 3 4 5 6; do
8876 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
8877 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8878 + # Solaris 8's {/usr,}/bin/sh.
8879 + touch sub/conftst$i.h
8881 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8885 + # after this tag, mechanisms are not by side-effect, so they'll
8886 + # only be used when explicitly requested
8887 + if test "x$enable_dependency_tracking" = xyes; then
8895 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
8896 + # mode. It turns out that the SunPro C++ compiler does not properly
8897 + # handle `-M -o', and we need to detect this.
8898 + if depmode=$depmode \
8899 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8900 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8901 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8902 + >/dev/null 2>conftest.err &&
8903 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8904 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8905 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8906 + # icc doesn't choke on unknown options, it will just issue warnings
8907 + # or remarks (even with -Werror). So we grep stderr for any message
8908 + # that says an option was ignored or not supported.
8909 + # When given -MP, icc 7.0 and 7.1 complain thusly:
8910 + # icc: Command line warning: ignoring option '-M'; no argument required
8911 + # The diagnosis changed in icc 8.0:
8912 + # icc: Command line remark: option '-MP' not supported
8913 + if (grep 'ignoring option' conftest.err ||
8914 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8915 + am_cv_CC_dependencies_compiler_type=$depmode
8922 + rm -rf conftest.dir
8924 + am_cv_CC_dependencies_compiler_type=none
8928 -LEX=$ac_cv_prog_LEX
8929 -if test -n "$LEX"; then
8930 - echo "$as_me:$LINENO: result: $LEX" >&5
8931 -echo "${ECHO_T}$LEX" >&6
8932 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
8933 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
8934 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8939 + test "x$enable_dependency_tracking" != xno \
8940 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8941 + am__fastdepCC_TRUE=
8942 + am__fastdepCC_FALSE='#'
8944 - echo "$as_me:$LINENO: result: no" >&5
8945 -echo "${ECHO_T}no" >&6
8946 + am__fastdepCC_TRUE='#'
8947 + am__fastdepCC_FALSE=
8950 - test -n "$LEX" && break
8952 -test -n "$LEX" || LEX="$missing_dir/missing flex"
8955 for ac_prog in flex lex
8957 # Extract the first word of "$ac_prog", so it can be a program name with args.
8958 set dummy $ac_prog; ac_word=$2
8959 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8960 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8961 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8962 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8963 if test "${ac_cv_prog_LEX+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 @@ -2847,250 +3657,182 @@
8968 test -z "$as_dir" && as_dir=.
8969 for ac_exec_ext in '' $ac_executable_extensions; do
8970 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8971 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8972 ac_cv_prog_LEX="$ac_prog"
8973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 if test -n "$LEX"; then
8984 - echo "$as_me:$LINENO: result: $LEX" >&5
8985 -echo "${ECHO_T}$LEX" >&6
8986 + { echo "$as_me:$LINENO: result: $LEX" >&5
8987 +echo "${ECHO_T}$LEX" >&6; }
8989 - echo "$as_me:$LINENO: result: no" >&5
8990 -echo "${ECHO_T}no" >&6
8991 + { echo "$as_me:$LINENO: result: no" >&5
8992 +echo "${ECHO_T}no" >&6; }
8996 test -n "$LEX" && break
8998 test -n "$LEX" || LEX=":"
9000 -if test -z "$LEXLIB"
9002 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
9003 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
9004 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
9005 - echo $ECHO_N "(cached) $ECHO_C" >&6
9007 - ac_check_lib_save_LIBS=$LIBS
9009 -cat >conftest.$ac_ext <<_ACEOF
9011 +if test "x$LEX" != "x:"; then
9012 + cat >conftest.l <<_ACEOF
9018 +e { yyless (input () != 0); }
9019 +f { unput (yytext[0]); }
9020 +. { BEGIN INITIAL; }
9022 +#ifdef YYTEXT_POINTER
9023 +extern char *yytext;
9028 + return ! yylex () + ! yywrap ();
9031 -cat confdefs.h >>conftest.$ac_ext
9032 -cat >>conftest.$ac_ext <<_ACEOF
9033 -/* end confdefs.h. */
9035 -/* Override any gcc2 internal prototype to avoid an error. */
9039 -/* We use char because int might match the return type of a gcc2
9040 - builtin and then its argument prototype would still apply. */
9050 -rm -f conftest.$ac_objext conftest$ac_exeext
9051 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9052 - (eval $ac_link) 2>conftest.er1
9054 - grep -v '^ *+' conftest.er1 >conftest.err
9055 - rm -f conftest.er1
9056 - cat conftest.err >&5
9057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 - (exit $ac_status); } &&
9059 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9060 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 - (eval $ac_try) 2>&5
9063 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 - (exit $ac_status); }; } &&
9065 - { ac_try='test -s conftest$ac_exeext'
9066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 - (eval $ac_try) 2>&5
9068 +{ (ac_try="$LEX conftest.l"
9069 +case "(($ac_try" in
9070 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9071 + *) ac_try_echo=$ac_try;;
9073 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9074 + (eval "$LEX conftest.l") 2>&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 - (exit $ac_status); }; }; then
9078 - ac_cv_lib_fl_yywrap=yes
9079 + (exit $ac_status); }
9080 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
9081 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
9082 +if test "${ac_cv_prog_lex_root+set}" = set; then
9083 + echo $ECHO_N "(cached) $ECHO_C" >&6
9085 - echo "$as_me: failed program was:" >&5
9086 -sed 's/^/| /' conftest.$ac_ext >&5
9088 -ac_cv_lib_fl_yywrap=no
9089 +if test -f lex.yy.c; then
9090 + ac_cv_prog_lex_root=lex.yy
9091 +elif test -f lexyy.c; then
9092 + ac_cv_prog_lex_root=lexyy
9094 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9095 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9096 + { (exit 1); exit 1; }; }
9098 -rm -f conftest.err conftest.$ac_objext \
9099 - conftest$ac_exeext conftest.$ac_ext
9100 -LIBS=$ac_check_lib_save_LIBS
9102 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
9103 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
9104 -if test $ac_cv_lib_fl_yywrap = yes; then
9107 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
9108 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
9109 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
9110 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9111 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
9112 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9114 +if test -z "${LEXLIB+set}"; then
9115 + { echo "$as_me:$LINENO: checking lex library" >&5
9116 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
9117 +if test "${ac_cv_lib_lex+set}" = set; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 - ac_check_lib_save_LIBS=$LIBS
9122 -cat >conftest.$ac_ext <<_ACEOF
9125 -cat confdefs.h >>conftest.$ac_ext
9126 -cat >>conftest.$ac_ext <<_ACEOF
9127 -/* end confdefs.h. */
9129 -/* Override any gcc2 internal prototype to avoid an error. */
9133 -/* We use char because int might match the return type of a gcc2
9134 - builtin and then its argument prototype would still apply. */
9143 + ac_save_LIBS=$LIBS
9144 + ac_cv_lib_lex='none needed'
9145 + for ac_lib in '' -lfl -ll; do
9146 + LIBS="$ac_lib $ac_save_LIBS"
9147 + cat >conftest.$ac_ext <<_ACEOF
9148 +`cat $LEX_OUTPUT_ROOT.c`
9150 rm -f conftest.$ac_objext conftest$ac_exeext
9151 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9152 - (eval $ac_link) 2>conftest.er1
9153 +if { (ac_try="$ac_link"
9154 +case "(($ac_try" in
9155 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9156 + *) ac_try_echo=$ac_try;;
9158 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9159 + (eval "$ac_link") 2>conftest.er1
9161 grep -v '^ *+' conftest.er1 >conftest.err
9163 cat conftest.err >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 - (exit $ac_status); } &&
9166 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 - (eval $ac_try) 2>&5
9170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 - (exit $ac_status); }; } &&
9172 - { ac_try='test -s conftest$ac_exeext'
9173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9174 - (eval $ac_try) 2>&5
9176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 - (exit $ac_status); }; }; then
9178 - ac_cv_lib_l_yywrap=yes
9179 + (exit $ac_status); } && {
9180 + test -z "$ac_c_werror_flag" ||
9181 + test ! -s conftest.err
9182 + } && test -s conftest$ac_exeext &&
9183 + $as_test_x conftest$ac_exeext; then
9184 + ac_cv_lib_lex=$ac_lib
9186 echo "$as_me: failed program was:" >&5
9187 sed 's/^/| /' conftest.$ac_ext >&5
9189 -ac_cv_lib_l_yywrap=no
9191 -rm -f conftest.err conftest.$ac_objext \
9192 - conftest$ac_exeext conftest.$ac_ext
9193 -LIBS=$ac_check_lib_save_LIBS
9195 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9196 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9197 -if test $ac_cv_lib_l_yywrap = yes; then
9204 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9205 + conftest$ac_exeext conftest.$ac_ext
9206 + test "$ac_cv_lib_lex" != 'none needed' && break
9208 + LIBS=$ac_save_LIBS
9210 -if test "x$LEX" != "x:"; then
9211 - echo "$as_me:$LINENO: checking lex output file root" >&5
9212 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9213 -if test "${ac_cv_prog_lex_root+set}" = set; then
9214 - echo $ECHO_N "(cached) $ECHO_C" >&6
9216 - # The minimal lex program is just a single line: %%. But some broken lexes
9217 -# (Solaris, I think it was) want two %% lines, so accommodate them.
9218 -cat >conftest.l <<_ACEOF
9222 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9223 - (eval $LEX conftest.l) 2>&5
9225 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 - (exit $ac_status); }
9227 -if test -f lex.yy.c; then
9228 - ac_cv_prog_lex_root=lex.yy
9229 -elif test -f lexyy.c; then
9230 - ac_cv_prog_lex_root=lexyy
9232 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9233 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9234 - { (exit 1); exit 1; }; }
9236 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
9237 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
9238 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
9240 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9241 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9243 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9245 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9246 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9248 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9249 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
9250 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 # POSIX says lex can declare yytext either as a pointer or an array; the
9254 -# default is implementation-dependent. Figure out which it is, since
9255 +# default is implementation-dependent. Figure out which it is, since
9256 # not all implementations provide the %pointer and %array declarations.
9257 ac_cv_prog_lex_yytext_pointer=no
9258 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9260 -LIBS="$LIBS $LEXLIB"
9261 +LIBS="$LEXLIB $ac_save_LIBS"
9262 cat >conftest.$ac_ext <<_ACEOF
9263 +#define YYTEXT_POINTER 1
9264 `cat $LEX_OUTPUT_ROOT.c`
9266 rm -f conftest.$ac_objext conftest$ac_exeext
9267 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9268 - (eval $ac_link) 2>conftest.er1
9269 +if { (ac_try="$ac_link"
9270 +case "(($ac_try" in
9271 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9272 + *) ac_try_echo=$ac_try;;
9274 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9275 + (eval "$ac_link") 2>conftest.er1
9277 grep -v '^ *+' conftest.er1 >conftest.err
9279 cat conftest.err >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 - (exit $ac_status); } &&
9282 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 - (eval $ac_try) 2>&5
9286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 - (exit $ac_status); }; } &&
9288 - { ac_try='test -s conftest$ac_exeext'
9289 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 - (eval $ac_try) 2>&5
9292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 - (exit $ac_status); }; }; then
9294 + (exit $ac_status); } && {
9295 + test -z "$ac_c_werror_flag" ||
9296 + test ! -s conftest.err
9297 + } && test -s conftest$ac_exeext &&
9298 + $as_test_x conftest$ac_exeext; then
9299 ac_cv_prog_lex_yytext_pointer=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.$ac_ext >&5
9306 -rm -f conftest.err conftest.$ac_objext \
9308 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9309 conftest$ac_exeext conftest.$ac_ext
9311 -rm -f "${LEX_OUTPUT_ROOT}.c"
9314 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9315 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9316 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9317 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
9318 if test $ac_cv_prog_lex_yytext_pointer = yes; then
9320 cat >>confdefs.h <<\_ACEOF
9321 @@ -3098,15 +3840,18 @@
9325 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
9329 +if test "$LEX" = :; then
9330 + LEX=${am_missing_run}flex
9332 for ac_prog in 'bison -y' byacc
9334 # Extract the first word of "$ac_prog", so it can be a program name with args.
9335 set dummy $ac_prog; ac_word=$2
9336 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9337 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9338 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9340 if test "${ac_cv_prog_YACC+set}" = set; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 @@ -3119,25 +3864,27 @@
9345 test -z "$as_dir" && as_dir=.
9346 for ac_exec_ext in '' $ac_executable_extensions; do
9347 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9348 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_prog_YACC="$ac_prog"
9350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9359 YACC=$ac_cv_prog_YACC
9360 if test -n "$YACC"; then
9361 - echo "$as_me:$LINENO: result: $YACC" >&5
9362 -echo "${ECHO_T}$YACC" >&6
9363 + { echo "$as_me:$LINENO: result: $YACC" >&5
9364 +echo "${ECHO_T}$YACC" >&6; }
9366 - echo "$as_me:$LINENO: result: no" >&5
9367 -echo "${ECHO_T}no" >&6
9368 + { echo "$as_me:$LINENO: result: no" >&5
9369 +echo "${ECHO_T}no" >&6; }
9373 test -n "$YACC" && break
9375 test -n "$YACC" || YACC="yacc"
9376 @@ -3155,8 +3902,8 @@
9377 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9378 # OS/2's system install, which has a completely different semantic
9379 # ./install, which can be erroneously created by make from ./install.sh.
9380 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9381 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9382 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9383 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9384 if test -z "$INSTALL"; then
9385 if test "${ac_cv_path_install+set}" = set; then
9386 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 @@ -3178,7 +3925,7 @@
9389 for ac_prog in ginstall scoinst install; do
9390 for ac_exec_ext in '' $ac_executable_extensions; do
9391 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9392 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9393 if test $ac_prog = install &&
9394 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9395 # AIX install. It has an incompatible calling convention.
9396 @@ -3197,21 +3944,22 @@
9404 if test "${ac_cv_path_install+set}" = set; then
9405 INSTALL=$ac_cv_path_install
9407 - # As a last resort, use the slow shell script. We don't cache a
9408 - # path for INSTALL within a source directory, because that will
9409 + # As a last resort, use the slow shell script. Don't cache a
9410 + # value for INSTALL within a source directory, because that will
9411 # break other packages using the cache if that directory is
9412 - # removed, or if the path is relative.
9413 + # removed, or if the value is a relative name.
9414 INSTALL=$ac_install_sh
9417 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9418 -echo "${ECHO_T}$INSTALL" >&6
9419 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9420 +echo "${ECHO_T}$INSTALL" >&6; }
9422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9423 # It thinks the first close brace ends the variable substitution.
9424 @@ -3222,96 +3970,310 @@
9425 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9428 -# Check whether --enable-shared or --disable-shared was given.
9429 +# Check whether --enable-shared was given.
9430 if test "${enable_shared+set}" = set; then
9431 - enableval="$enable_shared"
9432 - p=${PACKAGE-default}
9434 -yes) enable_shared=yes ;;
9435 -no) enable_shared=no ;;
9438 - # Look at the argument we got. We use all the common list separators.
9439 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9440 - for pkg in $enableval; do
9441 - if test "X$pkg" = "X$p"; then
9445 - IFS="$ac_save_ifs"
9448 + enableval=$enable_shared; p=${PACKAGE-default}
9449 + case $enableval in
9450 + yes) enable_shared=yes ;;
9451 + no) enable_shared=no ;;
9454 + # Look at the argument we got. We use all the common list separators.
9455 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9456 + for pkg in $enableval; do
9457 + IFS="$lt_save_ifs"
9458 + if test "X$pkg" = "X$p"; then
9462 + IFS="$lt_save_ifs"
9468 -# Check whether --enable-static or --disable-static was given.
9472 +# Check whether --enable-static was given.
9473 if test "${enable_static+set}" = set; then
9474 - enableval="$enable_static"
9475 - p=${PACKAGE-default}
9477 -yes) enable_static=yes ;;
9478 -no) enable_static=no ;;
9479 + enableval=$enable_static; p=${PACKAGE-default}
9480 + case $enableval in
9481 + yes) enable_static=yes ;;
9482 + no) enable_static=no ;;
9485 + # Look at the argument we got. We use all the common list separators.
9486 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9487 + for pkg in $enableval; do
9488 + IFS="$lt_save_ifs"
9489 + if test "X$pkg" = "X$p"; then
9493 + IFS="$lt_save_ifs"
9501 +# Check whether --enable-fast-install was given.
9502 +if test "${enable_fast_install+set}" = set; then
9503 + enableval=$enable_fast_install; p=${PACKAGE-default}
9504 + case $enableval in
9505 + yes) enable_fast_install=yes ;;
9506 + no) enable_fast_install=no ;;
9508 + enable_fast_install=no
9509 + # Look at the argument we got. We use all the common list separators.
9510 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9511 + for pkg in $enableval; do
9512 + IFS="$lt_save_ifs"
9513 + if test "X$pkg" = "X$p"; then
9514 + enable_fast_install=yes
9517 + IFS="$lt_save_ifs"
9521 + enable_fast_install=yes
9525 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9526 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
9527 +if test "${lt_cv_path_SED+set}" = set; then
9528 + echo $ECHO_N "(cached) $ECHO_C" >&6
9530 + # Loop through the user's path and test for sed and gsed.
9531 +# Then use that list of sed's as ones to test for truncation.
9532 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 +for as_dir in $PATH
9536 + test -z "$as_dir" && as_dir=.
9537 + for lt_ac_prog in sed gsed; do
9538 + for ac_exec_ext in '' $ac_executable_extensions; do
9539 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9540 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9547 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9548 +# along with /bin/sed that truncates output.
9549 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9550 + test ! -f $lt_ac_sed && continue
9551 + cat /dev/null > conftest.in
9553 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9554 + # Check for GNU sed and select it if it is found.
9555 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9556 + lt_cv_path_SED=$lt_ac_sed
9560 + cat conftest.in conftest.in >conftest.tmp
9561 + mv conftest.tmp conftest.in
9562 + cp conftest.in conftest.nl
9563 + echo >>conftest.nl
9564 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9565 + cmp -s conftest.out conftest.nl || break
9566 + # 10000 chars as input seems more than enough
9567 + test $lt_ac_count -gt 10 && break
9568 + lt_ac_count=`expr $lt_ac_count + 1`
9569 + if test $lt_ac_count -gt $lt_ac_max; then
9570 + lt_ac_max=$lt_ac_count
9571 + lt_cv_path_SED=$lt_ac_sed
9578 +SED=$lt_cv_path_SED
9579 +{ echo "$as_me:$LINENO: result: $SED" >&5
9580 +echo "${ECHO_T}$SED" >&6; }
9582 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9583 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
9584 +if test "${ac_cv_path_GREP+set}" = set; then
9585 + echo $ECHO_N "(cached) $ECHO_C" >&6
9587 + # Extract the first word of "grep ggrep" to use in msg output
9588 +if test -z "$GREP"; then
9589 +set dummy grep ggrep; ac_prog_name=$2
9590 +if test "${ac_cv_path_GREP+set}" = set; then
9591 + echo $ECHO_N "(cached) $ECHO_C" >&6
9593 + ac_path_GREP_found=false
9594 +# Loop through the user's path and test for each of PROGNAME-LIST
9595 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9596 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9599 + test -z "$as_dir" && as_dir=.
9600 + for ac_prog in grep ggrep; do
9601 + for ac_exec_ext in '' $ac_executable_extensions; do
9602 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9603 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
9604 + # Check for GNU ac_path_GREP and select it if it is found.
9605 + # Check for GNU $ac_path_GREP
9606 +case `"$ac_path_GREP" --version 2>&1` in
9608 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9611 - # Look at the argument we got. We use all the common list separators.
9612 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9613 - for pkg in $enableval; do
9614 - if test "X$pkg" = "X$p"; then
9617 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9620 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9621 + mv "conftest.tmp" "conftest.in"
9622 + cp "conftest.in" "conftest.nl"
9623 + echo 'GREP' >> "conftest.nl"
9624 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9625 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9626 + ac_count=`expr $ac_count + 1`
9627 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
9628 + # Best one so far, save it but keep looking for a better one
9629 + ac_cv_path_GREP="$ac_path_GREP"
9630 + ac_path_GREP_max=$ac_count
9632 + # 10*(2^10) chars as input seems more than enough
9633 + test $ac_count -gt 10 && break
9635 - IFS="$ac_save_ifs"
9637 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9641 + $ac_path_GREP_found && break 3
9651 +GREP="$ac_cv_path_GREP"
9652 +if test -z "$GREP"; then
9653 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9654 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9655 + { (exit 1); exit 1; }; }
9661 -# Check whether --enable-fast-install or --disable-fast-install was given.
9662 -if test "${enable_fast_install+set}" = set; then
9663 - enableval="$enable_fast_install"
9664 - p=${PACKAGE-default}
9666 -yes) enable_fast_install=yes ;;
9667 -no) enable_fast_install=no ;;
9668 + ac_cv_path_GREP=$GREP
9673 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9674 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
9675 + GREP="$ac_cv_path_GREP"
9678 +{ echo "$as_me:$LINENO: checking for egrep" >&5
9679 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9680 +if test "${ac_cv_path_EGREP+set}" = set; then
9681 + echo $ECHO_N "(cached) $ECHO_C" >&6
9683 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9684 + then ac_cv_path_EGREP="$GREP -E"
9686 + # Extract the first word of "egrep" to use in msg output
9687 +if test -z "$EGREP"; then
9688 +set dummy egrep; ac_prog_name=$2
9689 +if test "${ac_cv_path_EGREP+set}" = set; then
9690 + echo $ECHO_N "(cached) $ECHO_C" >&6
9692 + ac_path_EGREP_found=false
9693 +# Loop through the user's path and test for each of PROGNAME-LIST
9694 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9695 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9698 + test -z "$as_dir" && as_dir=.
9699 + for ac_prog in egrep; do
9700 + for ac_exec_ext in '' $ac_executable_extensions; do
9701 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9702 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
9703 + # Check for GNU ac_path_EGREP and select it if it is found.
9704 + # Check for GNU $ac_path_EGREP
9705 +case `"$ac_path_EGREP" --version 2>&1` in
9707 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9709 - enable_fast_install=no
9710 - # Look at the argument we got. We use all the common list separators.
9711 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9712 - for pkg in $enableval; do
9713 - if test "X$pkg" = "X$p"; then
9714 - enable_fast_install=yes
9716 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9719 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9720 + mv "conftest.tmp" "conftest.in"
9721 + cp "conftest.in" "conftest.nl"
9722 + echo 'EGREP' >> "conftest.nl"
9723 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9724 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9725 + ac_count=`expr $ac_count + 1`
9726 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9727 + # Best one so far, save it but keep looking for a better one
9728 + ac_cv_path_EGREP="$ac_path_EGREP"
9729 + ac_path_EGREP_max=$ac_count
9731 + # 10*(2^10) chars as input seems more than enough
9732 + test $ac_count -gt 10 && break
9734 - IFS="$ac_save_ifs"
9736 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9740 + $ac_path_EGREP_found && break 3
9750 +EGREP="$ac_cv_path_EGREP"
9751 +if test -z "$EGREP"; then
9752 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9753 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9754 + { (exit 1); exit 1; }; }
9758 - enable_fast_install=yes
9760 -# Find the correct PATH separator. Usually this is `:', but
9761 -# DJGPP uses `;' like DOS.
9762 -if test "X${PATH_SEPARATOR+set}" != Xset; then
9763 - UNAME=${UNAME-`uname 2>/dev/null`}
9765 - *-DOS) lt_cv_sys_path_separator=';' ;;
9766 - *) lt_cv_sys_path_separator=':' ;;
9768 - PATH_SEPARATOR=$lt_cv_sys_path_separator
9769 + ac_cv_path_EGREP=$EGREP
9775 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9776 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9777 + EGREP="$ac_cv_path_EGREP"
9780 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
9782 +# Check whether --with-gnu-ld was given.
9783 if test "${with_gnu_ld+set}" = set; then
9784 - withval="$with_gnu_ld"
9785 - test "$withval" = no || with_gnu_ld=yes
9786 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9793 if test "$GCC" = yes; then
9794 # Check if gcc -print-prog-name=ld gives a path.
9795 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9796 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9797 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9798 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9801 # gcc leaves a trailing carriage return which upsets mingw
9802 @@ -3321,12 +4283,12 @@
9805 # Accept absolute paths.
9806 - [\\/]* | [A-Za-z]:[\\/]*)
9807 + [\\/]* | ?:[\\/]*)
9808 re_direlt='/[^/][^/]*/\.\./'
9809 - # Canonicalize the path of ld
9810 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9811 + # Canonicalize the pathname of ld
9812 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9813 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9814 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9815 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9817 test -z "$LD" && LD="$ac_prog"
9819 @@ -3340,32 +4302,36 @@
9822 elif test "$with_gnu_ld" = yes; then
9823 - echo "$as_me:$LINENO: checking for GNU ld" >&5
9824 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9825 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
9826 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9828 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9829 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9830 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9831 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9833 if test "${lt_cv_path_LD+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 if test -z "$LD"; then
9837 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9838 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9839 for ac_dir in $PATH; do
9840 + IFS="$lt_save_ifs"
9841 test -z "$ac_dir" && ac_dir=.
9842 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9843 lt_cv_path_LD="$ac_dir/$ac_prog"
9844 # Check to see if the program is GNU ld. I'd rather use --version,
9845 - # but apparently some GNU ld's only accept -v.
9846 + # but apparently some variants of GNU ld only accept -v.
9847 # Break only if it was the GNU/non-GNU ld that we prefer.
9848 - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9849 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9850 + *GNU* | *'with BFD'*)
9851 test "$with_gnu_ld" != no && break
9855 test "$with_gnu_ld" != yes && break
9861 - IFS="$ac_save_ifs"
9862 + IFS="$lt_save_ifs"
9864 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9866 @@ -3373,46 +4339,62 @@
9869 if test -n "$LD"; then
9870 - echo "$as_me:$LINENO: result: $LD" >&5
9871 -echo "${ECHO_T}$LD" >&6
9872 + { echo "$as_me:$LINENO: result: $LD" >&5
9873 +echo "${ECHO_T}$LD" >&6; }
9875 - echo "$as_me:$LINENO: result: no" >&5
9876 -echo "${ECHO_T}no" >&6
9877 + { echo "$as_me:$LINENO: result: no" >&5
9878 +echo "${ECHO_T}no" >&6; }
9880 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9881 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9882 { (exit 1); exit 1; }; }
9883 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9884 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9885 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9886 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9887 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9888 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9891 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9892 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
9893 +case `$LD -v 2>&1 </dev/null` in
9894 +*GNU* | *'with BFD'*)
9895 lt_cv_prog_gnu_ld=yes
9899 lt_cv_prog_gnu_ld=no
9904 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9905 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9906 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9907 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9908 with_gnu_ld=$lt_cv_prog_gnu_ld
9911 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9912 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
9913 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9914 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
9915 if test "${lt_cv_ld_reload_flag+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 lt_cv_ld_reload_flag='-r'
9920 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9921 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9922 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9923 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
9924 reload_flag=$lt_cv_ld_reload_flag
9925 -test -n "$reload_flag" && reload_flag=" $reload_flag"
9926 +case $reload_flag in
9928 +*) reload_flag=" $reload_flag" ;;
9930 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
9933 + if test "$GCC" = yes; then
9934 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9936 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
9941 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9942 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
9943 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9944 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
9945 if test "${lt_cv_path_NM+set}" = set; then
9946 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 @@ -3420,134 +4402,63 @@
9949 # Let the user override the test.
9952 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9953 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
9954 - test -z "$ac_dir" && ac_dir=.
9955 - tmp_nm=$ac_dir/${ac_tool_prefix}nm
9956 - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
9957 - # Check to see if the nm accepts a BSD-compat flag.
9958 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9959 - # nm: unknown option "B" ignored
9960 - # Tru64's nm complains that /dev/null is an invalid object file
9961 - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
9962 - lt_cv_path_NM="$tmp_nm -B"
9964 - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9965 - lt_cv_path_NM="$tmp_nm -p"
9968 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9969 - continue # so that we can try to find one that supports BSD flags
9973 - IFS="$ac_save_ifs"
9974 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
9978 -NM="$lt_cv_path_NM"
9979 -echo "$as_me:$LINENO: result: $NM" >&5
9980 -echo "${ECHO_T}$NM" >&6
9982 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9983 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9984 -if test "${lt_cv_path_SED+set}" = set; then
9985 - echo $ECHO_N "(cached) $ECHO_C" >&6
9987 - # Loop through the user's path and test for sed and gsed.
9988 -# Then use that list of sed's as ones to test for truncation.
9989 -as_executable_p="test -f"
9990 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9991 -for as_dir in $PATH
9994 - test -z "$as_dir" && as_dir=.
9995 - for ac_prog in sed gsed; do
9996 - for ac_exec_ext in '' $ac_executable_extensions; do
9997 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9998 - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
10004 - # Create a temporary directory, and hook for its removal unless debugging.
10007 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10008 - trap '{ (exit 1); exit 1; }' 1 2 13 15
10011 -# Create a (secure) tmp directory for tmp files.
10014 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
10015 - test -n "$tmp" && test -d "$tmp"
10018 - tmp=$TMPDIR/sed$$-$RANDOM
10019 - (umask 077 && mkdir $tmp)
10022 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10023 - { (exit 1); exit 1; }
10027 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10028 - # along with /bin/sed that truncates output.
10029 - for _sed in $_sed_list /usr/xpg4/bin/sed; do
10030 - test ! -f ${_sed} && break
10031 - cat /dev/null > "$tmp/sed.in"
10033 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
10034 - # Check for GNU sed and select it if it is found.
10035 - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
10036 - lt_cv_path_SED=${_sed}
10040 - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
10041 - mv "$tmp/sed.tmp" "$tmp/sed.in"
10042 - cp "$tmp/sed.in" "$tmp/sed.nl"
10043 - echo >>"$tmp/sed.nl"
10044 - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
10045 - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
10046 - # 40000 chars as input seems more than enough
10047 - test $_count -gt 10 && break
10048 - _count=`expr $_count + 1`
10049 - if test $_count -gt $_max; then
10051 - lt_cv_path_SED=$_sed
10052 + lt_nm_to_check="${ac_tool_prefix}nm"
10053 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10054 + lt_nm_to_check="$lt_nm_to_check nm"
10056 + for lt_tmp_nm in $lt_nm_to_check; do
10057 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10058 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10059 + IFS="$lt_save_ifs"
10060 + test -z "$ac_dir" && ac_dir=.
10061 + tmp_nm="$ac_dir/$lt_tmp_nm"
10062 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10063 + # Check to see if the nm accepts a BSD-compat flag.
10064 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10065 + # nm: unknown option "B" ignored
10066 + # Tru64's nm complains that /dev/null is an invalid object file
10067 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10068 + */dev/null* | *'Invalid file or object type'*)
10069 + lt_cv_path_NM="$tmp_nm -B"
10073 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10075 + lt_cv_path_NM="$tmp_nm -p"
10079 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10080 + continue # so that we can try to find one that supports BSD flags
10087 + IFS="$lt_save_ifs"
10091 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10094 -if test "X$SED" != "X"; then
10095 - lt_cv_path_SED=$SED
10097 - SED=$lt_cv_path_SED
10099 -echo "$as_me:$LINENO: result: $SED" >&5
10100 -echo "${ECHO_T}$SED" >&6
10101 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10102 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
10103 +NM="$lt_cv_path_NM"
10105 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
10106 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10107 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
10108 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10110 if test "$LN_S" = "ln -s"; then
10111 - echo "$as_me:$LINENO: result: yes" >&5
10112 -echo "${ECHO_T}yes" >&6
10113 + { echo "$as_me:$LINENO: result: yes" >&5
10114 +echo "${ECHO_T}yes" >&6; }
10116 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10117 -echo "${ECHO_T}no, using $LN_S" >&6
10118 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10119 +echo "${ECHO_T}no, using $LN_S" >&6; }
10122 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10123 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10124 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10125 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
10126 if test "${lt_cv_deplibs_check_method+set}" = set; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 @@ -3561,7 +4472,7 @@
10130 # 'pass_all' -- all dependencies passed with no checks.
10131 # 'test_compile' -- check by making test program.
10132 # 'file_magic [[regex]]' -- check by looking for files in library path
10133 -# which responds to the $file_magic_cmd with a given egrep regex.
10134 +# which responds to the $file_magic_cmd with a given extended regex.
10135 # If you have `file' or equivalent on your system and you're not sure
10136 # whether `pass_all' will *always* work, you probably want this one.
10138 @@ -3574,37 +4485,36 @@
10139 lt_cv_deplibs_check_method=pass_all
10144 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10145 lt_cv_file_magic_cmd='/usr/bin/file -L'
10146 lt_cv_file_magic_test_file=/shlib/libc.so
10149 -cygwin* | mingw* | pw32*)
10151 + # func_win32_libid is a shell function defined in ltmain.sh
10152 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10153 + lt_cv_file_magic_cmd='func_win32_libid'
10157 + # Base MSYS/MinGW do not provide the 'file' command needed by
10158 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10159 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10160 lt_cv_file_magic_cmd='$OBJDUMP -f'
10163 darwin* | rhapsody*)
10164 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
10165 - lt_cv_file_magic_cmd='/usr/bin/file -L'
10166 - case "$host_os" in
10167 - rhapsody* | darwin1.[012])
10168 - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
10170 - *) # Darwin 1.3 on
10171 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
10174 + lt_cv_deplibs_check_method=pass_all
10178 +freebsd* | dragonfly*)
10179 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10182 # Not sure whether the presence of OpenBSD here was a mistake.
10183 # Let's accept both of them until this is cleared up.
10184 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10185 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10186 lt_cv_file_magic_cmd=/usr/bin/file
10187 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10189 @@ -3618,50 +4528,49 @@
10190 lt_cv_deplibs_check_method=pass_all
10193 -hpux10.20*|hpux11*)
10194 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10195 +hpux10.20* | hpux11*)
10196 lt_cv_file_magic_cmd=/usr/bin/file
10197 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
10200 -irix5* | irix6* | nonstopux*)
10202 - irix5* | nonstopux*)
10203 - # this will be overridden with pass_all, but let us keep it just in case
10204 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
10205 + case $host_cpu in
10207 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10208 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10211 + 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]'
10212 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10216 - *-32|*"-32 ") libmagic=32-bit;;
10217 - *-n32|*"-n32 ") libmagic=N32;;
10218 - *-64|*"-64 ") libmagic=64-bit;;
10219 - *) libmagic=never-match;;
10221 - # this will be overridden with pass_all, but let us keep it just in case
10222 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
10223 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10224 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
10227 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
10231 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10232 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10235 +irix5* | irix6* | nonstopux*)
10237 + *-32|*"-32 ") libmagic=32-bit;;
10238 + *-n32|*"-n32 ") libmagic=N32;;
10239 + *-64|*"-64 ") libmagic=64-bit;;
10240 + *) libmagic=never-match;;
10242 lt_cv_deplibs_check_method=pass_all
10245 # This must be Linux ELF.
10247 - case $host_cpu in
10248 - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
10249 - lt_cv_deplibs_check_method=pass_all ;;
10251 - # glibc up to 2.1.1 does not perform some relocations on ARM
10252 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
10254 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
10255 +linux* | k*bsd*-gnu)
10256 + lt_cv_deplibs_check_method=pass_all
10260 +netbsd* | netbsdelf*-gnu)
10261 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10262 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
10263 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10265 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
10266 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10270 @@ -3671,37 +4580,27 @@
10271 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10275 + lt_cv_deplibs_check_method=unknown
10279 - lt_cv_file_magic_cmd=/usr/bin/file
10280 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10281 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10282 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10283 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10285 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10286 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10290 osf3* | osf4* | osf5*)
10291 - # this will be overridden with pass_all, but let us keep it just in case
10292 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
10293 - lt_cv_file_magic_test_file=/shlib/libc.so
10294 - lt_cv_deplibs_check_method=pass_all
10298 lt_cv_deplibs_check_method=pass_all
10302 lt_cv_deplibs_check_method=pass_all
10303 - lt_cv_file_magic_test_file=/lib/libc.so
10306 -sysv5uw[78]* | sysv4*uw2*)
10307 - lt_cv_deplibs_check_method=pass_all
10310 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10312 case $host_vendor in
10314 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]'
10315 @@ -3722,227 +4621,253 @@
10317 lt_cv_deplibs_check_method=pass_all
10320 + lt_cv_deplibs_check_method=pass_all
10325 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10326 + lt_cv_deplibs_check_method=pass_all
10331 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10332 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10333 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10334 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
10335 file_magic_cmd=$lt_cv_file_magic_cmd
10336 deplibs_check_method=$lt_cv_deplibs_check_method
10337 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
10342 +# If no C compiler was specified, use CC.
10343 +LTCC=${LTCC-"$CC"}
10345 +# If no C compiler flags were specified, use CFLAGS.
10346 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10348 +# Allow CC to be a program name with arguments.
10351 -# Check for command to grab the raw symbol name followed by C symbol from nm.
10352 -echo "$as_me:$LINENO: checking command to parse $NM output" >&5
10353 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
10354 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10355 - echo $ECHO_N "(cached) $ECHO_C" >&6
10358 -# These are sane defaults that work on at least a few old systems.
10359 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
10361 -# Character class describing NM global symbol codes.
10362 -symcode='[BCDEGRST]'
10364 -# Regexp to match symbols that can be accessed directly from C.
10365 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10367 -# Transform the above into a raw symbol and a C symbol.
10368 -symxfrm='\1 \2\3 \3'
10370 -# Transform an extracted symbol line into a proper C declaration
10371 -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
10373 -# Transform an extracted symbol line into symbol name and symbol address
10374 -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'"
10376 -# Define system-specific variables.
10381 -cygwin* | mingw* | pw32*)
10382 - symcode='[ABCDGISTW]'
10384 -hpux*) # Its linker distinguishes data from code symbols
10385 - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10386 - 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'"
10388 -irix* | nonstopux*)
10389 - symcode='[BCDEGRST]'
10392 - symcode='[BCDEGQRST]'
10394 -solaris* | sysv5*)
10398 - symcode='[DFNSTU]'
10402 -# Handle CRLF in mingw tool chain
10406 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10410 -# If we're using GNU nm, then use its standard symbol codes.
10411 -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
10412 - symcode='[ABCDGISTW]'
10413 +# Check whether --enable-libtool-lock was given.
10414 +if test "${enable_libtool_lock+set}" = set; then
10415 + enableval=$enable_libtool_lock;
10418 -# Try without a prefix undercore, then with it.
10419 -for ac_symprfx in "" "_"; do
10421 - # Write the raw and C identifiers.
10422 -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
10424 - # Check to see that the pipe works correctly.
10427 - cat > conftest.$ac_ext <<EOF
10428 -#ifdef __cplusplus
10432 -void nm_test_func(){}
10433 -#ifdef __cplusplus
10436 -int main(){nm_test_var='a';nm_test_func();return(0);}
10438 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10440 +# Some flags need to be propagated to the compiler or linker for good
10441 +# libtool support.
10444 + # Find out which ABI we are using.
10445 + echo 'int i;' > conftest.$ac_ext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 (eval $ac_compile) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; then
10451 - # Now try to grab the symbols.
10452 - nlist=conftest.nm
10453 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10454 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10455 + case `/usr/bin/file conftest.$ac_objext` in
10457 + HPUX_IA64_MODE="32"
10460 + HPUX_IA64_MODE="64"
10467 + # Find out which ABI we are using.
10468 + echo '#line 4685 "configure"' > conftest.$ac_ext
10469 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10470 + (eval $ac_compile) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 - (exit $ac_status); } && test -s "$nlist"; then
10474 - # Try sorting and uniquifying the output.
10475 - if sort "$nlist" | uniq > "$nlist"T; then
10476 - mv -f "$nlist"T "$nlist"
10481 - # Make sure that we snagged all the symbols we need.
10482 - if egrep ' nm_test_var$' "$nlist" >/dev/null; then
10483 - if egrep ' nm_test_func$' "$nlist" >/dev/null; then
10484 - cat <<EOF > conftest.$ac_ext
10485 -#ifdef __cplusplus
10490 - # Now generate the symbol file.
10491 - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
10493 - cat <<EOF >> conftest.$ac_ext
10494 -#if defined (__STDC__) && __STDC__
10495 -# define lt_ptr void *
10497 -# define lt_ptr char *
10501 -/* The mapping between symbol names and symbols. */
10503 - const char *name;
10506 -lt_preloaded_symbols[] =
10509 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
10510 - cat <<\EOF >> conftest.$ac_ext
10513 + (exit $ac_status); }; then
10514 + if test "$lt_cv_prog_gnu_ld" = yes; then
10515 + case `/usr/bin/file conftest.$ac_objext` in
10517 + LD="${LD-ld} -melf32bsmip"
10520 + LD="${LD-ld} -melf32bmipn32"
10523 + LD="${LD-ld} -melf64bmip"
10527 + case `/usr/bin/file conftest.$ac_objext` in
10529 + LD="${LD-ld} -32"
10532 + LD="${LD-ld} -n32"
10535 + LD="${LD-ld} -64"
10543 -#ifdef __cplusplus
10547 - # Now try linking the two files.
10548 - mv conftest.$ac_objext conftstm.$ac_objext
10549 - save_LIBS="$LIBS"
10550 - save_CFLAGS="$CFLAGS"
10551 - LIBS="conftstm.$ac_objext"
10552 - CFLAGS="$CFLAGS$no_builtin_flag"
10553 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10554 - (eval $ac_link) 2>&5
10555 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10556 + # Find out which ABI we are using.
10557 + echo 'int i;' > conftest.$ac_ext
10558 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 + (eval $ac_compile) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 - (exit $ac_status); } && test -s conftest$ac_exeext; then
10565 - LIBS="$save_LIBS"
10566 - CFLAGS="$save_CFLAGS"
10568 - echo "cannot find nm_test_func in $nlist" >&5
10571 - echo "cannot find nm_test_var in $nlist" >&5
10574 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10577 - echo "$progname: failed program was:" >&5
10578 - cat conftest.$ac_ext >&5
10579 + (exit $ac_status); }; then
10580 + case `/usr/bin/file conftest.o` in
10584 + LD="${LD-ld} -m elf_i386"
10586 + ppc64-*linux*|powerpc64-*linux*)
10587 + LD="${LD-ld} -m elf32ppclinux"
10590 + LD="${LD-ld} -m elf_s390"
10593 + LD="${LD-ld} -m elf32_sparc"
10600 + LD="${LD-ld} -m elf_x86_64"
10602 + ppc*-*linux*|powerpc*-*linux*)
10603 + LD="${LD-ld} -m elf64ppc"
10606 + LD="${LD-ld} -m elf64_s390"
10609 + LD="${LD-ld} -m elf64_sparc"
10615 - rm -f conftest* conftst*
10619 - # Do not use the global_symbol_pipe unless it works.
10620 - if test "$pipe_works" = yes; then
10623 - lt_cv_sys_global_symbol_pipe=
10627 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10628 + SAVE_CFLAGS="$CFLAGS"
10629 + CFLAGS="$CFLAGS -belf"
10630 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10631 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
10632 +if test "${lt_cv_cc_needs_belf+set}" = set; then
10633 + echo $ECHO_N "(cached) $ECHO_C" >&6
10636 +ac_cpp='$CPP $CPPFLAGS'
10637 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10638 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10639 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10642 + cat >conftest.$ac_ext <<_ACEOF
10645 +cat confdefs.h >>conftest.$ac_ext
10646 +cat >>conftest.$ac_ext <<_ACEOF
10647 +/* end confdefs.h. */
10649 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
10650 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
10651 - global_symbol_to_cdecl=
10652 - global_symbol_to_c_name_address=
10661 +rm -f conftest.$ac_objext conftest$ac_exeext
10662 +if { (ac_try="$ac_link"
10663 +case "(($ac_try" in
10664 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10665 + *) ac_try_echo=$ac_try;;
10667 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10668 + (eval "$ac_link") 2>conftest.er1
10670 + grep -v '^ *+' conftest.er1 >conftest.err
10671 + rm -f conftest.er1
10672 + cat conftest.err >&5
10673 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 + (exit $ac_status); } && {
10675 + test -z "$ac_c_werror_flag" ||
10676 + test ! -s conftest.err
10677 + } && test -s conftest$ac_exeext &&
10678 + $as_test_x conftest$ac_exeext; then
10679 + lt_cv_cc_needs_belf=yes
10681 - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
10682 - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
10683 + echo "$as_me: failed program was:" >&5
10684 +sed 's/^/| /' conftest.$ac_ext >&5
10686 + lt_cv_cc_needs_belf=no
10688 -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
10690 - echo "$as_me:$LINENO: result: failed" >&5
10691 -echo "${ECHO_T}failed" >&6
10693 - echo "$as_me:$LINENO: result: ok" >&5
10694 -echo "${ECHO_T}ok" >&6
10696 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10697 + conftest$ac_exeext conftest.$ac_ext
10699 +ac_cpp='$CPP $CPPFLAGS'
10700 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10701 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10702 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10705 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10706 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
10707 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10708 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10709 + CFLAGS="$SAVE_CFLAGS"
10713 + # Find out which ABI we are using.
10714 + echo 'int i;' > conftest.$ac_ext
10715 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716 + (eval $ac_compile) 2>&5
10718 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 + (exit $ac_status); }; then
10720 + case `/usr/bin/file conftest.o` in
10722 + case $lt_cv_prog_gnu_ld in
10723 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
10724 + *) LD="${LD-ld} -64" ;;
10735 +need_locks="$enable_libtool_lock"
10739 ac_cpp='$CPP $CPPFLAGS'
10740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10743 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10744 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10745 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10746 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10747 # On Suns, sometimes $CPP names a directory.
10748 if test -n "$CPP" && test -d "$CPP"; then
10750 @@ -3976,24 +4901,22 @@
10754 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10755 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10756 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10757 +case "(($ac_try" in
10758 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10759 + *) ac_try_echo=$ac_try;;
10761 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10762 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10764 grep -v '^ *+' conftest.er1 >conftest.err
10766 cat conftest.err >&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 - (exit $ac_status); } >/dev/null; then
10769 - if test -s conftest.err; then
10770 - ac_cpp_err=$ac_c_preproc_warn_flag
10771 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10778 -if test -z "$ac_cpp_err"; then
10779 + (exit $ac_status); } >/dev/null && {
10780 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10781 + test ! -s conftest.err
10785 echo "$as_me: failed program was:" >&5
10786 @@ -4002,9 +4925,10 @@
10787 # Broken: fails on valid input.
10791 rm -f conftest.err conftest.$ac_ext
10793 - # OK, works on sane cases. Now check whether non-existent headers
10794 + # OK, works on sane cases. Now check whether nonexistent headers
10795 # can be detected and how.
10796 cat >conftest.$ac_ext <<_ACEOF
10798 @@ -4014,24 +4938,22 @@
10799 /* end confdefs.h. */
10800 #include <ac_nonexistent.h>
10802 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10803 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10804 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10805 +case "(($ac_try" in
10806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10807 + *) ac_try_echo=$ac_try;;
10809 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10810 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10812 grep -v '^ *+' conftest.er1 >conftest.err
10814 cat conftest.err >&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 - (exit $ac_status); } >/dev/null; then
10817 - if test -s conftest.err; then
10818 - ac_cpp_err=$ac_c_preproc_warn_flag
10819 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10826 -if test -z "$ac_cpp_err"; then
10827 + (exit $ac_status); } >/dev/null && {
10828 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10829 + test ! -s conftest.err
10831 # Broken: success on invalid input.
10834 @@ -4042,6 +4964,7 @@
10839 rm -f conftest.err conftest.$ac_ext
10842 @@ -4059,8 +4982,8 @@
10844 ac_cv_prog_CPP=$CPP
10846 -echo "$as_me:$LINENO: result: $CPP" >&5
10847 -echo "${ECHO_T}$CPP" >&6
10848 +{ echo "$as_me:$LINENO: result: $CPP" >&5
10849 +echo "${ECHO_T}$CPP" >&6; }
10850 ac_preproc_ok=false
10851 for ac_c_preproc_warn_flag in '' yes
10853 @@ -4083,24 +5006,22 @@
10857 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10858 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10859 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10860 +case "(($ac_try" in
10861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10862 + *) ac_try_echo=$ac_try;;
10864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10865 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10867 grep -v '^ *+' conftest.er1 >conftest.err
10869 cat conftest.err >&5
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 - (exit $ac_status); } >/dev/null; then
10872 - if test -s conftest.err; then
10873 - ac_cpp_err=$ac_c_preproc_warn_flag
10874 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10881 -if test -z "$ac_cpp_err"; then
10882 + (exit $ac_status); } >/dev/null && {
10883 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10884 + test ! -s conftest.err
10888 echo "$as_me: failed program was:" >&5
10889 @@ -4109,9 +5030,10 @@
10890 # Broken: fails on valid input.
10894 rm -f conftest.err conftest.$ac_ext
10896 - # OK, works on sane cases. Now check whether non-existent headers
10897 + # OK, works on sane cases. Now check whether nonexistent headers
10898 # can be detected and how.
10899 cat >conftest.$ac_ext <<_ACEOF
10901 @@ -4121,24 +5043,22 @@
10902 /* end confdefs.h. */
10903 #include <ac_nonexistent.h>
10905 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10906 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10907 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10908 +case "(($ac_try" in
10909 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10910 + *) ac_try_echo=$ac_try;;
10912 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10913 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10915 grep -v '^ *+' conftest.er1 >conftest.err
10917 cat conftest.err >&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 - (exit $ac_status); } >/dev/null; then
10920 - if test -s conftest.err; then
10921 - ac_cpp_err=$ac_c_preproc_warn_flag
10922 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10929 -if test -z "$ac_cpp_err"; then
10930 + (exit $ac_status); } >/dev/null && {
10931 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10932 + test ! -s conftest.err
10934 # Broken: success on invalid input.
10937 @@ -4149,6 +5069,7 @@
10942 rm -f conftest.err conftest.$ac_ext
10945 @@ -4171,23 +5092,8 @@
10946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10949 -echo "$as_me:$LINENO: checking for egrep" >&5
10950 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10951 -if test "${ac_cv_prog_egrep+set}" = set; then
10952 - echo $ECHO_N "(cached) $ECHO_C" >&6
10954 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10955 - then ac_cv_prog_egrep='grep -E'
10956 - else ac_cv_prog_egrep='egrep'
10959 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10960 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10961 - EGREP=$ac_cv_prog_egrep
10964 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10965 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10966 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10967 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10968 if test "${ac_cv_header_stdc+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 @@ -4211,34 +5117,31 @@
10974 rm -f conftest.$ac_objext
10975 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10976 - (eval $ac_compile) 2>conftest.er1
10977 +if { (ac_try="$ac_compile"
10978 +case "(($ac_try" in
10979 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10980 + *) ac_try_echo=$ac_try;;
10982 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10983 + (eval "$ac_compile") 2>conftest.er1
10985 grep -v '^ *+' conftest.er1 >conftest.err
10987 cat conftest.err >&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 - (exit $ac_status); } &&
10990 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 - (eval $ac_try) 2>&5
10994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 - (exit $ac_status); }; } &&
10996 - { ac_try='test -s conftest.$ac_objext'
10997 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 - (eval $ac_try) 2>&5
11000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 - (exit $ac_status); }; }; then
11002 + (exit $ac_status); } && {
11003 + test -z "$ac_c_werror_flag" ||
11004 + test ! -s conftest.err
11005 + } && test -s conftest.$ac_objext; then
11006 ac_cv_header_stdc=yes
11008 echo "$as_me: failed program was:" >&5
11009 sed 's/^/| /' conftest.$ac_ext >&5
11011 -ac_cv_header_stdc=no
11012 + ac_cv_header_stdc=no
11014 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11016 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11018 if test $ac_cv_header_stdc = yes; then
11019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11020 @@ -4294,6 +5197,7 @@
11021 cat >>conftest.$ac_ext <<_ACEOF
11022 /* end confdefs.h. */
11024 +#include <stdlib.h>
11025 #if ((' ' & 0x0FF) == 0x020)
11026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11028 @@ -4313,18 +5217,27 @@
11029 for (i = 0; i < 256; i++)
11030 if (XOR (islower (i), ISLOWER (i))
11031 || toupper (i) != TOUPPER (i))
11038 rm -f conftest$ac_exeext
11039 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11040 - (eval $ac_link) 2>&5
11041 +if { (ac_try="$ac_link"
11042 +case "(($ac_try" in
11043 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11044 + *) ac_try_echo=$ac_try;;
11046 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 + (eval "$ac_link") 2>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11051 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 - (eval $ac_try) 2>&5
11053 + { (case "(($ac_try" in
11054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 + *) ac_try_echo=$ac_try;;
11057 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 + (eval "$ac_try") 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 @@ -4337,12 +5250,14 @@
11063 ( exit $ac_status )
11064 ac_cv_header_stdc=no
11066 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11067 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11073 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11074 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
11075 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11076 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11077 if test $ac_cv_header_stdc = yes; then
11079 cat >>confdefs.h <<\_ACEOF
11080 @@ -4365,9 +5280,9 @@
11081 inttypes.h stdint.h unistd.h
11083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11084 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11085 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11086 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11087 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11088 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11089 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11090 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 cat >conftest.$ac_ext <<_ACEOF
11093 @@ -4381,37 +5296,35 @@
11094 #include <$ac_header>
11096 rm -f conftest.$ac_objext
11097 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11098 - (eval $ac_compile) 2>conftest.er1
11099 +if { (ac_try="$ac_compile"
11100 +case "(($ac_try" in
11101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11102 + *) ac_try_echo=$ac_try;;
11104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11105 + (eval "$ac_compile") 2>conftest.er1
11107 grep -v '^ *+' conftest.er1 >conftest.err
11109 cat conftest.err >&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 - (exit $ac_status); } &&
11112 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114 - (eval $ac_try) 2>&5
11116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 - (exit $ac_status); }; } &&
11118 - { ac_try='test -s conftest.$ac_objext'
11119 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 - (eval $ac_try) 2>&5
11122 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 - (exit $ac_status); }; }; then
11124 + (exit $ac_status); } && {
11125 + test -z "$ac_c_werror_flag" ||
11126 + test ! -s conftest.err
11127 + } && test -s conftest.$ac_objext; then
11128 eval "$as_ac_Header=yes"
11130 echo "$as_me: failed program was:" >&5
11131 sed 's/^/| /' conftest.$ac_ext >&5
11133 -eval "$as_ac_Header=no"
11134 + eval "$as_ac_Header=no"
11136 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11138 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11140 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11141 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11142 +ac_res=`eval echo '${'$as_ac_Header'}'`
11143 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11144 +echo "${ECHO_T}$ac_res" >&6; }
11145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11146 cat >>confdefs.h <<_ACEOF
11147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11148 @@ -4426,18 +5339,19 @@
11149 for ac_header in dlfcn.h
11151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11152 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11153 - echo "$as_me:$LINENO: checking for $ac_header" >&5
11154 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11155 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11156 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11157 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
11158 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11159 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11163 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11164 +ac_res=`eval echo '${'$as_ac_Header'}'`
11165 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11166 +echo "${ECHO_T}$ac_res" >&6; }
11168 # Is the header compilable?
11169 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
11170 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11171 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11172 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11173 cat >conftest.$ac_ext <<_ACEOF
11176 @@ -4448,40 +5362,37 @@
11177 #include <$ac_header>
11179 rm -f conftest.$ac_objext
11180 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11181 - (eval $ac_compile) 2>conftest.er1
11182 +if { (ac_try="$ac_compile"
11183 +case "(($ac_try" in
11184 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11185 + *) ac_try_echo=$ac_try;;
11187 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11188 + (eval "$ac_compile") 2>conftest.er1
11190 grep -v '^ *+' conftest.er1 >conftest.err
11192 cat conftest.err >&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 - (exit $ac_status); } &&
11195 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 - (eval $ac_try) 2>&5
11199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 - (exit $ac_status); }; } &&
11201 - { ac_try='test -s conftest.$ac_objext'
11202 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 - (eval $ac_try) 2>&5
11205 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 - (exit $ac_status); }; }; then
11207 + (exit $ac_status); } && {
11208 + test -z "$ac_c_werror_flag" ||
11209 + test ! -s conftest.err
11210 + } && test -s conftest.$ac_objext; then
11211 ac_header_compiler=yes
11213 echo "$as_me: failed program was:" >&5
11214 sed 's/^/| /' conftest.$ac_ext >&5
11216 -ac_header_compiler=no
11217 + ac_header_compiler=no
11219 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11220 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11221 -echo "${ECHO_T}$ac_header_compiler" >&6
11223 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11224 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11225 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11227 # Is the header present?
11228 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
11229 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11230 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11231 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11232 cat >conftest.$ac_ext <<_ACEOF
11235 @@ -4490,24 +5401,22 @@
11236 /* end confdefs.h. */
11237 #include <$ac_header>
11239 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11240 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11241 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11242 +case "(($ac_try" in
11243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11244 + *) ac_try_echo=$ac_try;;
11246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11247 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11249 grep -v '^ *+' conftest.er1 >conftest.err
11251 cat conftest.err >&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 - (exit $ac_status); } >/dev/null; then
11254 - if test -s conftest.err; then
11255 - ac_cpp_err=$ac_c_preproc_warn_flag
11256 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11263 -if test -z "$ac_cpp_err"; then
11264 + (exit $ac_status); } >/dev/null && {
11265 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11266 + test ! -s conftest.err
11268 ac_header_preproc=yes
11270 echo "$as_me: failed program was:" >&5
11271 @@ -4515,9 +5424,10 @@
11273 ac_header_preproc=no
11276 rm -f conftest.err conftest.$ac_ext
11277 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11278 -echo "${ECHO_T}$ac_header_preproc" >&6
11279 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11280 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11282 # So? What about this header?
11283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11284 @@ -4541,25 +5451,19 @@
11285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11290 -## ------------------------------------------ ##
11291 -## Report this to the AC_PACKAGE_NAME lists. ##
11292 -## ------------------------------------------ ##
11295 - sed "s/^/$as_me: WARNING: /" >&2
11299 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11300 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11301 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11302 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11303 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11304 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 eval "$as_ac_Header=\$ac_header_preproc"
11309 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11310 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11311 +ac_res=`eval echo '${'$as_ac_Header'}'`
11312 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11313 +echo "${ECHO_T}$ac_res" >&6; }
11316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11317 @@ -4571,198 +5475,71 @@
11326 -# Only perform the check for file, if the check method requires it
11327 -case $deplibs_check_method in
11329 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11330 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11331 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11332 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11334 +ac_cpp='$CXXCPP $CPPFLAGS'
11335 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11336 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11337 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11338 +if test -z "$CXX"; then
11339 + if test -n "$CCC"; then
11342 + if test -n "$ac_tool_prefix"; then
11343 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11345 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11346 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11347 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11348 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11349 +if test "${ac_cv_prog_CXX+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 - case $MAGIC_CMD in
11354 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11357 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11360 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11361 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11362 - ac_dummy="/usr/bin:$PATH"
11363 - for ac_dir in $ac_dummy; do
11364 - test -z "$ac_dir" && ac_dir=.
11365 - if test -f $ac_dir/${ac_tool_prefix}file; then
11366 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11367 - if test -n "$file_magic_test_file"; then
11368 - case $deplibs_check_method in
11370 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11371 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11372 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11373 - egrep "$file_magic_regex" > /dev/null; then
11378 -*** Warning: the command libtool uses to detect shared libraries,
11379 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11380 -*** The result is that libtool may fail to recognize shared libraries
11381 -*** as such. This will affect the creation of libtool libraries that
11382 -*** depend on shared libraries, but programs linked with such libtool
11383 -*** libraries will work regardless of this problem. Nevertheless, you
11384 -*** may want to report the problem to your system manager and/or to
11385 -*** bug-libtool@gnu.org
11386 + if test -n "$CXX"; then
11387 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
11389 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11390 +for as_dir in $PATH
11393 + test -z "$as_dir" && as_dir=.
11394 + for ac_exec_ext in '' $ac_executable_extensions; do
11395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11396 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11397 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 - IFS="$ac_save_ifs"
11412 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11417 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11418 -if test -n "$MAGIC_CMD"; then
11419 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11420 -echo "${ECHO_T}$MAGIC_CMD" >&6
11422 +CXX=$ac_cv_prog_CXX
11423 +if test -n "$CXX"; then
11424 + { echo "$as_me:$LINENO: result: $CXX" >&5
11425 +echo "${ECHO_T}$CXX" >&6; }
11427 - echo "$as_me:$LINENO: result: no" >&5
11428 -echo "${ECHO_T}no" >&6
11429 + { echo "$as_me:$LINENO: result: no" >&5
11430 +echo "${ECHO_T}no" >&6; }
11433 -if test -z "$lt_cv_path_MAGIC_CMD"; then
11434 - if test -n "$ac_tool_prefix"; then
11435 - echo "$as_me:$LINENO: checking for file" >&5
11436 -echo $ECHO_N "checking for file... $ECHO_C" >&6
11437 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11439 + test -n "$CXX" && break
11442 +if test -z "$CXX"; then
11444 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11446 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11447 +set dummy $ac_prog; ac_word=$2
11448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11450 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 - case $MAGIC_CMD in
11455 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11458 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11461 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11462 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11463 - ac_dummy="/usr/bin:$PATH"
11464 - for ac_dir in $ac_dummy; do
11465 - test -z "$ac_dir" && ac_dir=.
11466 - if test -f $ac_dir/file; then
11467 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
11468 - if test -n "$file_magic_test_file"; then
11469 - case $deplibs_check_method in
11471 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11472 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11473 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11474 - egrep "$file_magic_regex" > /dev/null; then
11479 -*** Warning: the command libtool uses to detect shared libraries,
11480 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11481 -*** The result is that libtool may fail to recognize shared libraries
11482 -*** as such. This will affect the creation of libtool libraries that
11483 -*** depend on shared libraries, but programs linked with such libtool
11484 -*** libraries will work regardless of this problem. Nevertheless, you
11485 -*** may want to report the problem to your system manager and/or to
11486 -*** bug-libtool@gnu.org
11495 - IFS="$ac_save_ifs"
11496 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11501 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11502 -if test -n "$MAGIC_CMD"; then
11503 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11504 -echo "${ECHO_T}$MAGIC_CMD" >&6
11506 - echo "$as_me:$LINENO: result: no" >&5
11507 -echo "${ECHO_T}no" >&6
11519 -if test -n "$ac_tool_prefix"; then
11520 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11521 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11522 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11523 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11524 -if test "${ac_cv_prog_RANLIB+set}" = set; then
11525 - echo $ECHO_N "(cached) $ECHO_C" >&6
11527 - if test -n "$RANLIB"; then
11528 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11530 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11531 -for as_dir in $PATH
11534 - test -z "$as_dir" && as_dir=.
11535 - for ac_exec_ext in '' $ac_executable_extensions; do
11536 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11537 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11538 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11546 -RANLIB=$ac_cv_prog_RANLIB
11547 -if test -n "$RANLIB"; then
11548 - echo "$as_me:$LINENO: result: $RANLIB" >&5
11549 -echo "${ECHO_T}$RANLIB" >&6
11551 - echo "$as_me:$LINENO: result: no" >&5
11552 -echo "${ECHO_T}no" >&6
11556 -if test -z "$ac_cv_prog_RANLIB"; then
11557 - ac_ct_RANLIB=$RANLIB
11558 - # Extract the first word of "ranlib", so it can be a program name with args.
11559 -set dummy ranlib; ac_word=$2
11560 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11561 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11562 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11563 - echo $ECHO_N "(cached) $ECHO_C" >&6
11565 - if test -n "$ac_ct_RANLIB"; then
11566 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11567 + if test -n "$ac_ct_CXX"; then
11568 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11571 for as_dir in $PATH
11572 @@ -4770,166 +5547,89 @@
11574 test -z "$as_dir" && as_dir=.
11575 for ac_exec_ext in '' $ac_executable_extensions; do
11576 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11577 - ac_cv_prog_ac_ct_RANLIB="ranlib"
11578 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11579 + ac_cv_prog_ac_ct_CXX="$ac_prog"
11580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11590 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11591 -if test -n "$ac_ct_RANLIB"; then
11592 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11593 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11594 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11595 +if test -n "$ac_ct_CXX"; then
11596 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11597 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
11599 - echo "$as_me:$LINENO: result: no" >&5
11600 -echo "${ECHO_T}no" >&6
11601 + { echo "$as_me:$LINENO: result: no" >&5
11602 +echo "${ECHO_T}no" >&6; }
11605 - RANLIB=$ac_ct_RANLIB
11607 - RANLIB="$ac_cv_prog_RANLIB"
11610 -if test -n "$ac_tool_prefix"; then
11611 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11612 -set dummy ${ac_tool_prefix}strip; ac_word=$2
11613 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11614 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11615 -if test "${ac_cv_prog_STRIP+set}" = set; then
11616 - echo $ECHO_N "(cached) $ECHO_C" >&6
11618 - if test -n "$STRIP"; then
11619 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11621 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622 -for as_dir in $PATH
11625 - test -z "$as_dir" && as_dir=.
11626 - for ac_exec_ext in '' $ac_executable_extensions; do
11627 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11628 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11629 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11632 + test -n "$ac_ct_CXX" && break
11638 -STRIP=$ac_cv_prog_STRIP
11639 -if test -n "$STRIP"; then
11640 - echo "$as_me:$LINENO: result: $STRIP" >&5
11641 -echo "${ECHO_T}$STRIP" >&6
11643 - echo "$as_me:$LINENO: result: no" >&5
11644 -echo "${ECHO_T}no" >&6
11648 -if test -z "$ac_cv_prog_STRIP"; then
11649 - ac_ct_STRIP=$STRIP
11650 - # Extract the first word of "strip", so it can be a program name with args.
11651 -set dummy strip; ac_word=$2
11652 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11653 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11654 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11655 - echo $ECHO_N "(cached) $ECHO_C" >&6
11657 - if test -n "$ac_ct_STRIP"; then
11658 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11660 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 -for as_dir in $PATH
11664 - test -z "$as_dir" && as_dir=.
11665 - for ac_exec_ext in '' $ac_executable_extensions; do
11666 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11667 - ac_cv_prog_ac_ct_STRIP="strip"
11668 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11670 + if test "x$ac_ct_CXX" = x; then
11673 + case $cross_compiling:$ac_tool_warned in
11675 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11676 +whose name does not start with the host triplet. If you think this
11677 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11678 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11679 +whose name does not start with the host triplet. If you think this
11680 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11681 +ac_tool_warned=yes ;;
11688 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
11691 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11692 -if test -n "$ac_ct_STRIP"; then
11693 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11694 -echo "${ECHO_T}$ac_ct_STRIP" >&6
11696 - echo "$as_me:$LINENO: result: no" >&5
11697 -echo "${ECHO_T}no" >&6
11700 - STRIP=$ac_ct_STRIP
11702 - STRIP="$ac_cv_prog_STRIP"
11708 -enable_win32_dll=no
11710 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11711 -if test "${enable_libtool_lock+set}" = set; then
11712 - enableval="$enable_libtool_lock"
11715 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11717 -# Some flags need to be propagated to the compiler or linker for good
11718 -# libtool support.
11721 - # Find out which ABI we are using.
11722 - echo '#line 4894 "configure"' > conftest.$ac_ext
11723 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11724 - (eval $ac_compile) 2>&5
11725 +# Provide some information about the compiler.
11726 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11727 +ac_compiler=`set X $ac_compile; echo $2`
11728 +{ (ac_try="$ac_compiler --version >&5"
11729 +case "(($ac_try" in
11730 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11731 + *) ac_try_echo=$ac_try;;
11733 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11734 + (eval "$ac_compiler --version >&5") 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 - (exit $ac_status); }; then
11738 - case `/usr/bin/file conftest.$ac_objext` in
11740 - LD="${LD-ld} -32"
11743 - LD="${LD-ld} -n32"
11746 - LD="${LD-ld} -64"
11752 + (exit $ac_status); }
11753 +{ (ac_try="$ac_compiler -v >&5"
11754 +case "(($ac_try" in
11755 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11756 + *) ac_try_echo=$ac_try;;
11758 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11759 + (eval "$ac_compiler -v >&5") 2>&5
11761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 + (exit $ac_status); }
11763 +{ (ac_try="$ac_compiler -V >&5"
11764 +case "(($ac_try" in
11765 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11766 + *) ac_try_echo=$ac_try;;
11768 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 + (eval "$ac_compiler -V >&5") 2>&5
11771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 + (exit $ac_status); }
11775 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11776 - SAVE_CFLAGS="$CFLAGS"
11777 - CFLAGS="$CFLAGS -belf"
11778 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11779 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11780 -if test "${lt_cv_cc_needs_belf+set}" = set; then
11781 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11782 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11783 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 -ac_cpp='$CPP $CPPFLAGS'
11790 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11794 - cat >conftest.$ac_ext <<_ACEOF
11795 + cat >conftest.$ac_ext <<_ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 @@ -4939,335 +5639,96 @@
11811 -rm -f conftest.$ac_objext conftest$ac_exeext
11812 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11813 - (eval $ac_link) 2>conftest.er1
11814 +rm -f conftest.$ac_objext
11815 +if { (ac_try="$ac_compile"
11816 +case "(($ac_try" in
11817 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818 + *) ac_try_echo=$ac_try;;
11820 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11821 + (eval "$ac_compile") 2>conftest.er1
11823 grep -v '^ *+' conftest.er1 >conftest.err
11825 cat conftest.err >&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 - (exit $ac_status); } &&
11828 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11829 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 - (eval $ac_try) 2>&5
11832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 - (exit $ac_status); }; } &&
11834 - { ac_try='test -s conftest$ac_exeext'
11835 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 - (eval $ac_try) 2>&5
11838 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 - (exit $ac_status); }; }; then
11840 - lt_cv_cc_needs_belf=yes
11841 + (exit $ac_status); } && {
11842 + test -z "$ac_cxx_werror_flag" ||
11843 + test ! -s conftest.err
11844 + } && test -s conftest.$ac_objext; then
11845 + ac_compiler_gnu=yes
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11850 -lt_cv_cc_needs_belf=no
11851 + ac_compiler_gnu=no
11853 -rm -f conftest.err conftest.$ac_objext \
11854 - conftest$ac_exeext conftest.$ac_ext
11856 -ac_cpp='$CPP $CPPFLAGS'
11857 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11861 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11862 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11865 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11866 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11867 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11868 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11869 - CFLAGS="$SAVE_CFLAGS"
11872 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11873 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11874 +GXX=`test $ac_compiler_gnu = yes && echo yes`
11875 +ac_test_CXXFLAGS=${CXXFLAGS+set}
11876 +ac_save_CXXFLAGS=$CXXFLAGS
11877 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11878 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11879 +if test "${ac_cv_prog_cxx_g+set}" = set; then
11880 + echo $ECHO_N "(cached) $ECHO_C" >&6
11882 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11883 + ac_cxx_werror_flag=yes
11884 + ac_cv_prog_cxx_g=no
11886 + cat >conftest.$ac_ext <<_ACEOF
11889 +cat confdefs.h >>conftest.$ac_ext
11890 +cat >>conftest.$ac_ext <<_ACEOF
11891 +/* end confdefs.h. */
11901 +rm -f conftest.$ac_objext
11902 +if { (ac_try="$ac_compile"
11903 +case "(($ac_try" in
11904 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11905 + *) ac_try_echo=$ac_try;;
11907 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11908 + (eval "$ac_compile") 2>conftest.er1
11910 + grep -v '^ *+' conftest.er1 >conftest.err
11911 + rm -f conftest.er1
11912 + cat conftest.err >&5
11913 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 + (exit $ac_status); } && {
11915 + test -z "$ac_cxx_werror_flag" ||
11916 + test ! -s conftest.err
11917 + } && test -s conftest.$ac_objext; then
11918 + ac_cv_prog_cxx_g=yes
11920 + echo "$as_me: failed program was:" >&5
11921 +sed 's/^/| /' conftest.$ac_ext >&5
11923 -# Sed substitution that helps us do robust quoting. It backslashifies
11924 -# metacharacters that are still active within double-quoted strings.
11925 -Xsed='sed -e s/^X//'
11926 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
11928 -# Same as above, but do not quote variable references.
11929 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
11931 -# Sed substitution to delay expansion of an escaped shell variable in a
11932 -# double_quote_subst'ed string.
11933 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11938 -# Global variables:
11939 -default_ofile=libtool
11940 -can_build_shared=yes
11942 -# All known linkers require a `.a' archive for static linking (except M$VC,
11943 -# which needs '.lib').
11945 -ltmain="$ac_aux_dir/ltmain.sh"
11946 -ofile="$default_ofile"
11947 -with_gnu_ld="$lt_cv_prog_gnu_ld"
11948 -need_locks="$enable_libtool_lock"
11951 -old_CFLAGS="$CFLAGS"
11953 -# Set sane defaults for various variables
11954 -test -z "$AR" && AR=ar
11955 -test -z "$AR_FLAGS" && AR_FLAGS=cru
11956 -test -z "$AS" && AS=as
11957 -test -z "$CC" && CC=cc
11958 -test -z "$DLLTOOL" && DLLTOOL=dlltool
11959 -test -z "$LD" && LD=ld
11960 -test -z "$LN_S" && LN_S="ln -s"
11961 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
11962 -test -z "$NM" && NM=nm
11963 -test -z "$OBJDUMP" && OBJDUMP=objdump
11964 -test -z "$RANLIB" && RANLIB=:
11965 -test -z "$STRIP" && STRIP=:
11966 -test -z "$ac_objext" && ac_objext=o
11968 -if test x"$host" != x"$build"; then
11969 - ac_tool_prefix=${host_alias}-
11974 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
11977 -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
11982 - # AIX sometimes has problems with the GCC collect2 program. For some
11983 - # reason, if we set the COLLECT_NAMES environment variable, the problems
11984 - # vanish in a puff of smoke.
11985 - if test "X${COLLECT_NAMES+set}" != Xset; then
11987 - export COLLECT_NAMES
11992 -# Determine commands to create old-style static archives.
11993 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11994 -old_postinstall_cmds='chmod 644 $oldlib'
11995 -old_postuninstall_cmds=
11997 -if test -n "$RANLIB"; then
12000 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12003 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12006 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12009 -# Allow CC to be a program name with arguments.
12013 -echo "$as_me:$LINENO: checking for objdir" >&5
12014 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12015 -rm -f .libs 2>/dev/null
12016 -mkdir .libs 2>/dev/null
12017 -if test -d .libs; then
12020 - # MS-DOS does not allow filenames that begin with a dot.
12023 -rmdir .libs 2>/dev/null
12024 -echo "$as_me:$LINENO: result: $objdir" >&5
12025 -echo "${ECHO_T}$objdir" >&6
12029 -# Check whether --with-pic or --without-pic was given.
12030 -if test "${with_pic+set}" = set; then
12031 - withval="$with_pic"
12032 - pic_mode="$withval"
12036 -test -z "$pic_mode" && pic_mode=default
12038 -# We assume here that the value for lt_cv_prog_cc_pic will not be cached
12039 -# in isolation, and that seeing it set (from the cache) indicates that
12040 -# the associated values are set (in the cache) correctly too.
12041 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12042 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12043 -if test "${lt_cv_prog_cc_pic+set}" = set; then
12044 - echo $ECHO_N "(cached) $ECHO_C" >&6
12046 - lt_cv_prog_cc_pic=
12047 - lt_cv_prog_cc_shlib=
12048 - lt_cv_prog_cc_wl=
12049 - lt_cv_prog_cc_static=
12050 - lt_cv_prog_cc_no_builtin=
12051 - lt_cv_prog_cc_can_build_shared=$can_build_shared
12053 - if test "$GCC" = yes; then
12054 - lt_cv_prog_cc_wl='-Wl,'
12055 - lt_cv_prog_cc_static='-static'
12059 - # Below there is a dirty hack to force normal static linking with -ldl
12060 - # The problem is because libdl dynamically linked with both libc and
12061 - # libC (AIX C++ library), which obviously doesn't included in libraries
12062 - # list by gcc. This cause undefined symbols with -static flags.
12063 - # This hack allows C programs to be linked with "-static -ldl", but
12064 - # not sure about C++ programs.
12065 - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
12068 - # FIXME: we need at least 68020 code to build shared libraries, but
12069 - # adding the `-m68020' flag to GCC prevents building anything better,
12070 - # like `-m68040'.
12071 - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
12073 - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12074 - # PIC is the default for these OSes.
12076 - darwin* | rhapsody*)
12077 - # PIC is the default on this platform
12078 - # Common symbols not allowed in MH_DYLIB files
12079 - lt_cv_prog_cc_pic='-fno-common'
12081 - cygwin* | mingw* | pw32* | os2*)
12082 - # This hack is so that the source file can tell whether it is being
12083 - # built for inclusion in a dll (and should export symbols for example).
12084 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12087 - if test -d /usr/nec; then
12088 - lt_cv_prog_cc_pic=-Kconform_pic
12092 - lt_cv_prog_cc_pic='-fPIC'
12096 - # PORTME Check for PIC flags for the system compiler.
12098 - aix3* | aix4* | aix5*)
12099 - lt_cv_prog_cc_wl='-Wl,'
12100 - # All AIX code is PIC.
12101 - if test "$host_cpu" = ia64; then
12102 - # AIX 5 now supports IA64 processor
12103 - lt_cv_prog_cc_static='-Bstatic'
12105 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
12109 - hpux9* | hpux10* | hpux11*)
12110 - # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
12111 - lt_cv_prog_cc_wl='-Wl,'
12112 - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
12113 - lt_cv_prog_cc_pic='+Z'
12116 - irix5* | irix6* | nonstopux*)
12117 - lt_cv_prog_cc_wl='-Wl,'
12118 - lt_cv_prog_cc_static='-non_shared'
12119 - # PIC (with -KPIC) is the default.
12122 - cygwin* | mingw* | pw32* | os2*)
12123 - # This hack is so that the source file can tell whether it is being
12124 - # built for inclusion in a dll (and should export symbols for example).
12125 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12129 - lt_cv_prog_cc_pic='-KPIC'
12130 - lt_cv_prog_cc_static='-Bstatic'
12133 - osf3* | osf4* | osf5*)
12134 - # All OSF/1 code is PIC.
12135 - lt_cv_prog_cc_wl='-Wl,'
12136 - lt_cv_prog_cc_static='-non_shared'
12140 - lt_cv_prog_cc_pic='-Kpic'
12141 - lt_cv_prog_cc_static='-dn'
12142 - lt_cv_prog_cc_shlib='-belf'
12146 - lt_cv_prog_cc_pic='-KPIC'
12147 - lt_cv_prog_cc_static='-Bstatic'
12148 - lt_cv_prog_cc_wl='-Wl,'
12152 - lt_cv_prog_cc_pic='-PIC'
12153 - lt_cv_prog_cc_static='-Bstatic'
12154 - lt_cv_prog_cc_wl='-Qoption ld '
12157 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12158 - lt_cv_prog_cc_pic='-KPIC'
12159 - lt_cv_prog_cc_static='-Bstatic'
12160 - lt_cv_prog_cc_wl='-Wl,'
12164 - lt_cv_prog_cc_pic='-pic'
12165 - lt_cv_prog_cc_static='-Bstatic'
12169 - if test -d /usr/nec ;then
12170 - lt_cv_prog_cc_pic='-Kconform_pic'
12171 - lt_cv_prog_cc_static='-Bstatic'
12176 - lt_cv_prog_cc_can_build_shared=no
12183 -if test -z "$lt_cv_prog_cc_pic"; then
12184 - echo "$as_me:$LINENO: result: none" >&5
12185 -echo "${ECHO_T}none" >&6
12187 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
12188 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
12190 - # Check to make sure the pic_flag actually works.
12191 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
12192 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
12193 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then
12194 - echo $ECHO_N "(cached) $ECHO_C" >&6
12196 - save_CFLAGS="$CFLAGS"
12197 - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
12198 - cat >conftest.$ac_ext <<_ACEOF
12200 + cat >conftest.$ac_ext <<_ACEOF
12203 cat confdefs.h >>conftest.$ac_ext
12204 @@ -5283,87 +5744,30 @@
12207 rm -f conftest.$ac_objext
12208 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12209 - (eval $ac_compile) 2>conftest.er1
12210 +if { (ac_try="$ac_compile"
12211 +case "(($ac_try" in
12212 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12213 + *) ac_try_echo=$ac_try;;
12215 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12216 + (eval "$ac_compile") 2>conftest.er1
12218 grep -v '^ *+' conftest.er1 >conftest.err
12220 cat conftest.err >&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 - (exit $ac_status); } &&
12223 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12224 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 - (eval $ac_try) 2>&5
12227 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 - (exit $ac_status); }; } &&
12229 - { ac_try='test -s conftest.$ac_objext'
12230 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 - (eval $ac_try) 2>&5
12233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 - (exit $ac_status); }; }; then
12236 - hpux9* | hpux10* | hpux11*)
12237 - # On HP-UX, both CC and GCC only warn that PIC is supported... then
12238 - # they create non-PIC objects. So, if there were any warnings, we
12239 - # assume that PIC is not supported.
12240 - if test -s conftest.err; then
12241 - lt_cv_prog_cc_pic_works=no
12243 - lt_cv_prog_cc_pic_works=yes
12247 - lt_cv_prog_cc_pic_works=yes
12251 + (exit $ac_status); } && {
12252 + test -z "$ac_cxx_werror_flag" ||
12253 + test ! -s conftest.err
12254 + } && test -s conftest.$ac_objext; then
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 - lt_cv_prog_cc_pic_works=no
12263 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12264 - CFLAGS="$save_CFLAGS"
12269 - if test "X$lt_cv_prog_cc_pic_works" = Xno; then
12270 - lt_cv_prog_cc_pic=
12271 - lt_cv_prog_cc_can_build_shared=no
12273 - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
12276 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
12277 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
12280 -# Check for any special shared library compilation flags.
12281 -if test -n "$lt_cv_prog_cc_shlib"; then
12282 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
12283 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
12284 - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
12286 - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12287 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12288 - lt_cv_prog_cc_can_build_shared=no
12292 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
12293 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
12294 -if test "${lt_cv_prog_cc_static_works+set}" = set; then
12295 - echo $ECHO_N "(cached) $ECHO_C" >&6
12297 - lt_cv_prog_cc_static_works=no
12298 - save_LDFLAGS="$LDFLAGS"
12299 - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
12300 - cat >conftest.$ac_ext <<_ACEOF
12301 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12303 + cat >conftest.$ac_ext <<_ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 @@ -5378,1108 +5782,12251 @@
12311 -rm -f conftest.$ac_objext conftest$ac_exeext
12312 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12313 - (eval $ac_link) 2>conftest.er1
12314 +rm -f conftest.$ac_objext
12315 +if { (ac_try="$ac_compile"
12316 +case "(($ac_try" in
12317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 + *) ac_try_echo=$ac_try;;
12320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12321 + (eval "$ac_compile") 2>conftest.er1
12323 grep -v '^ *+' conftest.er1 >conftest.err
12325 cat conftest.err >&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 - (exit $ac_status); } &&
12328 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12329 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 - (eval $ac_try) 2>&5
12332 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 - (exit $ac_status); }; } &&
12334 - { ac_try='test -s conftest$ac_exeext'
12335 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 - (eval $ac_try) 2>&5
12338 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 - (exit $ac_status); }; }; then
12340 - lt_cv_prog_cc_static_works=yes
12341 + (exit $ac_status); } && {
12342 + test -z "$ac_cxx_werror_flag" ||
12343 + test ! -s conftest.err
12344 + } && test -s conftest.$ac_objext; then
12345 + ac_cv_prog_cxx_g=yes
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12351 -rm -f conftest.err conftest.$ac_objext \
12352 - conftest$ac_exeext conftest.$ac_ext
12353 - LDFLAGS="$save_LDFLAGS"
12357 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 -# Belt *and* braces to stop my trousers falling down:
12361 -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
12362 -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
12363 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
12364 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12367 -pic_flag="$lt_cv_prog_cc_pic"
12368 -special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
12369 -wl="$lt_cv_prog_cc_wl"
12370 -link_static_flag="$lt_cv_prog_cc_static"
12371 -no_builtin_flag="$lt_cv_prog_cc_no_builtin"
12372 -can_build_shared="$lt_cv_prog_cc_can_build_shared"
12373 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12376 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12377 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12378 +if test "$ac_test_CXXFLAGS" = set; then
12379 + CXXFLAGS=$ac_save_CXXFLAGS
12380 +elif test $ac_cv_prog_cxx_g = yes; then
12381 + if test "$GXX" = yes; then
12382 + CXXFLAGS="-g -O2"
12387 + if test "$GXX" = yes; then
12394 +ac_cpp='$CXXCPP $CPPFLAGS'
12395 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12396 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12397 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12399 +depcc="$CXX" am_compiler_list=
12401 -# Check to see if options -o and -c are simultaneously supported by compiler
12402 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12403 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12404 -if test "${lt_cv_compiler_c_o+set}" = set; then
12405 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12406 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12407 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12411 + # We make a subdir and do the tests there. Otherwise we can end up
12412 + # making bogus files that we don't know about and never remove. For
12413 + # instance it was reported that on HP-UX the gcc test will end up
12414 + # making a dummy file named `D' -- because `-MD' means `put the output
12416 + mkdir conftest.dir
12417 + # Copy depcomp to subdir because otherwise we won't find it if we're
12418 + # using a relative directory.
12419 + cp "$am_depcomp" conftest.dir
12421 + # We will build objects and dependencies in a subdirectory because
12422 + # it helps to detect inapplicable dependency modes. For instance
12423 + # both Tru64's cc and ICC support -MD to output dependencies as a
12424 + # side effect of compilation, but ICC will put the dependencies in
12425 + # the current directory while Tru64 will put them in the object
12429 + am_cv_CXX_dependencies_compiler_type=none
12430 + if test "$am_compiler_list" = ""; then
12431 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12433 + for depmode in $am_compiler_list; do
12434 + # Setup a source with many dependencies, because some compilers
12435 + # like to wrap large dependency lists on column 80 (with \), and
12436 + # we should not choose a depcomp mode which is confused by this.
12438 + # We need to recreate these files for each test, as the compiler may
12439 + # overwrite some of them when testing with obscure command lines.
12440 + # This happens at least with the AIX C compiler.
12441 + : > sub/conftest.c
12442 + for i in 1 2 3 4 5 6; do
12443 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12444 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12445 + # Solaris 8's {/usr,}/bin/sh.
12446 + touch sub/conftst$i.h
12448 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12450 -$rm -r conftest 2>/dev/null
12453 -echo "int some_variable = 0;" > conftest.$ac_ext
12455 -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
12456 -# that will create temporary files in the current directory regardless of
12457 -# the output directory. Thus, making CWD read-only will cause this test
12458 -# to fail, enabling locking or at least warning the user not to do parallel
12461 -save_CFLAGS="$CFLAGS"
12462 -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
12464 -if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
12465 - # The compiler can only warn and ignore the option if not recognized
12466 - # So say no if there are warnings
12467 - if test -s out/conftest.err; then
12468 - lt_cv_compiler_c_o=no
12470 - lt_cv_compiler_c_o=yes
12474 + # after this tag, mechanisms are not by side-effect, so they'll
12475 + # only be used when explicitly requested
12476 + if test "x$enable_dependency_tracking" = xyes; then
12484 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12485 + # mode. It turns out that the SunPro C++ compiler does not properly
12486 + # handle `-M -o', and we need to detect this.
12487 + if depmode=$depmode \
12488 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12489 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12490 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12491 + >/dev/null 2>conftest.err &&
12492 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12493 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12494 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12495 + # icc doesn't choke on unknown options, it will just issue warnings
12496 + # or remarks (even with -Werror). So we grep stderr for any message
12497 + # that says an option was ignored or not supported.
12498 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12499 + # icc: Command line warning: ignoring option '-M'; no argument required
12500 + # The diagnosis changed in icc 8.0:
12501 + # icc: Command line remark: option '-MP' not supported
12502 + if (grep 'ignoring option' conftest.err ||
12503 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12504 + am_cv_CXX_dependencies_compiler_type=$depmode
12511 + rm -rf conftest.dir
12513 - # Append any errors to the config.log.
12514 - cat out/conftest.err 1>&5
12515 - lt_cv_compiler_c_o=no
12516 + am_cv_CXX_dependencies_compiler_type=none
12518 -CFLAGS="$save_CFLAGS"
12520 -$rm conftest* out/*
12524 -$rm -r conftest 2>/dev/null
12527 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12528 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12529 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12531 -compiler_c_o=$lt_cv_compiler_c_o
12532 -echo "$as_me:$LINENO: result: $compiler_c_o" >&5
12533 -echo "${ECHO_T}$compiler_c_o" >&6
12535 -if test x"$compiler_c_o" = x"yes"; then
12536 - # Check to see if we can write to a .lo
12537 - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
12538 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
12539 - if test "${lt_cv_compiler_o_lo+set}" = set; then
12540 - echo $ECHO_N "(cached) $ECHO_C" >&6
12543 + test "x$enable_dependency_tracking" != xno \
12544 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12545 + am__fastdepCXX_TRUE=
12546 + am__fastdepCXX_FALSE='#'
12548 + am__fastdepCXX_TRUE='#'
12549 + am__fastdepCXX_FALSE=
12552 - lt_cv_compiler_o_lo=no
12553 - save_CFLAGS="$CFLAGS"
12554 - CFLAGS="$CFLAGS -c -o conftest.lo"
12555 - save_objext="$ac_objext"
12557 - cat >conftest.$ac_ext <<_ACEOF
12560 -cat confdefs.h >>conftest.$ac_ext
12561 -cat >>conftest.$ac_ext <<_ACEOF
12562 -/* end confdefs.h. */
12567 -int some_variable = 0;
12573 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12574 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12575 + (test "X$CXX" != "Xg++"))) ; then
12577 +ac_cpp='$CXXCPP $CPPFLAGS'
12578 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12581 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12582 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12583 +if test -z "$CXXCPP"; then
12584 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
12585 + echo $ECHO_N "(cached) $ECHO_C" >&6
12587 + # Double quotes because CXXCPP needs to be expanded
12588 + for CXXCPP in "$CXX -E" "/lib/cpp"
12590 + ac_preproc_ok=false
12591 +for ac_cxx_preproc_warn_flag in '' yes
12593 + # Use a header file that comes with gcc, so configuring glibc
12594 + # with a fresh cross-compiler works.
12595 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12596 + # <limits.h> exists even on freestanding compilers.
12597 + # On the NeXT, cc -E runs the code through the compiler's parser,
12598 + # not just through cpp. "Syntax error" is here to catch this case.
12599 + cat >conftest.$ac_ext <<_ACEOF
12602 -rm -f conftest.$ac_objext
12603 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 - (eval $ac_compile) 2>conftest.er1
12605 +cat confdefs.h >>conftest.$ac_ext
12606 +cat >>conftest.$ac_ext <<_ACEOF
12607 +/* end confdefs.h. */
12609 +# include <limits.h>
12611 +# include <assert.h>
12615 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12616 +case "(($ac_try" in
12617 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12618 + *) ac_try_echo=$ac_try;;
12620 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12621 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12623 grep -v '^ *+' conftest.er1 >conftest.err
12625 cat conftest.err >&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 - (exit $ac_status); } &&
12628 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 - (eval $ac_try) 2>&5
12632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 - (exit $ac_status); }; } &&
12634 - { ac_try='test -s conftest.$ac_objext'
12635 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 - (eval $ac_try) 2>&5
12637 + (exit $ac_status); } >/dev/null && {
12638 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12639 + test ! -s conftest.err
12643 + echo "$as_me: failed program was:" >&5
12644 +sed 's/^/| /' conftest.$ac_ext >&5
12646 + # Broken: fails on valid input.
12650 +rm -f conftest.err conftest.$ac_ext
12652 + # OK, works on sane cases. Now check whether nonexistent headers
12653 + # can be detected and how.
12654 + cat >conftest.$ac_ext <<_ACEOF
12657 +cat confdefs.h >>conftest.$ac_ext
12658 +cat >>conftest.$ac_ext <<_ACEOF
12659 +/* end confdefs.h. */
12660 +#include <ac_nonexistent.h>
12662 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12663 +case "(($ac_try" in
12664 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 + *) ac_try_echo=$ac_try;;
12667 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12670 + grep -v '^ *+' conftest.er1 >conftest.err
12671 + rm -f conftest.er1
12672 + cat conftest.err >&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 - (exit $ac_status); }; }; then
12675 - # The compiler can only warn and ignore the option if not recognized
12676 - # So say no if there are warnings
12677 - if test -s conftest.err; then
12678 - lt_cv_compiler_o_lo=no
12680 - lt_cv_compiler_o_lo=yes
12683 + (exit $ac_status); } >/dev/null && {
12684 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12685 + test ! -s conftest.err
12687 + # Broken: success on invalid input.
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 + # Passes both tests.
12697 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12698 - ac_objext="$save_objext"
12699 - CFLAGS="$save_CFLAGS"
12702 +rm -f conftest.err conftest.$ac_ext
12704 - compiler_o_lo=$lt_cv_compiler_o_lo
12705 - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
12706 -echo "${ECHO_T}$compiler_o_lo" >&6
12710 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12711 +rm -f conftest.err conftest.$ac_ext
12712 +if $ac_preproc_ok; then
12716 -# Check to see if we can do hard links to lock some files if needed
12717 -hard_links="nottested"
12718 -if test "$compiler_c_o" = no && test "$need_locks" != no; then
12719 - # do not overwrite the value of need_locks provided by the user
12720 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12721 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12724 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12726 - ln conftest.a conftest.b 2>&5 || hard_links=no
12727 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12728 - echo "$as_me:$LINENO: result: $hard_links" >&5
12729 -echo "${ECHO_T}$hard_links" >&6
12730 - if test "$hard_links" = no; then
12731 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12732 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12736 + ac_cv_prog_CXXCPP=$CXXCPP
12739 + CXXCPP=$ac_cv_prog_CXXCPP
12742 + ac_cv_prog_CXXCPP=$CXXCPP
12745 -if test "$GCC" = yes; then
12746 - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
12747 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12748 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12749 - echo "int some_variable = 0;" > conftest.$ac_ext
12750 - save_CFLAGS="$CFLAGS"
12751 - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
12752 - compiler_rtti_exceptions=no
12753 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
12754 +echo "${ECHO_T}$CXXCPP" >&6; }
12755 +ac_preproc_ok=false
12756 +for ac_cxx_preproc_warn_flag in '' yes
12758 + # Use a header file that comes with gcc, so configuring glibc
12759 + # with a fresh cross-compiler works.
12760 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12761 + # <limits.h> exists even on freestanding compilers.
12762 + # On the NeXT, cc -E runs the code through the compiler's parser,
12763 + # not just through cpp. "Syntax error" is here to catch this case.
12764 cat >conftest.$ac_ext <<_ACEOF
12767 cat confdefs.h >>conftest.$ac_ext
12768 cat >>conftest.$ac_ext <<_ACEOF
12769 /* end confdefs.h. */
12774 -int some_variable = 0;
12779 +# include <limits.h>
12781 +# include <assert.h>
12785 -rm -f conftest.$ac_objext
12786 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 - (eval $ac_compile) 2>conftest.er1
12788 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12789 +case "(($ac_try" in
12790 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12791 + *) ac_try_echo=$ac_try;;
12793 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12794 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12796 grep -v '^ *+' conftest.er1 >conftest.err
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 - (exit $ac_status); } &&
12801 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12802 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 - (eval $ac_try) 2>&5
12805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 - (exit $ac_status); }; } &&
12807 - { ac_try='test -s conftest.$ac_objext'
12808 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 - (eval $ac_try) 2>&5
12810 + (exit $ac_status); } >/dev/null && {
12811 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12812 + test ! -s conftest.err
12816 + echo "$as_me: failed program was:" >&5
12817 +sed 's/^/| /' conftest.$ac_ext >&5
12819 + # Broken: fails on valid input.
12823 +rm -f conftest.err conftest.$ac_ext
12825 + # OK, works on sane cases. Now check whether nonexistent headers
12826 + # can be detected and how.
12827 + cat >conftest.$ac_ext <<_ACEOF
12830 +cat confdefs.h >>conftest.$ac_ext
12831 +cat >>conftest.$ac_ext <<_ACEOF
12832 +/* end confdefs.h. */
12833 +#include <ac_nonexistent.h>
12835 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12836 +case "(($ac_try" in
12837 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12838 + *) ac_try_echo=$ac_try;;
12840 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12841 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12843 + grep -v '^ *+' conftest.er1 >conftest.err
12844 + rm -f conftest.er1
12845 + cat conftest.err >&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 - (exit $ac_status); }; }; then
12848 - # The compiler can only warn and ignore the option if not recognized
12849 - # So say no if there are warnings
12850 - if test -s conftest.err; then
12851 - compiler_rtti_exceptions=no
12853 - compiler_rtti_exceptions=yes
12856 + (exit $ac_status); } >/dev/null && {
12857 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12858 + test ! -s conftest.err
12860 + # Broken: success on invalid input.
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 + # Passes both tests.
12870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 - CFLAGS="$save_CFLAGS"
12872 - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
12873 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6
12875 - if test "$compiler_rtti_exceptions" = "yes"; then
12876 - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
12878 - no_builtin_flag=' -fno-builtin'
12880 +rm -f conftest.err conftest.$ac_ext
12883 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12884 +rm -f conftest.err conftest.$ac_ext
12885 +if $ac_preproc_ok; then
12888 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12889 +See \`config.log' for more details." >&5
12890 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12891 +See \`config.log' for more details." >&2;}
12892 + { (exit 1); exit 1; }; }
12895 -# See if the linker supports building shared libraries.
12896 -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
12897 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
12899 +ac_cpp='$CXXCPP $CPPFLAGS'
12900 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12904 -allow_undefined_flag=
12905 -no_undefined_flag=
12906 -need_lib_prefix=unknown
12907 -need_version=unknown
12908 -# when you set need_version to no, make sure it does not cause -set_version
12909 -# flags to be left without arguments
12911 -archive_expsym_cmds=
12912 -old_archive_from_new_cmds=
12913 -old_archive_from_expsyms_cmds=
12914 -export_dynamic_flag_spec=
12915 -whole_archive_flag_spec=
12916 -thread_safe_flag_spec=
12917 -hardcode_into_libs=no
12918 -hardcode_libdir_flag_spec=
12919 -hardcode_libdir_separator=
12920 -hardcode_direct=no
12921 -hardcode_minus_L=no
12922 -hardcode_shlibpath_var=unsupported
12924 -link_all_deplibs=unknown
12925 -always_export_symbols=no
12926 -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
12927 -# include_expsyms should be a list of space-separated symbols to be *always*
12928 -# included in the symbol list
12930 -# exclude_expsyms can be an egrep regular expression of symbols to exclude
12931 -# it will be wrapped by ` (' and `)$', so one must not match beginning or
12932 -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12933 -# as well as any symbol that contains `d'.
12934 -exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12935 -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12936 -# platforms (ab)use it in PIC code, but their linkers get confused if
12937 -# the symbol is explicitly referenced. Since portable code cannot
12938 -# rely on this symbol name, it's probably fine to never include it in
12939 -# preloaded symbol tables.
12940 -extract_expsyms_cmds=
12944 -cygwin* | mingw* | pw32*)
12945 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
12946 - # When not using gcc, we currently assume that we are using
12947 - # Microsoft Visual C++.
12948 - if test "$GCC" != yes; then
12958 -if test "$with_gnu_ld" = yes; then
12959 - # If archive_cmds runs LD, not CC, wlarc should be empty
12962 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12963 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12964 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12965 +if test -n "$ac_tool_prefix"; then
12966 + 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
12968 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12969 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12970 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12971 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12972 +if test "${ac_cv_prog_F77+set}" = set; then
12973 + echo $ECHO_N "(cached) $ECHO_C" >&6
12975 + if test -n "$F77"; then
12976 + ac_cv_prog_F77="$F77" # Let the user override the test.
12978 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12979 +for as_dir in $PATH
12982 + test -z "$as_dir" && as_dir=.
12983 + for ac_exec_ext in '' $ac_executable_extensions; do
12984 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12985 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12986 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12993 - # See if GNU ld supports shared libraries.
12995 - aix3* | aix4* | aix5*)
12996 - # On AIX, the GNU linker is very broken
12997 - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
13002 +F77=$ac_cv_prog_F77
13003 +if test -n "$F77"; then
13004 + { echo "$as_me:$LINENO: result: $F77" >&5
13005 +echo "${ECHO_T}$F77" >&6; }
13007 + { echo "$as_me:$LINENO: result: no" >&5
13008 +echo "${ECHO_T}no" >&6; }
13011 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13012 -*** to be unable to reliably create shared libraries on AIX.
13013 -*** Therefore, libtool is disabling shared libraries support. If you
13014 -*** really care for shared libraries, you may want to modify your PATH
13015 -*** so that a non-GNU linker is found, and then restart.
13019 + test -n "$F77" && break
13022 +if test -z "$F77"; then
13024 + 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
13026 + # Extract the first word of "$ac_prog", so it can be a program name with args.
13027 +set dummy $ac_prog; ac_word=$2
13028 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13029 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13030 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13031 + echo $ECHO_N "(cached) $ECHO_C" >&6
13033 + if test -n "$ac_ct_F77"; then
13034 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13036 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 +for as_dir in $PATH
13040 + test -z "$as_dir" && as_dir=.
13041 + for ac_exec_ext in '' $ac_executable_extensions; do
13042 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13043 + ac_cv_prog_ac_ct_F77="$ac_prog"
13044 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13052 - 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)'
13053 - hardcode_libdir_flag_spec='-L$libdir'
13054 - hardcode_minus_L=yes
13056 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13057 - # that the semantics of dynamic libraries on AmigaOS, at least up
13058 - # to version 4, is to share data among multiple programs linked
13059 - # with the same dynamic library. Since this doesn't match the
13060 - # behavior of shared libraries on other platforms, we can use
13066 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
13067 +if test -n "$ac_ct_F77"; then
13068 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13069 +echo "${ECHO_T}$ac_ct_F77" >&6; }
13071 + { echo "$as_me:$LINENO: result: no" >&5
13072 +echo "${ECHO_T}no" >&6; }
13076 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13077 - allow_undefined_flag=unsupported
13078 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13079 - # support --undefined. This deserves some investigation. FIXME
13080 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13086 - cygwin* | mingw* | pw32*)
13087 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13088 - # no search path for DLLs.
13089 - hardcode_libdir_flag_spec='-L$libdir'
13090 - allow_undefined_flag=unsupported
13091 - always_export_symbols=yes
13093 - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
13094 - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
13095 - test -f $output_objdir/impgen.exe || (cd $output_objdir && \
13096 - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
13097 - else $CC -o impgen impgen.c ; fi)~
13098 - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
13100 - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
13102 - # cygwin and mingw dlls have different entry points and sets of symbols
13104 - # FIXME: what about values for MSVC?
13105 - dll_entry=__cygwin_dll_entry@12
13106 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
13110 - dll_entry=_DllMainCRTStartup@12
13111 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
13114 + test -n "$ac_ct_F77" && break
13117 - # mingw and cygwin differ, and it's simplest to just exclude the union
13118 - # of the two symbol sets.
13119 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
13121 - # recent cygwin and mingw systems supply a stub DllMain which the user
13122 - # can override, but on older systems we have to supply one (in ltdll.c)
13123 - if test "x$lt_cv_need_dllmain" = "xyes"; then
13124 - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
13125 - 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~
13126 - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
13131 + if test "x$ac_ct_F77" = x; then
13134 + case $cross_compiling:$ac_tool_warned in
13136 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13137 +whose name does not start with the host triplet. If you think this
13138 +configuration is useful to you, please write to autoconf@gnu.org." >&5
13139 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13140 +whose name does not start with the host triplet. If you think this
13141 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13142 +ac_tool_warned=yes ;;
13148 - # Extract the symbol export list from an `--export-all' def file,
13149 - # then regenerate the def file from the symbol export list, so that
13150 - # the compiled dll only exports the symbol export list.
13151 - # Be careful not to strip the DATA tag left be newer dlltools.
13152 - export_symbols_cmds="$ltdll_cmds"'
13153 - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
13154 - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
13156 - # If the export-symbols file already is a .def file (1st line
13157 - # is EXPORTS), use it as is.
13158 - # If DATA tags from a recent dlltool are present, honour them!
13159 - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
13160 - cp $export_symbols $output_objdir/$soname-def;
13162 - echo EXPORTS > $output_objdir/$soname-def;
13164 - cat $export_symbols | while read symbol; do
13165 - set dummy \$symbol;
13167 - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
13168 - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
13169 - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
13171 - _lt_hint=`expr 1 + \$_lt_hint`;
13175 - $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~
13176 - $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~
13177 - $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~
13178 - $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~
13179 - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
13183 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13184 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13187 - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13188 - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13192 - solaris* | sysv5*)
13193 - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
13196 +# Provide some information about the compiler.
13197 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13198 +ac_compiler=`set X $ac_compile; echo $2`
13199 +{ (ac_try="$ac_compiler --version >&5"
13200 +case "(($ac_try" in
13201 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13202 + *) ac_try_echo=$ac_try;;
13204 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13205 + (eval "$ac_compiler --version >&5") 2>&5
13207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 + (exit $ac_status); }
13209 +{ (ac_try="$ac_compiler -v >&5"
13210 +case "(($ac_try" in
13211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13212 + *) ac_try_echo=$ac_try;;
13214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13215 + (eval "$ac_compiler -v >&5") 2>&5
13217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 + (exit $ac_status); }
13219 +{ (ac_try="$ac_compiler -V >&5"
13220 +case "(($ac_try" in
13221 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13222 + *) ac_try_echo=$ac_try;;
13224 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13225 + (eval "$ac_compiler -V >&5") 2>&5
13227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 + (exit $ac_status); }
13231 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13232 -*** create shared libraries on Solaris systems. Therefore, libtool
13233 -*** is disabling shared libraries support. We urge you to upgrade GNU
13234 -*** binutils to release 2.9.1 or newer. Another option is to modify
13235 -*** your PATH or compiler configuration so that the native linker is
13236 -*** used, and then restart.
13237 +# If we don't use `.F' as extension, the preprocessor is not run on the
13238 +# input file. (Note that this only needs to work for GNU compilers.)
13239 +ac_save_ext=$ac_ext
13241 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13242 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13243 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13244 + echo $ECHO_N "(cached) $ECHO_C" >&6
13246 + cat >conftest.$ac_ext <<_ACEOF
13253 - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13254 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13255 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13262 +rm -f conftest.$ac_objext
13263 +if { (ac_try="$ac_compile"
13264 +case "(($ac_try" in
13265 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13266 + *) ac_try_echo=$ac_try;;
13268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269 + (eval "$ac_compile") 2>conftest.er1
13271 + grep -v '^ *+' conftest.er1 >conftest.err
13272 + rm -f conftest.er1
13273 + cat conftest.err >&5
13274 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 + (exit $ac_status); } && {
13276 + test -z "$ac_f77_werror_flag" ||
13277 + test ! -s conftest.err
13278 + } && test -s conftest.$ac_objext; then
13279 + ac_compiler_gnu=yes
13281 + echo "$as_me: failed program was:" >&5
13282 +sed 's/^/| /' conftest.$ac_ext >&5
13285 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13287 - hardcode_direct=yes
13288 - hardcode_shlibpath_var=no
13290 + ac_compiler_gnu=no
13294 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13295 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13296 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13302 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13303 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13305 - if test "$ld_shlibs" = yes; then
13306 - runpath_var=LD_RUN_PATH
13307 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13308 - export_dynamic_flag_spec='${wl}--export-dynamic'
13310 - cygwin* | mingw* | pw32*)
13311 - # dlltool doesn't understand --whole-archive et. al.
13312 - whole_archive_flag_spec=
13315 - # ancient GNU ld didn't support --whole-archive et. al.
13316 - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
13317 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13319 - whole_archive_flag_spec=
13325 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13326 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13327 +ac_ext=$ac_save_ext
13328 +ac_test_FFLAGS=${FFLAGS+set}
13329 +ac_save_FFLAGS=$FFLAGS
13331 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13332 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13333 +if test "${ac_cv_prog_f77_g+set}" = set; then
13334 + echo $ECHO_N "(cached) $ECHO_C" >&6
13336 - # PORTME fill in a description of your system's linker (not GNU ld)
13339 - allow_undefined_flag=unsupported
13340 - always_export_symbols=yes
13341 - 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'
13342 - # Note: this linker hardcodes the directories in LIBPATH if there
13343 - # are no directories specified by -L.
13344 - hardcode_minus_L=yes
13345 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13346 - # Neither direct hardcoding nor static linking is supported with a
13347 - # broken collect2.
13348 - hardcode_direct=unsupported
13352 +cat >conftest.$ac_ext <<_ACEOF
13356 - if test "$host_cpu" = ia64; then
13357 - # On IA64, the linker does run time linking by default, so we don't
13358 - # have to do anything special.
13359 - aix_use_runtimelinking=no
13360 - exp_sym_flag='-Bexport'
13363 - aix_use_runtimelinking=no
13366 +rm -f conftest.$ac_objext
13367 +if { (ac_try="$ac_compile"
13368 +case "(($ac_try" in
13369 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13370 + *) ac_try_echo=$ac_try;;
13372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13373 + (eval "$ac_compile") 2>conftest.er1
13375 + grep -v '^ *+' conftest.er1 >conftest.err
13376 + rm -f conftest.er1
13377 + cat conftest.err >&5
13378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 + (exit $ac_status); } && {
13380 + test -z "$ac_f77_werror_flag" ||
13381 + test ! -s conftest.err
13382 + } && test -s conftest.$ac_objext; then
13383 + ac_cv_prog_f77_g=yes
13385 + echo "$as_me: failed program was:" >&5
13386 +sed 's/^/| /' conftest.$ac_ext >&5
13388 - # Test if we are trying to use run time linking or normal
13389 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13390 - # need to do runtime linking.
13391 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13392 - for ld_flag in $LDFLAGS; do
13395 - aix_use_runtimelinking=yes
13401 + ac_cv_prog_f77_g=no
13404 - exp_sym_flag='-bexport'
13405 - no_entry_flag='-bnoentry'
13407 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13409 - # When large executables or shared objects are built, AIX ld can
13410 - # have problems creating the table of contents. If linking a library
13411 - # or program results in "error TOC overflow" add -mminimal-toc to
13412 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13413 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13415 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13416 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13417 +if test "$ac_test_FFLAGS" = set; then
13418 + FFLAGS=$ac_save_FFLAGS
13419 +elif test $ac_cv_prog_f77_g = yes; then
13420 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13426 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13433 - hardcode_direct=yes
13435 - hardcode_libdir_separator=':'
13436 - if test "$GCC" = yes; then
13437 - case $host_os in aix4.[012]|aix4.[012].*)
13438 - collect2name=`${CC} -print-prog-name=collect2`
13439 - if test -f "$collect2name" && \
13440 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13442 - # We have reworked collect2
13443 - hardcode_direct=yes
13445 - # We have old collect2
13446 - hardcode_direct=unsupported
13447 - # It fails to find uninstalled libraries when the uninstalled
13448 - # path is not listed in the libpath. Setting hardcode_minus_L
13449 - # to unsupported forces relinking
13450 - hardcode_minus_L=yes
13451 - hardcode_libdir_flag_spec='-L$libdir'
13452 - hardcode_libdir_separator=
13455 +G77=`test $ac_compiler_gnu = yes && echo yes`
13457 +ac_cpp='$CPP $CPPFLAGS'
13458 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462 - shared_flag='-shared'
13465 - if test "$host_cpu" = ia64; then
13466 - shared_flag='${wl}-G'
13468 - if test "$aix_use_runtimelinking" = yes; then
13469 - shared_flag='${wl}-G'
13471 - shared_flag='${wl}-bM:SRE'
13476 - # It seems that -bexpall can do strange things, so it is better to
13477 - # generate a list of symbols to export.
13478 - always_export_symbols=yes
13479 - if test "$aix_use_runtimelinking" = yes; then
13480 - # Warning - without using the other runtime loading flags (-brtl),
13481 - # -berok will link without error, but may produce a broken library.
13482 - allow_undefined_flag='-berok'
13483 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
13484 - 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"
13486 - if test "$host_cpu" = ia64; then
13487 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13488 - allow_undefined_flag="-z nodefs"
13489 - 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"
13491 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
13492 - # Warning - without using the other run time loading flags,
13493 - # -berok will link without error, but may produce a broken library.
13494 - allow_undefined_flag='${wl}-berok'
13495 - # This is a bit strange, but is similar to how AIX traditionally builds
13496 - # it's shared libraries.
13497 - 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'
13503 - 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)'
13504 - hardcode_libdir_flag_spec='-L$libdir'
13505 - hardcode_minus_L=yes
13506 - # see comment about different semantics on the GNU ld section
13509 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13511 - cygwin* | mingw* | pw32*)
13512 - # When not using gcc, we currently assume that we are using
13513 - # Microsoft Visual C++.
13514 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13515 - # no search path for DLLs.
13516 - hardcode_libdir_flag_spec=' '
13517 - allow_undefined_flag=unsupported
13518 - # Tell ltmain to make .lib files, not .a files.
13520 - # FIXME: Setting linknames here is a bad hack.
13521 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13522 - # The linker will automatically build a .lib file if we build a DLL.
13523 - old_archive_from_new_cmds='true'
13524 - # FIXME: Should let the user specify the lib program.
13525 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13526 - fix_srcfile_path='`cygpath -w "$srcfile"`'
13529 - darwin* | rhapsody*)
13530 - case "$host_os" in
13531 - rhapsody* | darwin1.[012])
13532 - allow_undefined_flag='-undefined suppress'
13534 - *) # Darwin 1.3 on
13535 - allow_undefined_flag='-flat_namespace -undefined suppress'
13538 - # FIXME: Relying on posixy $() will cause problems for
13539 - # cross-compilation, but unfortunately the echo tests do not
13540 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13541 - # `"' quotes if we put them in here... so don't!
13542 - 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)'
13543 - # We need to add '_' to the symbols in $export_symbols first
13544 - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
13545 - hardcode_direct=yes
13546 - hardcode_shlibpath_var=no
13547 - whole_archive_flag_spec='-all_load $convenience'
13554 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13555 - # support. Future versions do this automatically, but an explicit c++rt0.o
13556 - # does not break anything, and helps significantly (at the cost of a little
13559 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13560 - hardcode_libdir_flag_spec='-R$libdir'
13561 - hardcode_direct=yes
13562 - hardcode_shlibpath_var=no
13564 +# find the maximum length of command line arguments
13565 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13566 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13567 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13568 + echo $ECHO_N "(cached) $ECHO_C" >&6
13571 + teststring="ABCD"
13573 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13575 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13576 - hardcode_direct=yes
13577 - hardcode_minus_L=yes
13578 - hardcode_shlibpath_var=no
13579 + case $build_os in
13581 + # On DJGPP, this test can blow up pretty badly due to problems in libc
13582 + # (any single argument exceeding 2000 bytes causes a buffer overrun
13583 + # during glob expansion). Even if it were fixed, the result of this
13584 + # check would be larger than it should be.
13585 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
13588 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13590 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13591 - hardcode_libdir_flag_spec='-R$libdir'
13592 - hardcode_direct=yes
13593 - hardcode_shlibpath_var=no
13595 + # Under GNU Hurd, this test is not required because there is
13596 + # no limit to the length of command line arguments.
13597 + # Libtool will interpret -1 as no limit whatsoever
13598 + lt_cv_sys_max_cmd_len=-1;
13601 - hpux9* | hpux10* | hpux11*)
13603 - 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' ;;
13604 - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
13606 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13607 - hardcode_libdir_separator=:
13608 - hardcode_direct=yes
13609 - hardcode_minus_L=yes # Not in the search PATH, but as the default
13610 - # location of the library.
13611 - export_dynamic_flag_spec='${wl}-E'
13612 + cygwin* | mingw*)
13613 + # On Win9x/ME, this test blows up -- it succeeds, but takes
13614 + # about 5 minutes as the teststring grows exponentially.
13615 + # Worse, since 9x/ME are not pre-emptively multitasking,
13616 + # you end up with a "frozen" computer, even though with patience
13617 + # the test eventually succeeds (with a max line length of 256k).
13618 + # Instead, let's just punt: use the minimum linelength reported by
13619 + # all of the supported platforms: 8192 (on NT/2K/XP).
13620 + lt_cv_sys_max_cmd_len=8192;
13623 - irix5* | irix6* | nonstopux*)
13624 - if test "$GCC" = yes; then
13625 - 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'
13626 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13628 - 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'
13629 - hardcode_libdir_flag_spec='-rpath $libdir'
13631 - hardcode_libdir_separator=:
13632 - link_all_deplibs=yes
13634 + # On AmigaOS with pdksh, this test takes hours, literally.
13635 + # So we just punt and use a minimum line length of 8192.
13636 + lt_cv_sys_max_cmd_len=8192;
13640 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13641 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13642 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13643 + # This has been around since 386BSD, at least. Likely further.
13644 + if test -x /sbin/sysctl; then
13645 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13646 + elif test -x /usr/sbin/sysctl; then
13647 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13649 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13650 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13652 - hardcode_libdir_flag_spec='-R$libdir'
13653 - hardcode_direct=yes
13654 - hardcode_shlibpath_var=no
13655 + # And add a safety zone
13656 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13657 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13661 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13662 - hardcode_direct=yes
13663 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13664 - hardcode_libdir_separator=:
13665 - hardcode_shlibpath_var=no
13667 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
13668 + lt_cv_sys_max_cmd_len=196608
13672 - hardcode_direct=yes
13673 - hardcode_shlibpath_var=no
13674 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13675 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13676 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13677 - export_dynamic_flag_spec='${wl}-E'
13679 - case "$host_os" in
13680 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13681 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13682 - hardcode_libdir_flag_spec='-R$libdir'
13685 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13686 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13689 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13690 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13691 + # nice to cause kernel panics so lets avoid the loop below.
13692 + # First set a reasonable default.
13693 + lt_cv_sys_max_cmd_len=16384
13695 + if test -x /sbin/sysconfig; then
13696 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13697 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
13703 - hardcode_libdir_flag_spec='-L$libdir'
13704 - hardcode_minus_L=yes
13705 - allow_undefined_flag=unsupported
13706 - 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'
13707 - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13709 + lt_cv_sys_max_cmd_len=102400
13713 - if test "$GCC" = yes; then
13714 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13715 - 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'
13716 + sysv5* | sco5v6* | sysv4.2uw2*)
13717 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13718 + if test -n "$kargmax"; then
13719 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13721 - allow_undefined_flag=' -expect_unresolved \*'
13722 - 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'
13723 + lt_cv_sys_max_cmd_len=32768
13725 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13726 - hardcode_libdir_separator=:
13729 + # If test is not a shell built-in, we'll probably end up computing a
13730 + # maximum length that is only half of the actual maximum length, but
13732 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13733 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13734 + = "XX$teststring") >/dev/null 2>&1 &&
13735 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
13736 + lt_cv_sys_max_cmd_len=$new_result &&
13737 + test $i != 17 # 1/2 MB should be enough
13740 + teststring=$teststring$teststring
13743 + # Add a significant safety factor because C++ compilers can tack on massive
13744 + # amounts of additional arguments before passing them to the linker.
13745 + # It appears as though 1/2 is a usable value.
13746 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13750 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13751 - if test "$GCC" = yes; then
13752 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13753 - 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'
13754 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13756 - allow_undefined_flag=' -expect_unresolved \*'
13757 - 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'
13758 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13759 - $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'
13762 - #Both c and cxx compiler support -rpath directly
13763 - hardcode_libdir_flag_spec='-rpath $libdir'
13765 - hardcode_libdir_separator=:
13767 +if test -n $lt_cv_sys_max_cmd_len ; then
13768 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13769 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13771 + { echo "$as_me:$LINENO: result: none" >&5
13772 +echo "${ECHO_T}none" >&6; }
13776 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13777 - hardcode_shlibpath_var=no
13778 - runpath_var=LD_RUN_PATH
13779 - hardcode_runpath_var=yes
13780 - export_dynamic_flag_spec='${wl}-Bexport'
13784 - # gcc --version < 3.0 without binutils cannot create self contained
13785 - # shared libraries reliably, requiring libgcc.a to resolve some of
13786 - # the object symbols generated in some cases. Libraries that use
13787 - # assert need libgcc.a to resolve __eprintf, for example. Linking
13788 - # a copy of libgcc.a into every shared library to guarantee resolving
13789 - # such symbols causes other problems: According to Tim Van Holder
13790 - # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
13791 - # (to the application) exception stack for one thing.
13792 - no_undefined_flag=' -z defs'
13793 - if test "$GCC" = yes; then
13794 - case `$CC --version 2>/dev/null` in
13798 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
13799 -*** create self contained shared libraries on Solaris systems, without
13800 -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
13801 -*** -no-undefined support, which will at least allow you to build shared
13802 -*** libraries. However, you may find that when you link such libraries
13803 -*** into an application without using GCC, you have to manually add
13804 -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
13805 -*** upgrade to a newer version of GCC. Another option is to rebuild your
13806 -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
13809 - no_undefined_flag=
13813 - # $CC -shared without GNU ld will not create a library from C++
13814 - # object files and a static libstdc++, better avoid it by now
13815 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13816 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13817 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13818 - hardcode_libdir_flag_spec='-R$libdir'
13819 - hardcode_shlibpath_var=no
13821 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13822 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13823 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13825 - link_all_deplibs=yes
13827 +# Check for command to grab the raw symbol name followed by C symbol from nm.
13828 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13829 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13830 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13831 + echo $ECHO_N "(cached) $ECHO_C" >&6
13835 - if test "x$host_vendor" = xsequent; then
13836 - # Use $CC to link under sequent, because it throws in some extra .o
13837 - # files that make .init and .fini sections work.
13838 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13840 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13842 - hardcode_libdir_flag_spec='-L$libdir'
13843 - hardcode_direct=yes
13844 - hardcode_minus_L=yes
13845 - hardcode_shlibpath_var=no
13847 +# These are sane defaults that work on at least a few old systems.
13848 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
13851 - case $host_vendor in
13853 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13854 - hardcode_direct=yes # is this really true???
13857 - ## LD is ld it makes a PLAMLIB
13858 - ## CC just makes a GrossModule.
13859 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13860 - reload_cmds='$CC -r -o $output$reload_objs'
13861 - hardcode_direct=no
13864 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13865 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13868 - runpath_var='LD_RUN_PATH'
13869 - hardcode_shlibpath_var=no
13871 +# Character class describing NM global symbol codes.
13872 +symcode='[BCDEGRST]'
13875 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13876 - hardcode_shlibpath_var=no
13877 - export_dynamic_flag_spec='-Bexport'
13881 - no_undefined_flag=' -z text'
13882 - # $CC -shared without GNU ld will not create a library from C++
13883 - # object files and a static libstdc++, better avoid it by now
13884 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13885 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13886 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13887 - hardcode_libdir_flag_spec=
13888 - hardcode_shlibpath_var=no
13889 - runpath_var='LD_RUN_PATH'
13891 +# Regexp to match symbols that can be accessed directly from C.
13892 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13895 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13896 - hardcode_libdir_flag_spec='-L$libdir'
13897 - hardcode_shlibpath_var=no
13899 +# Transform an extracted symbol line into a proper C declaration
13900 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13903 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13904 - hardcode_libdir_flag_spec='-L$libdir'
13905 - hardcode_shlibpath_var=no
13907 +# Transform an extracted symbol line into symbol name and symbol address
13908 +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'"
13911 - if test -d /usr/nec; then
13912 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13913 - hardcode_shlibpath_var=no
13914 - runpath_var=LD_RUN_PATH
13915 - hardcode_runpath_var=yes
13919 +# Define system-specific variables.
13924 +cygwin* | mingw* | pw32*)
13925 + symcode='[ABCDGISTW]'
13927 +hpux*) # Its linker distinguishes data from code symbols
13928 + if test "$host_cpu" = ia64; then
13929 + symcode='[ABCDEGRST]'
13931 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13932 + 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'"
13934 +linux* | k*bsd*-gnu)
13935 + if test "$host_cpu" = ia64; then
13936 + symcode='[ABCDGIRSTW]'
13937 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13938 + 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'"
13941 +irix* | nonstopux*)
13942 + symcode='[BCDEGRST]'
13945 + symcode='[BCDEGQRST]'
13956 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
13960 + symcode='[DFNSTU]'
13965 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13966 - hardcode_direct=yes
13967 - hardcode_minus_L=no
13968 - hardcode_shlibpath_var=no
13969 - hardcode_runpath_var=yes
13970 - runpath_var=LD_RUN_PATH
13972 +# Handle CRLF in mingw tool chain
13976 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13980 - sysv5uw7* | unixware7*)
13981 - no_undefined_flag='${wl}-z ${wl}text'
13982 - if test "$GCC" = yes; then
13983 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13985 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13987 - runpath_var='LD_RUN_PATH'
13988 - hardcode_shlibpath_var=no
13990 +# If we're using GNU nm, then use its standard symbol codes.
13991 +case `$NM -V 2>&1` in
13992 +*GNU* | *'with BFD'*)
13993 + symcode='[ABCDGIRSTW]' ;;
14001 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14002 -echo "${ECHO_T}$ld_shlibs" >&6
14003 -test "$ld_shlibs" = no && can_build_shared=no
14004 +# Try without a prefix undercore, then with it.
14005 +for ac_symprfx in "" "_"; do
14007 -# Check hardcoding attributes.
14008 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14009 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14011 -if test -n "$hardcode_libdir_flag_spec" || \
14012 - test -n "$runpath_var"; then
14013 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14014 + symxfrm="\\1 $ac_symprfx\\2 \\2"
14016 - # We can hardcode non-existant directories.
14017 - if test "$hardcode_direct" != no &&
14018 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
14019 - # have to relink, otherwise we might link with an installed library
14020 - # when we should be linking with a yet-to-be-installed one
14021 - ## test "$hardcode_shlibpath_var" != no &&
14022 - test "$hardcode_minus_L" != no; then
14023 - # Linking always hardcodes the temporary library directory.
14024 - hardcode_action=relink
14025 + # Write the raw and C identifiers.
14026 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14028 + # Check to see that the pipe works correctly.
14032 + cat > conftest.$ac_ext <<EOF
14033 +#ifdef __cplusplus
14037 +void nm_test_func(){}
14038 +#ifdef __cplusplus
14041 +int main(){nm_test_var='a';nm_test_func();return(0);}
14044 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14045 + (eval $ac_compile) 2>&5
14047 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 + (exit $ac_status); }; then
14049 + # Now try to grab the symbols.
14050 + nlist=conftest.nm
14051 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14052 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14054 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 + (exit $ac_status); } && test -s "$nlist"; then
14056 + # Try sorting and uniquifying the output.
14057 + if sort "$nlist" | uniq > "$nlist"T; then
14058 + mv -f "$nlist"T "$nlist"
14063 + # Make sure that we snagged all the symbols we need.
14064 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
14065 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
14066 + cat <<EOF > conftest.$ac_ext
14067 +#ifdef __cplusplus
14072 + # Now generate the symbol file.
14073 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14075 + cat <<EOF >> conftest.$ac_ext
14076 +#if defined (__STDC__) && __STDC__
14077 +# define lt_ptr_t void *
14079 +# define lt_ptr_t char *
14083 +/* The mapping between symbol names and symbols. */
14085 + const char *name;
14086 + lt_ptr_t address;
14088 +lt_preloaded_symbols[] =
14091 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14092 + cat <<\EOF >> conftest.$ac_ext
14093 + {0, (lt_ptr_t) 0}
14096 +#ifdef __cplusplus
14100 + # Now try linking the two files.
14101 + mv conftest.$ac_objext conftstm.$ac_objext
14102 + lt_save_LIBS="$LIBS"
14103 + lt_save_CFLAGS="$CFLAGS"
14104 + LIBS="conftstm.$ac_objext"
14105 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14106 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14107 + (eval $ac_link) 2>&5
14109 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
14113 + LIBS="$lt_save_LIBS"
14114 + CFLAGS="$lt_save_CFLAGS"
14116 + echo "cannot find nm_test_func in $nlist" >&5
14119 + echo "cannot find nm_test_var in $nlist" >&5
14122 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14125 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
14126 - hardcode_action=immediate
14127 + echo "$progname: failed program was:" >&5
14128 + cat conftest.$ac_ext >&5
14130 + rm -f conftest* conftst*
14132 + # Do not use the global_symbol_pipe unless it works.
14133 + if test "$pipe_works" = yes; then
14136 + lt_cv_sys_global_symbol_pipe=
14142 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
14143 + lt_cv_sys_global_symbol_to_cdecl=
14145 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14146 + { echo "$as_me:$LINENO: result: failed" >&5
14147 +echo "${ECHO_T}failed" >&6; }
14149 - # We cannot hardcode anything, or else we can only hardcode existing
14151 - hardcode_action=unsupported
14152 + { echo "$as_me:$LINENO: result: ok" >&5
14153 +echo "${ECHO_T}ok" >&6; }
14155 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
14156 -echo "${ECHO_T}$hardcode_action" >&6
14160 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14161 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14162 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14163 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14164 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14165 - echo "$as_me:$LINENO: result: yes" >&5
14166 -echo "${ECHO_T}yes" >&6
14167 +{ echo "$as_me:$LINENO: checking for objdir" >&5
14168 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14169 +if test "${lt_cv_objdir+set}" = set; then
14170 + echo $ECHO_N "(cached) $ECHO_C" >&6
14172 + rm -f .libs 2>/dev/null
14173 +mkdir .libs 2>/dev/null
14174 +if test -d .libs; then
14175 + lt_cv_objdir=.libs
14177 - echo "$as_me:$LINENO: result: no" >&5
14178 -echo "${ECHO_T}no" >&6
14179 + # MS-DOS does not allow filenames that begin with a dot.
14180 + lt_cv_objdir=_libs
14182 +rmdir .libs 2>/dev/null
14184 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14185 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
14186 +objdir=$lt_cv_objdir
14188 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
14189 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
14191 -# PORTME Fill in your ld.so characteristics
14192 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14193 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14194 -library_names_spec=
14195 -libname_spec='lib$name'
14198 -postuninstall_cmds=
14202 -shlibpath_overrides_runpath=unknown
14204 -dynamic_linker="$host_os ld.so"
14205 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
14206 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14210 - version_type=linux
14211 - library_names_spec='${libname}${release}.so$versuffix $libname.a'
14212 - shlibpath_var=LIBPATH
14214 - # AIX has no versioning support, so we append a major version to the name.
14215 - soname_spec='${libname}${release}.so$major'
14219 - version_type=linux
14220 - need_lib_prefix=no
14222 - hardcode_into_libs=yes
14223 - if test "$host_cpu" = ia64; then
14224 - # AIX 5 supports IA64
14225 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
14226 - shlibpath_var=LD_LIBRARY_PATH
14228 - # With GCC up to 2.95.x, collect2 would create an import file
14229 - # for dependence libraries. The import file would start with
14230 - # the line `#! .'. This would cause the generated library to
14231 - # depend on `.', always an invalid library. This was fixed in
14232 - # development snapshots of GCC prior to 3.0.
14234 - aix4 | aix4.[01] | aix4.[01].*)
14235 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14237 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14240 - can_build_shared=no
14244 - # AIX (on Power*) has no versioning support, so currently we can
14245 - # not hardcode correct soname into executable. Probably we can
14246 - # add versioning support to collect2, so additional links can
14247 - # be useful in future.
14248 - if test "$aix_use_runtimelinking" = yes; then
14249 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14250 - # instead of lib<name>.a to let people know that these are not
14251 - # typical AIX shared libraries.
14252 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
14254 - # We preserve .a as extension for shared libraries through AIX4.2
14255 - # and later when we are not doing run time linking.
14256 - library_names_spec='${libname}${release}.a $libname.a'
14257 - soname_spec='${libname}${release}.so$major'
14259 - shlibpath_var=LIBPATH
14262 + # AIX sometimes has problems with the GCC collect2 program. For some
14263 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14264 + # vanish in a puff of smoke.
14265 + if test "X${COLLECT_NAMES+set}" != Xset; then
14267 + export COLLECT_NAMES
14269 - hardcode_into_libs=yes
14273 - library_names_spec='$libname.ixlibrary $libname.a'
14274 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
14275 - 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'
14280 - library_names_spec='${libname}.so'
14281 - dynamic_linker="$host_os ld.so"
14282 - shlibpath_var=LIBRARY_PATH
14284 +# Sed substitution that helps us do robust quoting. It backslashifies
14285 +# metacharacters that are still active within double-quoted strings.
14286 +Xsed='sed -e 1s/^X//'
14287 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14290 +# Same as above, but do not quote variable references.
14291 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14293 +# Sed substitution to delay expansion of an escaped shell variable in a
14294 +# double_quote_subst'ed string.
14295 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14297 +# Sed substitution to avoid accidental globbing in evaled expressions
14298 +no_glob_subst='s/\*/\\\*/g'
14303 +# Global variables:
14304 +default_ofile=libtool
14305 +can_build_shared=yes
14307 +# All known linkers require a `.a' archive for static linking (except MSVC,
14308 +# which needs '.lib').
14310 +ltmain="$ac_aux_dir/ltmain.sh"
14311 +ofile="$default_ofile"
14312 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14314 +if test -n "$ac_tool_prefix"; then
14315 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14316 +set dummy ${ac_tool_prefix}ar; ac_word=$2
14317 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14318 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14319 +if test "${ac_cv_prog_AR+set}" = set; then
14320 + echo $ECHO_N "(cached) $ECHO_C" >&6
14322 + if test -n "$AR"; then
14323 + ac_cv_prog_AR="$AR" # Let the user override the test.
14325 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14326 +for as_dir in $PATH
14329 + test -z "$as_dir" && as_dir=.
14330 + for ac_exec_ext in '' $ac_executable_extensions; do
14331 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14332 + ac_cv_prog_AR="${ac_tool_prefix}ar"
14333 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14343 +if test -n "$AR"; then
14344 + { echo "$as_me:$LINENO: result: $AR" >&5
14345 +echo "${ECHO_T}$AR" >&6; }
14347 + { echo "$as_me:$LINENO: result: no" >&5
14348 +echo "${ECHO_T}no" >&6; }
14353 +if test -z "$ac_cv_prog_AR"; then
14355 + # Extract the first word of "ar", so it can be a program name with args.
14356 +set dummy ar; ac_word=$2
14357 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14358 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14359 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14360 + echo $ECHO_N "(cached) $ECHO_C" >&6
14362 + if test -n "$ac_ct_AR"; then
14363 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14365 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14366 +for as_dir in $PATH
14369 + test -z "$as_dir" && as_dir=.
14370 + for ac_exec_ext in '' $ac_executable_extensions; do
14371 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14372 + ac_cv_prog_ac_ct_AR="ar"
14373 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14382 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
14383 +if test -n "$ac_ct_AR"; then
14384 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14385 +echo "${ECHO_T}$ac_ct_AR" >&6; }
14387 + { echo "$as_me:$LINENO: result: no" >&5
14388 +echo "${ECHO_T}no" >&6; }
14391 + if test "x$ac_ct_AR" = x; then
14394 + case $cross_compiling:$ac_tool_warned in
14396 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14397 +whose name does not start with the host triplet. If you think this
14398 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14399 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14400 +whose name does not start with the host triplet. If you think this
14401 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14402 +ac_tool_warned=yes ;;
14407 + AR="$ac_cv_prog_AR"
14410 +if test -n "$ac_tool_prefix"; then
14411 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14412 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14413 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14414 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14415 +if test "${ac_cv_prog_RANLIB+set}" = set; then
14416 + echo $ECHO_N "(cached) $ECHO_C" >&6
14418 + if test -n "$RANLIB"; then
14419 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14421 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14422 +for as_dir in $PATH
14425 + test -z "$as_dir" && as_dir=.
14426 + for ac_exec_ext in '' $ac_executable_extensions; do
14427 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14428 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14429 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14438 +RANLIB=$ac_cv_prog_RANLIB
14439 +if test -n "$RANLIB"; then
14440 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
14441 +echo "${ECHO_T}$RANLIB" >&6; }
14443 + { echo "$as_me:$LINENO: result: no" >&5
14444 +echo "${ECHO_T}no" >&6; }
14449 +if test -z "$ac_cv_prog_RANLIB"; then
14450 + ac_ct_RANLIB=$RANLIB
14451 + # Extract the first word of "ranlib", so it can be a program name with args.
14452 +set dummy ranlib; ac_word=$2
14453 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14454 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14455 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14456 + echo $ECHO_N "(cached) $ECHO_C" >&6
14458 + if test -n "$ac_ct_RANLIB"; then
14459 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14461 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14462 +for as_dir in $PATH
14465 + test -z "$as_dir" && as_dir=.
14466 + for ac_exec_ext in '' $ac_executable_extensions; do
14467 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14468 + ac_cv_prog_ac_ct_RANLIB="ranlib"
14469 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14478 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14479 +if test -n "$ac_ct_RANLIB"; then
14480 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14481 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14483 + { echo "$as_me:$LINENO: result: no" >&5
14484 +echo "${ECHO_T}no" >&6; }
14487 + if test "x$ac_ct_RANLIB" = x; then
14490 + case $cross_compiling:$ac_tool_warned in
14492 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14493 +whose name does not start with the host triplet. If you think this
14494 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14495 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14496 +whose name does not start with the host triplet. If you think this
14497 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14498 +ac_tool_warned=yes ;;
14500 + RANLIB=$ac_ct_RANLIB
14503 + RANLIB="$ac_cv_prog_RANLIB"
14506 +if test -n "$ac_tool_prefix"; then
14507 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14508 +set dummy ${ac_tool_prefix}strip; ac_word=$2
14509 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14510 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14511 +if test "${ac_cv_prog_STRIP+set}" = set; then
14512 + echo $ECHO_N "(cached) $ECHO_C" >&6
14514 + if test -n "$STRIP"; then
14515 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14517 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14518 +for as_dir in $PATH
14521 + test -z "$as_dir" && as_dir=.
14522 + for ac_exec_ext in '' $ac_executable_extensions; do
14523 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14524 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14525 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14534 +STRIP=$ac_cv_prog_STRIP
14535 +if test -n "$STRIP"; then
14536 + { echo "$as_me:$LINENO: result: $STRIP" >&5
14537 +echo "${ECHO_T}$STRIP" >&6; }
14539 + { echo "$as_me:$LINENO: result: no" >&5
14540 +echo "${ECHO_T}no" >&6; }
14545 +if test -z "$ac_cv_prog_STRIP"; then
14546 + ac_ct_STRIP=$STRIP
14547 + # Extract the first word of "strip", so it can be a program name with args.
14548 +set dummy strip; ac_word=$2
14549 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14550 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14551 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14552 + echo $ECHO_N "(cached) $ECHO_C" >&6
14554 + if test -n "$ac_ct_STRIP"; then
14555 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14557 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14558 +for as_dir in $PATH
14561 + test -z "$as_dir" && as_dir=.
14562 + for ac_exec_ext in '' $ac_executable_extensions; do
14563 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14564 + ac_cv_prog_ac_ct_STRIP="strip"
14565 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14575 +if test -n "$ac_ct_STRIP"; then
14576 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14577 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14579 + { echo "$as_me:$LINENO: result: no" >&5
14580 +echo "${ECHO_T}no" >&6; }
14583 + if test "x$ac_ct_STRIP" = x; then
14586 + case $cross_compiling:$ac_tool_warned in
14588 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14589 +whose name does not start with the host triplet. If you think this
14590 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14591 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14592 +whose name does not start with the host triplet. If you think this
14593 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14594 +ac_tool_warned=yes ;;
14596 + STRIP=$ac_ct_STRIP
14599 + STRIP="$ac_cv_prog_STRIP"
14604 +old_CFLAGS="$CFLAGS"
14606 +# Set sane defaults for various variables
14607 +test -z "$AR" && AR=ar
14608 +test -z "$AR_FLAGS" && AR_FLAGS=cru
14609 +test -z "$AS" && AS=as
14610 +test -z "$CC" && CC=cc
14611 +test -z "$LTCC" && LTCC=$CC
14612 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14613 +test -z "$DLLTOOL" && DLLTOOL=dlltool
14614 +test -z "$LD" && LD=ld
14615 +test -z "$LN_S" && LN_S="ln -s"
14616 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
14617 +test -z "$NM" && NM=nm
14618 +test -z "$SED" && SED=sed
14619 +test -z "$OBJDUMP" && OBJDUMP=objdump
14620 +test -z "$RANLIB" && RANLIB=:
14621 +test -z "$STRIP" && STRIP=:
14622 +test -z "$ac_objext" && ac_objext=o
14624 +# Determine commands to create old-style static archives.
14625 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14626 +old_postinstall_cmds='chmod 644 $oldlib'
14627 +old_postuninstall_cmds=
14629 +if test -n "$RANLIB"; then
14632 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14635 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14638 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14641 +for cc_temp in $compiler""; do
14643 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14644 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14649 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14652 +# Only perform the check for file, if the check method requires it
14653 +case $deplibs_check_method in
14655 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14656 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14657 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14658 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14659 + echo $ECHO_N "(cached) $ECHO_C" >&6
14661 + case $MAGIC_CMD in
14662 +[\\/*] | ?:[\\/]*)
14663 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14666 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14667 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14668 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14669 + for ac_dir in $ac_dummy; do
14670 + IFS="$lt_save_ifs"
14671 + test -z "$ac_dir" && ac_dir=.
14672 + if test -f $ac_dir/${ac_tool_prefix}file; then
14673 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14674 + if test -n "$file_magic_test_file"; then
14675 + case $deplibs_check_method in
14677 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14678 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14679 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14680 + $EGREP "$file_magic_regex" > /dev/null; then
14685 +*** Warning: the command libtool uses to detect shared libraries,
14686 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14687 +*** The result is that libtool may fail to recognize shared libraries
14688 +*** as such. This will affect the creation of libtool libraries that
14689 +*** depend on shared libraries, but programs linked with such libtool
14690 +*** libraries will work regardless of this problem. Nevertheless, you
14691 +*** may want to report the problem to your system manager and/or to
14692 +*** bug-libtool@gnu.org
14701 + IFS="$lt_save_ifs"
14702 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14707 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14708 +if test -n "$MAGIC_CMD"; then
14709 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14710 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14712 + { echo "$as_me:$LINENO: result: no" >&5
14713 +echo "${ECHO_T}no" >&6; }
14716 +if test -z "$lt_cv_path_MAGIC_CMD"; then
14717 + if test -n "$ac_tool_prefix"; then
14718 + { echo "$as_me:$LINENO: checking for file" >&5
14719 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14720 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14721 + echo $ECHO_N "(cached) $ECHO_C" >&6
14723 + case $MAGIC_CMD in
14724 +[\\/*] | ?:[\\/]*)
14725 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14728 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14729 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14730 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14731 + for ac_dir in $ac_dummy; do
14732 + IFS="$lt_save_ifs"
14733 + test -z "$ac_dir" && ac_dir=.
14734 + if test -f $ac_dir/file; then
14735 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
14736 + if test -n "$file_magic_test_file"; then
14737 + case $deplibs_check_method in
14739 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14740 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14741 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14742 + $EGREP "$file_magic_regex" > /dev/null; then
14747 +*** Warning: the command libtool uses to detect shared libraries,
14748 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14749 +*** The result is that libtool may fail to recognize shared libraries
14750 +*** as such. This will affect the creation of libtool libraries that
14751 +*** depend on shared libraries, but programs linked with such libtool
14752 +*** libraries will work regardless of this problem. Nevertheless, you
14753 +*** may want to report the problem to your system manager and/or to
14754 +*** bug-libtool@gnu.org
14763 + IFS="$lt_save_ifs"
14764 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14769 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14770 +if test -n "$MAGIC_CMD"; then
14771 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14772 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14774 + { echo "$as_me:$LINENO: result: no" >&5
14775 +echo "${ECHO_T}no" >&6; }
14788 +enable_win32_dll=no
14790 +# Check whether --enable-libtool-lock was given.
14791 +if test "${enable_libtool_lock+set}" = set; then
14792 + enableval=$enable_libtool_lock;
14795 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14798 +# Check whether --with-pic was given.
14799 +if test "${with_pic+set}" = set; then
14800 + withval=$with_pic; pic_mode="$withval"
14805 +test -z "$pic_mode" && pic_mode=default
14807 +# Use C for the default configuration in the libtool script
14811 +ac_cpp='$CPP $CPPFLAGS'
14812 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14813 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14814 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14817 +# Source file extension for C test sources.
14820 +# Object file extension for compiled C test sources.
14824 +# Code to be used in simple compile tests
14825 +lt_simple_compile_test_code="int some_variable = 0;\n"
14827 +# Code to be used in simple link tests
14828 +lt_simple_link_test_code='int main(){return(0);}\n'
14831 +# If no C compiler was specified, use CC.
14832 +LTCC=${LTCC-"$CC"}
14834 +# If no C compiler flags were specified, use CFLAGS.
14835 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14837 +# Allow CC to be a program name with arguments.
14841 +# save warnings/boilerplate of simple test code
14842 +ac_outfile=conftest.$ac_objext
14843 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14844 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14845 +_lt_compiler_boilerplate=`cat conftest.err`
14848 +ac_outfile=conftest.$ac_objext
14849 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
14850 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14851 +_lt_linker_boilerplate=`cat conftest.err`
14856 +lt_prog_compiler_no_builtin_flag=
14858 +if test "$GCC" = yes; then
14859 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14862 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14863 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14864 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14865 + echo $ECHO_N "(cached) $ECHO_C" >&6
14867 + lt_cv_prog_compiler_rtti_exceptions=no
14868 + ac_outfile=conftest.$ac_objext
14869 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14870 + lt_compiler_flag="-fno-rtti -fno-exceptions"
14871 + # Insert the option either (1) after the last *FLAGS variable, or
14872 + # (2) before a word containing "conftest.", or (3) at the end.
14873 + # Note that $ac_compile itself does not contain backslashes and begins
14874 + # with a dollar sign (not a hyphen), so the echo should work correctly.
14875 + # The option is referenced via a variable to avoid confusing sed.
14876 + lt_compile=`echo "$ac_compile" | $SED \
14877 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14878 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14879 + -e 's:$: $lt_compiler_flag:'`
14880 + (eval echo "\"\$as_me:7412: $lt_compile\"" >&5)
14881 + (eval "$lt_compile" 2>conftest.err)
14883 + cat conftest.err >&5
14884 + echo "$as_me:7416: \$? = $ac_status" >&5
14885 + if (exit $ac_status) && test -s "$ac_outfile"; then
14886 + # The compiler can only warn and ignore the option if not recognized
14887 + # So say no if there are warnings other than the usual output.
14888 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14889 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14890 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14891 + lt_cv_prog_compiler_rtti_exceptions=yes
14897 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14898 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14900 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14901 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14908 +lt_prog_compiler_wl=
14909 +lt_prog_compiler_pic=
14910 +lt_prog_compiler_static=
14912 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14913 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14915 + if test "$GCC" = yes; then
14916 + lt_prog_compiler_wl='-Wl,'
14917 + lt_prog_compiler_static='-static'
14921 + # All AIX code is PIC.
14922 + if test "$host_cpu" = ia64; then
14923 + # AIX 5 now supports IA64 processor
14924 + lt_prog_compiler_static='-Bstatic'
14929 + # FIXME: we need at least 68020 code to build shared libraries, but
14930 + # adding the `-m68020' flag to GCC prevents building anything better,
14931 + # like `-m68040'.
14932 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14935 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14936 + # PIC is the default for these OSes.
14939 + mingw* | pw32* | os2*)
14940 + # This hack is so that the source file can tell whether it is being
14941 + # built for inclusion in a dll (and should export symbols for example).
14942 + lt_prog_compiler_pic='-DDLL_EXPORT'
14945 + darwin* | rhapsody*)
14946 + # PIC is the default on this platform
14947 + # Common symbols not allowed in MH_DYLIB files
14948 + lt_prog_compiler_pic='-fno-common'
14952 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14953 + # Instead, we relocate shared libraries at runtime.
14957 + # Just because we use GCC doesn't mean we suddenly get shared libraries
14958 + # on systems that don't support them.
14959 + lt_prog_compiler_can_build_shared=no
14964 + if test -d /usr/nec; then
14965 + lt_prog_compiler_pic=-Kconform_pic
14970 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14971 + # not for PA HP-UX.
14972 + case $host_cpu in
14977 + lt_prog_compiler_pic='-fPIC'
14983 + lt_prog_compiler_pic='-fPIC'
14987 + # PORTME Check for flag to pass linker flags through the system compiler.
14990 + lt_prog_compiler_wl='-Wl,'
14991 + if test "$host_cpu" = ia64; then
14992 + # AIX 5 now supports IA64 processor
14993 + lt_prog_compiler_static='-Bstatic'
14995 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14999 + # PIC is the default on this platform
15000 + # Common symbols not allowed in MH_DYLIB files
15001 + case $cc_basename in
15003 + lt_prog_compiler_pic='-qnocommon'
15004 + lt_prog_compiler_wl='-Wl,'
15009 + mingw* | pw32* | os2*)
15010 + # This hack is so that the source file can tell whether it is being
15011 + # built for inclusion in a dll (and should export symbols for example).
15012 + lt_prog_compiler_pic='-DDLL_EXPORT'
15015 + hpux9* | hpux10* | hpux11*)
15016 + lt_prog_compiler_wl='-Wl,'
15017 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15018 + # not for PA HP-UX.
15019 + case $host_cpu in
15024 + lt_prog_compiler_pic='+Z'
15027 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15028 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15031 + irix5* | irix6* | nonstopux*)
15032 + lt_prog_compiler_wl='-Wl,'
15033 + # PIC (with -KPIC) is the default.
15034 + lt_prog_compiler_static='-non_shared'
15038 + lt_prog_compiler_pic='-KPIC'
15039 + lt_prog_compiler_static='-Bstatic'
15042 + linux* | k*bsd*-gnu)
15043 + case $cc_basename in
15045 + lt_prog_compiler_wl='-Wl,'
15046 + lt_prog_compiler_pic='-KPIC'
15047 + lt_prog_compiler_static='-static'
15049 + pgcc* | pgf77* | pgf90* | pgf95*)
15050 + # Portland Group compilers (*not* the Pentium gcc compiler,
15051 + # which looks to be a dead project)
15052 + lt_prog_compiler_wl='-Wl,'
15053 + lt_prog_compiler_pic='-fpic'
15054 + lt_prog_compiler_static='-Bstatic'
15057 + lt_prog_compiler_wl='-Wl,'
15058 + # All Alpha code is PIC.
15059 + lt_prog_compiler_static='-non_shared'
15064 + osf3* | osf4* | osf5*)
15065 + lt_prog_compiler_wl='-Wl,'
15066 + # All OSF/1 code is PIC.
15067 + lt_prog_compiler_static='-non_shared'
15071 + lt_prog_compiler_pic='-KPIC'
15072 + lt_prog_compiler_static='-Bstatic'
15073 + case $cc_basename in
15074 + f77* | f90* | f95*)
15075 + lt_prog_compiler_wl='-Qoption ld ';;
15077 + lt_prog_compiler_wl='-Wl,';;
15082 + lt_prog_compiler_wl='-Qoption ld '
15083 + lt_prog_compiler_pic='-PIC'
15084 + lt_prog_compiler_static='-Bstatic'
15087 + sysv4 | sysv4.2uw2* | sysv4.3*)
15088 + lt_prog_compiler_wl='-Wl,'
15089 + lt_prog_compiler_pic='-KPIC'
15090 + lt_prog_compiler_static='-Bstatic'
15094 + if test -d /usr/nec ;then
15095 + lt_prog_compiler_pic='-Kconform_pic'
15096 + lt_prog_compiler_static='-Bstatic'
15100 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15101 + lt_prog_compiler_wl='-Wl,'
15102 + lt_prog_compiler_pic='-KPIC'
15103 + lt_prog_compiler_static='-Bstatic'
15107 + lt_prog_compiler_wl='-Wl,'
15108 + lt_prog_compiler_can_build_shared=no
15112 + lt_prog_compiler_pic='-pic'
15113 + lt_prog_compiler_static='-Bstatic'
15117 + lt_prog_compiler_can_build_shared=no
15122 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15123 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15126 +# Check to make sure the PIC flag actually works.
15128 +if test -n "$lt_prog_compiler_pic"; then
15130 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15131 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
15132 +if test "${lt_prog_compiler_pic_works+set}" = set; then
15133 + echo $ECHO_N "(cached) $ECHO_C" >&6
15135 + lt_prog_compiler_pic_works=no
15136 + ac_outfile=conftest.$ac_objext
15137 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15138 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15139 + # Insert the option either (1) after the last *FLAGS variable, or
15140 + # (2) before a word containing "conftest.", or (3) at the end.
15141 + # Note that $ac_compile itself does not contain backslashes and begins
15142 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15143 + # The option is referenced via a variable to avoid confusing sed.
15144 + lt_compile=`echo "$ac_compile" | $SED \
15145 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15146 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15147 + -e 's:$: $lt_compiler_flag:'`
15148 + (eval echo "\"\$as_me:7680: $lt_compile\"" >&5)
15149 + (eval "$lt_compile" 2>conftest.err)
15151 + cat conftest.err >&5
15152 + echo "$as_me:7684: \$? = $ac_status" >&5
15153 + if (exit $ac_status) && test -s "$ac_outfile"; then
15154 + # The compiler can only warn and ignore the option if not recognized
15155 + # So say no if there are warnings other than the usual output.
15156 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15157 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15158 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15159 + lt_prog_compiler_pic_works=yes
15165 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15166 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15168 +if test x"$lt_prog_compiler_pic_works" = xyes; then
15169 + case $lt_prog_compiler_pic in
15171 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15174 + lt_prog_compiler_pic=
15175 + lt_prog_compiler_can_build_shared=no
15180 + # For platforms which do not support PIC, -DPIC is meaningless:
15182 + lt_prog_compiler_pic=
15185 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15190 +# Check to make sure the static flag actually works.
15192 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15193 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15194 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15195 +if test "${lt_prog_compiler_static_works+set}" = set; then
15196 + echo $ECHO_N "(cached) $ECHO_C" >&6
15198 + lt_prog_compiler_static_works=no
15199 + save_LDFLAGS="$LDFLAGS"
15200 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15201 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15202 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15203 + # The linker can only warn and ignore the option if not recognized
15204 + # So say no if there are warnings
15205 + if test -s conftest.err; then
15206 + # Append any errors to the config.log.
15207 + cat conftest.err 1>&5
15208 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15209 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15210 + if diff conftest.exp conftest.er2 >/dev/null; then
15211 + lt_prog_compiler_static_works=yes
15214 + lt_prog_compiler_static_works=yes
15218 + LDFLAGS="$save_LDFLAGS"
15221 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15222 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15224 +if test x"$lt_prog_compiler_static_works" = xyes; then
15227 + lt_prog_compiler_static=
15231 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15232 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15233 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15234 + echo $ECHO_N "(cached) $ECHO_C" >&6
15236 + lt_cv_prog_compiler_c_o=no
15237 + $rm -r conftest 2>/dev/null
15241 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15243 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15244 + # Insert the option either (1) after the last *FLAGS variable, or
15245 + # (2) before a word containing "conftest.", or (3) at the end.
15246 + # Note that $ac_compile itself does not contain backslashes and begins
15247 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15248 + lt_compile=`echo "$ac_compile" | $SED \
15249 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15250 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15251 + -e 's:$: $lt_compiler_flag:'`
15252 + (eval echo "\"\$as_me:7784: $lt_compile\"" >&5)
15253 + (eval "$lt_compile" 2>out/conftest.err)
15255 + cat out/conftest.err >&5
15256 + echo "$as_me:7788: \$? = $ac_status" >&5
15257 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15259 + # The compiler can only warn and ignore the option if not recognized
15260 + # So say no if there are warnings
15261 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15262 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15263 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15264 + lt_cv_prog_compiler_c_o=yes
15269 + # SGI C++ compiler will create directory out/ii_files/ for
15270 + # template instantiation
15271 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15272 + $rm out/* && rmdir out
15278 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15279 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15282 +hard_links="nottested"
15283 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15284 + # do not overwrite the value of need_locks provided by the user
15285 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15286 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15289 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15291 + ln conftest.a conftest.b 2>&5 || hard_links=no
15292 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15293 + { echo "$as_me:$LINENO: result: $hard_links" >&5
15294 +echo "${ECHO_T}$hard_links" >&6; }
15295 + if test "$hard_links" = no; then
15296 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15297 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15304 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15305 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15308 + allow_undefined_flag=
15309 + enable_shared_with_static_runtimes=no
15311 + archive_expsym_cmds=
15312 + old_archive_From_new_cmds=
15313 + old_archive_from_expsyms_cmds=
15314 + export_dynamic_flag_spec=
15315 + whole_archive_flag_spec=
15316 + thread_safe_flag_spec=
15317 + hardcode_libdir_flag_spec=
15318 + hardcode_libdir_flag_spec_ld=
15319 + hardcode_libdir_separator=
15320 + hardcode_direct=no
15321 + hardcode_minus_L=no
15322 + hardcode_shlibpath_var=unsupported
15323 + link_all_deplibs=unknown
15324 + hardcode_automatic=no
15326 + module_expsym_cmds=
15327 + always_export_symbols=no
15328 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15329 + # include_expsyms should be a list of space-separated symbols to be *always*
15330 + # included in the symbol list
15332 + # exclude_expsyms can be an extended regexp of symbols to exclude
15333 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15334 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15335 + # as well as any symbol that contains `d'.
15336 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15337 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15338 + # platforms (ab)use it in PIC code, but their linkers get confused if
15339 + # the symbol is explicitly referenced. Since portable code cannot
15340 + # rely on this symbol name, it's probably fine to never include it in
15341 + # preloaded symbol tables.
15342 + extract_expsyms_cmds=
15343 + # Just being paranoid about ensuring that cc_basename is set.
15344 + for cc_temp in $compiler""; do
15346 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15347 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15352 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15355 + cygwin* | mingw* | pw32*)
15356 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15357 + # When not using gcc, we currently assume that we are using
15358 + # Microsoft Visual C++.
15359 + if test "$GCC" != yes; then
15364 + # we just hope/assume this is gcc and not c89 (= MSVC++)
15373 + if test "$with_gnu_ld" = yes; then
15374 + # If archive_cmds runs LD, not CC, wlarc should be empty
15377 + # Set some defaults for GNU ld with shared library support. These
15378 + # are reset later if shared libraries are not supported. Putting them
15379 + # here allows them to be overridden if necessary.
15380 + runpath_var=LD_RUN_PATH
15381 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15382 + export_dynamic_flag_spec='${wl}--export-dynamic'
15383 + # ancient GNU ld didn't support --whole-archive et. al.
15384 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15385 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15387 + whole_archive_flag_spec=
15389 + supports_anon_versioning=no
15390 + case `$LD -v 2>/dev/null` in
15391 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15392 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15393 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15394 + *\ 2.11.*) ;; # other 2.11 versions
15395 + *) supports_anon_versioning=yes ;;
15398 + # See if GNU ld supports shared libraries.
15400 + aix3* | aix4* | aix5*)
15401 + # On AIX/PPC, the GNU linker is very broken
15402 + if test "$host_cpu" != ia64; then
15406 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15407 +*** to be unable to reliably create shared libraries on AIX.
15408 +*** Therefore, libtool is disabling shared libraries support. If you
15409 +*** really care for shared libraries, you may want to modify your PATH
15410 +*** so that a non-GNU linker is found, and then restart.
15417 + 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)'
15418 + hardcode_libdir_flag_spec='-L$libdir'
15419 + hardcode_minus_L=yes
15421 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15422 + # that the semantics of dynamic libraries on AmigaOS, at least up
15423 + # to version 4, is to share data among multiple programs linked
15424 + # with the same dynamic library. Since this doesn't match the
15425 + # behavior of shared libraries on other platforms, we can't use
15431 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15432 + allow_undefined_flag=unsupported
15433 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15434 + # support --undefined. This deserves some investigation. FIXME
15435 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15441 + cygwin* | mingw* | pw32*)
15442 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15443 + # as there is no search path for DLLs.
15444 + hardcode_libdir_flag_spec='-L$libdir'
15445 + allow_undefined_flag=unsupported
15446 + always_export_symbols=no
15447 + enable_shared_with_static_runtimes=yes
15448 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15450 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15451 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15452 + # If the export-symbols file already is a .def file (1st line
15453 + # is EXPORTS), use it as is; otherwise, prepend...
15454 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15455 + cp $export_symbols $output_objdir/$soname.def;
15457 + echo EXPORTS > $output_objdir/$soname.def;
15458 + cat $export_symbols >> $output_objdir/$soname.def;
15460 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15467 + hardcode_direct=no
15468 + hardcode_shlibpath_var=no
15469 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15470 + export_dynamic_flag_spec='${wl}-E'
15471 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15472 + # Instead, shared libraries are loaded at an image base (0x10000000 by
15473 + # default) and relocated if they conflict, which is a slow very memory
15474 + # consuming and fragmenting process. To avoid this, we pick a random,
15475 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15476 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15477 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15478 + 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'
15481 + linux* | k*bsd*-gnu)
15482 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15484 + case $cc_basename,$host_cpu in
15485 + pgcc*) # Portland Group C compiler
15486 + 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'
15487 + tmp_addflag=' $pic_flag'
15489 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15490 + 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'
15491 + tmp_addflag=' $pic_flag -Mnomain' ;;
15492 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15493 + tmp_addflag=' -i_dynamic' ;;
15494 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15495 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15496 + ifc* | ifort*) # Intel Fortran compiler
15497 + tmp_addflag=' -nofor_main' ;;
15499 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501 + if test $supports_anon_versioning = yes; then
15502 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15503 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15504 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15505 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15507 + link_all_deplibs=no
15513 + netbsd* | netbsdelf*-gnu)
15514 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15515 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15518 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15519 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15524 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15528 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15529 +*** create shared libraries on Solaris systems. Therefore, libtool
15530 +*** is disabling shared libraries support. We urge you to upgrade GNU
15531 +*** binutils to release 2.9.1 or newer. Another option is to modify
15532 +*** your PATH or compiler configuration so that the native linker is
15533 +*** used, and then restart.
15536 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15537 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15538 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15544 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15545 + case `$LD -v 2>&1` in
15546 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15548 + cat <<_LT_EOF 1>&2
15550 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15551 +*** reliably create shared libraries on SCO systems. Therefore, libtool
15552 +*** is disabling shared libraries support. We urge you to upgrade GNU
15553 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15554 +*** your PATH or compiler configuration so that the native linker is
15555 +*** used, and then restart.
15560 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15561 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15562 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15563 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15572 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15574 + hardcode_direct=yes
15575 + hardcode_shlibpath_var=no
15579 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15580 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15581 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15588 + if test "$ld_shlibs" = no; then
15590 + hardcode_libdir_flag_spec=
15591 + export_dynamic_flag_spec=
15592 + whole_archive_flag_spec=
15595 + # PORTME fill in a description of your system's linker (not GNU ld)
15598 + allow_undefined_flag=unsupported
15599 + always_export_symbols=yes
15600 + 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'
15601 + # Note: this linker hardcodes the directories in LIBPATH if there
15602 + # are no directories specified by -L.
15603 + hardcode_minus_L=yes
15604 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15605 + # Neither direct hardcoding nor static linking is supported with a
15606 + # broken collect2.
15607 + hardcode_direct=unsupported
15612 + if test "$host_cpu" = ia64; then
15613 + # On IA64, the linker does run time linking by default, so we don't
15614 + # have to do anything special.
15615 + aix_use_runtimelinking=no
15616 + exp_sym_flag='-Bexport'
15619 + # If we're using GNU nm, then we don't want the "-C" option.
15620 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15621 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15622 + 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'
15624 + 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'
15626 + aix_use_runtimelinking=no
15628 + # Test if we are trying to use run time linking or normal
15629 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15630 + # need to do runtime linking.
15631 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15632 + for ld_flag in $LDFLAGS; do
15633 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15634 + aix_use_runtimelinking=yes
15641 + exp_sym_flag='-bexport'
15642 + no_entry_flag='-bnoentry'
15645 + # When large executables or shared objects are built, AIX ld can
15646 + # have problems creating the table of contents. If linking a library
15647 + # or program results in "error TOC overflow" add -mminimal-toc to
15648 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15649 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15652 + hardcode_direct=yes
15653 + hardcode_libdir_separator=':'
15654 + link_all_deplibs=yes
15656 + if test "$GCC" = yes; then
15657 + case $host_os in aix4.[012]|aix4.[012].*)
15658 + # We only want to do this on AIX 4.2 and lower, the check
15659 + # below for broken collect2 doesn't work under 4.3+
15660 + collect2name=`${CC} -print-prog-name=collect2`
15661 + if test -f "$collect2name" && \
15662 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15664 + # We have reworked collect2
15665 + hardcode_direct=yes
15667 + # We have old collect2
15668 + hardcode_direct=unsupported
15669 + # It fails to find uninstalled libraries when the uninstalled
15670 + # path is not listed in the libpath. Setting hardcode_minus_L
15671 + # to unsupported forces relinking
15672 + hardcode_minus_L=yes
15673 + hardcode_libdir_flag_spec='-L$libdir'
15674 + hardcode_libdir_separator=
15678 + shared_flag='-shared'
15679 + if test "$aix_use_runtimelinking" = yes; then
15680 + shared_flag="$shared_flag "'${wl}-G'
15684 + if test "$host_cpu" = ia64; then
15685 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15686 + # chokes on -Wl,-G. The following line is correct:
15689 + if test "$aix_use_runtimelinking" = yes; then
15690 + shared_flag='${wl}-G'
15692 + shared_flag='${wl}-bM:SRE'
15697 + # It seems that -bexpall does not export symbols beginning with
15698 + # underscore (_), so it is better to generate a list of symbols to export.
15699 + always_export_symbols=yes
15700 + if test "$aix_use_runtimelinking" = yes; then
15701 + # Warning - without using the other runtime loading flags (-brtl),
15702 + # -berok will link without error, but may produce a broken library.
15703 + allow_undefined_flag='-berok'
15704 + # Determine the default libpath from the value encoded in an empty executable.
15705 + cat >conftest.$ac_ext <<_ACEOF
15708 +cat confdefs.h >>conftest.$ac_ext
15709 +cat >>conftest.$ac_ext <<_ACEOF
15710 +/* end confdefs.h. */
15720 +rm -f conftest.$ac_objext conftest$ac_exeext
15721 +if { (ac_try="$ac_link"
15722 +case "(($ac_try" in
15723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 + *) ac_try_echo=$ac_try;;
15726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 + (eval "$ac_link") 2>conftest.er1
15729 + grep -v '^ *+' conftest.er1 >conftest.err
15730 + rm -f conftest.er1
15731 + cat conftest.err >&5
15732 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 + (exit $ac_status); } && {
15734 + test -z "$ac_c_werror_flag" ||
15735 + test ! -s conftest.err
15736 + } && test -s conftest$ac_exeext &&
15737 + $as_test_x conftest$ac_exeext; then
15739 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15741 +# Check for a 64-bit object if we didn't find anything.
15742 +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; }
15745 + echo "$as_me: failed program was:" >&5
15746 +sed 's/^/| /' conftest.$ac_ext >&5
15751 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15752 + conftest$ac_exeext conftest.$ac_ext
15753 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15755 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15756 + 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"
15758 + if test "$host_cpu" = ia64; then
15759 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15760 + allow_undefined_flag="-z nodefs"
15761 + 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"
15763 + # Determine the default libpath from the value encoded in an empty executable.
15764 + cat >conftest.$ac_ext <<_ACEOF
15767 +cat confdefs.h >>conftest.$ac_ext
15768 +cat >>conftest.$ac_ext <<_ACEOF
15769 +/* end confdefs.h. */
15779 +rm -f conftest.$ac_objext conftest$ac_exeext
15780 +if { (ac_try="$ac_link"
15781 +case "(($ac_try" in
15782 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783 + *) ac_try_echo=$ac_try;;
15785 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 + (eval "$ac_link") 2>conftest.er1
15788 + grep -v '^ *+' conftest.er1 >conftest.err
15789 + rm -f conftest.er1
15790 + cat conftest.err >&5
15791 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 + (exit $ac_status); } && {
15793 + test -z "$ac_c_werror_flag" ||
15794 + test ! -s conftest.err
15795 + } && test -s conftest$ac_exeext &&
15796 + $as_test_x conftest$ac_exeext; then
15798 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15800 +# Check for a 64-bit object if we didn't find anything.
15801 +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; }
15804 + echo "$as_me: failed program was:" >&5
15805 +sed 's/^/| /' conftest.$ac_ext >&5
15810 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15811 + conftest$ac_exeext conftest.$ac_ext
15812 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15814 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15815 + # Warning - without using the other run time loading flags,
15816 + # -berok will link without error, but may produce a broken library.
15817 + no_undefined_flag=' ${wl}-bernotok'
15818 + allow_undefined_flag=' ${wl}-berok'
15819 + # Exported symbols can be pulled into shared objects from archives
15820 + whole_archive_flag_spec='$convenience'
15821 + archive_cmds_need_lc=yes
15822 + # This is similar to how AIX traditionally builds its shared libraries.
15823 + 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'
15829 + 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)'
15830 + hardcode_libdir_flag_spec='-L$libdir'
15831 + hardcode_minus_L=yes
15832 + # see comment about different semantics on the GNU ld section
15837 + export_dynamic_flag_spec=-rdynamic
15840 + cygwin* | mingw* | pw32*)
15841 + # When not using gcc, we currently assume that we are using
15842 + # Microsoft Visual C++.
15843 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15844 + # no search path for DLLs.
15845 + hardcode_libdir_flag_spec=' '
15846 + allow_undefined_flag=unsupported
15847 + # Tell ltmain to make .lib files, not .a files.
15849 + # Tell ltmain to make .dll files, not .so files.
15850 + shrext_cmds=".dll"
15851 + # FIXME: Setting linknames here is a bad hack.
15852 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15853 + # The linker will automatically build a .lib file if we build a DLL.
15854 + old_archive_From_new_cmds='true'
15855 + # FIXME: Should let the user specify the lib program.
15856 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15857 + fix_srcfile_path='`cygpath -w "$srcfile"`'
15858 + enable_shared_with_static_runtimes=yes
15861 + darwin* | rhapsody*)
15863 + rhapsody* | darwin1.[012])
15864 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
15866 + *) # Darwin 1.3 on
15867 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15868 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15870 + case ${MACOSX_DEPLOYMENT_TARGET} in
15872 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15875 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15881 + archive_cmds_need_lc=no
15882 + hardcode_direct=no
15883 + hardcode_automatic=yes
15884 + hardcode_shlibpath_var=unsupported
15885 + whole_archive_flag_spec=''
15886 + link_all_deplibs=yes
15887 + if test "$GCC" = yes ; then
15888 + output_verbose_link_cmd='echo'
15889 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15890 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15891 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15892 + 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}'
15893 + 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}'
15895 + case $cc_basename in
15897 + output_verbose_link_cmd='echo'
15898 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15899 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15900 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15901 + 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}'
15902 + 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}'
15912 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15913 + hardcode_libdir_flag_spec='-L$libdir'
15914 + hardcode_shlibpath_var=no
15921 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15922 + # support. Future versions do this automatically, but an explicit c++rt0.o
15923 + # does not break anything, and helps significantly (at the cost of a little
15926 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15927 + hardcode_libdir_flag_spec='-R$libdir'
15928 + hardcode_direct=yes
15929 + hardcode_shlibpath_var=no
15932 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15934 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15935 + hardcode_direct=yes
15936 + hardcode_minus_L=yes
15937 + hardcode_shlibpath_var=no
15940 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15941 + freebsd* | dragonfly*)
15942 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15943 + hardcode_libdir_flag_spec='-R$libdir'
15944 + hardcode_direct=yes
15945 + hardcode_shlibpath_var=no
15949 + if test "$GCC" = yes; then
15950 + 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'
15952 + 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'
15954 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15955 + hardcode_libdir_separator=:
15956 + hardcode_direct=yes
15958 + # hardcode_minus_L: Not really in the search PATH,
15959 + # but as the default location of the library.
15960 + hardcode_minus_L=yes
15961 + export_dynamic_flag_spec='${wl}-E'
15965 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15966 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15968 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15970 + if test "$with_gnu_ld" = no; then
15971 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15972 + hardcode_libdir_separator=:
15974 + hardcode_direct=yes
15975 + export_dynamic_flag_spec='${wl}-E'
15977 + # hardcode_minus_L: Not really in the search PATH,
15978 + # but as the default location of the library.
15979 + hardcode_minus_L=yes
15984 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15985 + case $host_cpu in
15987 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15990 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15993 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15997 + case $host_cpu in
15999 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16002 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16005 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16009 + if test "$with_gnu_ld" = no; then
16010 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16011 + hardcode_libdir_separator=:
16013 + case $host_cpu in
16015 + hardcode_libdir_flag_spec_ld='+b $libdir'
16016 + hardcode_direct=no
16017 + hardcode_shlibpath_var=no
16020 + hardcode_direct=yes
16021 + export_dynamic_flag_spec='${wl}-E'
16023 + # hardcode_minus_L: Not really in the search PATH,
16024 + # but as the default location of the library.
16025 + hardcode_minus_L=yes
16031 + irix5* | irix6* | nonstopux*)
16032 + if test "$GCC" = yes; then
16033 + 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'
16035 + 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'
16036 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
16038 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16039 + hardcode_libdir_separator=:
16040 + link_all_deplibs=yes
16043 + netbsd* | netbsdelf*-gnu)
16044 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16045 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16047 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16049 + hardcode_libdir_flag_spec='-R$libdir'
16050 + hardcode_direct=yes
16051 + hardcode_shlibpath_var=no
16055 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16056 + hardcode_direct=yes
16057 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16058 + hardcode_libdir_separator=:
16059 + hardcode_shlibpath_var=no
16063 + hardcode_direct=yes
16064 + hardcode_shlibpath_var=no
16065 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16066 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16067 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16068 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16069 + export_dynamic_flag_spec='${wl}-E'
16072 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16073 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16074 + hardcode_libdir_flag_spec='-R$libdir'
16077 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16078 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16085 + hardcode_libdir_flag_spec='-L$libdir'
16086 + hardcode_minus_L=yes
16087 + allow_undefined_flag=unsupported
16088 + 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'
16089 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16093 + if test "$GCC" = yes; then
16094 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16095 + 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'
16097 + allow_undefined_flag=' -expect_unresolved \*'
16098 + 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'
16100 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16101 + hardcode_libdir_separator=:
16104 + osf4* | osf5*) # as osf3* with the addition of -msym flag
16105 + if test "$GCC" = yes; then
16106 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16107 + 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'
16108 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16110 + allow_undefined_flag=' -expect_unresolved \*'
16111 + 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'
16112 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16113 + $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'
16115 + # Both c and cxx compiler support -rpath directly
16116 + hardcode_libdir_flag_spec='-rpath $libdir'
16118 + hardcode_libdir_separator=:
16122 + no_undefined_flag=' -z text'
16123 + if test "$GCC" = yes; then
16125 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16126 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16127 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16130 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16131 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16132 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16134 + hardcode_libdir_flag_spec='-R$libdir'
16135 + hardcode_shlibpath_var=no
16137 + solaris2.[0-5] | solaris2.[0-5].*) ;;
16139 + # The compiler driver will combine linker options so we
16140 + # cannot just pass the convience library names through
16141 + # without $wl, iff we do not link with $LD.
16142 + # Luckily, gcc supports the same syntax we need for Sun Studio.
16143 + # Supported since Solaris 2.6 (maybe 2.5.1?)
16146 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
16148 + 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' ;;
16151 + link_all_deplibs=yes
16155 + if test "x$host_vendor" = xsequent; then
16156 + # Use $CC to link under sequent, because it throws in some extra .o
16157 + # files that make .init and .fini sections work.
16158 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16160 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16162 + hardcode_libdir_flag_spec='-L$libdir'
16163 + hardcode_direct=yes
16164 + hardcode_minus_L=yes
16165 + hardcode_shlibpath_var=no
16169 + case $host_vendor in
16171 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16172 + hardcode_direct=yes # is this really true???
16175 + ## LD is ld it makes a PLAMLIB
16176 + ## CC just makes a GrossModule.
16177 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16178 + reload_cmds='$CC -r -o $output$reload_objs'
16179 + hardcode_direct=no
16182 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16183 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16186 + runpath_var='LD_RUN_PATH'
16187 + hardcode_shlibpath_var=no
16191 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16192 + hardcode_shlibpath_var=no
16193 + export_dynamic_flag_spec='-Bexport'
16197 + if test -d /usr/nec; then
16198 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16199 + hardcode_shlibpath_var=no
16200 + runpath_var=LD_RUN_PATH
16201 + hardcode_runpath_var=yes
16206 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16207 + no_undefined_flag='${wl}-z,text'
16208 + archive_cmds_need_lc=no
16209 + hardcode_shlibpath_var=no
16210 + runpath_var='LD_RUN_PATH'
16212 + if test "$GCC" = yes; then
16213 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16214 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16216 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16217 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16221 + sysv5* | sco3.2v5* | sco5v6*)
16222 + # Note: We can NOT use -z defs as we might desire, because we do not
16223 + # link with -lc, and that would cause any symbols used from libc to
16224 + # always be unresolved, which means just about no library would
16225 + # ever link correctly. If we're not using GNU ld we use -z text
16226 + # though, which does catch some bad symbols but isn't as heavy-handed
16228 + no_undefined_flag='${wl}-z,text'
16229 + allow_undefined_flag='${wl}-z,nodefs'
16230 + archive_cmds_need_lc=no
16231 + hardcode_shlibpath_var=no
16232 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16233 + hardcode_libdir_separator=':'
16234 + link_all_deplibs=yes
16235 + export_dynamic_flag_spec='${wl}-Bexport'
16236 + runpath_var='LD_RUN_PATH'
16238 + if test "$GCC" = yes; then
16239 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16240 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16243 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16248 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16249 + hardcode_libdir_flag_spec='-L$libdir'
16250 + hardcode_shlibpath_var=no
16259 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16260 +echo "${ECHO_T}$ld_shlibs" >&6; }
16261 +test "$ld_shlibs" = no && can_build_shared=no
16264 +# Do we need to explicitly link libc?
16266 +case "x$archive_cmds_need_lc" in
16268 + # Assume -lc should be added
16269 + archive_cmds_need_lc=yes
16271 + if test "$enable_shared" = yes && test "$GCC" = yes; then
16272 + case $archive_cmds in
16274 + # FIXME: we may have to deal with multi-command sequences.
16277 + # Test whether the compiler implicitly links with -lc since on some
16278 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16279 + # to ld, don't add -lc before -lgcc.
16280 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16281 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16283 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16285 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16286 + (eval $ac_compile) 2>&5
16288 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 + (exit $ac_status); } 2>conftest.err; then
16292 + libobjs=conftest.$ac_objext
16294 + wl=$lt_prog_compiler_wl
16295 + pic_flag=$lt_prog_compiler_pic
16296 + compiler_flags=-v
16301 + lt_save_allow_undefined_flag=$allow_undefined_flag
16302 + allow_undefined_flag=
16303 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16304 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 + (exit $ac_status); }
16309 + archive_cmds_need_lc=no
16311 + archive_cmds_need_lc=yes
16313 + allow_undefined_flag=$lt_save_allow_undefined_flag
16315 + cat conftest.err 1>&5
16318 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16319 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16326 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16327 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16328 +library_names_spec=
16329 +libname_spec='lib$name'
16333 +postuninstall_cmds=
16337 +shlibpath_overrides_runpath=unknown
16339 +dynamic_linker="$host_os ld.so"
16340 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
16341 +if test "$GCC" = yes; then
16342 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16343 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16344 + # if the path contains ";" then we assume it to be the separator
16345 + # otherwise default to the standard path separator (i.e. ":") - it is
16346 + # assumed that no part of a normal pathname contains ";" but that should
16347 + # okay in the real world where ";" in dirpaths is itself problematic.
16348 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16350 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16353 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16355 +need_lib_prefix=unknown
16356 +hardcode_into_libs=no
16358 +# when you set need_version to no, make sure it does not cause -set_version
16359 +# flags to be left without arguments
16360 +need_version=unknown
16364 + version_type=linux
16365 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16366 + shlibpath_var=LIBPATH
16368 + # AIX 3 has no versioning support, so we append a major version to the name.
16369 + soname_spec='${libname}${release}${shared_ext}$major'
16373 + version_type=linux
16374 + need_lib_prefix=no
16376 + hardcode_into_libs=yes
16377 + if test "$host_cpu" = ia64; then
16378 + # AIX 5 supports IA64
16379 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16380 + shlibpath_var=LD_LIBRARY_PATH
16382 + # With GCC up to 2.95.x, collect2 would create an import file
16383 + # for dependence libraries. The import file would start with
16384 + # the line `#! .'. This would cause the generated library to
16385 + # depend on `.', always an invalid library. This was fixed in
16386 + # development snapshots of GCC prior to 3.0.
16388 + aix4 | aix4.[01] | aix4.[01].*)
16389 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16391 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16394 + can_build_shared=no
16398 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16399 + # soname into executable. Probably we can add versioning support to
16400 + # collect2, so additional links can be useful in future.
16401 + if test "$aix_use_runtimelinking" = yes; then
16402 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16403 + # instead of lib<name>.a to let people know that these are not
16404 + # typical AIX shared libraries.
16405 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 + # We preserve .a as extension for shared libraries through AIX4.2
16408 + # and later when we are not doing run time linking.
16409 + library_names_spec='${libname}${release}.a $libname.a'
16410 + soname_spec='${libname}${release}${shared_ext}$major'
16412 + shlibpath_var=LIBPATH
16417 + library_names_spec='$libname.ixlibrary $libname.a'
16418 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
16419 + 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'
16423 + library_names_spec='${libname}${shared_ext}'
16424 + dynamic_linker="$host_os ld.so"
16425 + shlibpath_var=LIBRARY_PATH
16429 + version_type=linux
16431 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16432 + soname_spec='${libname}${release}${shared_ext}$major'
16433 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16434 + shlibpath_var=LD_LIBRARY_PATH
16435 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16436 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16437 + # the default ld.so.conf also contains /usr/contrib/lib and
16438 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16439 + # libtool to hard-code these into programs
16442 +cygwin* | mingw* | pw32*)
16443 + version_type=windows
16444 + shrext_cmds=".dll"
16446 + need_lib_prefix=no
16448 + case $GCC,$host_os in
16449 + yes,cygwin* | yes,mingw* | yes,pw32*)
16450 + library_names_spec='$libname.dll.a'
16451 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
16452 + postinstall_cmds='base_file=`basename \${file}`~
16453 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16454 + dldir=$destdir/`dirname \$dlpath`~
16455 + test -d \$dldir || mkdir -p \$dldir~
16456 + $install_prog $dir/$dlname \$dldir/$dlname~
16457 + chmod a+x \$dldir/$dlname'
16458 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16459 + dlpath=$dir/\$dldll~
16461 + shlibpath_overrides_runpath=yes
16465 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16466 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16467 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16470 + # MinGW DLLs use traditional 'lib' prefix
16471 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16472 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16473 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16474 + # It is most probably a Windows format PATH printed by
16475 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
16476 + # path with ; separators, and with drive letters. We can handle the
16477 + # drive letters (cygwin fileutils understands them), so leave them,
16478 + # especially as we might pass files found there to a mingw objdump,
16479 + # which wouldn't understand a cygwinified path. Ahh.
16480 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16482 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16486 + # pw32 DLLs use 'pw' prefix rather than 'lib'
16487 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16493 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16496 + dynamic_linker='Win32 ld.exe'
16497 + # FIXME: first we should search . and the directory the executable is in
16498 + shlibpath_var=PATH
16501 +darwin* | rhapsody*)
16502 + dynamic_linker="$host_os dyld"
16503 + version_type=darwin
16504 + need_lib_prefix=no
16506 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16507 + soname_spec='${libname}${release}${major}$shared_ext'
16508 + shlibpath_overrides_runpath=yes
16509 + shlibpath_var=DYLD_LIBRARY_PATH
16510 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16511 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16512 + if test "$GCC" = yes; then
16513 + 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"`
16515 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16517 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16521 + version_type=linux
16522 + need_lib_prefix=no
16524 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16525 + soname_spec='${libname}${release}${shared_ext}$major'
16526 + shlibpath_var=LD_LIBRARY_PATH
16530 + dynamic_linker=no
16533 +freebsd* | dragonfly*)
16534 + # DragonFly does not have aout. When/if they implement a new
16535 + # versioning mechanism, adjust this.
16536 + if test -x /usr/bin/objformat; then
16537 + objformat=`/usr/bin/objformat`
16540 + freebsd[123]*) objformat=aout ;;
16541 + *) objformat=elf ;;
16544 + version_type=freebsd-$objformat
16545 + case $version_type in
16547 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16549 + need_lib_prefix=no
16552 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16556 + shlibpath_var=LD_LIBRARY_PATH
16559 + shlibpath_overrides_runpath=yes
16561 + freebsd3.[01]* | freebsdelf3.[01]*)
16562 + shlibpath_overrides_runpath=yes
16563 + hardcode_into_libs=yes
16565 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16566 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16567 + shlibpath_overrides_runpath=no
16568 + hardcode_into_libs=yes
16570 + freebsd*) # from 4.6 on
16571 + shlibpath_overrides_runpath=yes
16572 + hardcode_into_libs=yes
16578 + version_type=linux
16579 + need_lib_prefix=no
16581 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16582 + soname_spec='${libname}${release}${shared_ext}$major'
16583 + shlibpath_var=LD_LIBRARY_PATH
16584 + hardcode_into_libs=yes
16587 +hpux9* | hpux10* | hpux11*)
16588 + # Give a soname corresponding to the major version so that dld.sl refuses to
16589 + # link against other versions.
16590 + version_type=sunos
16591 + need_lib_prefix=no
16593 + case $host_cpu in
16595 + shrext_cmds='.so'
16596 + hardcode_into_libs=yes
16597 + dynamic_linker="$host_os dld.so"
16598 + shlibpath_var=LD_LIBRARY_PATH
16599 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16600 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16601 + soname_spec='${libname}${release}${shared_ext}$major'
16602 + if test "X$HPUX_IA64_MODE" = X32; then
16603 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16605 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16607 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16610 + shrext_cmds='.sl'
16611 + hardcode_into_libs=yes
16612 + dynamic_linker="$host_os dld.sl"
16613 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16614 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16615 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16616 + soname_spec='${libname}${release}${shared_ext}$major'
16617 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16618 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16621 + shrext_cmds='.sl'
16622 + dynamic_linker="$host_os dld.sl"
16623 + shlibpath_var=SHLIB_PATH
16624 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16625 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16626 + soname_spec='${libname}${release}${shared_ext}$major'
16629 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
16630 + postinstall_cmds='chmod 555 $lib'
16634 + version_type=linux
16635 + need_lib_prefix=no
16637 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16638 + soname_spec='${libname}${release}${shared_ext}$major'
16639 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16640 + shlibpath_var=LD_LIBRARY_PATH
16641 + shlibpath_overrides_runpath=no
16642 + hardcode_into_libs=yes
16645 +irix5* | irix6* | nonstopux*)
16647 + nonstopux*) version_type=nonstopux ;;
16649 + if test "$lt_cv_prog_gnu_ld" = yes; then
16650 + version_type=linux
16652 + version_type=irix
16655 + need_lib_prefix=no
16657 + soname_spec='${libname}${release}${shared_ext}$major'
16658 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16660 + irix5* | nonstopux*)
16661 + libsuff= shlibsuff=
16664 + case $LD in # libtool.m4 will add one of these switches to LD
16665 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16666 + libsuff= shlibsuff= libmagic=32-bit;;
16667 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16668 + libsuff=32 shlibsuff=N32 libmagic=N32;;
16669 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16670 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
16671 + *) libsuff= shlibsuff= libmagic=never-match;;
16675 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16676 + shlibpath_overrides_runpath=no
16677 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16678 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16679 + hardcode_into_libs=yes
16682 +# No shared lib support for Linux oldld, aout, or coff.
16683 +linux*oldld* | linux*aout* | linux*coff*)
16684 + dynamic_linker=no
16687 +# This must be Linux ELF.
16688 +linux* | k*bsd*-gnu)
16689 + version_type=linux
16690 + need_lib_prefix=no
16692 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16693 + soname_spec='${libname}${release}${shared_ext}$major'
16694 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16695 + shlibpath_var=LD_LIBRARY_PATH
16696 + shlibpath_overrides_runpath=no
16697 + # This implies no fast_install, which is unacceptable.
16698 + # Some rework will be needed to allow for fast_install
16699 + # before this can be enabled.
16700 + hardcode_into_libs=yes
16702 + # Append ld.so.conf contents to the search path
16703 + if test -f /etc/ld.so.conf; then
16704 + 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' ' '`
16705 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16708 + # We used to test for /lib/ld.so.1 and disable shared libraries on
16709 + # powerpc, because MkLinux only supported shared libraries with the
16710 + # GNU dynamic linker. Since this was broken with cross compilers,
16711 + # most powerpc-linux boxes support dynamic linking these days and
16712 + # people can always --disable-shared, the test was removed, and we
16713 + # assume the GNU/Linux dynamic linker is in use.
16714 + dynamic_linker='GNU/Linux ld.so'
16718 + version_type=linux
16719 + need_lib_prefix=no
16721 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16722 + soname_spec='${libname}${release}${shared_ext}$major'
16723 + shlibpath_var=LD_LIBRARY_PATH
16724 + shlibpath_overrides_runpath=no
16725 + hardcode_into_libs=yes
16726 + dynamic_linker='NetBSD ld.elf_so'
16730 + version_type=sunos
16731 + need_lib_prefix=no
16733 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16734 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16735 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16736 + dynamic_linker='NetBSD (a.out) ld.so'
16738 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16739 + soname_spec='${libname}${release}${shared_ext}$major'
16740 + dynamic_linker='NetBSD ld.elf_so'
16742 + shlibpath_var=LD_LIBRARY_PATH
16743 + shlibpath_overrides_runpath=yes
16744 + hardcode_into_libs=yes
16748 + version_type=linux
16749 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16750 + shlibpath_var=LD_LIBRARY_PATH
16751 + shlibpath_overrides_runpath=yes
16755 + version_type=linux
16756 + need_lib_prefix=no
16758 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16759 + soname_spec='${libname}${release}${shared_ext}$major'
16760 + shlibpath_var=LD_LIBRARY_PATH
16761 + shlibpath_overrides_runpath=yes
16765 + version_type=sunos
16766 + sys_lib_dlsearch_path_spec="/usr/lib"
16767 + need_lib_prefix=no
16768 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16770 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16771 + *) need_version=no ;;
16773 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16774 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16775 + shlibpath_var=LD_LIBRARY_PATH
16776 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16778 + openbsd2.[89] | openbsd2.[89].*)
16779 + shlibpath_overrides_runpath=no
16782 + shlibpath_overrides_runpath=yes
16786 + shlibpath_overrides_runpath=yes
16791 + libname_spec='$name'
16792 + shrext_cmds=".dll"
16793 + need_lib_prefix=no
16794 + library_names_spec='$libname${shared_ext} $libname.a'
16795 + dynamic_linker='OS/2 ld.exe'
16796 + shlibpath_var=LIBPATH
16799 +osf3* | osf4* | osf5*)
16801 + need_lib_prefix=no
16803 + soname_spec='${libname}${release}${shared_ext}$major'
16804 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16805 + shlibpath_var=LD_LIBRARY_PATH
16806 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16807 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16811 + version_type=linux
16812 + need_lib_prefix=no
16814 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16815 + soname_spec='${libname}${release}${shared_ext}$major'
16816 + shlibpath_var=LD_LIBRARY_PATH
16817 + shlibpath_overrides_runpath=yes
16818 + hardcode_into_libs=yes
16819 + # ldd complains unless libraries are executable
16820 + postinstall_cmds='chmod +x $lib'
16824 + version_type=sunos
16825 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16826 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16827 + shlibpath_var=LD_LIBRARY_PATH
16828 + shlibpath_overrides_runpath=yes
16829 + if test "$with_gnu_ld" = yes; then
16830 + need_lib_prefix=no
16836 + version_type=linux
16837 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16838 + soname_spec='${libname}${release}${shared_ext}$major'
16839 + shlibpath_var=LD_LIBRARY_PATH
16840 + case $host_vendor in
16842 + shlibpath_overrides_runpath=no
16843 + need_lib_prefix=no
16844 + export_dynamic_flag_spec='${wl}-Blargedynsym'
16845 + runpath_var=LD_RUN_PATH
16848 + need_lib_prefix=no
16851 + need_lib_prefix=no
16853 + shlibpath_overrides_runpath=no
16854 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16860 + if test -d /usr/nec ;then
16861 + version_type=linux
16862 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16863 + soname_spec='$libname${shared_ext}.$major'
16864 + shlibpath_var=LD_LIBRARY_PATH
16868 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16869 + version_type=freebsd-elf
16870 + need_lib_prefix=no
16872 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16873 + soname_spec='${libname}${release}${shared_ext}$major'
16874 + shlibpath_var=LD_LIBRARY_PATH
16875 + hardcode_into_libs=yes
16876 + if test "$with_gnu_ld" = yes; then
16877 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16878 + shlibpath_overrides_runpath=no
16880 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16881 + shlibpath_overrides_runpath=yes
16884 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16888 + sys_lib_dlsearch_path_spec='/usr/lib'
16892 + version_type=linux
16893 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16894 + soname_spec='${libname}${release}${shared_ext}$major'
16895 + shlibpath_var=LD_LIBRARY_PATH
16899 + dynamic_linker=no
16902 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16903 +echo "${ECHO_T}$dynamic_linker" >&6; }
16904 +test "$dynamic_linker" = no && can_build_shared=no
16906 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16907 +if test "$GCC" = yes; then
16908 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16911 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16912 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16914 +if test -n "$hardcode_libdir_flag_spec" || \
16915 + test -n "$runpath_var" || \
16916 + test "X$hardcode_automatic" = "Xyes" ; then
16918 + # We can hardcode non-existant directories.
16919 + if test "$hardcode_direct" != no &&
16920 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
16921 + # have to relink, otherwise we might link with an installed library
16922 + # when we should be linking with a yet-to-be-installed one
16923 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16924 + test "$hardcode_minus_L" != no; then
16925 + # Linking always hardcodes the temporary library directory.
16926 + hardcode_action=relink
16928 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
16929 + hardcode_action=immediate
16932 + # We cannot hardcode anything, or else we can only hardcode existing
16934 + hardcode_action=unsupported
16936 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
16937 +echo "${ECHO_T}$hardcode_action" >&6; }
16939 +if test "$hardcode_action" = relink; then
16940 + # Fast installation is not supported
16941 + enable_fast_install=no
16942 +elif test "$shlibpath_overrides_runpath" = yes ||
16943 + test "$enable_shared" = no; then
16944 + # Fast installation is not necessary
16945 + enable_fast_install=needless
16950 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16951 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16952 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16953 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16954 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16955 + { echo "$as_me:$LINENO: result: yes" >&5
16956 +echo "${ECHO_T}yes" >&6; }
16958 +# FIXME - insert some real tests, host_os isn't really good enough
16961 + if test -n "$STRIP" ; then
16962 + striplib="$STRIP -x"
16963 + { echo "$as_me:$LINENO: result: yes" >&5
16964 +echo "${ECHO_T}yes" >&6; }
16966 + { echo "$as_me:$LINENO: result: no" >&5
16967 +echo "${ECHO_T}no" >&6; }
16971 + { echo "$as_me:$LINENO: result: no" >&5
16972 +echo "${ECHO_T}no" >&6; }
16977 +if test "x$enable_dlopen" != xyes; then
16978 + enable_dlopen=unknown
16979 + enable_dlopen_self=unknown
16980 + enable_dlopen_self_static=unknown
16983 + lt_cv_dlopen_libs=
16987 + lt_cv_dlopen="load_add_on"
16988 + lt_cv_dlopen_libs=
16989 + lt_cv_dlopen_self=yes
16993 + lt_cv_dlopen="LoadLibrary"
16994 + lt_cv_dlopen_libs=
16998 + lt_cv_dlopen="dlopen"
16999 + lt_cv_dlopen_libs=
17003 + # if libdl is installed we need to link against it
17004 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17005 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17006 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17007 + echo $ECHO_N "(cached) $ECHO_C" >&6
17009 + ac_check_lib_save_LIBS=$LIBS
17011 +cat >conftest.$ac_ext <<_ACEOF
17014 +cat confdefs.h >>conftest.$ac_ext
17015 +cat >>conftest.$ac_ext <<_ACEOF
17016 +/* end confdefs.h. */
17018 +/* Override any GCC internal prototype to avoid an error.
17019 + Use char because int might match the return type of a GCC
17020 + builtin and then its argument prototype would still apply. */
17021 +#ifdef __cplusplus
17033 +rm -f conftest.$ac_objext conftest$ac_exeext
17034 +if { (ac_try="$ac_link"
17035 +case "(($ac_try" in
17036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17037 + *) ac_try_echo=$ac_try;;
17039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17040 + (eval "$ac_link") 2>conftest.er1
17042 + grep -v '^ *+' conftest.er1 >conftest.err
17043 + rm -f conftest.er1
17044 + cat conftest.err >&5
17045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 + (exit $ac_status); } && {
17047 + test -z "$ac_c_werror_flag" ||
17048 + test ! -s conftest.err
17049 + } && test -s conftest$ac_exeext &&
17050 + $as_test_x conftest$ac_exeext; then
17051 + ac_cv_lib_dl_dlopen=yes
17053 + echo "$as_me: failed program was:" >&5
17054 +sed 's/^/| /' conftest.$ac_ext >&5
17056 + ac_cv_lib_dl_dlopen=no
17059 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17060 + conftest$ac_exeext conftest.$ac_ext
17061 +LIBS=$ac_check_lib_save_LIBS
17063 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17064 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17065 +if test $ac_cv_lib_dl_dlopen = yes; then
17066 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17069 + lt_cv_dlopen="dyld"
17070 + lt_cv_dlopen_libs=
17071 + lt_cv_dlopen_self=yes
17078 + { echo "$as_me:$LINENO: checking for shl_load" >&5
17079 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17080 +if test "${ac_cv_func_shl_load+set}" = set; then
17081 + echo $ECHO_N "(cached) $ECHO_C" >&6
17083 + cat >conftest.$ac_ext <<_ACEOF
17086 +cat confdefs.h >>conftest.$ac_ext
17087 +cat >>conftest.$ac_ext <<_ACEOF
17088 +/* end confdefs.h. */
17089 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17090 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17091 +#define shl_load innocuous_shl_load
17093 +/* System header to define __stub macros and hopefully few prototypes,
17094 + which can conflict with char shl_load (); below.
17095 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17096 + <limits.h> exists even on freestanding compilers. */
17099 +# include <limits.h>
17101 +# include <assert.h>
17106 +/* Override any GCC internal prototype to avoid an error.
17107 + Use char because int might match the return type of a GCC
17108 + builtin and then its argument prototype would still apply. */
17109 +#ifdef __cplusplus
17113 +/* The GNU C library defines this for functions which it implements
17114 + to always fail with ENOSYS. Some functions are actually named
17115 + something starting with __ and the normal name is an alias. */
17116 +#if defined __stub_shl_load || defined __stub___shl_load
17123 +return shl_load ();
17128 +rm -f conftest.$ac_objext conftest$ac_exeext
17129 +if { (ac_try="$ac_link"
17130 +case "(($ac_try" in
17131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17132 + *) ac_try_echo=$ac_try;;
17134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 + (eval "$ac_link") 2>conftest.er1
17137 + grep -v '^ *+' conftest.er1 >conftest.err
17138 + rm -f conftest.er1
17139 + cat conftest.err >&5
17140 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 + (exit $ac_status); } && {
17142 + test -z "$ac_c_werror_flag" ||
17143 + test ! -s conftest.err
17144 + } && test -s conftest$ac_exeext &&
17145 + $as_test_x conftest$ac_exeext; then
17146 + ac_cv_func_shl_load=yes
17148 + echo "$as_me: failed program was:" >&5
17149 +sed 's/^/| /' conftest.$ac_ext >&5
17151 + ac_cv_func_shl_load=no
17154 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17155 + conftest$ac_exeext conftest.$ac_ext
17157 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17158 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17159 +if test $ac_cv_func_shl_load = yes; then
17160 + lt_cv_dlopen="shl_load"
17162 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17163 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17164 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17165 + echo $ECHO_N "(cached) $ECHO_C" >&6
17167 + ac_check_lib_save_LIBS=$LIBS
17168 +LIBS="-ldld $LIBS"
17169 +cat >conftest.$ac_ext <<_ACEOF
17172 +cat confdefs.h >>conftest.$ac_ext
17173 +cat >>conftest.$ac_ext <<_ACEOF
17174 +/* end confdefs.h. */
17176 +/* Override any GCC internal prototype to avoid an error.
17177 + Use char because int might match the return type of a GCC
17178 + builtin and then its argument prototype would still apply. */
17179 +#ifdef __cplusplus
17186 +return shl_load ();
17191 +rm -f conftest.$ac_objext conftest$ac_exeext
17192 +if { (ac_try="$ac_link"
17193 +case "(($ac_try" in
17194 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17195 + *) ac_try_echo=$ac_try;;
17197 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17198 + (eval "$ac_link") 2>conftest.er1
17200 + grep -v '^ *+' conftest.er1 >conftest.err
17201 + rm -f conftest.er1
17202 + cat conftest.err >&5
17203 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 + (exit $ac_status); } && {
17205 + test -z "$ac_c_werror_flag" ||
17206 + test ! -s conftest.err
17207 + } && test -s conftest$ac_exeext &&
17208 + $as_test_x conftest$ac_exeext; then
17209 + ac_cv_lib_dld_shl_load=yes
17211 + echo "$as_me: failed program was:" >&5
17212 +sed 's/^/| /' conftest.$ac_ext >&5
17214 + ac_cv_lib_dld_shl_load=no
17217 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17218 + conftest$ac_exeext conftest.$ac_ext
17219 +LIBS=$ac_check_lib_save_LIBS
17221 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17222 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17223 +if test $ac_cv_lib_dld_shl_load = yes; then
17224 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17226 + { echo "$as_me:$LINENO: checking for dlopen" >&5
17227 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17228 +if test "${ac_cv_func_dlopen+set}" = set; then
17229 + echo $ECHO_N "(cached) $ECHO_C" >&6
17231 + cat >conftest.$ac_ext <<_ACEOF
17234 +cat confdefs.h >>conftest.$ac_ext
17235 +cat >>conftest.$ac_ext <<_ACEOF
17236 +/* end confdefs.h. */
17237 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17238 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17239 +#define dlopen innocuous_dlopen
17241 +/* System header to define __stub macros and hopefully few prototypes,
17242 + which can conflict with char dlopen (); below.
17243 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17244 + <limits.h> exists even on freestanding compilers. */
17247 +# include <limits.h>
17249 +# include <assert.h>
17254 +/* Override any GCC internal prototype to avoid an error.
17255 + Use char because int might match the return type of a GCC
17256 + builtin and then its argument prototype would still apply. */
17257 +#ifdef __cplusplus
17261 +/* The GNU C library defines this for functions which it implements
17262 + to always fail with ENOSYS. Some functions are actually named
17263 + something starting with __ and the normal name is an alias. */
17264 +#if defined __stub_dlopen || defined __stub___dlopen
17276 +rm -f conftest.$ac_objext conftest$ac_exeext
17277 +if { (ac_try="$ac_link"
17278 +case "(($ac_try" in
17279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17280 + *) ac_try_echo=$ac_try;;
17282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17283 + (eval "$ac_link") 2>conftest.er1
17285 + grep -v '^ *+' conftest.er1 >conftest.err
17286 + rm -f conftest.er1
17287 + cat conftest.err >&5
17288 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 + (exit $ac_status); } && {
17290 + test -z "$ac_c_werror_flag" ||
17291 + test ! -s conftest.err
17292 + } && test -s conftest$ac_exeext &&
17293 + $as_test_x conftest$ac_exeext; then
17294 + ac_cv_func_dlopen=yes
17296 + echo "$as_me: failed program was:" >&5
17297 +sed 's/^/| /' conftest.$ac_ext >&5
17299 + ac_cv_func_dlopen=no
17302 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17303 + conftest$ac_exeext conftest.$ac_ext
17305 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17306 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17307 +if test $ac_cv_func_dlopen = yes; then
17308 + lt_cv_dlopen="dlopen"
17310 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17311 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17312 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17313 + echo $ECHO_N "(cached) $ECHO_C" >&6
17315 + ac_check_lib_save_LIBS=$LIBS
17317 +cat >conftest.$ac_ext <<_ACEOF
17320 +cat confdefs.h >>conftest.$ac_ext
17321 +cat >>conftest.$ac_ext <<_ACEOF
17322 +/* end confdefs.h. */
17324 +/* Override any GCC internal prototype to avoid an error.
17325 + Use char because int might match the return type of a GCC
17326 + builtin and then its argument prototype would still apply. */
17327 +#ifdef __cplusplus
17339 +rm -f conftest.$ac_objext conftest$ac_exeext
17340 +if { (ac_try="$ac_link"
17341 +case "(($ac_try" in
17342 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17343 + *) ac_try_echo=$ac_try;;
17345 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17346 + (eval "$ac_link") 2>conftest.er1
17348 + grep -v '^ *+' conftest.er1 >conftest.err
17349 + rm -f conftest.er1
17350 + cat conftest.err >&5
17351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 + (exit $ac_status); } && {
17353 + test -z "$ac_c_werror_flag" ||
17354 + test ! -s conftest.err
17355 + } && test -s conftest$ac_exeext &&
17356 + $as_test_x conftest$ac_exeext; then
17357 + ac_cv_lib_dl_dlopen=yes
17359 + echo "$as_me: failed program was:" >&5
17360 +sed 's/^/| /' conftest.$ac_ext >&5
17362 + ac_cv_lib_dl_dlopen=no
17365 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17366 + conftest$ac_exeext conftest.$ac_ext
17367 +LIBS=$ac_check_lib_save_LIBS
17369 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17370 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17371 +if test $ac_cv_lib_dl_dlopen = yes; then
17372 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17374 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17375 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17376 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17377 + echo $ECHO_N "(cached) $ECHO_C" >&6
17379 + ac_check_lib_save_LIBS=$LIBS
17380 +LIBS="-lsvld $LIBS"
17381 +cat >conftest.$ac_ext <<_ACEOF
17384 +cat confdefs.h >>conftest.$ac_ext
17385 +cat >>conftest.$ac_ext <<_ACEOF
17386 +/* end confdefs.h. */
17388 +/* Override any GCC internal prototype to avoid an error.
17389 + Use char because int might match the return type of a GCC
17390 + builtin and then its argument prototype would still apply. */
17391 +#ifdef __cplusplus
17403 +rm -f conftest.$ac_objext conftest$ac_exeext
17404 +if { (ac_try="$ac_link"
17405 +case "(($ac_try" in
17406 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17407 + *) ac_try_echo=$ac_try;;
17409 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17410 + (eval "$ac_link") 2>conftest.er1
17412 + grep -v '^ *+' conftest.er1 >conftest.err
17413 + rm -f conftest.er1
17414 + cat conftest.err >&5
17415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 + (exit $ac_status); } && {
17417 + test -z "$ac_c_werror_flag" ||
17418 + test ! -s conftest.err
17419 + } && test -s conftest$ac_exeext &&
17420 + $as_test_x conftest$ac_exeext; then
17421 + ac_cv_lib_svld_dlopen=yes
17423 + echo "$as_me: failed program was:" >&5
17424 +sed 's/^/| /' conftest.$ac_ext >&5
17426 + ac_cv_lib_svld_dlopen=no
17429 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17430 + conftest$ac_exeext conftest.$ac_ext
17431 +LIBS=$ac_check_lib_save_LIBS
17433 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17434 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17435 +if test $ac_cv_lib_svld_dlopen = yes; then
17436 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17438 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17439 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17440 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17441 + echo $ECHO_N "(cached) $ECHO_C" >&6
17443 + ac_check_lib_save_LIBS=$LIBS
17444 +LIBS="-ldld $LIBS"
17445 +cat >conftest.$ac_ext <<_ACEOF
17448 +cat confdefs.h >>conftest.$ac_ext
17449 +cat >>conftest.$ac_ext <<_ACEOF
17450 +/* end confdefs.h. */
17452 +/* Override any GCC internal prototype to avoid an error.
17453 + Use char because int might match the return type of a GCC
17454 + builtin and then its argument prototype would still apply. */
17455 +#ifdef __cplusplus
17462 +return dld_link ();
17467 +rm -f conftest.$ac_objext conftest$ac_exeext
17468 +if { (ac_try="$ac_link"
17469 +case "(($ac_try" in
17470 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17471 + *) ac_try_echo=$ac_try;;
17473 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17474 + (eval "$ac_link") 2>conftest.er1
17476 + grep -v '^ *+' conftest.er1 >conftest.err
17477 + rm -f conftest.er1
17478 + cat conftest.err >&5
17479 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 + (exit $ac_status); } && {
17481 + test -z "$ac_c_werror_flag" ||
17482 + test ! -s conftest.err
17483 + } && test -s conftest$ac_exeext &&
17484 + $as_test_x conftest$ac_exeext; then
17485 + ac_cv_lib_dld_dld_link=yes
17487 + echo "$as_me: failed program was:" >&5
17488 +sed 's/^/| /' conftest.$ac_ext >&5
17490 + ac_cv_lib_dld_dld_link=no
17493 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17494 + conftest$ac_exeext conftest.$ac_ext
17495 +LIBS=$ac_check_lib_save_LIBS
17497 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17498 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17499 +if test $ac_cv_lib_dld_dld_link = yes; then
17500 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17521 + if test "x$lt_cv_dlopen" != xno; then
17522 + enable_dlopen=yes
17527 + case $lt_cv_dlopen in
17529 + save_CPPFLAGS="$CPPFLAGS"
17530 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17532 + save_LDFLAGS="$LDFLAGS"
17533 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17535 + save_LIBS="$LIBS"
17536 + LIBS="$lt_cv_dlopen_libs $LIBS"
17538 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17539 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17540 +if test "${lt_cv_dlopen_self+set}" = set; then
17541 + echo $ECHO_N "(cached) $ECHO_C" >&6
17543 + if test "$cross_compiling" = yes; then :
17544 + lt_cv_dlopen_self=cross
17546 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17547 + lt_status=$lt_dlunknown
17548 + cat > conftest.$ac_ext <<EOF
17549 +#line 10081 "configure"
17550 +#include "confdefs.h"
17553 +#include <dlfcn.h>
17556 +#include <stdio.h>
17558 +#ifdef RTLD_GLOBAL
17559 +# define LT_DLGLOBAL RTLD_GLOBAL
17562 +# define LT_DLGLOBAL DL_GLOBAL
17564 +# define LT_DLGLOBAL 0
17568 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17569 + find out it does not work in some platform. */
17570 +#ifndef LT_DLLAZY_OR_NOW
17572 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17575 +# define LT_DLLAZY_OR_NOW DL_LAZY
17578 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17581 +# define LT_DLLAZY_OR_NOW DL_NOW
17583 +# define LT_DLLAZY_OR_NOW 0
17590 +#ifdef __cplusplus
17591 +extern "C" void exit (int);
17594 +void fnord() { int i=42;}
17597 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17598 + int status = $lt_dlunknown;
17602 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17603 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17604 + /* dlclose (self); */
17607 + puts (dlerror ());
17612 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17613 + (eval $ac_link) 2>&5
17615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17617 + (./conftest; exit; ) >&5 2>/dev/null
17619 + case x$lt_status in
17620 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17621 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17622 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17625 + # compilation failed
17626 + lt_cv_dlopen_self=no
17633 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17634 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17636 + if test "x$lt_cv_dlopen_self" = xyes; then
17637 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17638 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17639 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17640 +if test "${lt_cv_dlopen_self_static+set}" = set; then
17641 + echo $ECHO_N "(cached) $ECHO_C" >&6
17643 + if test "$cross_compiling" = yes; then :
17644 + lt_cv_dlopen_self_static=cross
17646 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17647 + lt_status=$lt_dlunknown
17648 + cat > conftest.$ac_ext <<EOF
17649 +#line 10181 "configure"
17650 +#include "confdefs.h"
17653 +#include <dlfcn.h>
17656 +#include <stdio.h>
17658 +#ifdef RTLD_GLOBAL
17659 +# define LT_DLGLOBAL RTLD_GLOBAL
17662 +# define LT_DLGLOBAL DL_GLOBAL
17664 +# define LT_DLGLOBAL 0
17668 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17669 + find out it does not work in some platform. */
17670 +#ifndef LT_DLLAZY_OR_NOW
17672 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17675 +# define LT_DLLAZY_OR_NOW DL_LAZY
17678 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17681 +# define LT_DLLAZY_OR_NOW DL_NOW
17683 +# define LT_DLLAZY_OR_NOW 0
17690 +#ifdef __cplusplus
17691 +extern "C" void exit (int);
17694 +void fnord() { int i=42;}
17697 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17698 + int status = $lt_dlunknown;
17702 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17703 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17704 + /* dlclose (self); */
17707 + puts (dlerror ());
17712 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17713 + (eval $ac_link) 2>&5
17715 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17717 + (./conftest; exit; ) >&5 2>/dev/null
17719 + case x$lt_status in
17720 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17721 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17722 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17725 + # compilation failed
17726 + lt_cv_dlopen_self_static=no
17733 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17734 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17737 + CPPFLAGS="$save_CPPFLAGS"
17738 + LDFLAGS="$save_LDFLAGS"
17739 + LIBS="$save_LIBS"
17743 + case $lt_cv_dlopen_self in
17744 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17745 + *) enable_dlopen_self=unknown ;;
17748 + case $lt_cv_dlopen_self_static in
17749 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17750 + *) enable_dlopen_self_static=unknown ;;
17755 +# Report which library types will actually be built
17756 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17757 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17758 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
17759 +echo "${ECHO_T}$can_build_shared" >&6; }
17761 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17762 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17763 +test "$can_build_shared" = "no" && enable_shared=no
17765 +# On AIX, shared libraries and static libraries use the same namespace, and
17766 +# are all built from PIC.
17769 + test "$enable_shared" = yes && enable_static=no
17770 + if test -n "$RANLIB"; then
17771 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
17772 + postinstall_cmds='$RANLIB $lib'
17777 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17778 + test "$enable_shared" = yes && enable_static=no
17782 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
17783 +echo "${ECHO_T}$enable_shared" >&6; }
17785 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17786 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17787 +# Make sure either enable_shared or enable_static is yes.
17788 +test "$enable_shared" = yes || enable_static=yes
17789 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
17790 +echo "${ECHO_T}$enable_static" >&6; }
17792 +# The else clause should only fire when bootstrapping the
17793 +# libtool distribution, otherwise you forgot to ship ltmain.sh
17794 +# with your package, and you will get complaints that there are
17795 +# no rules to generate ltmain.sh.
17796 +if test -f "$ltmain"; then
17797 + # See if we are running on zsh, and set the options which allow our commands through
17798 + # without removal of \ escapes.
17799 + if test -n "${ZSH_VERSION+set}" ; then
17800 + setopt NO_GLOB_SUBST
17802 + # Now quote all the things that may contain metacharacters while being
17803 + # careful not to overquote the AC_SUBSTed values. We take copies of the
17804 + # variables and quote the copies for generation of the libtool script.
17805 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17806 + SED SHELL STRIP \
17807 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17808 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17809 + deplibs_check_method reload_flag reload_cmds need_locks \
17810 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17811 + lt_cv_sys_global_symbol_to_c_name_address \
17812 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17813 + old_postinstall_cmds old_postuninstall_cmds \
17817 + lt_prog_compiler_wl \
17818 + lt_prog_compiler_pic \
17819 + lt_prog_compiler_static \
17820 + lt_prog_compiler_no_builtin_flag \
17821 + export_dynamic_flag_spec \
17822 + thread_safe_flag_spec \
17823 + whole_archive_flag_spec \
17824 + enable_shared_with_static_runtimes \
17825 + old_archive_cmds \
17826 + old_archive_from_new_cmds \
17828 + postdep_objects \
17831 + compiler_lib_search_path \
17833 + archive_expsym_cmds \
17834 + postinstall_cmds \
17835 + postuninstall_cmds \
17836 + old_archive_from_expsyms_cmds \
17837 + allow_undefined_flag \
17838 + no_undefined_flag \
17839 + export_symbols_cmds \
17840 + hardcode_libdir_flag_spec \
17841 + hardcode_libdir_flag_spec_ld \
17842 + hardcode_libdir_separator \
17843 + hardcode_automatic \
17845 + module_expsym_cmds \
17846 + lt_cv_prog_compiler_c_o \
17847 + exclude_expsyms \
17848 + include_expsyms; do
17851 + old_archive_cmds | \
17852 + old_archive_from_new_cmds | \
17854 + archive_expsym_cmds | \
17856 + module_expsym_cmds | \
17857 + old_archive_from_expsyms_cmds | \
17858 + export_symbols_cmds | \
17859 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
17860 + postinstall_cmds | postuninstall_cmds | \
17861 + old_postinstall_cmds | old_postuninstall_cmds | \
17862 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17863 + # Double-quote double-evaled strings.
17864 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17867 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17873 + *'\$0 --fallback-echo"')
17874 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17878 +cfgfile="${ofile}T"
17879 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17880 + $rm -f "$cfgfile"
17881 + { echo "$as_me:$LINENO: creating $ofile" >&5
17882 +echo "$as_me: creating $ofile" >&6;}
17884 + cat <<__EOF__ >> "$cfgfile"
17887 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17888 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17889 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17891 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17892 +# Free Software Foundation, Inc.
17894 +# This file is part of GNU Libtool:
17895 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17897 +# This program is free software; you can redistribute it and/or modify
17898 +# it under the terms of the GNU General Public License as published by
17899 +# the Free Software Foundation; either version 2 of the License, or
17900 +# (at your option) any later version.
17902 +# This program is distributed in the hope that it will be useful, but
17903 +# WITHOUT ANY WARRANTY; without even the implied warranty of
17904 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17905 +# General Public License for more details.
17907 +# You should have received a copy of the GNU General Public License
17908 +# along with this program; if not, write to the Free Software
17909 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17911 +# As a special exception to the GNU General Public License, if you
17912 +# distribute this file as part of a program that contains a
17913 +# configuration script generated by Autoconf, you may include it under
17914 +# the same distribution terms that you use for the rest of that program.
17916 +# A sed program that does not truncate output.
17919 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17920 +Xsed="$SED -e 1s/^X//"
17922 +# The HP-UX ksh and POSIX shell print the target directory to stdout
17923 +# if CDPATH is set.
17924 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17926 +# The names of the tagged configurations supported by this script.
17929 +# ### BEGIN LIBTOOL CONFIG
17931 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17933 +# Shell to use when invoking shell scripts.
17936 +# Whether or not to build shared libraries.
17937 +build_libtool_libs=$enable_shared
17939 +# Whether or not to build static libraries.
17940 +build_old_libs=$enable_static
17942 +# Whether or not to add -lc for building shared libraries.
17943 +build_libtool_need_lc=$archive_cmds_need_lc
17945 +# Whether or not to disallow shared libs when runtime libs are static
17946 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17948 +# Whether or not to optimize for fast installation.
17949 +fast_install=$enable_fast_install
17951 +# The host system.
17952 +host_alias=$host_alias
17956 +# The build system.
17957 +build_alias=$build_alias
17959 +build_os=$build_os
17961 +# An echo program that does not interpret backslashes.
17966 +AR_FLAGS=$lt_AR_FLAGS
17971 +# LTCC compiler flags.
17972 +LTCFLAGS=$lt_LTCFLAGS
17974 +# A language-specific compiler.
17977 +# Is the compiler the GNU C compiler?
17983 +# The linker used to build libraries.
17986 +# Whether we need hard or soft links.
17989 +# A BSD-compatible nm program.
17992 +# A symbol stripping program
17995 +# Used to examine libraries when file_magic_cmd begins "file"
17996 +MAGIC_CMD=$MAGIC_CMD
17998 +# Used on cygwin: DLL creation program.
17999 +DLLTOOL="$DLLTOOL"
18001 +# Used on cygwin: object dumper.
18002 +OBJDUMP="$OBJDUMP"
18004 +# Used on cygwin: assembler.
18007 +# The name of the directory that contains temporary libtool files.
18010 +# How to create reloadable object files.
18011 +reload_flag=$lt_reload_flag
18012 +reload_cmds=$lt_reload_cmds
18014 +# How to pass a linker flag through the compiler.
18015 +wl=$lt_lt_prog_compiler_wl
18017 +# Object file suffix (normally "o").
18018 +objext="$ac_objext"
18020 +# Old archive suffix (normally "a").
18023 +# Shared library suffix (normally ".so").
18024 +shrext_cmds='$shrext_cmds'
18026 +# Executable file suffix (normally "").
18029 +# Additional compiler flags for building library objects.
18030 +pic_flag=$lt_lt_prog_compiler_pic
18031 +pic_mode=$pic_mode
18033 +# What is the maximum length of a command?
18034 +max_cmd_len=$lt_cv_sys_max_cmd_len
18036 +# Does compiler simultaneously support -c and -o options?
18037 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18039 +# Must we lock files when doing compilation?
18040 +need_locks=$lt_need_locks
18042 +# Do we need the lib prefix for modules?
18043 +need_lib_prefix=$need_lib_prefix
18045 +# Do we need a version for libraries?
18046 +need_version=$need_version
18048 +# Whether dlopen is supported.
18049 +dlopen_support=$enable_dlopen
18051 +# Whether dlopen of programs is supported.
18052 +dlopen_self=$enable_dlopen_self
18054 +# Whether dlopen of statically linked programs is supported.
18055 +dlopen_self_static=$enable_dlopen_self_static
18057 +# Compiler flag to prevent dynamic linking.
18058 +link_static_flag=$lt_lt_prog_compiler_static
18060 +# Compiler flag to turn off builtin functions.
18061 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18063 +# Compiler flag to allow reflexive dlopens.
18064 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18066 +# Compiler flag to generate shared objects directly from archives.
18067 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
18069 +# Compiler flag to generate thread-safe objects.
18070 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
18072 +# Library versioning type.
18073 +version_type=$version_type
18075 +# Format of library name prefix.
18076 +libname_spec=$lt_libname_spec
18078 +# List of archive names. First name is the real one, the rest are links.
18079 +# The last name is the one that the linker finds with -lNAME.
18080 +library_names_spec=$lt_library_names_spec
18082 +# The coded name of the library, if different from the real name.
18083 +soname_spec=$lt_soname_spec
18085 +# Commands used to build and install an old-style archive.
18087 +old_archive_cmds=$lt_old_archive_cmds
18088 +old_postinstall_cmds=$lt_old_postinstall_cmds
18089 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
18091 +# Create an old-style archive from a shared archive.
18092 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18094 +# Create a temporary old-style archive to link instead of a shared archive.
18095 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18097 +# Commands used to build and install a shared archive.
18098 +archive_cmds=$lt_archive_cmds
18099 +archive_expsym_cmds=$lt_archive_expsym_cmds
18100 +postinstall_cmds=$lt_postinstall_cmds
18101 +postuninstall_cmds=$lt_postuninstall_cmds
18103 +# Commands used to build a loadable module (assumed same as above if empty)
18104 +module_cmds=$lt_module_cmds
18105 +module_expsym_cmds=$lt_module_expsym_cmds
18107 +# Commands to strip libraries.
18108 +old_striplib=$lt_old_striplib
18109 +striplib=$lt_striplib
18111 +# Dependencies to place before the objects being linked to create a
18113 +predep_objects=$lt_predep_objects
18115 +# Dependencies to place after the objects being linked to create a
18117 +postdep_objects=$lt_postdep_objects
18119 +# Dependencies to place before the objects being linked to create a
18121 +predeps=$lt_predeps
18123 +# Dependencies to place after the objects being linked to create a
18125 +postdeps=$lt_postdeps
18127 +# The library search path used internally by the compiler when linking
18128 +# a shared library.
18129 +compiler_lib_search_path=$lt_compiler_lib_search_path
18131 +# Method to check whether dependent libraries are shared objects.
18132 +deplibs_check_method=$lt_deplibs_check_method
18134 +# Command to use when deplibs_check_method == file_magic.
18135 +file_magic_cmd=$lt_file_magic_cmd
18137 +# Flag that allows shared libraries with undefined symbols to be built.
18138 +allow_undefined_flag=$lt_allow_undefined_flag
18140 +# Flag that forces no undefined symbols.
18141 +no_undefined_flag=$lt_no_undefined_flag
18143 +# Commands used to finish a libtool library installation in a directory.
18144 +finish_cmds=$lt_finish_cmds
18146 +# Same as above, but a single script fragment to be evaled but not shown.
18147 +finish_eval=$lt_finish_eval
18149 +# Take the output of nm and produce a listing of raw symbols and C names.
18150 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18152 +# Transform the output of nm in a proper C declaration
18153 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18155 +# Transform the output of nm in a C name address pair
18156 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18158 +# This is the shared library runtime path variable.
18159 +runpath_var=$runpath_var
18161 +# This is the shared library path variable.
18162 +shlibpath_var=$shlibpath_var
18164 +# Is shlibpath searched before the hard-coded library search path?
18165 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18167 +# How to hardcode a shared library path into an executable.
18168 +hardcode_action=$hardcode_action
18170 +# Whether we should hardcode library paths into libraries.
18171 +hardcode_into_libs=$hardcode_into_libs
18173 +# Flag to hardcode \$libdir into a binary during linking.
18174 +# This must work even if \$libdir does not exist.
18175 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18177 +# If ld is used when linking, flag to hardcode \$libdir into
18178 +# a binary during linking. This must work even if \$libdir does
18180 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18182 +# Whether we need a single -rpath flag with a separated argument.
18183 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
18185 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18186 +# resulting binary.
18187 +hardcode_direct=$hardcode_direct
18189 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18190 +# resulting binary.
18191 +hardcode_minus_L=$hardcode_minus_L
18193 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18194 +# the resulting binary.
18195 +hardcode_shlibpath_var=$hardcode_shlibpath_var
18197 +# Set to yes if building a shared library automatically hardcodes DIR into the library
18198 +# and all subsequent libraries and executables linked against it.
18199 +hardcode_automatic=$hardcode_automatic
18201 +# Variables whose values should be saved in libtool wrapper scripts and
18202 +# restored at relink time.
18203 +variables_saved_for_relink="$variables_saved_for_relink"
18205 +# Whether libtool must link a program against all its dependency libraries.
18206 +link_all_deplibs=$link_all_deplibs
18208 +# Compile-time system search path for libraries
18209 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18211 +# Run-time system search path for libraries
18212 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18214 +# Fix the shell variable \$srcfile for the compiler.
18215 +fix_srcfile_path="$fix_srcfile_path"
18217 +# Set to yes if exported symbols are required.
18218 +always_export_symbols=$always_export_symbols
18220 +# The commands to list exported symbols.
18221 +export_symbols_cmds=$lt_export_symbols_cmds
18223 +# The commands to extract the exported symbol list from a shared archive.
18224 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
18226 +# Symbols that should not be listed in the preloaded symbols.
18227 +exclude_expsyms=$lt_exclude_expsyms
18229 +# Symbols that must always be exported.
18230 +include_expsyms=$lt_include_expsyms
18232 +# ### END LIBTOOL CONFIG
18239 + cat <<\EOF >> "$cfgfile"
18241 +# AIX sometimes has problems with the GCC collect2 program. For some
18242 +# reason, if we set the COLLECT_NAMES environment variable, the problems
18243 +# vanish in a puff of smoke.
18244 +if test "X${COLLECT_NAMES+set}" != Xset; then
18246 + export COLLECT_NAMES
18252 + # We use sed instead of cat because bash on DJGPP gets confused if
18253 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
18254 + # text mode, it properly converts lines to CR/LF. This bash problem
18255 + # is reportedly fixed, but why not run on old versions too?
18256 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18258 + mv -f "$cfgfile" "$ofile" || \
18259 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18260 + chmod +x "$ofile"
18263 + # If there is no Makefile yet, we rely on a make rule to execute
18264 + # `config.status --recheck' to rerun these tests and create the
18265 + # libtool script then.
18266 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18267 + if test -f "$ltmain_in"; then
18268 + test -f Makefile && make "$ltmain"
18274 +ac_cpp='$CPP $CPPFLAGS'
18275 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18282 +# Check whether --with-tags was given.
18283 +if test "${with_tags+set}" = set; then
18284 + withval=$with_tags; tagnames="$withval"
18288 +if test -f "$ltmain" && test -n "$tagnames"; then
18289 + if test ! -f "${ofile}"; then
18290 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18291 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18294 + if test -z "$LTCC"; then
18295 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18296 + if test -z "$LTCC"; then
18297 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18298 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18300 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18301 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18304 + if test -z "$LTCFLAGS"; then
18305 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18308 + # Extract list of available tagged configurations in $ofile.
18309 + # Note that this assumes the entire list is on one line.
18310 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18312 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18313 + for tagname in $tagnames; do
18314 + IFS="$lt_save_ifs"
18315 + # Check whether tagname contains only valid characters
18316 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18318 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18319 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
18320 + { (exit 1); exit 1; }; }
18324 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18326 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18327 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18328 + { (exit 1); exit 1; }; }
18331 + # Update the list of available tags.
18332 + if test -n "$tagname"; then
18333 + echo appending configuration tag \"$tagname\" to $ofile
18337 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18338 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18339 + (test "X$CXX" != "Xg++"))) ; then
18341 +ac_cpp='$CXXCPP $CPPFLAGS'
18342 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18343 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18344 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18349 +archive_cmds_need_lc_CXX=no
18350 +allow_undefined_flag_CXX=
18351 +always_export_symbols_CXX=no
18352 +archive_expsym_cmds_CXX=
18353 +export_dynamic_flag_spec_CXX=
18354 +hardcode_direct_CXX=no
18355 +hardcode_libdir_flag_spec_CXX=
18356 +hardcode_libdir_flag_spec_ld_CXX=
18357 +hardcode_libdir_separator_CXX=
18358 +hardcode_minus_L_CXX=no
18359 +hardcode_shlibpath_var_CXX=unsupported
18360 +hardcode_automatic_CXX=no
18362 +module_expsym_cmds_CXX=
18363 +link_all_deplibs_CXX=unknown
18364 +old_archive_cmds_CXX=$old_archive_cmds
18365 +no_undefined_flag_CXX=
18366 +whole_archive_flag_spec_CXX=
18367 +enable_shared_with_static_runtimes_CXX=no
18369 +# Dependencies to place before and after the object being linked:
18370 +predep_objects_CXX=
18371 +postdep_objects_CXX=
18374 +compiler_lib_search_path_CXX=
18376 +# Source file extension for C++ test sources.
18379 +# Object file extension for compiled C++ test sources.
18381 +objext_CXX=$objext
18383 +# Code to be used in simple compile tests
18384 +lt_simple_compile_test_code="int some_variable = 0;\n"
18386 +# Code to be used in simple link tests
18387 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18389 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18391 +# If no C compiler was specified, use CC.
18392 +LTCC=${LTCC-"$CC"}
18394 +# If no C compiler flags were specified, use CFLAGS.
18395 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18397 +# Allow CC to be a program name with arguments.
18401 +# save warnings/boilerplate of simple test code
18402 +ac_outfile=conftest.$ac_objext
18403 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18404 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18405 +_lt_compiler_boilerplate=`cat conftest.err`
18408 +ac_outfile=conftest.$ac_objext
18409 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
18410 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18411 +_lt_linker_boilerplate=`cat conftest.err`
18415 +# Allow CC to be a program name with arguments.
18420 +lt_save_with_gnu_ld=$with_gnu_ld
18421 +lt_save_path_LD=$lt_cv_path_LD
18422 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18423 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18425 + $as_unset lt_cv_prog_gnu_ld
18427 +if test -n "${lt_cv_path_LDCXX+set}"; then
18428 + lt_cv_path_LD=$lt_cv_path_LDCXX
18430 + $as_unset lt_cv_path_LD
18432 +test -z "${LDCXX+set}" || LD=$LDCXX
18436 +for cc_temp in $compiler""; do
18438 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18439 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18444 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18447 +# We don't want -fno-exception wen compiling C++ code, so set the
18448 +# no_builtin_flag separately
18449 +if test "$GXX" = yes; then
18450 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18452 + lt_prog_compiler_no_builtin_flag_CXX=
18455 +if test "$GXX" = yes; then
18456 + # Set up default GNU C++ configuration
18459 +# Check whether --with-gnu-ld was given.
18460 +if test "${with_gnu_ld+set}" = set; then
18461 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18467 +if test "$GCC" = yes; then
18468 + # Check if gcc -print-prog-name=ld gives a path.
18469 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18470 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18473 + # gcc leaves a trailing carriage return which upsets mingw
18474 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18476 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18479 + # Accept absolute paths.
18480 + [\\/]* | ?:[\\/]*)
18481 + re_direlt='/[^/][^/]*/\.\./'
18482 + # Canonicalize the pathname of ld
18483 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18484 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18485 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18487 + test -z "$LD" && LD="$ac_prog"
18490 + # If it fails, then pretend we aren't using GCC.
18494 + # If it is relative, then search for the first ld in PATH.
18495 + with_gnu_ld=unknown
18498 +elif test "$with_gnu_ld" = yes; then
18499 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
18500 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18502 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18503 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18505 +if test "${lt_cv_path_LD+set}" = set; then
18506 + echo $ECHO_N "(cached) $ECHO_C" >&6
18508 + if test -z "$LD"; then
18509 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18510 + for ac_dir in $PATH; do
18511 + IFS="$lt_save_ifs"
18512 + test -z "$ac_dir" && ac_dir=.
18513 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18514 + lt_cv_path_LD="$ac_dir/$ac_prog"
18515 + # Check to see if the program is GNU ld. I'd rather use --version,
18516 + # but apparently some variants of GNU ld only accept -v.
18517 + # Break only if it was the GNU/non-GNU ld that we prefer.
18518 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18519 + *GNU* | *'with BFD'*)
18520 + test "$with_gnu_ld" != no && break
18523 + test "$with_gnu_ld" != yes && break
18528 + IFS="$lt_save_ifs"
18530 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
18534 +LD="$lt_cv_path_LD"
18535 +if test -n "$LD"; then
18536 + { echo "$as_me:$LINENO: result: $LD" >&5
18537 +echo "${ECHO_T}$LD" >&6; }
18539 + { echo "$as_me:$LINENO: result: no" >&5
18540 +echo "${ECHO_T}no" >&6; }
18542 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18543 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18544 + { (exit 1); exit 1; }; }
18545 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18546 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18547 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
18548 + echo $ECHO_N "(cached) $ECHO_C" >&6
18550 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
18551 +case `$LD -v 2>&1 </dev/null` in
18552 +*GNU* | *'with BFD'*)
18553 + lt_cv_prog_gnu_ld=yes
18556 + lt_cv_prog_gnu_ld=no
18560 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18561 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18562 +with_gnu_ld=$lt_cv_prog_gnu_ld
18566 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
18567 + # archiving commands below assume that GNU ld is being used.
18568 + if test "$with_gnu_ld" = yes; then
18569 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18570 + 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'
18572 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18573 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18575 + # If archive_cmds runs LD, not CC, wlarc should be empty
18576 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18577 + # investigate it a little bit more. (MM)
18580 + # ancient GNU ld didn't support --whole-archive et. al.
18581 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18582 + grep 'no-whole-archive' > /dev/null; then
18583 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18585 + whole_archive_flag_spec_CXX=
18591 + # A generic and very simple default shared library creation
18592 + # command for GNU C++ for the case where it uses the native
18593 + # linker, instead of GNU ld. If possible, this setting should
18594 + # overridden to take advantage of the native linker features on
18595 + # the platform it is being used on.
18596 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18599 + # Commands to make compiler produce verbose output that lists
18600 + # what "hidden" libraries, object files and flags are used when
18601 + # linking a shared library.
18602 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18610 +# PORTME: fill in a description of your system's C++ link characteristics
18611 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18612 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18616 + # FIXME: insert proper C++ library support
18620 + if test "$host_cpu" = ia64; then
18621 + # On IA64, the linker does run time linking by default, so we don't
18622 + # have to do anything special.
18623 + aix_use_runtimelinking=no
18624 + exp_sym_flag='-Bexport'
18627 + aix_use_runtimelinking=no
18629 + # Test if we are trying to use run time linking or normal
18630 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18631 + # need to do runtime linking.
18632 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18633 + for ld_flag in $LDFLAGS; do
18636 + aix_use_runtimelinking=yes
18644 + exp_sym_flag='-bexport'
18645 + no_entry_flag='-bnoentry'
18648 + # When large executables or shared objects are built, AIX ld can
18649 + # have problems creating the table of contents. If linking a library
18650 + # or program results in "error TOC overflow" add -mminimal-toc to
18651 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18652 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18654 + archive_cmds_CXX=''
18655 + hardcode_direct_CXX=yes
18656 + hardcode_libdir_separator_CXX=':'
18657 + link_all_deplibs_CXX=yes
18659 + if test "$GXX" = yes; then
18660 + case $host_os in aix4.[012]|aix4.[012].*)
18661 + # We only want to do this on AIX 4.2 and lower, the check
18662 + # below for broken collect2 doesn't work under 4.3+
18663 + collect2name=`${CC} -print-prog-name=collect2`
18664 + if test -f "$collect2name" && \
18665 + strings "$collect2name" | grep resolve_lib_name >/dev/null
18667 + # We have reworked collect2
18668 + hardcode_direct_CXX=yes
18670 + # We have old collect2
18671 + hardcode_direct_CXX=unsupported
18672 + # It fails to find uninstalled libraries when the uninstalled
18673 + # path is not listed in the libpath. Setting hardcode_minus_L
18674 + # to unsupported forces relinking
18675 + hardcode_minus_L_CXX=yes
18676 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18677 + hardcode_libdir_separator_CXX=
18681 + shared_flag='-shared'
18682 + if test "$aix_use_runtimelinking" = yes; then
18683 + shared_flag="$shared_flag "'${wl}-G'
18687 + if test "$host_cpu" = ia64; then
18688 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18689 + # chokes on -Wl,-G. The following line is correct:
18692 + if test "$aix_use_runtimelinking" = yes; then
18693 + shared_flag='${wl}-G'
18695 + shared_flag='${wl}-bM:SRE'
18700 + # It seems that -bexpall does not export symbols beginning with
18701 + # underscore (_), so it is better to generate a list of symbols to export.
18702 + always_export_symbols_CXX=yes
18703 + if test "$aix_use_runtimelinking" = yes; then
18704 + # Warning - without using the other runtime loading flags (-brtl),
18705 + # -berok will link without error, but may produce a broken library.
18706 + allow_undefined_flag_CXX='-berok'
18707 + # Determine the default libpath from the value encoded in an empty executable.
18708 + cat >conftest.$ac_ext <<_ACEOF
18711 +cat confdefs.h >>conftest.$ac_ext
18712 +cat >>conftest.$ac_ext <<_ACEOF
18713 +/* end confdefs.h. */
18723 +rm -f conftest.$ac_objext conftest$ac_exeext
18724 +if { (ac_try="$ac_link"
18725 +case "(($ac_try" in
18726 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 + *) ac_try_echo=$ac_try;;
18729 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 + (eval "$ac_link") 2>conftest.er1
18732 + grep -v '^ *+' conftest.er1 >conftest.err
18733 + rm -f conftest.er1
18734 + cat conftest.err >&5
18735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 + (exit $ac_status); } && {
18737 + test -z "$ac_cxx_werror_flag" ||
18738 + test ! -s conftest.err
18739 + } && test -s conftest$ac_exeext &&
18740 + $as_test_x conftest$ac_exeext; then
18742 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18744 +# Check for a 64-bit object if we didn't find anything.
18745 +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; }
18748 + echo "$as_me: failed program was:" >&5
18749 +sed 's/^/| /' conftest.$ac_ext >&5
18754 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18755 + conftest$ac_exeext conftest.$ac_ext
18756 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18758 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18760 + 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"
18762 + if test "$host_cpu" = ia64; then
18763 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18764 + allow_undefined_flag_CXX="-z nodefs"
18765 + 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"
18767 + # Determine the default libpath from the value encoded in an empty executable.
18768 + cat >conftest.$ac_ext <<_ACEOF
18771 +cat confdefs.h >>conftest.$ac_ext
18772 +cat >>conftest.$ac_ext <<_ACEOF
18773 +/* end confdefs.h. */
18783 +rm -f conftest.$ac_objext conftest$ac_exeext
18784 +if { (ac_try="$ac_link"
18785 +case "(($ac_try" in
18786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 + *) ac_try_echo=$ac_try;;
18789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 + (eval "$ac_link") 2>conftest.er1
18792 + grep -v '^ *+' conftest.er1 >conftest.err
18793 + rm -f conftest.er1
18794 + cat conftest.err >&5
18795 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 + (exit $ac_status); } && {
18797 + test -z "$ac_cxx_werror_flag" ||
18798 + test ! -s conftest.err
18799 + } && test -s conftest$ac_exeext &&
18800 + $as_test_x conftest$ac_exeext; then
18802 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18804 +# Check for a 64-bit object if we didn't find anything.
18805 +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; }
18808 + echo "$as_me: failed program was:" >&5
18809 +sed 's/^/| /' conftest.$ac_ext >&5
18814 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18815 + conftest$ac_exeext conftest.$ac_ext
18816 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18818 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18819 + # Warning - without using the other run time loading flags,
18820 + # -berok will link without error, but may produce a broken library.
18821 + no_undefined_flag_CXX=' ${wl}-bernotok'
18822 + allow_undefined_flag_CXX=' ${wl}-berok'
18823 + # Exported symbols can be pulled into shared objects from archives
18824 + whole_archive_flag_spec_CXX='$convenience'
18825 + archive_cmds_need_lc_CXX=yes
18826 + # This is similar to how AIX traditionally builds its shared libraries.
18827 + 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'
18833 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18834 + allow_undefined_flag_CXX=unsupported
18835 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18836 + # support --undefined. This deserves some investigation. FIXME
18837 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18844 + case $cc_basename in
18846 + # FIXME: insert proper C++ library support
18852 + cygwin* | mingw* | pw32*)
18853 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18854 + # as there is no search path for DLLs.
18855 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18856 + allow_undefined_flag_CXX=unsupported
18857 + always_export_symbols_CXX=no
18858 + enable_shared_with_static_runtimes_CXX=yes
18860 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18861 + 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'
18862 + # If the export-symbols file already is a .def file (1st line
18863 + # is EXPORTS), use it as is; otherwise, prepend...
18864 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18865 + cp $export_symbols $output_objdir/$soname.def;
18867 + echo EXPORTS > $output_objdir/$soname.def;
18868 + cat $export_symbols >> $output_objdir/$soname.def;
18870 + $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'
18875 + darwin* | rhapsody*)
18877 + rhapsody* | darwin1.[012])
18878 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18880 + *) # Darwin 1.3 on
18881 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18882 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18884 + case ${MACOSX_DEPLOYMENT_TARGET} in
18886 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18889 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18895 + archive_cmds_need_lc_CXX=no
18896 + hardcode_direct_CXX=no
18897 + hardcode_automatic_CXX=yes
18898 + hardcode_shlibpath_var_CXX=unsupported
18899 + whole_archive_flag_spec_CXX=''
18900 + link_all_deplibs_CXX=yes
18902 + if test "$GXX" = yes ; then
18903 + lt_int_apple_cc_single_mod=no
18904 + output_verbose_link_cmd='echo'
18905 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18906 + lt_int_apple_cc_single_mod=yes
18908 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18909 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18911 + 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'
18913 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18914 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18915 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18916 + 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}'
18918 + 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}'
18920 + 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}'
18922 + case $cc_basename in
18924 + output_verbose_link_cmd='echo'
18925 + 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'
18926 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18927 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18928 + 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}'
18929 + 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}'
18939 + case $cc_basename in
18941 + # FIXME: insert proper C++ library support
18945 + # Green Hills C++ Compiler
18946 + # FIXME: insert proper C++ library support
18950 + # FIXME: insert proper C++ library support
18956 + # C++ shared libraries reported to be fairly broken before switch to ELF
18960 + archive_cmds_need_lc_CXX=no
18962 + freebsd* | dragonfly*)
18963 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18965 + ld_shlibs_CXX=yes
18970 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18971 + hardcode_libdir_separator_CXX=:
18972 + export_dynamic_flag_spec_CXX='${wl}-E'
18973 + hardcode_direct_CXX=yes
18974 + hardcode_minus_L_CXX=yes # Not in the search PATH,
18975 + # but as the default
18976 + # location of the library.
18978 + case $cc_basename in
18980 + # FIXME: insert proper C++ library support
18984 + 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'
18985 + # Commands to make compiler produce verbose output that lists
18986 + # what "hidden" libraries, object files and flags are used when
18987 + # linking a shared library.
18989 + # There doesn't appear to be a way to prevent this compiler from
18990 + # explicitly linking system object files so we need to strip them
18991 + # from the output so that they don't get included in the library
18993 + 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'
18996 + if test "$GXX" = yes; then
18997 + 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'
18999 + # FIXME: insert proper C++ library support
19006 + if test $with_gnu_ld = no; then
19007 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19008 + hardcode_libdir_separator_CXX=:
19010 + case $host_cpu in
19012 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19015 + export_dynamic_flag_spec_CXX='${wl}-E'
19019 + case $host_cpu in
19021 + hardcode_direct_CXX=no
19022 + hardcode_shlibpath_var_CXX=no
19025 + hardcode_direct_CXX=yes
19026 + hardcode_minus_L_CXX=yes # Not in the search PATH,
19027 + # but as the default
19028 + # location of the library.
19032 + case $cc_basename in
19034 + # FIXME: insert proper C++ library support
19038 + case $host_cpu in
19040 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19043 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19046 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19049 + # Commands to make compiler produce verbose output that lists
19050 + # what "hidden" libraries, object files and flags are used when
19051 + # linking a shared library.
19053 + # There doesn't appear to be a way to prevent this compiler from
19054 + # explicitly linking system object files so we need to strip them
19055 + # from the output so that they don't get included in the library
19057 + 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'
19060 + if test "$GXX" = yes; then
19061 + if test $with_gnu_ld = no; then
19062 + case $host_cpu in
19064 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19067 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19070 + 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'
19075 + # FIXME: insert proper C++ library support
19082 + hardcode_direct_CXX=no
19083 + hardcode_shlibpath_var_CXX=no
19084 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19085 + export_dynamic_flag_spec_CXX='${wl}-E'
19086 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19087 + # Instead, shared libraries are loaded at an image base (0x10000000 by
19088 + # default) and relocated if they conflict, which is a slow very memory
19089 + # consuming and fragmenting process. To avoid this, we pick a random,
19090 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19091 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19092 + 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'
19093 + 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'
19096 + case $cc_basename in
19099 + 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'
19101 + # Archives containing C++ object files must be created using
19102 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19103 + # necessary to make sure instantiated templates are included
19104 + # in the archive.
19105 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19108 + if test "$GXX" = yes; then
19109 + if test "$with_gnu_ld" = no; then
19110 + 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'
19112 + 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'
19115 + link_all_deplibs_CXX=yes
19118 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19119 + hardcode_libdir_separator_CXX=:
19121 + linux* | k*bsd*-gnu)
19122 + case $cc_basename in
19124 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19126 + # KCC will only create a shared library if the output file
19127 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19128 + # to its proper name (with version) after linking.
19129 + 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'
19130 + 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'
19131 + # Commands to make compiler produce verbose output that lists
19132 + # what "hidden" libraries, object files and flags are used when
19133 + # linking a shared library.
19135 + # There doesn't appear to be a way to prevent this compiler from
19136 + # explicitly linking system object files so we need to strip them
19137 + # from the output so that they don't get included in the library
19139 + 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'
19141 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19142 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19144 + # Archives containing C++ object files must be created using
19145 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19146 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19151 + # version 8.0 and above of icpc choke on multiply defined symbols
19152 + # if we add $predep_objects and $postdep_objects, however 7.1 and
19153 + # earlier do not add the objects themselves.
19154 + case `$CC -V 2>&1` in
19156 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19157 + 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'
19159 + *) # Version 8.0 or newer
19161 + case $host_cpu in
19162 + ia64*) tmp_idyn=' -i_dynamic';;
19164 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19165 + 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'
19168 + archive_cmds_need_lc_CXX=no
19169 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19170 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19171 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19174 + # Portland Group C++ compiler
19175 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19176 + 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'
19178 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19179 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19180 + 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'
19184 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19185 + 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'
19187 + runpath_var=LD_RUN_PATH
19188 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19189 + hardcode_libdir_separator_CXX=:
19191 + # Commands to make compiler produce verbose output that lists
19192 + # what "hidden" libraries, object files and flags are used when
19193 + # linking a shared library.
19195 + # There doesn't appear to be a way to prevent this compiler from
19196 + # explicitly linking system object files so we need to strip them
19197 + # from the output so that they don't get included in the library
19199 + 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'
19204 + # FIXME: insert proper C++ library support
19208 + # FIXME: insert proper C++ library support
19212 + case $cc_basename in
19214 + # FIXME: insert proper C++ library support
19218 + # FIXME: insert proper C++ library support
19223 + netbsd* | netbsdelf*-gnu)
19224 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19225 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19227 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19228 + hardcode_direct_CXX=yes
19229 + hardcode_shlibpath_var_CXX=no
19231 + # Workaround some broken pre-1.5 toolchains
19232 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19235 + # C++ shared libraries are fairly broken
19239 + hardcode_direct_CXX=yes
19240 + hardcode_shlibpath_var_CXX=no
19241 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19242 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19243 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19244 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19245 + export_dynamic_flag_spec_CXX='${wl}-E'
19246 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19248 + output_verbose_link_cmd='echo'
19251 + case $cc_basename in
19253 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19255 + # KCC will only create a shared library if the output file
19256 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19257 + # to its proper name (with version) after linking.
19258 + 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'
19260 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19261 + hardcode_libdir_separator_CXX=:
19263 + # Archives containing C++ object files must be created using
19264 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19265 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19269 + # Rational C++ 2.4.1
19270 + # FIXME: insert proper C++ library support
19274 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19275 + 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'
19277 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19278 + hardcode_libdir_separator_CXX=:
19280 + # Commands to make compiler produce verbose output that lists
19281 + # what "hidden" libraries, object files and flags are used when
19282 + # linking a shared library.
19284 + # There doesn't appear to be a way to prevent this compiler from
19285 + # explicitly linking system object files so we need to strip them
19286 + # from the output so that they don't get included in the library
19288 + 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'
19291 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19292 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19293 + 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'
19295 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19296 + hardcode_libdir_separator_CXX=:
19298 + # Commands to make compiler produce verbose output that lists
19299 + # what "hidden" libraries, object files and flags are used when
19300 + # linking a shared library.
19301 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19304 + # FIXME: insert proper C++ library support
19311 + case $cc_basename in
19313 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19315 + # KCC will only create a shared library if the output file
19316 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19317 + # to its proper name (with version) after linking.
19318 + 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'
19320 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19321 + hardcode_libdir_separator_CXX=:
19323 + # Archives containing C++ object files must be created using
19324 + # the KAI C++ compiler.
19325 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19328 + # Rational C++ 2.4.1
19329 + # FIXME: insert proper C++ library support
19333 + allow_undefined_flag_CXX=' -expect_unresolved \*'
19334 + 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'
19335 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19336 + echo "-hidden">> $lib.exp~
19337 + $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~
19340 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19341 + hardcode_libdir_separator_CXX=:
19343 + # Commands to make compiler produce verbose output that lists
19344 + # what "hidden" libraries, object files and flags are used when
19345 + # linking a shared library.
19347 + # There doesn't appear to be a way to prevent this compiler from
19348 + # explicitly linking system object files so we need to strip them
19349 + # from the output so that they don't get included in the library
19351 + 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'
19354 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19355 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19356 + 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'
19358 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19359 + hardcode_libdir_separator_CXX=:
19361 + # Commands to make compiler produce verbose output that lists
19362 + # what "hidden" libraries, object files and flags are used when
19363 + # linking a shared library.
19364 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19367 + # FIXME: insert proper C++ library support
19374 + # FIXME: insert proper C++ library support
19378 + case $cc_basename in
19381 + # FIXME: insert proper C++ library support
19386 + # FIXME: insert proper C++ library support
19390 + # FIXME: insert proper C++ library support
19396 + case $cc_basename in
19398 + # Sun C++ 4.2, 5.x and Centerline C++
19399 + archive_cmds_need_lc_CXX=yes
19400 + no_undefined_flag_CXX=' -zdefs'
19401 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19402 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19403 + $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'
19405 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19406 + hardcode_shlibpath_var_CXX=no
19408 + solaris2.[0-5] | solaris2.[0-5].*) ;;
19410 + # The C++ compiler is used as linker so we must use $wl
19411 + # flag to pass the commands to the underlying system
19412 + # linker. We must also pass each convience library through
19413 + # to the system linker between allextract/defaultextract.
19414 + # The C++ compiler will combine linker options so we
19415 + # cannot just pass the convience library names through
19417 + # Supported since Solaris 2.6 (maybe 2.5.1?)
19418 + 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'
19421 + link_all_deplibs_CXX=yes
19423 + output_verbose_link_cmd='echo'
19425 + # Archives containing C++ object files must be created using
19426 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
19427 + # necessary to make sure instantiated templates are included
19428 + # in the archive.
19429 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19432 + # Green Hills C++ Compiler
19433 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19435 + # The C++ compiler must be used to create the archive.
19436 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19439 + # GNU C++ compiler with Solaris linker
19440 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19441 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19442 + if $CC --version | grep -v '^2\.7' > /dev/null; then
19443 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19444 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19445 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19447 + # Commands to make compiler produce verbose output that lists
19448 + # what "hidden" libraries, object files and flags are used when
19449 + # linking a shared library.
19450 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19452 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
19454 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19455 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19456 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19458 + # Commands to make compiler produce verbose output that lists
19459 + # what "hidden" libraries, object files and flags are used when
19460 + # linking a shared library.
19461 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19464 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19469 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19470 + no_undefined_flag_CXX='${wl}-z,text'
19471 + archive_cmds_need_lc_CXX=no
19472 + hardcode_shlibpath_var_CXX=no
19473 + runpath_var='LD_RUN_PATH'
19475 + case $cc_basename in
19477 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19478 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19481 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19482 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19486 + sysv5* | sco3.2v5* | sco5v6*)
19487 + # Note: We can NOT use -z defs as we might desire, because we do not
19488 + # link with -lc, and that would cause any symbols used from libc to
19489 + # always be unresolved, which means just about no library would
19490 + # ever link correctly. If we're not using GNU ld we use -z text
19491 + # though, which does catch some bad symbols but isn't as heavy-handed
19493 + # For security reasons, it is highly recommended that you always
19494 + # use absolute paths for naming shared libraries, and exclude the
19495 + # DT_RUNPATH tag from executables and libraries. But doing so
19496 + # requires that you compile everything twice, which is a pain.
19497 + # So that behaviour is only enabled if SCOABSPATH is set to a
19498 + # non-empty value in the environment. Most likely only useful for
19499 + # creating official distributions of packages.
19500 + # This is a hack until libtool officially supports absolute path
19501 + # names for shared libraries.
19502 + no_undefined_flag_CXX='${wl}-z,text'
19503 + allow_undefined_flag_CXX='${wl}-z,nodefs'
19504 + archive_cmds_need_lc_CXX=no
19505 + hardcode_shlibpath_var_CXX=no
19506 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19507 + hardcode_libdir_separator_CXX=':'
19508 + link_all_deplibs_CXX=yes
19509 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
19510 + runpath_var='LD_RUN_PATH'
19512 + case $cc_basename in
19514 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19515 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19518 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19519 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19524 + case $cc_basename in
19526 + # NonStop-UX NCC 3.20
19527 + # FIXME: insert proper C++ library support
19531 + # FIXME: insert proper C++ library support
19537 + # FIXME: insert proper C++ library support
19541 + # FIXME: insert proper C++ library support
19545 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19546 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19547 +test "$ld_shlibs_CXX" = no && can_build_shared=no
19553 +cat > conftest.$ac_ext <<EOF
19557 + Foo (void) { a = 0; }
19563 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 + (eval $ac_compile) 2>&5
19566 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 + (exit $ac_status); }; then
19568 + # Parse the compiler output and extract the necessary
19569 + # objects, libraries and library flags.
19571 + # Sentinel used to keep track of whether or not we are before
19572 + # the conftest object file.
19573 + pre_test_object_deps_done=no
19575 + # The `*' in the case matches for architectures that use `case' in
19576 + # $output_verbose_cmd can trigger glob expansion during the loop
19577 + # eval without this substitution.
19578 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19580 + for p in `eval $output_verbose_link_cmd`; do
19584 + # Some compilers place space between "-{L,R}" and the path.
19585 + # Remove the space.
19586 + if test $p = "-L" \
19587 + || test $p = "-R"; then
19594 + if test "$pre_test_object_deps_done" = no; then
19597 + # Internal compiler library paths should come after those
19598 + # provided the user. The postdeps already come after the
19599 + # user supplied libs so there is no need to process them.
19600 + if test -z "$compiler_lib_search_path_CXX"; then
19601 + compiler_lib_search_path_CXX="${prev}${p}"
19603 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19606 + # The "-l" case would never come before the object being
19607 + # linked, so don't bother handling this case.
19610 + if test -z "$postdeps_CXX"; then
19611 + postdeps_CXX="${prev}${p}"
19613 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19619 + # This assumes that the test object file only shows up
19620 + # once in the compiler output.
19621 + if test "$p" = "conftest.$objext"; then
19622 + pre_test_object_deps_done=yes
19626 + if test "$pre_test_object_deps_done" = no; then
19627 + if test -z "$predep_objects_CXX"; then
19628 + predep_objects_CXX="$p"
19630 + predep_objects_CXX="$predep_objects_CXX $p"
19633 + if test -z "$postdep_objects_CXX"; then
19634 + postdep_objects_CXX="$p"
19636 + postdep_objects_CXX="$postdep_objects_CXX $p"
19641 + *) ;; # Ignore the rest.
19647 + rm -f a.out a.exe
19649 + echo "libtool.m4: error: problem compiling CXX test program"
19652 +$rm -f confest.$objext
19654 +# PORTME: override above test on systems where it is broken
19657 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
19658 + # hack all around it, let's just trust "g++" to DTRT.
19659 + predep_objects_CXX=
19660 + postdep_objects_CXX=
19665 + case $cc_basename in
19667 + # Adding this requires a known-good setup of shared libraries for
19668 + # Sun compiler versions before 5.6, else PIC objects from an old
19669 + # archive will be linked into the output, leading to subtle bugs.
19670 + postdeps_CXX='-lCstd -lCrun'
19677 +case " $postdeps_CXX " in
19678 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
19681 +lt_prog_compiler_wl_CXX=
19682 +lt_prog_compiler_pic_CXX=
19683 +lt_prog_compiler_static_CXX=
19685 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19686 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19688 + # C++ specific cases for pic, static, wl, etc.
19689 + if test "$GXX" = yes; then
19690 + lt_prog_compiler_wl_CXX='-Wl,'
19691 + lt_prog_compiler_static_CXX='-static'
19695 + # All AIX code is PIC.
19696 + if test "$host_cpu" = ia64; then
19697 + # AIX 5 now supports IA64 processor
19698 + lt_prog_compiler_static_CXX='-Bstatic'
19702 + # FIXME: we need at least 68020 code to build shared libraries, but
19703 + # adding the `-m68020' flag to GCC prevents building anything better,
19704 + # like `-m68040'.
19705 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19707 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19708 + # PIC is the default for these OSes.
19710 + mingw* | os2* | pw32*)
19711 + # This hack is so that the source file can tell whether it is being
19712 + # built for inclusion in a dll (and should export symbols for example).
19713 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19715 + darwin* | rhapsody*)
19716 + # PIC is the default on this platform
19717 + # Common symbols not allowed in MH_DYLIB files
19718 + lt_prog_compiler_pic_CXX='-fno-common'
19721 + # DJGPP does not support shared libraries at all
19722 + lt_prog_compiler_pic_CXX=
19725 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19726 + # Instead, we relocate shared libraries at runtime.
19729 + if test -d /usr/nec; then
19730 + lt_prog_compiler_pic_CXX=-Kconform_pic
19734 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19735 + # not for PA HP-UX.
19736 + case $host_cpu in
19740 + lt_prog_compiler_pic_CXX='-fPIC'
19745 + lt_prog_compiler_pic_CXX='-fPIC'
19751 + # All AIX code is PIC.
19752 + if test "$host_cpu" = ia64; then
19753 + # AIX 5 now supports IA64 processor
19754 + lt_prog_compiler_static_CXX='-Bstatic'
19756 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19760 + case $cc_basename in
19762 + # Green Hills C++ Compiler
19763 + # _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"
19768 + # PIC is the default on this platform
19769 + # Common symbols not allowed in MH_DYLIB files
19770 + case $cc_basename in
19772 + lt_prog_compiler_pic_CXX='-qnocommon'
19773 + lt_prog_compiler_wl_CXX='-Wl,'
19778 + case $cc_basename in
19780 + lt_prog_compiler_pic_CXX='-KPIC'
19783 + # Green Hills C++ Compiler
19784 + lt_prog_compiler_pic_CXX='-pic'
19790 + freebsd* | dragonfly*)
19791 + # FreeBSD uses GNU C++
19793 + hpux9* | hpux10* | hpux11*)
19794 + case $cc_basename in
19796 + lt_prog_compiler_wl_CXX='-Wl,'
19797 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19798 + if test "$host_cpu" != ia64; then
19799 + lt_prog_compiler_pic_CXX='+Z'
19803 + lt_prog_compiler_wl_CXX='-Wl,'
19804 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19805 + case $host_cpu in
19810 + lt_prog_compiler_pic_CXX='+Z'
19819 + # This is c89, which is MS Visual C++ (no shared libs)
19820 + # Anyone wants to do a port?
19822 + irix5* | irix6* | nonstopux*)
19823 + case $cc_basename in
19825 + lt_prog_compiler_wl_CXX='-Wl,'
19826 + lt_prog_compiler_static_CXX='-non_shared'
19827 + # CC pic flag -KPIC is the default.
19833 + linux* | k*bsd*-gnu)
19834 + case $cc_basename in
19836 + # KAI C++ Compiler
19837 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19838 + lt_prog_compiler_pic_CXX='-fPIC'
19842 + lt_prog_compiler_wl_CXX='-Wl,'
19843 + lt_prog_compiler_pic_CXX='-KPIC'
19844 + lt_prog_compiler_static_CXX='-static'
19847 + # Portland Group C++ compiler.
19848 + lt_prog_compiler_wl_CXX='-Wl,'
19849 + lt_prog_compiler_pic_CXX='-fpic'
19850 + lt_prog_compiler_static_CXX='-Bstatic'
19854 + # Make sure the PIC flag is empty. It appears that all Alpha
19855 + # Linux and Compaq Tru64 Unix objects are PIC.
19856 + lt_prog_compiler_pic_CXX=
19857 + lt_prog_compiler_static_CXX='-non_shared'
19868 + case $cc_basename in
19870 + lt_prog_compiler_pic_CXX='-W c,exportall'
19876 + netbsd* | netbsdelf*-gnu)
19878 + osf3* | osf4* | osf5*)
19879 + case $cc_basename in
19881 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19884 + # Rational C++ 2.4.1
19885 + lt_prog_compiler_pic_CXX='-pic'
19888 + # Digital/Compaq C++
19889 + lt_prog_compiler_wl_CXX='-Wl,'
19890 + # Make sure the PIC flag is empty. It appears that all Alpha
19891 + # Linux and Compaq Tru64 Unix objects are PIC.
19892 + lt_prog_compiler_pic_CXX=
19893 + lt_prog_compiler_static_CXX='-non_shared'
19902 + case $cc_basename in
19904 + # Sun C++ 4.2, 5.x and Centerline C++
19905 + lt_prog_compiler_pic_CXX='-KPIC'
19906 + lt_prog_compiler_static_CXX='-Bstatic'
19907 + lt_prog_compiler_wl_CXX='-Qoption ld '
19910 + # Green Hills C++ Compiler
19911 + lt_prog_compiler_pic_CXX='-PIC'
19918 + case $cc_basename in
19921 + lt_prog_compiler_pic_CXX='-pic'
19922 + lt_prog_compiler_static_CXX='-Bstatic'
19926 + lt_prog_compiler_pic_CXX='-pic'
19933 + case $cc_basename in
19935 + # NonStop-UX NCC 3.20
19936 + lt_prog_compiler_pic_CXX='-KPIC'
19942 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19943 + case $cc_basename in
19945 + lt_prog_compiler_wl_CXX='-Wl,'
19946 + lt_prog_compiler_pic_CXX='-KPIC'
19947 + lt_prog_compiler_static_CXX='-Bstatic'
19954 + lt_prog_compiler_can_build_shared_CXX=no
19959 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19960 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19963 +# Check to make sure the PIC flag actually works.
19965 +if test -n "$lt_prog_compiler_pic_CXX"; then
19967 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19968 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19969 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19970 + echo $ECHO_N "(cached) $ECHO_C" >&6
19972 + lt_prog_compiler_pic_works_CXX=no
19973 + ac_outfile=conftest.$ac_objext
19974 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19975 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19976 + # Insert the option either (1) after the last *FLAGS variable, or
19977 + # (2) before a word containing "conftest.", or (3) at the end.
19978 + # Note that $ac_compile itself does not contain backslashes and begins
19979 + # with a dollar sign (not a hyphen), so the echo should work correctly.
19980 + # The option is referenced via a variable to avoid confusing sed.
19981 + lt_compile=`echo "$ac_compile" | $SED \
19982 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19983 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19984 + -e 's:$: $lt_compiler_flag:'`
19985 + (eval echo "\"\$as_me:12517: $lt_compile\"" >&5)
19986 + (eval "$lt_compile" 2>conftest.err)
19988 + cat conftest.err >&5
19989 + echo "$as_me:12521: \$? = $ac_status" >&5
19990 + if (exit $ac_status) && test -s "$ac_outfile"; then
19991 + # The compiler can only warn and ignore the option if not recognized
19992 + # So say no if there are warnings other than the usual output.
19993 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19994 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19995 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19996 + lt_prog_compiler_pic_works_CXX=yes
20002 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20003 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20005 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
20006 + case $lt_prog_compiler_pic_CXX in
20008 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20011 + lt_prog_compiler_pic_CXX=
20012 + lt_prog_compiler_can_build_shared_CXX=no
20017 + # For platforms which do not support PIC, -DPIC is meaningless:
20019 + lt_prog_compiler_pic_CXX=
20022 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20027 +# Check to make sure the static flag actually works.
20029 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20030 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20031 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20032 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20033 + echo $ECHO_N "(cached) $ECHO_C" >&6
20035 + lt_prog_compiler_static_works_CXX=no
20036 + save_LDFLAGS="$LDFLAGS"
20037 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20038 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
20039 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20040 + # The linker can only warn and ignore the option if not recognized
20041 + # So say no if there are warnings
20042 + if test -s conftest.err; then
20043 + # Append any errors to the config.log.
20044 + cat conftest.err 1>&5
20045 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20046 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20047 + if diff conftest.exp conftest.er2 >/dev/null; then
20048 + lt_prog_compiler_static_works_CXX=yes
20051 + lt_prog_compiler_static_works_CXX=yes
20055 + LDFLAGS="$save_LDFLAGS"
20058 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20059 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20061 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
20064 + lt_prog_compiler_static_CXX=
20068 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20069 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20070 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20071 + echo $ECHO_N "(cached) $ECHO_C" >&6
20073 + lt_cv_prog_compiler_c_o_CXX=no
20074 + $rm -r conftest 2>/dev/null
20078 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20080 + lt_compiler_flag="-o out/conftest2.$ac_objext"
20081 + # Insert the option either (1) after the last *FLAGS variable, or
20082 + # (2) before a word containing "conftest.", or (3) at the end.
20083 + # Note that $ac_compile itself does not contain backslashes and begins
20084 + # with a dollar sign (not a hyphen), so the echo should work correctly.
20085 + lt_compile=`echo "$ac_compile" | $SED \
20086 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20087 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20088 + -e 's:$: $lt_compiler_flag:'`
20089 + (eval echo "\"\$as_me:12621: $lt_compile\"" >&5)
20090 + (eval "$lt_compile" 2>out/conftest.err)
20092 + cat out/conftest.err >&5
20093 + echo "$as_me:12625: \$? = $ac_status" >&5
20094 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
20096 + # The compiler can only warn and ignore the option if not recognized
20097 + # So say no if there are warnings
20098 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20099 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20100 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20101 + lt_cv_prog_compiler_c_o_CXX=yes
20106 + # SGI C++ compiler will create directory out/ii_files/ for
20107 + # template instantiation
20108 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20109 + $rm out/* && rmdir out
20115 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20116 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20119 +hard_links="nottested"
20120 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20121 + # do not overwrite the value of need_locks provided by the user
20122 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20123 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20126 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20128 + ln conftest.a conftest.b 2>&5 || hard_links=no
20129 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20130 + { echo "$as_me:$LINENO: result: $hard_links" >&5
20131 +echo "${ECHO_T}$hard_links" >&6; }
20132 + if test "$hard_links" = no; then
20133 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20134 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20141 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20142 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20144 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20147 + # If we're using GNU nm, then we don't want the "-C" option.
20148 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
20149 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20150 + 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'
20152 + 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'
20156 + export_symbols_cmds_CXX="$ltdll_cmds"
20158 + cygwin* | mingw*)
20159 + 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'
20161 + linux* | k*bsd*-gnu)
20162 + link_all_deplibs_CXX=no
20165 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20169 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20170 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20171 +test "$ld_shlibs_CXX" = no && can_build_shared=no
20174 +# Do we need to explicitly link libc?
20176 +case "x$archive_cmds_need_lc_CXX" in
20178 + # Assume -lc should be added
20179 + archive_cmds_need_lc_CXX=yes
20181 + if test "$enable_shared" = yes && test "$GCC" = yes; then
20182 + case $archive_cmds_CXX in
20184 + # FIXME: we may have to deal with multi-command sequences.
20187 + # Test whether the compiler implicitly links with -lc since on some
20188 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
20189 + # to ld, don't add -lc before -lgcc.
20190 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20191 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20193 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20195 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20196 + (eval $ac_compile) 2>&5
20198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 + (exit $ac_status); } 2>conftest.err; then
20202 + libobjs=conftest.$ac_objext
20204 + wl=$lt_prog_compiler_wl_CXX
20205 + pic_flag=$lt_prog_compiler_pic_CXX
20206 + compiler_flags=-v
20211 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20212 + allow_undefined_flag_CXX=
20213 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20214 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20216 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 + (exit $ac_status); }
20219 + archive_cmds_need_lc_CXX=no
20221 + archive_cmds_need_lc_CXX=yes
20223 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20225 + cat conftest.err 1>&5
20228 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20229 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20236 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20237 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20238 +library_names_spec=
20239 +libname_spec='lib$name'
20243 +postuninstall_cmds=
20247 +shlibpath_overrides_runpath=unknown
20249 +dynamic_linker="$host_os ld.so"
20250 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
20251 +if test "$GCC" = yes; then
20252 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20253 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20254 + # if the path contains ";" then we assume it to be the separator
20255 + # otherwise default to the standard path separator (i.e. ":") - it is
20256 + # assumed that no part of a normal pathname contains ";" but that should
20257 + # okay in the real world where ";" in dirpaths is itself problematic.
20258 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20260 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20263 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20265 +need_lib_prefix=unknown
20266 +hardcode_into_libs=no
20268 +# when you set need_version to no, make sure it does not cause -set_version
20269 +# flags to be left without arguments
20270 +need_version=unknown
20274 + version_type=linux
20275 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20276 + shlibpath_var=LIBPATH
20278 + # AIX 3 has no versioning support, so we append a major version to the name.
20279 + soname_spec='${libname}${release}${shared_ext}$major'
20283 + version_type=linux
20284 + need_lib_prefix=no
20286 + hardcode_into_libs=yes
20287 + if test "$host_cpu" = ia64; then
20288 + # AIX 5 supports IA64
20289 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20290 + shlibpath_var=LD_LIBRARY_PATH
20292 + # With GCC up to 2.95.x, collect2 would create an import file
20293 + # for dependence libraries. The import file would start with
20294 + # the line `#! .'. This would cause the generated library to
20295 + # depend on `.', always an invalid library. This was fixed in
20296 + # development snapshots of GCC prior to 3.0.
20298 + aix4 | aix4.[01] | aix4.[01].*)
20299 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20301 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20304 + can_build_shared=no
20308 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20309 + # soname into executable. Probably we can add versioning support to
20310 + # collect2, so additional links can be useful in future.
20311 + if test "$aix_use_runtimelinking" = yes; then
20312 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20313 + # instead of lib<name>.a to let people know that these are not
20314 + # typical AIX shared libraries.
20315 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20317 + # We preserve .a as extension for shared libraries through AIX4.2
20318 + # and later when we are not doing run time linking.
20319 + library_names_spec='${libname}${release}.a $libname.a'
20320 + soname_spec='${libname}${release}${shared_ext}$major'
20322 + shlibpath_var=LIBPATH
20327 + library_names_spec='$libname.ixlibrary $libname.a'
20328 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
20329 + 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'
20333 + library_names_spec='${libname}${shared_ext}'
20334 + dynamic_linker="$host_os ld.so"
20335 + shlibpath_var=LIBRARY_PATH
20339 + version_type=linux
20341 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20342 + soname_spec='${libname}${release}${shared_ext}$major'
20343 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20344 + shlibpath_var=LD_LIBRARY_PATH
20345 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20346 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20347 + # the default ld.so.conf also contains /usr/contrib/lib and
20348 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20349 + # libtool to hard-code these into programs
20352 +cygwin* | mingw* | pw32*)
20353 + version_type=windows
20354 + shrext_cmds=".dll"
20356 + need_lib_prefix=no
20358 + case $GCC,$host_os in
20359 + yes,cygwin* | yes,mingw* | yes,pw32*)
20360 + library_names_spec='$libname.dll.a'
20361 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
20362 + postinstall_cmds='base_file=`basename \${file}`~
20363 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20364 + dldir=$destdir/`dirname \$dlpath`~
20365 + test -d \$dldir || mkdir -p \$dldir~
20366 + $install_prog $dir/$dlname \$dldir/$dlname~
20367 + chmod a+x \$dldir/$dlname'
20368 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20369 + dlpath=$dir/\$dldll~
20371 + shlibpath_overrides_runpath=yes
20375 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20376 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20377 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20380 + # MinGW DLLs use traditional 'lib' prefix
20381 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20382 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20383 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20384 + # It is most probably a Windows format PATH printed by
20385 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
20386 + # path with ; separators, and with drive letters. We can handle the
20387 + # drive letters (cygwin fileutils understands them), so leave them,
20388 + # especially as we might pass files found there to a mingw objdump,
20389 + # which wouldn't understand a cygwinified path. Ahh.
20390 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20392 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20396 + # pw32 DLLs use 'pw' prefix rather than 'lib'
20397 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20403 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20406 + dynamic_linker='Win32 ld.exe'
20407 + # FIXME: first we should search . and the directory the executable is in
20408 + shlibpath_var=PATH
20411 +darwin* | rhapsody*)
20412 + dynamic_linker="$host_os dyld"
20413 + version_type=darwin
20414 + need_lib_prefix=no
20416 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20417 + soname_spec='${libname}${release}${major}$shared_ext'
20418 + shlibpath_overrides_runpath=yes
20419 + shlibpath_var=DYLD_LIBRARY_PATH
20420 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20421 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20422 + if test "$GCC" = yes; then
20423 + 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"`
20425 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20427 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20431 + version_type=linux
20432 + need_lib_prefix=no
20434 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20435 + soname_spec='${libname}${release}${shared_ext}$major'
20436 + shlibpath_var=LD_LIBRARY_PATH
20440 + dynamic_linker=no
20443 +freebsd* | dragonfly*)
20444 + # DragonFly does not have aout. When/if they implement a new
20445 + # versioning mechanism, adjust this.
20446 + if test -x /usr/bin/objformat; then
20447 + objformat=`/usr/bin/objformat`
20450 + freebsd[123]*) objformat=aout ;;
20451 + *) objformat=elf ;;
20454 + version_type=freebsd-$objformat
20455 + case $version_type in
20457 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20459 + need_lib_prefix=no
20462 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20466 + shlibpath_var=LD_LIBRARY_PATH
20469 + shlibpath_overrides_runpath=yes
20471 + freebsd3.[01]* | freebsdelf3.[01]*)
20472 + shlibpath_overrides_runpath=yes
20473 + hardcode_into_libs=yes
20475 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20476 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20477 + shlibpath_overrides_runpath=no
20478 + hardcode_into_libs=yes
20480 + freebsd*) # from 4.6 on
20481 + shlibpath_overrides_runpath=yes
20482 + hardcode_into_libs=yes
20488 + version_type=linux
20489 + need_lib_prefix=no
20491 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20492 + soname_spec='${libname}${release}${shared_ext}$major'
20493 + shlibpath_var=LD_LIBRARY_PATH
20494 + hardcode_into_libs=yes
20497 +hpux9* | hpux10* | hpux11*)
20498 + # Give a soname corresponding to the major version so that dld.sl refuses to
20499 + # link against other versions.
20500 + version_type=sunos
20501 + need_lib_prefix=no
20503 + case $host_cpu in
20505 + shrext_cmds='.so'
20506 + hardcode_into_libs=yes
20507 + dynamic_linker="$host_os dld.so"
20508 + shlibpath_var=LD_LIBRARY_PATH
20509 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20510 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20511 + soname_spec='${libname}${release}${shared_ext}$major'
20512 + if test "X$HPUX_IA64_MODE" = X32; then
20513 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20515 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20517 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20520 + shrext_cmds='.sl'
20521 + hardcode_into_libs=yes
20522 + dynamic_linker="$host_os dld.sl"
20523 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20524 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20525 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20526 + soname_spec='${libname}${release}${shared_ext}$major'
20527 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20528 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20531 + shrext_cmds='.sl'
20532 + dynamic_linker="$host_os dld.sl"
20533 + shlibpath_var=SHLIB_PATH
20534 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20535 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20536 + soname_spec='${libname}${release}${shared_ext}$major'
20539 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
20540 + postinstall_cmds='chmod 555 $lib'
20544 + version_type=linux
20545 + need_lib_prefix=no
20547 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20548 + soname_spec='${libname}${release}${shared_ext}$major'
20549 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20550 + shlibpath_var=LD_LIBRARY_PATH
20551 + shlibpath_overrides_runpath=no
20552 + hardcode_into_libs=yes
20555 +irix5* | irix6* | nonstopux*)
20557 + nonstopux*) version_type=nonstopux ;;
20559 + if test "$lt_cv_prog_gnu_ld" = yes; then
20560 + version_type=linux
20562 + version_type=irix
20565 + need_lib_prefix=no
20567 + soname_spec='${libname}${release}${shared_ext}$major'
20568 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20570 + irix5* | nonstopux*)
20571 + libsuff= shlibsuff=
20574 + case $LD in # libtool.m4 will add one of these switches to LD
20575 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20576 + libsuff= shlibsuff= libmagic=32-bit;;
20577 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20578 + libsuff=32 shlibsuff=N32 libmagic=N32;;
20579 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20580 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
20581 + *) libsuff= shlibsuff= libmagic=never-match;;
20585 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20586 + shlibpath_overrides_runpath=no
20587 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20588 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20589 + hardcode_into_libs=yes
20592 +# No shared lib support for Linux oldld, aout, or coff.
20593 +linux*oldld* | linux*aout* | linux*coff*)
20594 + dynamic_linker=no
20597 +# This must be Linux ELF.
20598 +linux* | k*bsd*-gnu)
20599 + version_type=linux
20600 + need_lib_prefix=no
20602 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20603 + soname_spec='${libname}${release}${shared_ext}$major'
20604 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20605 + shlibpath_var=LD_LIBRARY_PATH
20606 + shlibpath_overrides_runpath=no
20607 + # This implies no fast_install, which is unacceptable.
20608 + # Some rework will be needed to allow for fast_install
20609 + # before this can be enabled.
20610 + hardcode_into_libs=yes
20612 + # Append ld.so.conf contents to the search path
20613 + if test -f /etc/ld.so.conf; then
20614 + 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' ' '`
20615 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20618 + # We used to test for /lib/ld.so.1 and disable shared libraries on
20619 + # powerpc, because MkLinux only supported shared libraries with the
20620 + # GNU dynamic linker. Since this was broken with cross compilers,
20621 + # most powerpc-linux boxes support dynamic linking these days and
20622 + # people can always --disable-shared, the test was removed, and we
20623 + # assume the GNU/Linux dynamic linker is in use.
20624 + dynamic_linker='GNU/Linux ld.so'
20628 + version_type=linux
20629 + need_lib_prefix=no
20631 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20632 + soname_spec='${libname}${release}${shared_ext}$major'
20633 + shlibpath_var=LD_LIBRARY_PATH
20634 + shlibpath_overrides_runpath=no
20635 + hardcode_into_libs=yes
20636 + dynamic_linker='NetBSD ld.elf_so'
20640 + version_type=sunos
20641 + need_lib_prefix=no
20643 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20644 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20645 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20646 + dynamic_linker='NetBSD (a.out) ld.so'
20648 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20649 + soname_spec='${libname}${release}${shared_ext}$major'
20650 + dynamic_linker='NetBSD ld.elf_so'
20652 + shlibpath_var=LD_LIBRARY_PATH
20653 + shlibpath_overrides_runpath=yes
20654 + hardcode_into_libs=yes
20658 + version_type=linux
20659 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20660 + shlibpath_var=LD_LIBRARY_PATH
20661 + shlibpath_overrides_runpath=yes
20665 + version_type=linux
20666 + need_lib_prefix=no
20668 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20669 + soname_spec='${libname}${release}${shared_ext}$major'
20670 + shlibpath_var=LD_LIBRARY_PATH
20671 + shlibpath_overrides_runpath=yes
20675 + version_type=sunos
20676 + sys_lib_dlsearch_path_spec="/usr/lib"
20677 + need_lib_prefix=no
20678 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20680 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20681 + *) need_version=no ;;
20683 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20684 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20685 + shlibpath_var=LD_LIBRARY_PATH
20686 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20688 + openbsd2.[89] | openbsd2.[89].*)
20689 + shlibpath_overrides_runpath=no
20692 + shlibpath_overrides_runpath=yes
20696 + shlibpath_overrides_runpath=yes
20701 + libname_spec='$name'
20702 + shrext_cmds=".dll"
20703 + need_lib_prefix=no
20704 + library_names_spec='$libname${shared_ext} $libname.a'
20705 + dynamic_linker='OS/2 ld.exe'
20706 + shlibpath_var=LIBPATH
20709 +osf3* | osf4* | osf5*)
20711 + need_lib_prefix=no
20713 + soname_spec='${libname}${release}${shared_ext}$major'
20714 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20715 + shlibpath_var=LD_LIBRARY_PATH
20716 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20717 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20721 + version_type=linux
20722 + need_lib_prefix=no
20724 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20725 + soname_spec='${libname}${release}${shared_ext}$major'
20726 + shlibpath_var=LD_LIBRARY_PATH
20727 + shlibpath_overrides_runpath=yes
20728 + hardcode_into_libs=yes
20729 + # ldd complains unless libraries are executable
20730 + postinstall_cmds='chmod +x $lib'
20734 + version_type=sunos
20735 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20736 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20737 + shlibpath_var=LD_LIBRARY_PATH
20738 + shlibpath_overrides_runpath=yes
20739 + if test "$with_gnu_ld" = yes; then
20740 + need_lib_prefix=no
20746 + version_type=linux
20747 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20748 + soname_spec='${libname}${release}${shared_ext}$major'
20749 + shlibpath_var=LD_LIBRARY_PATH
20750 + case $host_vendor in
20752 + shlibpath_overrides_runpath=no
20753 + need_lib_prefix=no
20754 + export_dynamic_flag_spec='${wl}-Blargedynsym'
20755 + runpath_var=LD_RUN_PATH
20758 + need_lib_prefix=no
20761 + need_lib_prefix=no
20763 + shlibpath_overrides_runpath=no
20764 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20770 + if test -d /usr/nec ;then
20771 + version_type=linux
20772 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20773 + soname_spec='$libname${shared_ext}.$major'
20774 + shlibpath_var=LD_LIBRARY_PATH
20778 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20779 + version_type=freebsd-elf
20780 + need_lib_prefix=no
20782 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20783 + soname_spec='${libname}${release}${shared_ext}$major'
20784 + shlibpath_var=LD_LIBRARY_PATH
20785 + hardcode_into_libs=yes
20786 + if test "$with_gnu_ld" = yes; then
20787 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20788 + shlibpath_overrides_runpath=no
20790 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20791 + shlibpath_overrides_runpath=yes
20794 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20798 + sys_lib_dlsearch_path_spec='/usr/lib'
20802 + version_type=linux
20803 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20804 + soname_spec='${libname}${release}${shared_ext}$major'
20805 + shlibpath_var=LD_LIBRARY_PATH
20809 + dynamic_linker=no
20812 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20813 +echo "${ECHO_T}$dynamic_linker" >&6; }
20814 +test "$dynamic_linker" = no && can_build_shared=no
20816 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20817 +if test "$GCC" = yes; then
20818 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20821 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20822 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20823 +hardcode_action_CXX=
20824 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
20825 + test -n "$runpath_var_CXX" || \
20826 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
20828 + # We can hardcode non-existant directories.
20829 + if test "$hardcode_direct_CXX" != no &&
20830 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
20831 + # have to relink, otherwise we might link with an installed library
20832 + # when we should be linking with a yet-to-be-installed one
20833 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20834 + test "$hardcode_minus_L_CXX" != no; then
20835 + # Linking always hardcodes the temporary library directory.
20836 + hardcode_action_CXX=relink
20838 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
20839 + hardcode_action_CXX=immediate
20842 + # We cannot hardcode anything, or else we can only hardcode existing
20844 + hardcode_action_CXX=unsupported
20846 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20847 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20849 +if test "$hardcode_action_CXX" = relink; then
20850 + # Fast installation is not supported
20851 + enable_fast_install=no
20852 +elif test "$shlibpath_overrides_runpath" = yes ||
20853 + test "$enable_shared" = no; then
20854 + # Fast installation is not necessary
20855 + enable_fast_install=needless
20859 +# The else clause should only fire when bootstrapping the
20860 +# libtool distribution, otherwise you forgot to ship ltmain.sh
20861 +# with your package, and you will get complaints that there are
20862 +# no rules to generate ltmain.sh.
20863 +if test -f "$ltmain"; then
20864 + # See if we are running on zsh, and set the options which allow our commands through
20865 + # without removal of \ escapes.
20866 + if test -n "${ZSH_VERSION+set}" ; then
20867 + setopt NO_GLOB_SUBST
20869 + # Now quote all the things that may contain metacharacters while being
20870 + # careful not to overquote the AC_SUBSTed values. We take copies of the
20871 + # variables and quote the copies for generation of the libtool script.
20872 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20873 + SED SHELL STRIP \
20874 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20875 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20876 + deplibs_check_method reload_flag reload_cmds need_locks \
20877 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20878 + lt_cv_sys_global_symbol_to_c_name_address \
20879 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20880 + old_postinstall_cmds old_postuninstall_cmds \
20884 + lt_prog_compiler_wl_CXX \
20885 + lt_prog_compiler_pic_CXX \
20886 + lt_prog_compiler_static_CXX \
20887 + lt_prog_compiler_no_builtin_flag_CXX \
20888 + export_dynamic_flag_spec_CXX \
20889 + thread_safe_flag_spec_CXX \
20890 + whole_archive_flag_spec_CXX \
20891 + enable_shared_with_static_runtimes_CXX \
20892 + old_archive_cmds_CXX \
20893 + old_archive_from_new_cmds_CXX \
20894 + predep_objects_CXX \
20895 + postdep_objects_CXX \
20898 + compiler_lib_search_path_CXX \
20899 + archive_cmds_CXX \
20900 + archive_expsym_cmds_CXX \
20901 + postinstall_cmds_CXX \
20902 + postuninstall_cmds_CXX \
20903 + old_archive_from_expsyms_cmds_CXX \
20904 + allow_undefined_flag_CXX \
20905 + no_undefined_flag_CXX \
20906 + export_symbols_cmds_CXX \
20907 + hardcode_libdir_flag_spec_CXX \
20908 + hardcode_libdir_flag_spec_ld_CXX \
20909 + hardcode_libdir_separator_CXX \
20910 + hardcode_automatic_CXX \
20911 + module_cmds_CXX \
20912 + module_expsym_cmds_CXX \
20913 + lt_cv_prog_compiler_c_o_CXX \
20914 + exclude_expsyms_CXX \
20915 + include_expsyms_CXX; do
20918 + old_archive_cmds_CXX | \
20919 + old_archive_from_new_cmds_CXX | \
20920 + archive_cmds_CXX | \
20921 + archive_expsym_cmds_CXX | \
20922 + module_cmds_CXX | \
20923 + module_expsym_cmds_CXX | \
20924 + old_archive_from_expsyms_cmds_CXX | \
20925 + export_symbols_cmds_CXX | \
20926 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
20927 + postinstall_cmds | postuninstall_cmds | \
20928 + old_postinstall_cmds | old_postuninstall_cmds | \
20929 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20930 + # Double-quote double-evaled strings.
20931 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20934 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20940 + *'\$0 --fallback-echo"')
20941 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20947 + cat <<__EOF__ >> "$cfgfile"
20948 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20950 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20952 +# Shell to use when invoking shell scripts.
20955 +# Whether or not to build shared libraries.
20956 +build_libtool_libs=$enable_shared
20958 +# Whether or not to build static libraries.
20959 +build_old_libs=$enable_static
20961 +# Whether or not to add -lc for building shared libraries.
20962 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
20964 +# Whether or not to disallow shared libs when runtime libs are static
20965 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20967 +# Whether or not to optimize for fast installation.
20968 +fast_install=$enable_fast_install
20970 +# The host system.
20971 +host_alias=$host_alias
20975 +# The build system.
20976 +build_alias=$build_alias
20978 +build_os=$build_os
20980 +# An echo program that does not interpret backslashes.
20985 +AR_FLAGS=$lt_AR_FLAGS
20990 +# LTCC compiler flags.
20991 +LTCFLAGS=$lt_LTCFLAGS
20993 +# A language-specific compiler.
20994 +CC=$lt_compiler_CXX
20996 +# Is the compiler the GNU C compiler?
21002 +# The linker used to build libraries.
21005 +# Whether we need hard or soft links.
21008 +# A BSD-compatible nm program.
21011 +# A symbol stripping program
21014 +# Used to examine libraries when file_magic_cmd begins "file"
21015 +MAGIC_CMD=$MAGIC_CMD
21017 +# Used on cygwin: DLL creation program.
21018 +DLLTOOL="$DLLTOOL"
21020 +# Used on cygwin: object dumper.
21021 +OBJDUMP="$OBJDUMP"
21023 +# Used on cygwin: assembler.
21026 +# The name of the directory that contains temporary libtool files.
21029 +# How to create reloadable object files.
21030 +reload_flag=$lt_reload_flag
21031 +reload_cmds=$lt_reload_cmds
21033 +# How to pass a linker flag through the compiler.
21034 +wl=$lt_lt_prog_compiler_wl_CXX
21036 +# Object file suffix (normally "o").
21037 +objext="$ac_objext"
21039 +# Old archive suffix (normally "a").
21042 +# Shared library suffix (normally ".so").
21043 +shrext_cmds='$shrext_cmds'
21045 +# Executable file suffix (normally "").
21048 +# Additional compiler flags for building library objects.
21049 +pic_flag=$lt_lt_prog_compiler_pic_CXX
21050 +pic_mode=$pic_mode
21052 +# What is the maximum length of a command?
21053 +max_cmd_len=$lt_cv_sys_max_cmd_len
21055 +# Does compiler simultaneously support -c and -o options?
21056 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21058 +# Must we lock files when doing compilation?
21059 +need_locks=$lt_need_locks
21061 +# Do we need the lib prefix for modules?
21062 +need_lib_prefix=$need_lib_prefix
21064 +# Do we need a version for libraries?
21065 +need_version=$need_version
21067 +# Whether dlopen is supported.
21068 +dlopen_support=$enable_dlopen
21070 +# Whether dlopen of programs is supported.
21071 +dlopen_self=$enable_dlopen_self
21073 +# Whether dlopen of statically linked programs is supported.
21074 +dlopen_self_static=$enable_dlopen_self_static
21076 +# Compiler flag to prevent dynamic linking.
21077 +link_static_flag=$lt_lt_prog_compiler_static_CXX
21079 +# Compiler flag to turn off builtin functions.
21080 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21082 +# Compiler flag to allow reflexive dlopens.
21083 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21085 +# Compiler flag to generate shared objects directly from archives.
21086 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21088 +# Compiler flag to generate thread-safe objects.
21089 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21091 +# Library versioning type.
21092 +version_type=$version_type
21094 +# Format of library name prefix.
21095 +libname_spec=$lt_libname_spec
21097 +# List of archive names. First name is the real one, the rest are links.
21098 +# The last name is the one that the linker finds with -lNAME.
21099 +library_names_spec=$lt_library_names_spec
21101 +# The coded name of the library, if different from the real name.
21102 +soname_spec=$lt_soname_spec
21104 +# Commands used to build and install an old-style archive.
21106 +old_archive_cmds=$lt_old_archive_cmds_CXX
21107 +old_postinstall_cmds=$lt_old_postinstall_cmds
21108 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
21110 +# Create an old-style archive from a shared archive.
21111 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21113 +# Create a temporary old-style archive to link instead of a shared archive.
21114 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21116 +# Commands used to build and install a shared archive.
21117 +archive_cmds=$lt_archive_cmds_CXX
21118 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21119 +postinstall_cmds=$lt_postinstall_cmds
21120 +postuninstall_cmds=$lt_postuninstall_cmds
21122 +# Commands used to build a loadable module (assumed same as above if empty)
21123 +module_cmds=$lt_module_cmds_CXX
21124 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
21126 +# Commands to strip libraries.
21127 +old_striplib=$lt_old_striplib
21128 +striplib=$lt_striplib
21130 +# Dependencies to place before the objects being linked to create a
21132 +predep_objects=$lt_predep_objects_CXX
21134 +# Dependencies to place after the objects being linked to create a
21136 +postdep_objects=$lt_postdep_objects_CXX
21138 +# Dependencies to place before the objects being linked to create a
21140 +predeps=$lt_predeps_CXX
21142 +# Dependencies to place after the objects being linked to create a
21144 +postdeps=$lt_postdeps_CXX
21146 +# The library search path used internally by the compiler when linking
21147 +# a shared library.
21148 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21150 +# Method to check whether dependent libraries are shared objects.
21151 +deplibs_check_method=$lt_deplibs_check_method
21153 +# Command to use when deplibs_check_method == file_magic.
21154 +file_magic_cmd=$lt_file_magic_cmd
21156 +# Flag that allows shared libraries with undefined symbols to be built.
21157 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
21159 +# Flag that forces no undefined symbols.
21160 +no_undefined_flag=$lt_no_undefined_flag_CXX
21162 +# Commands used to finish a libtool library installation in a directory.
21163 +finish_cmds=$lt_finish_cmds
21165 +# Same as above, but a single script fragment to be evaled but not shown.
21166 +finish_eval=$lt_finish_eval
21168 +# Take the output of nm and produce a listing of raw symbols and C names.
21169 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21171 +# Transform the output of nm in a proper C declaration
21172 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21174 +# Transform the output of nm in a C name address pair
21175 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21177 +# This is the shared library runtime path variable.
21178 +runpath_var=$runpath_var
21180 +# This is the shared library path variable.
21181 +shlibpath_var=$shlibpath_var
21183 +# Is shlibpath searched before the hard-coded library search path?
21184 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21186 +# How to hardcode a shared library path into an executable.
21187 +hardcode_action=$hardcode_action_CXX
21189 +# Whether we should hardcode library paths into libraries.
21190 +hardcode_into_libs=$hardcode_into_libs
21192 +# Flag to hardcode \$libdir into a binary during linking.
21193 +# This must work even if \$libdir does not exist.
21194 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21196 +# If ld is used when linking, flag to hardcode \$libdir into
21197 +# a binary during linking. This must work even if \$libdir does
21199 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21201 +# Whether we need a single -rpath flag with a separated argument.
21202 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21204 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21205 +# resulting binary.
21206 +hardcode_direct=$hardcode_direct_CXX
21208 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21209 +# resulting binary.
21210 +hardcode_minus_L=$hardcode_minus_L_CXX
21212 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21213 +# the resulting binary.
21214 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21216 +# Set to yes if building a shared library automatically hardcodes DIR into the library
21217 +# and all subsequent libraries and executables linked against it.
21218 +hardcode_automatic=$hardcode_automatic_CXX
21220 +# Variables whose values should be saved in libtool wrapper scripts and
21221 +# restored at relink time.
21222 +variables_saved_for_relink="$variables_saved_for_relink"
21224 +# Whether libtool must link a program against all its dependency libraries.
21225 +link_all_deplibs=$link_all_deplibs_CXX
21227 +# Compile-time system search path for libraries
21228 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21230 +# Run-time system search path for libraries
21231 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21233 +# Fix the shell variable \$srcfile for the compiler.
21234 +fix_srcfile_path="$fix_srcfile_path_CXX"
21236 +# Set to yes if exported symbols are required.
21237 +always_export_symbols=$always_export_symbols_CXX
21239 +# The commands to list exported symbols.
21240 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
21242 +# The commands to extract the exported symbol list from a shared archive.
21243 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
21245 +# Symbols that should not be listed in the preloaded symbols.
21246 +exclude_expsyms=$lt_exclude_expsyms_CXX
21248 +# Symbols that must always be exported.
21249 +include_expsyms=$lt_include_expsyms_CXX
21251 +# ### END LIBTOOL TAG CONFIG: $tagname
21257 + # If there is no Makefile yet, we rely on a make rule to execute
21258 + # `config.status --recheck' to rerun these tests and create the
21259 + # libtool script then.
21260 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21261 + if test -f "$ltmain_in"; then
21262 + test -f Makefile && make "$ltmain"
21268 +ac_cpp='$CPP $CPPFLAGS'
21269 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21277 +with_gnu_ldcxx=$with_gnu_ld
21278 +with_gnu_ld=$lt_save_with_gnu_ld
21279 +lt_cv_path_LDCXX=$lt_cv_path_LD
21280 +lt_cv_path_LD=$lt_save_path_LD
21281 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21282 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21290 + if test -n "$F77" && test "X$F77" != "Xno"; then
21293 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21294 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21298 +archive_cmds_need_lc_F77=no
21299 +allow_undefined_flag_F77=
21300 +always_export_symbols_F77=no
21301 +archive_expsym_cmds_F77=
21302 +export_dynamic_flag_spec_F77=
21303 +hardcode_direct_F77=no
21304 +hardcode_libdir_flag_spec_F77=
21305 +hardcode_libdir_flag_spec_ld_F77=
21306 +hardcode_libdir_separator_F77=
21307 +hardcode_minus_L_F77=no
21308 +hardcode_automatic_F77=no
21310 +module_expsym_cmds_F77=
21311 +link_all_deplibs_F77=unknown
21312 +old_archive_cmds_F77=$old_archive_cmds
21313 +no_undefined_flag_F77=
21314 +whole_archive_flag_spec_F77=
21315 +enable_shared_with_static_runtimes_F77=no
21317 +# Source file extension for f77 test sources.
21320 +# Object file extension for compiled f77 test sources.
21322 +objext_F77=$objext
21324 +# Code to be used in simple compile tests
21325 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
21327 +# Code to be used in simple link tests
21328 +lt_simple_link_test_code=" program t\n end\n"
21330 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21332 +# If no C compiler was specified, use CC.
21333 +LTCC=${LTCC-"$CC"}
21335 +# If no C compiler flags were specified, use CFLAGS.
21336 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21338 +# Allow CC to be a program name with arguments.
21342 +# save warnings/boilerplate of simple test code
21343 +ac_outfile=conftest.$ac_objext
21344 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21345 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21346 +_lt_compiler_boilerplate=`cat conftest.err`
21349 +ac_outfile=conftest.$ac_objext
21350 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
21351 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21352 +_lt_linker_boilerplate=`cat conftest.err`
21356 +# Allow CC to be a program name with arguments.
21361 +for cc_temp in $compiler""; do
21363 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21364 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21369 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21372 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21373 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21374 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
21375 +echo "${ECHO_T}$can_build_shared" >&6; }
21377 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21378 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21379 +test "$can_build_shared" = "no" && enable_shared=no
21381 +# On AIX, shared libraries and static libraries use the same namespace, and
21382 +# are all built from PIC.
21385 + test "$enable_shared" = yes && enable_static=no
21386 + if test -n "$RANLIB"; then
21387 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
21388 + postinstall_cmds='$RANLIB $lib'
21392 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21393 + test "$enable_shared" = yes && enable_static=no
21397 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
21398 +echo "${ECHO_T}$enable_shared" >&6; }
21400 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21401 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21402 +# Make sure either enable_shared or enable_static is yes.
21403 +test "$enable_shared" = yes || enable_static=yes
21404 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
21405 +echo "${ECHO_T}$enable_static" >&6; }
21410 +lt_prog_compiler_wl_F77=
21411 +lt_prog_compiler_pic_F77=
21412 +lt_prog_compiler_static_F77=
21414 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21415 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21417 + if test "$GCC" = yes; then
21418 + lt_prog_compiler_wl_F77='-Wl,'
21419 + lt_prog_compiler_static_F77='-static'
21423 + # All AIX code is PIC.
21424 + if test "$host_cpu" = ia64; then
21425 + # AIX 5 now supports IA64 processor
21426 + lt_prog_compiler_static_F77='-Bstatic'
21431 + # FIXME: we need at least 68020 code to build shared libraries, but
21432 + # adding the `-m68020' flag to GCC prevents building anything better,
21433 + # like `-m68040'.
21434 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21437 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21438 + # PIC is the default for these OSes.
21441 + mingw* | pw32* | os2*)
21442 + # This hack is so that the source file can tell whether it is being
21443 + # built for inclusion in a dll (and should export symbols for example).
21444 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21447 + darwin* | rhapsody*)
21448 + # PIC is the default on this platform
21449 + # Common symbols not allowed in MH_DYLIB files
21450 + lt_prog_compiler_pic_F77='-fno-common'
21454 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21455 + # Instead, we relocate shared libraries at runtime.
21459 + # Just because we use GCC doesn't mean we suddenly get shared libraries
21460 + # on systems that don't support them.
21461 + lt_prog_compiler_can_build_shared_F77=no
21466 + if test -d /usr/nec; then
21467 + lt_prog_compiler_pic_F77=-Kconform_pic
21472 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21473 + # not for PA HP-UX.
21474 + case $host_cpu in
21479 + lt_prog_compiler_pic_F77='-fPIC'
21485 + lt_prog_compiler_pic_F77='-fPIC'
21489 + # PORTME Check for flag to pass linker flags through the system compiler.
21492 + lt_prog_compiler_wl_F77='-Wl,'
21493 + if test "$host_cpu" = ia64; then
21494 + # AIX 5 now supports IA64 processor
21495 + lt_prog_compiler_static_F77='-Bstatic'
21497 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21501 + # PIC is the default on this platform
21502 + # Common symbols not allowed in MH_DYLIB files
21503 + case $cc_basename in
21505 + lt_prog_compiler_pic_F77='-qnocommon'
21506 + lt_prog_compiler_wl_F77='-Wl,'
21511 + mingw* | pw32* | os2*)
21512 + # This hack is so that the source file can tell whether it is being
21513 + # built for inclusion in a dll (and should export symbols for example).
21514 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21517 + hpux9* | hpux10* | hpux11*)
21518 + lt_prog_compiler_wl_F77='-Wl,'
21519 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21520 + # not for PA HP-UX.
21521 + case $host_cpu in
21526 + lt_prog_compiler_pic_F77='+Z'
21529 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
21530 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21533 + irix5* | irix6* | nonstopux*)
21534 + lt_prog_compiler_wl_F77='-Wl,'
21535 + # PIC (with -KPIC) is the default.
21536 + lt_prog_compiler_static_F77='-non_shared'
21540 + lt_prog_compiler_pic_F77='-KPIC'
21541 + lt_prog_compiler_static_F77='-Bstatic'
21544 + linux* | k*bsd*-gnu)
21545 + case $cc_basename in
21547 + lt_prog_compiler_wl_F77='-Wl,'
21548 + lt_prog_compiler_pic_F77='-KPIC'
21549 + lt_prog_compiler_static_F77='-static'
21551 + pgcc* | pgf77* | pgf90* | pgf95*)
21552 + # Portland Group compilers (*not* the Pentium gcc compiler,
21553 + # which looks to be a dead project)
21554 + lt_prog_compiler_wl_F77='-Wl,'
21555 + lt_prog_compiler_pic_F77='-fpic'
21556 + lt_prog_compiler_static_F77='-Bstatic'
21559 + lt_prog_compiler_wl_F77='-Wl,'
21560 + # All Alpha code is PIC.
21561 + lt_prog_compiler_static_F77='-non_shared'
21566 + osf3* | osf4* | osf5*)
21567 + lt_prog_compiler_wl_F77='-Wl,'
21568 + # All OSF/1 code is PIC.
21569 + lt_prog_compiler_static_F77='-non_shared'
21573 + lt_prog_compiler_pic_F77='-KPIC'
21574 + lt_prog_compiler_static_F77='-Bstatic'
21575 + case $cc_basename in
21576 + f77* | f90* | f95*)
21577 + lt_prog_compiler_wl_F77='-Qoption ld ';;
21579 + lt_prog_compiler_wl_F77='-Wl,';;
21584 + lt_prog_compiler_wl_F77='-Qoption ld '
21585 + lt_prog_compiler_pic_F77='-PIC'
21586 + lt_prog_compiler_static_F77='-Bstatic'
21589 + sysv4 | sysv4.2uw2* | sysv4.3*)
21590 + lt_prog_compiler_wl_F77='-Wl,'
21591 + lt_prog_compiler_pic_F77='-KPIC'
21592 + lt_prog_compiler_static_F77='-Bstatic'
21596 + if test -d /usr/nec ;then
21597 + lt_prog_compiler_pic_F77='-Kconform_pic'
21598 + lt_prog_compiler_static_F77='-Bstatic'
21602 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21603 + lt_prog_compiler_wl_F77='-Wl,'
21604 + lt_prog_compiler_pic_F77='-KPIC'
21605 + lt_prog_compiler_static_F77='-Bstatic'
21609 + lt_prog_compiler_wl_F77='-Wl,'
21610 + lt_prog_compiler_can_build_shared_F77=no
21614 + lt_prog_compiler_pic_F77='-pic'
21615 + lt_prog_compiler_static_F77='-Bstatic'
21619 + lt_prog_compiler_can_build_shared_F77=no
21624 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21625 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21628 +# Check to make sure the PIC flag actually works.
21630 +if test -n "$lt_prog_compiler_pic_F77"; then
21632 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21633 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21634 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21635 + echo $ECHO_N "(cached) $ECHO_C" >&6
21637 + lt_prog_compiler_pic_works_F77=no
21638 + ac_outfile=conftest.$ac_objext
21639 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21640 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
21641 + # Insert the option either (1) after the last *FLAGS variable, or
21642 + # (2) before a word containing "conftest.", or (3) at the end.
21643 + # Note that $ac_compile itself does not contain backslashes and begins
21644 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21645 + # The option is referenced via a variable to avoid confusing sed.
21646 + lt_compile=`echo "$ac_compile" | $SED \
21647 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21648 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21649 + -e 's:$: $lt_compiler_flag:'`
21650 + (eval echo "\"\$as_me:14182: $lt_compile\"" >&5)
21651 + (eval "$lt_compile" 2>conftest.err)
21653 + cat conftest.err >&5
21654 + echo "$as_me:14186: \$? = $ac_status" >&5
21655 + if (exit $ac_status) && test -s "$ac_outfile"; then
21656 + # The compiler can only warn and ignore the option if not recognized
21657 + # So say no if there are warnings other than the usual output.
21658 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21659 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21660 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21661 + lt_prog_compiler_pic_works_F77=yes
21667 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21668 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21670 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21671 + case $lt_prog_compiler_pic_F77 in
21673 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21676 + lt_prog_compiler_pic_F77=
21677 + lt_prog_compiler_can_build_shared_F77=no
21682 + # For platforms which do not support PIC, -DPIC is meaningless:
21684 + lt_prog_compiler_pic_F77=
21687 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21692 +# Check to make sure the static flag actually works.
21694 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21695 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21696 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21697 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21698 + echo $ECHO_N "(cached) $ECHO_C" >&6
21700 + lt_prog_compiler_static_works_F77=no
21701 + save_LDFLAGS="$LDFLAGS"
21702 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21703 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
21704 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21705 + # The linker can only warn and ignore the option if not recognized
21706 + # So say no if there are warnings
21707 + if test -s conftest.err; then
21708 + # Append any errors to the config.log.
21709 + cat conftest.err 1>&5
21710 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21711 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21712 + if diff conftest.exp conftest.er2 >/dev/null; then
21713 + lt_prog_compiler_static_works_F77=yes
21716 + lt_prog_compiler_static_works_F77=yes
21720 + LDFLAGS="$save_LDFLAGS"
21723 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21724 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21726 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21729 + lt_prog_compiler_static_F77=
21733 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21734 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21735 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21736 + echo $ECHO_N "(cached) $ECHO_C" >&6
21738 + lt_cv_prog_compiler_c_o_F77=no
21739 + $rm -r conftest 2>/dev/null
21743 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21745 + lt_compiler_flag="-o out/conftest2.$ac_objext"
21746 + # Insert the option either (1) after the last *FLAGS variable, or
21747 + # (2) before a word containing "conftest.", or (3) at the end.
21748 + # Note that $ac_compile itself does not contain backslashes and begins
21749 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21750 + lt_compile=`echo "$ac_compile" | $SED \
21751 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21752 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21753 + -e 's:$: $lt_compiler_flag:'`
21754 + (eval echo "\"\$as_me:14286: $lt_compile\"" >&5)
21755 + (eval "$lt_compile" 2>out/conftest.err)
21757 + cat out/conftest.err >&5
21758 + echo "$as_me:14290: \$? = $ac_status" >&5
21759 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
21761 + # The compiler can only warn and ignore the option if not recognized
21762 + # So say no if there are warnings
21763 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21764 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21765 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21766 + lt_cv_prog_compiler_c_o_F77=yes
21771 + # SGI C++ compiler will create directory out/ii_files/ for
21772 + # template instantiation
21773 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21774 + $rm out/* && rmdir out
21780 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21781 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21784 +hard_links="nottested"
21785 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21786 + # do not overwrite the value of need_locks provided by the user
21787 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21788 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21791 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21793 + ln conftest.a conftest.b 2>&5 || hard_links=no
21794 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21795 + { echo "$as_me:$LINENO: result: $hard_links" >&5
21796 +echo "${ECHO_T}$hard_links" >&6; }
21797 + if test "$hard_links" = no; then
21798 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21799 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21806 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21807 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21810 + allow_undefined_flag_F77=
21811 + enable_shared_with_static_runtimes_F77=no
21812 + archive_cmds_F77=
21813 + archive_expsym_cmds_F77=
21814 + old_archive_From_new_cmds_F77=
21815 + old_archive_from_expsyms_cmds_F77=
21816 + export_dynamic_flag_spec_F77=
21817 + whole_archive_flag_spec_F77=
21818 + thread_safe_flag_spec_F77=
21819 + hardcode_libdir_flag_spec_F77=
21820 + hardcode_libdir_flag_spec_ld_F77=
21821 + hardcode_libdir_separator_F77=
21822 + hardcode_direct_F77=no
21823 + hardcode_minus_L_F77=no
21824 + hardcode_shlibpath_var_F77=unsupported
21825 + link_all_deplibs_F77=unknown
21826 + hardcode_automatic_F77=no
21828 + module_expsym_cmds_F77=
21829 + always_export_symbols_F77=no
21830 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21831 + # include_expsyms should be a list of space-separated symbols to be *always*
21832 + # included in the symbol list
21833 + include_expsyms_F77=
21834 + # exclude_expsyms can be an extended regexp of symbols to exclude
21835 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
21836 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21837 + # as well as any symbol that contains `d'.
21838 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21839 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21840 + # platforms (ab)use it in PIC code, but their linkers get confused if
21841 + # the symbol is explicitly referenced. Since portable code cannot
21842 + # rely on this symbol name, it's probably fine to never include it in
21843 + # preloaded symbol tables.
21844 + extract_expsyms_cmds=
21845 + # Just being paranoid about ensuring that cc_basename is set.
21846 + for cc_temp in $compiler""; do
21848 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21849 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21854 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21857 + cygwin* | mingw* | pw32*)
21858 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
21859 + # When not using gcc, we currently assume that we are using
21860 + # Microsoft Visual C++.
21861 + if test "$GCC" != yes; then
21866 + # we just hope/assume this is gcc and not c89 (= MSVC++)
21874 + ld_shlibs_F77=yes
21875 + if test "$with_gnu_ld" = yes; then
21876 + # If archive_cmds runs LD, not CC, wlarc should be empty
21879 + # Set some defaults for GNU ld with shared library support. These
21880 + # are reset later if shared libraries are not supported. Putting them
21881 + # here allows them to be overridden if necessary.
21882 + runpath_var=LD_RUN_PATH
21883 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21884 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21885 + # ancient GNU ld didn't support --whole-archive et. al.
21886 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21887 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21889 + whole_archive_flag_spec_F77=
21891 + supports_anon_versioning=no
21892 + case `$LD -v 2>/dev/null` in
21893 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21894 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21895 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21896 + *\ 2.11.*) ;; # other 2.11 versions
21897 + *) supports_anon_versioning=yes ;;
21900 + # See if GNU ld supports shared libraries.
21902 + aix3* | aix4* | aix5*)
21903 + # On AIX/PPC, the GNU linker is very broken
21904 + if test "$host_cpu" != ia64; then
21908 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21909 +*** to be unable to reliably create shared libraries on AIX.
21910 +*** Therefore, libtool is disabling shared libraries support. If you
21911 +*** really care for shared libraries, you may want to modify your PATH
21912 +*** so that a non-GNU linker is found, and then restart.
21919 + 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)'
21920 + hardcode_libdir_flag_spec_F77='-L$libdir'
21921 + hardcode_minus_L_F77=yes
21923 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21924 + # that the semantics of dynamic libraries on AmigaOS, at least up
21925 + # to version 4, is to share data among multiple programs linked
21926 + # with the same dynamic library. Since this doesn't match the
21927 + # behavior of shared libraries on other platforms, we can't use
21933 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21934 + allow_undefined_flag_F77=unsupported
21935 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21936 + # support --undefined. This deserves some investigation. FIXME
21937 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21943 + cygwin* | mingw* | pw32*)
21944 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21945 + # as there is no search path for DLLs.
21946 + hardcode_libdir_flag_spec_F77='-L$libdir'
21947 + allow_undefined_flag_F77=unsupported
21948 + always_export_symbols_F77=no
21949 + enable_shared_with_static_runtimes_F77=yes
21950 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21952 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21953 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21954 + # If the export-symbols file already is a .def file (1st line
21955 + # is EXPORTS), use it as is; otherwise, prepend...
21956 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21957 + cp $export_symbols $output_objdir/$soname.def;
21959 + echo EXPORTS > $output_objdir/$soname.def;
21960 + cat $export_symbols >> $output_objdir/$soname.def;
21962 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21969 + hardcode_direct_F77=no
21970 + hardcode_shlibpath_var_F77=no
21971 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21972 + export_dynamic_flag_spec_F77='${wl}-E'
21973 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21974 + # Instead, shared libraries are loaded at an image base (0x10000000 by
21975 + # default) and relocated if they conflict, which is a slow very memory
21976 + # consuming and fragmenting process. To avoid this, we pick a random,
21977 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21978 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21979 + 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'
21980 + 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'
21983 + linux* | k*bsd*-gnu)
21984 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21986 + case $cc_basename,$host_cpu in
21987 + pgcc*) # Portland Group C compiler
21988 + 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'
21989 + tmp_addflag=' $pic_flag'
21991 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21992 + 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'
21993 + tmp_addflag=' $pic_flag -Mnomain' ;;
21994 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21995 + tmp_addflag=' -i_dynamic' ;;
21996 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21997 + tmp_addflag=' -i_dynamic -nofor_main' ;;
21998 + ifc* | ifort*) # Intel Fortran compiler
21999 + tmp_addflag=' -nofor_main' ;;
22001 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22003 + if test $supports_anon_versioning = yes; then
22004 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22005 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22006 + $echo "local: *; };" >> $output_objdir/$libname.ver~
22007 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22009 + link_all_deplibs_F77=no
22015 + netbsd* | netbsdelf*-gnu)
22016 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22017 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22020 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22021 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22026 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22030 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22031 +*** create shared libraries on Solaris systems. Therefore, libtool
22032 +*** is disabling shared libraries support. We urge you to upgrade GNU
22033 +*** binutils to release 2.9.1 or newer. Another option is to modify
22034 +*** your PATH or compiler configuration so that the native linker is
22035 +*** used, and then restart.
22038 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22039 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22040 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22046 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22047 + case `$LD -v 2>&1` in
22048 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22050 + cat <<_LT_EOF 1>&2
22052 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22053 +*** reliably create shared libraries on SCO systems. Therefore, libtool
22054 +*** is disabling shared libraries support. We urge you to upgrade GNU
22055 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22056 +*** your PATH or compiler configuration so that the native linker is
22057 +*** used, and then restart.
22062 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22063 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22064 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22065 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22074 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22076 + hardcode_direct_F77=yes
22077 + hardcode_shlibpath_var_F77=no
22081 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22082 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22083 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22090 + if test "$ld_shlibs_F77" = no; then
22092 + hardcode_libdir_flag_spec_F77=
22093 + export_dynamic_flag_spec_F77=
22094 + whole_archive_flag_spec_F77=
22097 + # PORTME fill in a description of your system's linker (not GNU ld)
22100 + allow_undefined_flag_F77=unsupported
22101 + always_export_symbols_F77=yes
22102 + 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'
22103 + # Note: this linker hardcodes the directories in LIBPATH if there
22104 + # are no directories specified by -L.
22105 + hardcode_minus_L_F77=yes
22106 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22107 + # Neither direct hardcoding nor static linking is supported with a
22108 + # broken collect2.
22109 + hardcode_direct_F77=unsupported
22114 + if test "$host_cpu" = ia64; then
22115 + # On IA64, the linker does run time linking by default, so we don't
22116 + # have to do anything special.
22117 + aix_use_runtimelinking=no
22118 + exp_sym_flag='-Bexport'
22121 + # If we're using GNU nm, then we don't want the "-C" option.
22122 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
22123 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22124 + 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'
22126 + 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'
22128 + aix_use_runtimelinking=no
22130 + # Test if we are trying to use run time linking or normal
22131 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22132 + # need to do runtime linking.
22133 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22134 + for ld_flag in $LDFLAGS; do
22135 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22136 + aix_use_runtimelinking=yes
22143 + exp_sym_flag='-bexport'
22144 + no_entry_flag='-bnoentry'
22147 + # When large executables or shared objects are built, AIX ld can
22148 + # have problems creating the table of contents. If linking a library
22149 + # or program results in "error TOC overflow" add -mminimal-toc to
22150 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22151 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22153 + archive_cmds_F77=''
22154 + hardcode_direct_F77=yes
22155 + hardcode_libdir_separator_F77=':'
22156 + link_all_deplibs_F77=yes
22158 + if test "$GCC" = yes; then
22159 + case $host_os in aix4.[012]|aix4.[012].*)
22160 + # We only want to do this on AIX 4.2 and lower, the check
22161 + # below for broken collect2 doesn't work under 4.3+
22162 + collect2name=`${CC} -print-prog-name=collect2`
22163 + if test -f "$collect2name" && \
22164 + strings "$collect2name" | grep resolve_lib_name >/dev/null
22166 + # We have reworked collect2
22167 + hardcode_direct_F77=yes
22169 + # We have old collect2
22170 + hardcode_direct_F77=unsupported
22171 + # It fails to find uninstalled libraries when the uninstalled
22172 + # path is not listed in the libpath. Setting hardcode_minus_L
22173 + # to unsupported forces relinking
22174 + hardcode_minus_L_F77=yes
22175 + hardcode_libdir_flag_spec_F77='-L$libdir'
22176 + hardcode_libdir_separator_F77=
22180 + shared_flag='-shared'
22181 + if test "$aix_use_runtimelinking" = yes; then
22182 + shared_flag="$shared_flag "'${wl}-G'
22186 + if test "$host_cpu" = ia64; then
22187 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22188 + # chokes on -Wl,-G. The following line is correct:
22191 + if test "$aix_use_runtimelinking" = yes; then
22192 + shared_flag='${wl}-G'
22194 + shared_flag='${wl}-bM:SRE'
22199 + # It seems that -bexpall does not export symbols beginning with
22200 + # underscore (_), so it is better to generate a list of symbols to export.
22201 + always_export_symbols_F77=yes
22202 + if test "$aix_use_runtimelinking" = yes; then
22203 + # Warning - without using the other runtime loading flags (-brtl),
22204 + # -berok will link without error, but may produce a broken library.
22205 + allow_undefined_flag_F77='-berok'
22206 + # Determine the default libpath from the value encoded in an empty executable.
22207 + cat >conftest.$ac_ext <<_ACEOF
22212 +rm -f conftest.$ac_objext conftest$ac_exeext
22213 +if { (ac_try="$ac_link"
22214 +case "(($ac_try" in
22215 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 + *) ac_try_echo=$ac_try;;
22218 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 + (eval "$ac_link") 2>conftest.er1
22221 + grep -v '^ *+' conftest.er1 >conftest.err
22222 + rm -f conftest.er1
22223 + cat conftest.err >&5
22224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 + (exit $ac_status); } && {
22226 + test -z "$ac_f77_werror_flag" ||
22227 + test ! -s conftest.err
22228 + } && test -s conftest$ac_exeext &&
22229 + $as_test_x conftest$ac_exeext; then
22231 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22233 +# Check for a 64-bit object if we didn't find anything.
22234 +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; }
22237 + echo "$as_me: failed program was:" >&5
22238 +sed 's/^/| /' conftest.$ac_ext >&5
22243 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22244 + conftest$ac_exeext conftest.$ac_ext
22245 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22247 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22248 + 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"
22250 + if test "$host_cpu" = ia64; then
22251 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22252 + allow_undefined_flag_F77="-z nodefs"
22253 + 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"
22255 + # Determine the default libpath from the value encoded in an empty executable.
22256 + cat >conftest.$ac_ext <<_ACEOF
22261 +rm -f conftest.$ac_objext conftest$ac_exeext
22262 +if { (ac_try="$ac_link"
22263 +case "(($ac_try" in
22264 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22265 + *) ac_try_echo=$ac_try;;
22267 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22268 + (eval "$ac_link") 2>conftest.er1
22270 + grep -v '^ *+' conftest.er1 >conftest.err
22271 + rm -f conftest.er1
22272 + cat conftest.err >&5
22273 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 + (exit $ac_status); } && {
22275 + test -z "$ac_f77_werror_flag" ||
22276 + test ! -s conftest.err
22277 + } && test -s conftest$ac_exeext &&
22278 + $as_test_x conftest$ac_exeext; then
22280 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22282 +# Check for a 64-bit object if we didn't find anything.
22283 +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; }
22286 + echo "$as_me: failed program was:" >&5
22287 +sed 's/^/| /' conftest.$ac_ext >&5
22292 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22293 + conftest$ac_exeext conftest.$ac_ext
22294 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22296 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22297 + # Warning - without using the other run time loading flags,
22298 + # -berok will link without error, but may produce a broken library.
22299 + no_undefined_flag_F77=' ${wl}-bernotok'
22300 + allow_undefined_flag_F77=' ${wl}-berok'
22301 + # Exported symbols can be pulled into shared objects from archives
22302 + whole_archive_flag_spec_F77='$convenience'
22303 + archive_cmds_need_lc_F77=yes
22304 + # This is similar to how AIX traditionally builds its shared libraries.
22305 + 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'
22311 + 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)'
22312 + hardcode_libdir_flag_spec_F77='-L$libdir'
22313 + hardcode_minus_L_F77=yes
22314 + # see comment about different semantics on the GNU ld section
22319 + export_dynamic_flag_spec_F77=-rdynamic
22322 + cygwin* | mingw* | pw32*)
22323 + # When not using gcc, we currently assume that we are using
22324 + # Microsoft Visual C++.
22325 + # hardcode_libdir_flag_spec is actually meaningless, as there is
22326 + # no search path for DLLs.
22327 + hardcode_libdir_flag_spec_F77=' '
22328 + allow_undefined_flag_F77=unsupported
22329 + # Tell ltmain to make .lib files, not .a files.
22331 + # Tell ltmain to make .dll files, not .so files.
22332 + shrext_cmds=".dll"
22333 + # FIXME: Setting linknames here is a bad hack.
22334 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22335 + # The linker will automatically build a .lib file if we build a DLL.
22336 + old_archive_From_new_cmds_F77='true'
22337 + # FIXME: Should let the user specify the lib program.
22338 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
22339 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22340 + enable_shared_with_static_runtimes_F77=yes
22343 + darwin* | rhapsody*)
22345 + rhapsody* | darwin1.[012])
22346 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22348 + *) # Darwin 1.3 on
22349 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22350 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22352 + case ${MACOSX_DEPLOYMENT_TARGET} in
22354 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22357 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22363 + archive_cmds_need_lc_F77=no
22364 + hardcode_direct_F77=no
22365 + hardcode_automatic_F77=yes
22366 + hardcode_shlibpath_var_F77=unsupported
22367 + whole_archive_flag_spec_F77=''
22368 + link_all_deplibs_F77=yes
22369 + if test "$GCC" = yes ; then
22370 + output_verbose_link_cmd='echo'
22371 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22372 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22373 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22374 + 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}'
22375 + 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}'
22377 + case $cc_basename in
22379 + output_verbose_link_cmd='echo'
22380 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22381 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22382 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22383 + 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}'
22384 + 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}'
22394 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22395 + hardcode_libdir_flag_spec_F77='-L$libdir'
22396 + hardcode_shlibpath_var_F77=no
22403 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22404 + # support. Future versions do this automatically, but an explicit c++rt0.o
22405 + # does not break anything, and helps significantly (at the cost of a little
22408 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22409 + hardcode_libdir_flag_spec_F77='-R$libdir'
22410 + hardcode_direct_F77=yes
22411 + hardcode_shlibpath_var_F77=no
22414 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22416 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22417 + hardcode_direct_F77=yes
22418 + hardcode_minus_L_F77=yes
22419 + hardcode_shlibpath_var_F77=no
22422 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22423 + freebsd* | dragonfly*)
22424 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22425 + hardcode_libdir_flag_spec_F77='-R$libdir'
22426 + hardcode_direct_F77=yes
22427 + hardcode_shlibpath_var_F77=no
22431 + if test "$GCC" = yes; then
22432 + 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'
22434 + 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'
22436 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22437 + hardcode_libdir_separator_F77=:
22438 + hardcode_direct_F77=yes
22440 + # hardcode_minus_L: Not really in the search PATH,
22441 + # but as the default location of the library.
22442 + hardcode_minus_L_F77=yes
22443 + export_dynamic_flag_spec_F77='${wl}-E'
22447 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22448 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22450 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22452 + if test "$with_gnu_ld" = no; then
22453 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22454 + hardcode_libdir_separator_F77=:
22456 + hardcode_direct_F77=yes
22457 + export_dynamic_flag_spec_F77='${wl}-E'
22459 + # hardcode_minus_L: Not really in the search PATH,
22460 + # but as the default location of the library.
22461 + hardcode_minus_L_F77=yes
22466 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22467 + case $host_cpu in
22469 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22472 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22475 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22479 + case $host_cpu in
22481 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22484 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22487 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22491 + if test "$with_gnu_ld" = no; then
22492 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22493 + hardcode_libdir_separator_F77=:
22495 + case $host_cpu in
22497 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22498 + hardcode_direct_F77=no
22499 + hardcode_shlibpath_var_F77=no
22502 + hardcode_direct_F77=yes
22503 + export_dynamic_flag_spec_F77='${wl}-E'
22505 + # hardcode_minus_L: Not really in the search PATH,
22506 + # but as the default location of the library.
22507 + hardcode_minus_L_F77=yes
22513 + irix5* | irix6* | nonstopux*)
22514 + if test "$GCC" = yes; then
22515 + 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'
22517 + 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'
22518 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22520 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22521 + hardcode_libdir_separator_F77=:
22522 + link_all_deplibs_F77=yes
22525 + netbsd* | netbsdelf*-gnu)
22526 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22527 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22529 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22531 + hardcode_libdir_flag_spec_F77='-R$libdir'
22532 + hardcode_direct_F77=yes
22533 + hardcode_shlibpath_var_F77=no
22537 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22538 + hardcode_direct_F77=yes
22539 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22540 + hardcode_libdir_separator_F77=:
22541 + hardcode_shlibpath_var_F77=no
22545 + hardcode_direct_F77=yes
22546 + hardcode_shlibpath_var_F77=no
22547 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22548 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22549 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22550 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22551 + export_dynamic_flag_spec_F77='${wl}-E'
22554 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22555 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22556 + hardcode_libdir_flag_spec_F77='-R$libdir'
22559 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22560 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22567 + hardcode_libdir_flag_spec_F77='-L$libdir'
22568 + hardcode_minus_L_F77=yes
22569 + allow_undefined_flag_F77=unsupported
22570 + 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'
22571 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22575 + if test "$GCC" = yes; then
22576 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22577 + 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'
22579 + allow_undefined_flag_F77=' -expect_unresolved \*'
22580 + 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'
22582 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22583 + hardcode_libdir_separator_F77=:
22586 + osf4* | osf5*) # as osf3* with the addition of -msym flag
22587 + if test "$GCC" = yes; then
22588 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22589 + 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'
22590 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22592 + allow_undefined_flag_F77=' -expect_unresolved \*'
22593 + 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'
22594 + 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~
22595 + $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'
22597 + # Both c and cxx compiler support -rpath directly
22598 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
22600 + hardcode_libdir_separator_F77=:
22604 + no_undefined_flag_F77=' -z text'
22605 + if test "$GCC" = yes; then
22607 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22608 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22609 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22612 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22613 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22614 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22616 + hardcode_libdir_flag_spec_F77='-R$libdir'
22617 + hardcode_shlibpath_var_F77=no
22619 + solaris2.[0-5] | solaris2.[0-5].*) ;;
22621 + # The compiler driver will combine linker options so we
22622 + # cannot just pass the convience library names through
22623 + # without $wl, iff we do not link with $LD.
22624 + # Luckily, gcc supports the same syntax we need for Sun Studio.
22625 + # Supported since Solaris 2.6 (maybe 2.5.1?)
22628 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22630 + 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' ;;
22633 + link_all_deplibs_F77=yes
22637 + if test "x$host_vendor" = xsequent; then
22638 + # Use $CC to link under sequent, because it throws in some extra .o
22639 + # files that make .init and .fini sections work.
22640 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22642 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22644 + hardcode_libdir_flag_spec_F77='-L$libdir'
22645 + hardcode_direct_F77=yes
22646 + hardcode_minus_L_F77=yes
22647 + hardcode_shlibpath_var_F77=no
22651 + case $host_vendor in
22653 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22654 + hardcode_direct_F77=yes # is this really true???
22657 + ## LD is ld it makes a PLAMLIB
22658 + ## CC just makes a GrossModule.
22659 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22660 + reload_cmds_F77='$CC -r -o $output$reload_objs'
22661 + hardcode_direct_F77=no
22664 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22665 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22668 + runpath_var='LD_RUN_PATH'
22669 + hardcode_shlibpath_var_F77=no
22673 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22674 + hardcode_shlibpath_var_F77=no
22675 + export_dynamic_flag_spec_F77='-Bexport'
22679 + if test -d /usr/nec; then
22680 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22681 + hardcode_shlibpath_var_F77=no
22682 + runpath_var=LD_RUN_PATH
22683 + hardcode_runpath_var=yes
22684 + ld_shlibs_F77=yes
22688 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22689 + no_undefined_flag_F77='${wl}-z,text'
22690 + archive_cmds_need_lc_F77=no
22691 + hardcode_shlibpath_var_F77=no
22692 + runpath_var='LD_RUN_PATH'
22694 + if test "$GCC" = yes; then
22695 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22696 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22698 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22699 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22703 + sysv5* | sco3.2v5* | sco5v6*)
22704 + # Note: We can NOT use -z defs as we might desire, because we do not
22705 + # link with -lc, and that would cause any symbols used from libc to
22706 + # always be unresolved, which means just about no library would
22707 + # ever link correctly. If we're not using GNU ld we use -z text
22708 + # though, which does catch some bad symbols but isn't as heavy-handed
22710 + no_undefined_flag_F77='${wl}-z,text'
22711 + allow_undefined_flag_F77='${wl}-z,nodefs'
22712 + archive_cmds_need_lc_F77=no
22713 + hardcode_shlibpath_var_F77=no
22714 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22715 + hardcode_libdir_separator_F77=':'
22716 + link_all_deplibs_F77=yes
22717 + export_dynamic_flag_spec_F77='${wl}-Bexport'
22718 + runpath_var='LD_RUN_PATH'
22720 + if test "$GCC" = yes; then
22721 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22722 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22724 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22725 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22730 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22731 + hardcode_libdir_flag_spec_F77='-L$libdir'
22732 + hardcode_shlibpath_var_F77=no
22741 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22742 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22743 +test "$ld_shlibs_F77" = no && can_build_shared=no
22746 +# Do we need to explicitly link libc?
22748 +case "x$archive_cmds_need_lc_F77" in
22750 + # Assume -lc should be added
22751 + archive_cmds_need_lc_F77=yes
22753 + if test "$enable_shared" = yes && test "$GCC" = yes; then
22754 + case $archive_cmds_F77 in
22756 + # FIXME: we may have to deal with multi-command sequences.
22759 + # Test whether the compiler implicitly links with -lc since on some
22760 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
22761 + # to ld, don't add -lc before -lgcc.
22762 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22763 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22765 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22767 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22768 + (eval $ac_compile) 2>&5
22770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 + (exit $ac_status); } 2>conftest.err; then
22774 + libobjs=conftest.$ac_objext
22776 + wl=$lt_prog_compiler_wl_F77
22777 + pic_flag=$lt_prog_compiler_pic_F77
22778 + compiler_flags=-v
22783 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22784 + allow_undefined_flag_F77=
22785 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22786 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 + (exit $ac_status); }
22791 + archive_cmds_need_lc_F77=no
22793 + archive_cmds_need_lc_F77=yes
22795 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22797 + cat conftest.err 1>&5
22800 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22801 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22808 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22809 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22810 +library_names_spec=
22811 +libname_spec='lib$name'
22815 +postuninstall_cmds=
22819 +shlibpath_overrides_runpath=unknown
22821 +dynamic_linker="$host_os ld.so"
22822 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
22823 +if test "$GCC" = yes; then
22824 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22825 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22826 + # if the path contains ";" then we assume it to be the separator
22827 + # otherwise default to the standard path separator (i.e. ":") - it is
22828 + # assumed that no part of a normal pathname contains ";" but that should
22829 + # okay in the real world where ";" in dirpaths is itself problematic.
22830 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22832 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22835 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22837 +need_lib_prefix=unknown
22838 +hardcode_into_libs=no
22840 +# when you set need_version to no, make sure it does not cause -set_version
22841 +# flags to be left without arguments
22842 +need_version=unknown
22846 + version_type=linux
22847 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22848 + shlibpath_var=LIBPATH
22850 + # AIX 3 has no versioning support, so we append a major version to the name.
22851 + soname_spec='${libname}${release}${shared_ext}$major'
22855 + version_type=linux
22856 + need_lib_prefix=no
22858 + hardcode_into_libs=yes
22859 + if test "$host_cpu" = ia64; then
22860 + # AIX 5 supports IA64
22861 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22862 + shlibpath_var=LD_LIBRARY_PATH
22864 + # With GCC up to 2.95.x, collect2 would create an import file
22865 + # for dependence libraries. The import file would start with
22866 + # the line `#! .'. This would cause the generated library to
22867 + # depend on `.', always an invalid library. This was fixed in
22868 + # development snapshots of GCC prior to 3.0.
22870 + aix4 | aix4.[01] | aix4.[01].*)
22871 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22873 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22876 + can_build_shared=no
22880 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22881 + # soname into executable. Probably we can add versioning support to
22882 + # collect2, so additional links can be useful in future.
22883 + if test "$aix_use_runtimelinking" = yes; then
22884 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22885 + # instead of lib<name>.a to let people know that these are not
22886 + # typical AIX shared libraries.
22887 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22889 + # We preserve .a as extension for shared libraries through AIX4.2
22890 + # and later when we are not doing run time linking.
22891 + library_names_spec='${libname}${release}.a $libname.a'
22892 + soname_spec='${libname}${release}${shared_ext}$major'
22894 + shlibpath_var=LIBPATH
22899 + library_names_spec='$libname.ixlibrary $libname.a'
22900 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
22901 + 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'
22905 + library_names_spec='${libname}${shared_ext}'
22906 + dynamic_linker="$host_os ld.so"
22907 + shlibpath_var=LIBRARY_PATH
22911 + version_type=linux
22913 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22914 + soname_spec='${libname}${release}${shared_ext}$major'
22915 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22916 + shlibpath_var=LD_LIBRARY_PATH
22917 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22918 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22919 + # the default ld.so.conf also contains /usr/contrib/lib and
22920 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22921 + # libtool to hard-code these into programs
22924 +cygwin* | mingw* | pw32*)
22925 + version_type=windows
22926 + shrext_cmds=".dll"
22928 + need_lib_prefix=no
22930 + case $GCC,$host_os in
22931 + yes,cygwin* | yes,mingw* | yes,pw32*)
22932 + library_names_spec='$libname.dll.a'
22933 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
22934 + postinstall_cmds='base_file=`basename \${file}`~
22935 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22936 + dldir=$destdir/`dirname \$dlpath`~
22937 + test -d \$dldir || mkdir -p \$dldir~
22938 + $install_prog $dir/$dlname \$dldir/$dlname~
22939 + chmod a+x \$dldir/$dlname'
22940 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22941 + dlpath=$dir/\$dldll~
22943 + shlibpath_overrides_runpath=yes
22947 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22948 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22949 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22952 + # MinGW DLLs use traditional 'lib' prefix
22953 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22954 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22955 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22956 + # It is most probably a Windows format PATH printed by
22957 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
22958 + # path with ; separators, and with drive letters. We can handle the
22959 + # drive letters (cygwin fileutils understands them), so leave them,
22960 + # especially as we might pass files found there to a mingw objdump,
22961 + # which wouldn't understand a cygwinified path. Ahh.
22962 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22964 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22968 + # pw32 DLLs use 'pw' prefix rather than 'lib'
22969 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22975 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22978 + dynamic_linker='Win32 ld.exe'
22979 + # FIXME: first we should search . and the directory the executable is in
22980 + shlibpath_var=PATH
22983 +darwin* | rhapsody*)
22984 + dynamic_linker="$host_os dyld"
22985 + version_type=darwin
22986 + need_lib_prefix=no
22988 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22989 + soname_spec='${libname}${release}${major}$shared_ext'
22990 + shlibpath_overrides_runpath=yes
22991 + shlibpath_var=DYLD_LIBRARY_PATH
22992 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22993 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22994 + if test "$GCC" = yes; then
22995 + 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"`
22997 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22999 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23003 + version_type=linux
23004 + need_lib_prefix=no
23006 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23007 + soname_spec='${libname}${release}${shared_ext}$major'
23008 + shlibpath_var=LD_LIBRARY_PATH
23012 + dynamic_linker=no
23015 +freebsd* | dragonfly*)
23016 + # DragonFly does not have aout. When/if they implement a new
23017 + # versioning mechanism, adjust this.
23018 + if test -x /usr/bin/objformat; then
23019 + objformat=`/usr/bin/objformat`
23022 + freebsd[123]*) objformat=aout ;;
23023 + *) objformat=elf ;;
23026 + version_type=freebsd-$objformat
23027 + case $version_type in
23029 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23031 + need_lib_prefix=no
23034 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23038 + shlibpath_var=LD_LIBRARY_PATH
23041 + shlibpath_overrides_runpath=yes
23043 + freebsd3.[01]* | freebsdelf3.[01]*)
23044 + shlibpath_overrides_runpath=yes
23045 + hardcode_into_libs=yes
23047 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23048 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23049 + shlibpath_overrides_runpath=no
23050 + hardcode_into_libs=yes
23052 + freebsd*) # from 4.6 on
23053 + shlibpath_overrides_runpath=yes
23054 + hardcode_into_libs=yes
23060 + version_type=linux
23061 + need_lib_prefix=no
23063 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23064 + soname_spec='${libname}${release}${shared_ext}$major'
23065 + shlibpath_var=LD_LIBRARY_PATH
23066 + hardcode_into_libs=yes
23069 +hpux9* | hpux10* | hpux11*)
23070 + # Give a soname corresponding to the major version so that dld.sl refuses to
23071 + # link against other versions.
23072 + version_type=sunos
23073 + need_lib_prefix=no
23075 + case $host_cpu in
23077 + shrext_cmds='.so'
23078 + hardcode_into_libs=yes
23079 + dynamic_linker="$host_os dld.so"
23080 + shlibpath_var=LD_LIBRARY_PATH
23081 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23082 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23083 + soname_spec='${libname}${release}${shared_ext}$major'
23084 + if test "X$HPUX_IA64_MODE" = X32; then
23085 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23087 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23089 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23092 + shrext_cmds='.sl'
23093 + hardcode_into_libs=yes
23094 + dynamic_linker="$host_os dld.sl"
23095 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23096 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23097 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23098 + soname_spec='${libname}${release}${shared_ext}$major'
23099 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23100 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23103 + shrext_cmds='.sl'
23104 + dynamic_linker="$host_os dld.sl"
23105 + shlibpath_var=SHLIB_PATH
23106 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23107 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23108 + soname_spec='${libname}${release}${shared_ext}$major'
23111 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
23112 + postinstall_cmds='chmod 555 $lib'
23116 + version_type=linux
23117 + need_lib_prefix=no
23119 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23120 + soname_spec='${libname}${release}${shared_ext}$major'
23121 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23122 + shlibpath_var=LD_LIBRARY_PATH
23123 + shlibpath_overrides_runpath=no
23124 + hardcode_into_libs=yes
23127 +irix5* | irix6* | nonstopux*)
23129 + nonstopux*) version_type=nonstopux ;;
23131 + if test "$lt_cv_prog_gnu_ld" = yes; then
23132 + version_type=linux
23134 + version_type=irix
23137 + need_lib_prefix=no
23139 + soname_spec='${libname}${release}${shared_ext}$major'
23140 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23142 + irix5* | nonstopux*)
23143 + libsuff= shlibsuff=
23146 + case $LD in # libtool.m4 will add one of these switches to LD
23147 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23148 + libsuff= shlibsuff= libmagic=32-bit;;
23149 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23150 + libsuff=32 shlibsuff=N32 libmagic=N32;;
23151 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23152 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
23153 + *) libsuff= shlibsuff= libmagic=never-match;;
23157 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23158 + shlibpath_overrides_runpath=no
23159 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23160 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23161 + hardcode_into_libs=yes
23164 +# No shared lib support for Linux oldld, aout, or coff.
23165 +linux*oldld* | linux*aout* | linux*coff*)
23166 + dynamic_linker=no
23169 +# This must be Linux ELF.
23170 +linux* | k*bsd*-gnu)
23171 + version_type=linux
23172 + need_lib_prefix=no
23174 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23175 + soname_spec='${libname}${release}${shared_ext}$major'
23176 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23177 + shlibpath_var=LD_LIBRARY_PATH
23178 + shlibpath_overrides_runpath=no
23179 + # This implies no fast_install, which is unacceptable.
23180 + # Some rework will be needed to allow for fast_install
23181 + # before this can be enabled.
23182 + hardcode_into_libs=yes
23184 + # Append ld.so.conf contents to the search path
23185 + if test -f /etc/ld.so.conf; then
23186 + 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' ' '`
23187 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23190 + # We used to test for /lib/ld.so.1 and disable shared libraries on
23191 + # powerpc, because MkLinux only supported shared libraries with the
23192 + # GNU dynamic linker. Since this was broken with cross compilers,
23193 + # most powerpc-linux boxes support dynamic linking these days and
23194 + # people can always --disable-shared, the test was removed, and we
23195 + # assume the GNU/Linux dynamic linker is in use.
23196 + dynamic_linker='GNU/Linux ld.so'
23200 + version_type=linux
23201 + need_lib_prefix=no
23203 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23204 + soname_spec='${libname}${release}${shared_ext}$major'
23205 + shlibpath_var=LD_LIBRARY_PATH
23206 + shlibpath_overrides_runpath=no
23207 + hardcode_into_libs=yes
23208 + dynamic_linker='NetBSD ld.elf_so'
23212 + version_type=sunos
23213 + need_lib_prefix=no
23215 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23216 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23217 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23218 + dynamic_linker='NetBSD (a.out) ld.so'
23220 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23221 + soname_spec='${libname}${release}${shared_ext}$major'
23222 + dynamic_linker='NetBSD ld.elf_so'
23224 + shlibpath_var=LD_LIBRARY_PATH
23225 + shlibpath_overrides_runpath=yes
23226 + hardcode_into_libs=yes
23230 + version_type=linux
23231 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23232 + shlibpath_var=LD_LIBRARY_PATH
23233 + shlibpath_overrides_runpath=yes
23237 + version_type=linux
23238 + need_lib_prefix=no
23240 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23241 + soname_spec='${libname}${release}${shared_ext}$major'
23242 + shlibpath_var=LD_LIBRARY_PATH
23243 + shlibpath_overrides_runpath=yes
23247 + version_type=sunos
23248 + sys_lib_dlsearch_path_spec="/usr/lib"
23249 + need_lib_prefix=no
23250 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23252 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23253 + *) need_version=no ;;
23255 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23256 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23257 + shlibpath_var=LD_LIBRARY_PATH
23258 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23260 + openbsd2.[89] | openbsd2.[89].*)
23261 + shlibpath_overrides_runpath=no
23264 + shlibpath_overrides_runpath=yes
23268 + shlibpath_overrides_runpath=yes
23273 + libname_spec='$name'
23274 + shrext_cmds=".dll"
23275 + need_lib_prefix=no
23276 + library_names_spec='$libname${shared_ext} $libname.a'
23277 + dynamic_linker='OS/2 ld.exe'
23278 + shlibpath_var=LIBPATH
23281 +osf3* | osf4* | osf5*)
23283 + need_lib_prefix=no
23285 + soname_spec='${libname}${release}${shared_ext}$major'
23286 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23287 + shlibpath_var=LD_LIBRARY_PATH
23288 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23289 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23293 + version_type=linux
23294 + need_lib_prefix=no
23296 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23297 + soname_spec='${libname}${release}${shared_ext}$major'
23298 + shlibpath_var=LD_LIBRARY_PATH
23299 + shlibpath_overrides_runpath=yes
23300 + hardcode_into_libs=yes
23301 + # ldd complains unless libraries are executable
23302 + postinstall_cmds='chmod +x $lib'
23306 + version_type=sunos
23307 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23308 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23309 + shlibpath_var=LD_LIBRARY_PATH
23310 + shlibpath_overrides_runpath=yes
23311 + if test "$with_gnu_ld" = yes; then
23312 + need_lib_prefix=no
23318 + version_type=linux
23319 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23320 + soname_spec='${libname}${release}${shared_ext}$major'
23321 + shlibpath_var=LD_LIBRARY_PATH
23322 + case $host_vendor in
23324 + shlibpath_overrides_runpath=no
23325 + need_lib_prefix=no
23326 + export_dynamic_flag_spec='${wl}-Blargedynsym'
23327 + runpath_var=LD_RUN_PATH
23330 + need_lib_prefix=no
23333 + need_lib_prefix=no
23335 + shlibpath_overrides_runpath=no
23336 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23342 + if test -d /usr/nec ;then
23343 + version_type=linux
23344 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23345 + soname_spec='$libname${shared_ext}.$major'
23346 + shlibpath_var=LD_LIBRARY_PATH
23350 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23351 + version_type=freebsd-elf
23352 + need_lib_prefix=no
23354 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23355 + soname_spec='${libname}${release}${shared_ext}$major'
23356 + shlibpath_var=LD_LIBRARY_PATH
23357 + hardcode_into_libs=yes
23358 + if test "$with_gnu_ld" = yes; then
23359 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23360 + shlibpath_overrides_runpath=no
23362 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23363 + shlibpath_overrides_runpath=yes
23366 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23370 + sys_lib_dlsearch_path_spec='/usr/lib'
23374 + version_type=linux
23375 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23376 + soname_spec='${libname}${release}${shared_ext}$major'
23377 + shlibpath_var=LD_LIBRARY_PATH
23381 + dynamic_linker=no
23384 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23385 +echo "${ECHO_T}$dynamic_linker" >&6; }
23386 +test "$dynamic_linker" = no && can_build_shared=no
23388 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23389 +if test "$GCC" = yes; then
23390 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23393 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23394 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23395 +hardcode_action_F77=
23396 +if test -n "$hardcode_libdir_flag_spec_F77" || \
23397 + test -n "$runpath_var_F77" || \
23398 + test "X$hardcode_automatic_F77" = "Xyes" ; then
23400 + # We can hardcode non-existant directories.
23401 + if test "$hardcode_direct_F77" != no &&
23402 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
23403 + # have to relink, otherwise we might link with an installed library
23404 + # when we should be linking with a yet-to-be-installed one
23405 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23406 + test "$hardcode_minus_L_F77" != no; then
23407 + # Linking always hardcodes the temporary library directory.
23408 + hardcode_action_F77=relink
23410 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
23411 + hardcode_action_F77=immediate
23414 + # We cannot hardcode anything, or else we can only hardcode existing
23416 + hardcode_action_F77=unsupported
23418 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23419 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
23421 +if test "$hardcode_action_F77" = relink; then
23422 + # Fast installation is not supported
23423 + enable_fast_install=no
23424 +elif test "$shlibpath_overrides_runpath" = yes ||
23425 + test "$enable_shared" = no; then
23426 + # Fast installation is not necessary
23427 + enable_fast_install=needless
23431 +# The else clause should only fire when bootstrapping the
23432 +# libtool distribution, otherwise you forgot to ship ltmain.sh
23433 +# with your package, and you will get complaints that there are
23434 +# no rules to generate ltmain.sh.
23435 +if test -f "$ltmain"; then
23436 + # See if we are running on zsh, and set the options which allow our commands through
23437 + # without removal of \ escapes.
23438 + if test -n "${ZSH_VERSION+set}" ; then
23439 + setopt NO_GLOB_SUBST
23441 + # Now quote all the things that may contain metacharacters while being
23442 + # careful not to overquote the AC_SUBSTed values. We take copies of the
23443 + # variables and quote the copies for generation of the libtool script.
23444 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23445 + SED SHELL STRIP \
23446 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23447 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23448 + deplibs_check_method reload_flag reload_cmds need_locks \
23449 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23450 + lt_cv_sys_global_symbol_to_c_name_address \
23451 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23452 + old_postinstall_cmds old_postuninstall_cmds \
23456 + lt_prog_compiler_wl_F77 \
23457 + lt_prog_compiler_pic_F77 \
23458 + lt_prog_compiler_static_F77 \
23459 + lt_prog_compiler_no_builtin_flag_F77 \
23460 + export_dynamic_flag_spec_F77 \
23461 + thread_safe_flag_spec_F77 \
23462 + whole_archive_flag_spec_F77 \
23463 + enable_shared_with_static_runtimes_F77 \
23464 + old_archive_cmds_F77 \
23465 + old_archive_from_new_cmds_F77 \
23466 + predep_objects_F77 \
23467 + postdep_objects_F77 \
23470 + compiler_lib_search_path_F77 \
23471 + archive_cmds_F77 \
23472 + archive_expsym_cmds_F77 \
23473 + postinstall_cmds_F77 \
23474 + postuninstall_cmds_F77 \
23475 + old_archive_from_expsyms_cmds_F77 \
23476 + allow_undefined_flag_F77 \
23477 + no_undefined_flag_F77 \
23478 + export_symbols_cmds_F77 \
23479 + hardcode_libdir_flag_spec_F77 \
23480 + hardcode_libdir_flag_spec_ld_F77 \
23481 + hardcode_libdir_separator_F77 \
23482 + hardcode_automatic_F77 \
23483 + module_cmds_F77 \
23484 + module_expsym_cmds_F77 \
23485 + lt_cv_prog_compiler_c_o_F77 \
23486 + exclude_expsyms_F77 \
23487 + include_expsyms_F77; do
23490 + old_archive_cmds_F77 | \
23491 + old_archive_from_new_cmds_F77 | \
23492 + archive_cmds_F77 | \
23493 + archive_expsym_cmds_F77 | \
23494 + module_cmds_F77 | \
23495 + module_expsym_cmds_F77 | \
23496 + old_archive_from_expsyms_cmds_F77 | \
23497 + export_symbols_cmds_F77 | \
23498 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
23499 + postinstall_cmds | postuninstall_cmds | \
23500 + old_postinstall_cmds | old_postuninstall_cmds | \
23501 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23502 + # Double-quote double-evaled strings.
23503 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23506 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23512 + *'\$0 --fallback-echo"')
23513 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23519 + cat <<__EOF__ >> "$cfgfile"
23520 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23522 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23524 +# Shell to use when invoking shell scripts.
23527 +# Whether or not to build shared libraries.
23528 +build_libtool_libs=$enable_shared
23530 +# Whether or not to build static libraries.
23531 +build_old_libs=$enable_static
23533 +# Whether or not to add -lc for building shared libraries.
23534 +build_libtool_need_lc=$archive_cmds_need_lc_F77
23536 +# Whether or not to disallow shared libs when runtime libs are static
23537 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23539 +# Whether or not to optimize for fast installation.
23540 +fast_install=$enable_fast_install
23542 +# The host system.
23543 +host_alias=$host_alias
23547 +# The build system.
23548 +build_alias=$build_alias
23550 +build_os=$build_os
23552 +# An echo program that does not interpret backslashes.
23557 +AR_FLAGS=$lt_AR_FLAGS
23562 +# LTCC compiler flags.
23563 +LTCFLAGS=$lt_LTCFLAGS
23565 +# A language-specific compiler.
23566 +CC=$lt_compiler_F77
23568 +# Is the compiler the GNU C compiler?
23574 +# The linker used to build libraries.
23577 +# Whether we need hard or soft links.
23580 +# A BSD-compatible nm program.
23583 +# A symbol stripping program
23586 +# Used to examine libraries when file_magic_cmd begins "file"
23587 +MAGIC_CMD=$MAGIC_CMD
23589 +# Used on cygwin: DLL creation program.
23590 +DLLTOOL="$DLLTOOL"
23592 +# Used on cygwin: object dumper.
23593 +OBJDUMP="$OBJDUMP"
23595 +# Used on cygwin: assembler.
23598 +# The name of the directory that contains temporary libtool files.
23601 +# How to create reloadable object files.
23602 +reload_flag=$lt_reload_flag
23603 +reload_cmds=$lt_reload_cmds
23605 +# How to pass a linker flag through the compiler.
23606 +wl=$lt_lt_prog_compiler_wl_F77
23608 +# Object file suffix (normally "o").
23609 +objext="$ac_objext"
23611 +# Old archive suffix (normally "a").
23614 +# Shared library suffix (normally ".so").
23615 +shrext_cmds='$shrext_cmds'
23617 +# Executable file suffix (normally "").
23620 +# Additional compiler flags for building library objects.
23621 +pic_flag=$lt_lt_prog_compiler_pic_F77
23622 +pic_mode=$pic_mode
23624 +# What is the maximum length of a command?
23625 +max_cmd_len=$lt_cv_sys_max_cmd_len
23627 +# Does compiler simultaneously support -c and -o options?
23628 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23630 +# Must we lock files when doing compilation?
23631 +need_locks=$lt_need_locks
23633 +# Do we need the lib prefix for modules?
23634 +need_lib_prefix=$need_lib_prefix
23636 +# Do we need a version for libraries?
23637 +need_version=$need_version
23639 +# Whether dlopen is supported.
23640 +dlopen_support=$enable_dlopen
23642 +# Whether dlopen of programs is supported.
23643 +dlopen_self=$enable_dlopen_self
23645 +# Whether dlopen of statically linked programs is supported.
23646 +dlopen_self_static=$enable_dlopen_self_static
23648 +# Compiler flag to prevent dynamic linking.
23649 +link_static_flag=$lt_lt_prog_compiler_static_F77
23651 +# Compiler flag to turn off builtin functions.
23652 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23654 +# Compiler flag to allow reflexive dlopens.
23655 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23657 +# Compiler flag to generate shared objects directly from archives.
23658 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23660 +# Compiler flag to generate thread-safe objects.
23661 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23663 +# Library versioning type.
23664 +version_type=$version_type
23666 +# Format of library name prefix.
23667 +libname_spec=$lt_libname_spec
23669 +# List of archive names. First name is the real one, the rest are links.
23670 +# The last name is the one that the linker finds with -lNAME.
23671 +library_names_spec=$lt_library_names_spec
23673 +# The coded name of the library, if different from the real name.
23674 +soname_spec=$lt_soname_spec
23676 +# Commands used to build and install an old-style archive.
23678 +old_archive_cmds=$lt_old_archive_cmds_F77
23679 +old_postinstall_cmds=$lt_old_postinstall_cmds
23680 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
23682 +# Create an old-style archive from a shared archive.
23683 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23685 +# Create a temporary old-style archive to link instead of a shared archive.
23686 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23688 +# Commands used to build and install a shared archive.
23689 +archive_cmds=$lt_archive_cmds_F77
23690 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23691 +postinstall_cmds=$lt_postinstall_cmds
23692 +postuninstall_cmds=$lt_postuninstall_cmds
23694 +# Commands used to build a loadable module (assumed same as above if empty)
23695 +module_cmds=$lt_module_cmds_F77
23696 +module_expsym_cmds=$lt_module_expsym_cmds_F77
23698 +# Commands to strip libraries.
23699 +old_striplib=$lt_old_striplib
23700 +striplib=$lt_striplib
23702 +# Dependencies to place before the objects being linked to create a
23704 +predep_objects=$lt_predep_objects_F77
23706 +# Dependencies to place after the objects being linked to create a
23708 +postdep_objects=$lt_postdep_objects_F77
23710 +# Dependencies to place before the objects being linked to create a
23712 +predeps=$lt_predeps_F77
23714 +# Dependencies to place after the objects being linked to create a
23716 +postdeps=$lt_postdeps_F77
23718 +# The library search path used internally by the compiler when linking
23719 +# a shared library.
23720 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23722 +# Method to check whether dependent libraries are shared objects.
23723 +deplibs_check_method=$lt_deplibs_check_method
23725 +# Command to use when deplibs_check_method == file_magic.
23726 +file_magic_cmd=$lt_file_magic_cmd
23728 +# Flag that allows shared libraries with undefined symbols to be built.
23729 +allow_undefined_flag=$lt_allow_undefined_flag_F77
23731 +# Flag that forces no undefined symbols.
23732 +no_undefined_flag=$lt_no_undefined_flag_F77
23734 +# Commands used to finish a libtool library installation in a directory.
23735 +finish_cmds=$lt_finish_cmds
23737 +# Same as above, but a single script fragment to be evaled but not shown.
23738 +finish_eval=$lt_finish_eval
23740 +# Take the output of nm and produce a listing of raw symbols and C names.
23741 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23743 +# Transform the output of nm in a proper C declaration
23744 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23746 +# Transform the output of nm in a C name address pair
23747 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23749 +# This is the shared library runtime path variable.
23750 +runpath_var=$runpath_var
23752 +# This is the shared library path variable.
23753 +shlibpath_var=$shlibpath_var
23755 +# Is shlibpath searched before the hard-coded library search path?
23756 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23758 +# How to hardcode a shared library path into an executable.
23759 +hardcode_action=$hardcode_action_F77
23761 +# Whether we should hardcode library paths into libraries.
23762 +hardcode_into_libs=$hardcode_into_libs
23764 +# Flag to hardcode \$libdir into a binary during linking.
23765 +# This must work even if \$libdir does not exist.
23766 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23768 +# If ld is used when linking, flag to hardcode \$libdir into
23769 +# a binary during linking. This must work even if \$libdir does
23771 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23773 +# Whether we need a single -rpath flag with a separated argument.
23774 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23776 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23777 +# resulting binary.
23778 +hardcode_direct=$hardcode_direct_F77
23780 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23781 +# resulting binary.
23782 +hardcode_minus_L=$hardcode_minus_L_F77
23784 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23785 +# the resulting binary.
23786 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23788 +# Set to yes if building a shared library automatically hardcodes DIR into the library
23789 +# and all subsequent libraries and executables linked against it.
23790 +hardcode_automatic=$hardcode_automatic_F77
23792 +# Variables whose values should be saved in libtool wrapper scripts and
23793 +# restored at relink time.
23794 +variables_saved_for_relink="$variables_saved_for_relink"
23796 +# Whether libtool must link a program against all its dependency libraries.
23797 +link_all_deplibs=$link_all_deplibs_F77
23799 +# Compile-time system search path for libraries
23800 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23802 +# Run-time system search path for libraries
23803 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23805 +# Fix the shell variable \$srcfile for the compiler.
23806 +fix_srcfile_path="$fix_srcfile_path_F77"
23808 +# Set to yes if exported symbols are required.
23809 +always_export_symbols=$always_export_symbols_F77
23811 +# The commands to list exported symbols.
23812 +export_symbols_cmds=$lt_export_symbols_cmds_F77
23814 +# The commands to extract the exported symbol list from a shared archive.
23815 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
23817 +# Symbols that should not be listed in the preloaded symbols.
23818 +exclude_expsyms=$lt_exclude_expsyms_F77
23820 +# Symbols that must always be exported.
23821 +include_expsyms=$lt_include_expsyms_F77
23823 +# ### END LIBTOOL TAG CONFIG: $tagname
23829 + # If there is no Makefile yet, we rely on a make rule to execute
23830 + # `config.status --recheck' to rerun these tests and create the
23831 + # libtool script then.
23832 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23833 + if test -f "$ltmain_in"; then
23834 + test -f Makefile && make "$ltmain"
23840 +ac_cpp='$CPP $CPPFLAGS'
23841 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23842 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23843 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23853 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23856 +# Source file extension for Java test sources.
23859 +# Object file extension for compiled Java test sources.
23861 +objext_GCJ=$objext
23863 +# Code to be used in simple compile tests
23864 +lt_simple_compile_test_code="class foo {}\n"
23866 +# Code to be used in simple link tests
23867 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23869 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23871 +# If no C compiler was specified, use CC.
23872 +LTCC=${LTCC-"$CC"}
23874 +# If no C compiler flags were specified, use CFLAGS.
23875 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23877 +# Allow CC to be a program name with arguments.
23881 +# save warnings/boilerplate of simple test code
23882 +ac_outfile=conftest.$ac_objext
23883 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23884 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23885 +_lt_compiler_boilerplate=`cat conftest.err`
23888 +ac_outfile=conftest.$ac_objext
23889 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
23890 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23891 +_lt_linker_boilerplate=`cat conftest.err`
23895 +# Allow CC to be a program name with arguments.
23900 +for cc_temp in $compiler""; do
23902 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23903 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23908 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23911 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
23912 +archive_cmds_need_lc_GCJ=no
23914 +old_archive_cmds_GCJ=$old_archive_cmds
23917 +lt_prog_compiler_no_builtin_flag_GCJ=
23919 +if test "$GCC" = yes; then
23920 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23923 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23924 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23925 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23926 + echo $ECHO_N "(cached) $ECHO_C" >&6
23928 + lt_cv_prog_compiler_rtti_exceptions=no
23929 + ac_outfile=conftest.$ac_objext
23930 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23931 + lt_compiler_flag="-fno-rtti -fno-exceptions"
23932 + # Insert the option either (1) after the last *FLAGS variable, or
23933 + # (2) before a word containing "conftest.", or (3) at the end.
23934 + # Note that $ac_compile itself does not contain backslashes and begins
23935 + # with a dollar sign (not a hyphen), so the echo should work correctly.
23936 + # The option is referenced via a variable to avoid confusing sed.
23937 + lt_compile=`echo "$ac_compile" | $SED \
23938 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23939 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23940 + -e 's:$: $lt_compiler_flag:'`
23941 + (eval echo "\"\$as_me:16473: $lt_compile\"" >&5)
23942 + (eval "$lt_compile" 2>conftest.err)
23944 + cat conftest.err >&5
23945 + echo "$as_me:16477: \$? = $ac_status" >&5
23946 + if (exit $ac_status) && test -s "$ac_outfile"; then
23947 + # The compiler can only warn and ignore the option if not recognized
23948 + # So say no if there are warnings other than the usual output.
23949 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23950 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23951 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23952 + lt_cv_prog_compiler_rtti_exceptions=yes
23958 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23959 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23961 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23962 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23969 +lt_prog_compiler_wl_GCJ=
23970 +lt_prog_compiler_pic_GCJ=
23971 +lt_prog_compiler_static_GCJ=
23973 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23974 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23976 + if test "$GCC" = yes; then
23977 + lt_prog_compiler_wl_GCJ='-Wl,'
23978 + lt_prog_compiler_static_GCJ='-static'
23982 + # All AIX code is PIC.
23983 + if test "$host_cpu" = ia64; then
23984 + # AIX 5 now supports IA64 processor
23985 + lt_prog_compiler_static_GCJ='-Bstatic'
23990 + # FIXME: we need at least 68020 code to build shared libraries, but
23991 + # adding the `-m68020' flag to GCC prevents building anything better,
23992 + # like `-m68040'.
23993 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23996 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23997 + # PIC is the default for these OSes.
24000 + mingw* | pw32* | os2*)
24001 + # This hack is so that the source file can tell whether it is being
24002 + # built for inclusion in a dll (and should export symbols for example).
24003 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24006 + darwin* | rhapsody*)
24007 + # PIC is the default on this platform
24008 + # Common symbols not allowed in MH_DYLIB files
24009 + lt_prog_compiler_pic_GCJ='-fno-common'
24013 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24014 + # Instead, we relocate shared libraries at runtime.
24018 + # Just because we use GCC doesn't mean we suddenly get shared libraries
24019 + # on systems that don't support them.
24020 + lt_prog_compiler_can_build_shared_GCJ=no
24025 + if test -d /usr/nec; then
24026 + lt_prog_compiler_pic_GCJ=-Kconform_pic
24031 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24032 + # not for PA HP-UX.
24033 + case $host_cpu in
24038 + lt_prog_compiler_pic_GCJ='-fPIC'
24044 + lt_prog_compiler_pic_GCJ='-fPIC'
24048 + # PORTME Check for flag to pass linker flags through the system compiler.
24051 + lt_prog_compiler_wl_GCJ='-Wl,'
24052 + if test "$host_cpu" = ia64; then
24053 + # AIX 5 now supports IA64 processor
24054 + lt_prog_compiler_static_GCJ='-Bstatic'
24056 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24060 + # PIC is the default on this platform
24061 + # Common symbols not allowed in MH_DYLIB files
24062 + case $cc_basename in
24064 + lt_prog_compiler_pic_GCJ='-qnocommon'
24065 + lt_prog_compiler_wl_GCJ='-Wl,'
24070 + mingw* | pw32* | os2*)
24071 + # This hack is so that the source file can tell whether it is being
24072 + # built for inclusion in a dll (and should export symbols for example).
24073 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24076 + hpux9* | hpux10* | hpux11*)
24077 + lt_prog_compiler_wl_GCJ='-Wl,'
24078 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24079 + # not for PA HP-UX.
24080 + case $host_cpu in
24085 + lt_prog_compiler_pic_GCJ='+Z'
24088 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
24089 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24092 + irix5* | irix6* | nonstopux*)
24093 + lt_prog_compiler_wl_GCJ='-Wl,'
24094 + # PIC (with -KPIC) is the default.
24095 + lt_prog_compiler_static_GCJ='-non_shared'
24099 + lt_prog_compiler_pic_GCJ='-KPIC'
24100 + lt_prog_compiler_static_GCJ='-Bstatic'
24103 + linux* | k*bsd*-gnu)
24104 + case $cc_basename in
24106 + lt_prog_compiler_wl_GCJ='-Wl,'
24107 + lt_prog_compiler_pic_GCJ='-KPIC'
24108 + lt_prog_compiler_static_GCJ='-static'
24110 + pgcc* | pgf77* | pgf90* | pgf95*)
24111 + # Portland Group compilers (*not* the Pentium gcc compiler,
24112 + # which looks to be a dead project)
24113 + lt_prog_compiler_wl_GCJ='-Wl,'
24114 + lt_prog_compiler_pic_GCJ='-fpic'
24115 + lt_prog_compiler_static_GCJ='-Bstatic'
24118 + lt_prog_compiler_wl_GCJ='-Wl,'
24119 + # All Alpha code is PIC.
24120 + lt_prog_compiler_static_GCJ='-non_shared'
24125 + osf3* | osf4* | osf5*)
24126 + lt_prog_compiler_wl_GCJ='-Wl,'
24127 + # All OSF/1 code is PIC.
24128 + lt_prog_compiler_static_GCJ='-non_shared'
24132 + lt_prog_compiler_pic_GCJ='-KPIC'
24133 + lt_prog_compiler_static_GCJ='-Bstatic'
24134 + case $cc_basename in
24135 + f77* | f90* | f95*)
24136 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24138 + lt_prog_compiler_wl_GCJ='-Wl,';;
24143 + lt_prog_compiler_wl_GCJ='-Qoption ld '
24144 + lt_prog_compiler_pic_GCJ='-PIC'
24145 + lt_prog_compiler_static_GCJ='-Bstatic'
24148 + sysv4 | sysv4.2uw2* | sysv4.3*)
24149 + lt_prog_compiler_wl_GCJ='-Wl,'
24150 + lt_prog_compiler_pic_GCJ='-KPIC'
24151 + lt_prog_compiler_static_GCJ='-Bstatic'
24155 + if test -d /usr/nec ;then
24156 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
24157 + lt_prog_compiler_static_GCJ='-Bstatic'
24161 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24162 + lt_prog_compiler_wl_GCJ='-Wl,'
24163 + lt_prog_compiler_pic_GCJ='-KPIC'
24164 + lt_prog_compiler_static_GCJ='-Bstatic'
24168 + lt_prog_compiler_wl_GCJ='-Wl,'
24169 + lt_prog_compiler_can_build_shared_GCJ=no
24173 + lt_prog_compiler_pic_GCJ='-pic'
24174 + lt_prog_compiler_static_GCJ='-Bstatic'
24178 + lt_prog_compiler_can_build_shared_GCJ=no
24183 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24184 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24187 +# Check to make sure the PIC flag actually works.
24189 +if test -n "$lt_prog_compiler_pic_GCJ"; then
24191 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24192 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24193 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24194 + echo $ECHO_N "(cached) $ECHO_C" >&6
24196 + lt_prog_compiler_pic_works_GCJ=no
24197 + ac_outfile=conftest.$ac_objext
24198 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24199 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24200 + # Insert the option either (1) after the last *FLAGS variable, or
24201 + # (2) before a word containing "conftest.", or (3) at the end.
24202 + # Note that $ac_compile itself does not contain backslashes and begins
24203 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24204 + # The option is referenced via a variable to avoid confusing sed.
24205 + lt_compile=`echo "$ac_compile" | $SED \
24206 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24207 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24208 + -e 's:$: $lt_compiler_flag:'`
24209 + (eval echo "\"\$as_me:16741: $lt_compile\"" >&5)
24210 + (eval "$lt_compile" 2>conftest.err)
24212 + cat conftest.err >&5
24213 + echo "$as_me:16745: \$? = $ac_status" >&5
24214 + if (exit $ac_status) && test -s "$ac_outfile"; then
24215 + # The compiler can only warn and ignore the option if not recognized
24216 + # So say no if there are warnings other than the usual output.
24217 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24218 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24219 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24220 + lt_prog_compiler_pic_works_GCJ=yes
24226 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24227 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24229 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24230 + case $lt_prog_compiler_pic_GCJ in
24232 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24235 + lt_prog_compiler_pic_GCJ=
24236 + lt_prog_compiler_can_build_shared_GCJ=no
24241 + # For platforms which do not support PIC, -DPIC is meaningless:
24243 + lt_prog_compiler_pic_GCJ=
24246 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24251 +# Check to make sure the static flag actually works.
24253 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24254 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24255 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24256 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24257 + echo $ECHO_N "(cached) $ECHO_C" >&6
24259 + lt_prog_compiler_static_works_GCJ=no
24260 + save_LDFLAGS="$LDFLAGS"
24261 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24262 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
24263 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24264 + # The linker can only warn and ignore the option if not recognized
24265 + # So say no if there are warnings
24266 + if test -s conftest.err; then
24267 + # Append any errors to the config.log.
24268 + cat conftest.err 1>&5
24269 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24270 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24271 + if diff conftest.exp conftest.er2 >/dev/null; then
24272 + lt_prog_compiler_static_works_GCJ=yes
24275 + lt_prog_compiler_static_works_GCJ=yes
24279 + LDFLAGS="$save_LDFLAGS"
24282 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24283 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24285 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24288 + lt_prog_compiler_static_GCJ=
24292 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24293 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24294 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24295 + echo $ECHO_N "(cached) $ECHO_C" >&6
24297 + lt_cv_prog_compiler_c_o_GCJ=no
24298 + $rm -r conftest 2>/dev/null
24302 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24304 + lt_compiler_flag="-o out/conftest2.$ac_objext"
24305 + # Insert the option either (1) after the last *FLAGS variable, or
24306 + # (2) before a word containing "conftest.", or (3) at the end.
24307 + # Note that $ac_compile itself does not contain backslashes and begins
24308 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24309 + lt_compile=`echo "$ac_compile" | $SED \
24310 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24311 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24312 + -e 's:$: $lt_compiler_flag:'`
24313 + (eval echo "\"\$as_me:16845: $lt_compile\"" >&5)
24314 + (eval "$lt_compile" 2>out/conftest.err)
24316 + cat out/conftest.err >&5
24317 + echo "$as_me:16849: \$? = $ac_status" >&5
24318 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
24320 + # The compiler can only warn and ignore the option if not recognized
24321 + # So say no if there are warnings
24322 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24323 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24324 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24325 + lt_cv_prog_compiler_c_o_GCJ=yes
24330 + # SGI C++ compiler will create directory out/ii_files/ for
24331 + # template instantiation
24332 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24333 + $rm out/* && rmdir out
24339 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24340 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24343 +hard_links="nottested"
24344 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24345 + # do not overwrite the value of need_locks provided by the user
24346 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24347 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24350 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24352 + ln conftest.a conftest.b 2>&5 || hard_links=no
24353 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24354 + { echo "$as_me:$LINENO: result: $hard_links" >&5
24355 +echo "${ECHO_T}$hard_links" >&6; }
24356 + if test "$hard_links" = no; then
24357 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24358 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24365 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24366 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24369 + allow_undefined_flag_GCJ=
24370 + enable_shared_with_static_runtimes_GCJ=no
24371 + archive_cmds_GCJ=
24372 + archive_expsym_cmds_GCJ=
24373 + old_archive_From_new_cmds_GCJ=
24374 + old_archive_from_expsyms_cmds_GCJ=
24375 + export_dynamic_flag_spec_GCJ=
24376 + whole_archive_flag_spec_GCJ=
24377 + thread_safe_flag_spec_GCJ=
24378 + hardcode_libdir_flag_spec_GCJ=
24379 + hardcode_libdir_flag_spec_ld_GCJ=
24380 + hardcode_libdir_separator_GCJ=
24381 + hardcode_direct_GCJ=no
24382 + hardcode_minus_L_GCJ=no
24383 + hardcode_shlibpath_var_GCJ=unsupported
24384 + link_all_deplibs_GCJ=unknown
24385 + hardcode_automatic_GCJ=no
24387 + module_expsym_cmds_GCJ=
24388 + always_export_symbols_GCJ=no
24389 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24390 + # include_expsyms should be a list of space-separated symbols to be *always*
24391 + # included in the symbol list
24392 + include_expsyms_GCJ=
24393 + # exclude_expsyms can be an extended regexp of symbols to exclude
24394 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
24395 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24396 + # as well as any symbol that contains `d'.
24397 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24398 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24399 + # platforms (ab)use it in PIC code, but their linkers get confused if
24400 + # the symbol is explicitly referenced. Since portable code cannot
24401 + # rely on this symbol name, it's probably fine to never include it in
24402 + # preloaded symbol tables.
24403 + extract_expsyms_cmds=
24404 + # Just being paranoid about ensuring that cc_basename is set.
24405 + for cc_temp in $compiler""; do
24407 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24408 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24413 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24416 + cygwin* | mingw* | pw32*)
24417 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
24418 + # When not using gcc, we currently assume that we are using
24419 + # Microsoft Visual C++.
24420 + if test "$GCC" != yes; then
24425 + # we just hope/assume this is gcc and not c89 (= MSVC++)
24433 + ld_shlibs_GCJ=yes
24434 + if test "$with_gnu_ld" = yes; then
24435 + # If archive_cmds runs LD, not CC, wlarc should be empty
24438 + # Set some defaults for GNU ld with shared library support. These
24439 + # are reset later if shared libraries are not supported. Putting them
24440 + # here allows them to be overridden if necessary.
24441 + runpath_var=LD_RUN_PATH
24442 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24443 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24444 + # ancient GNU ld didn't support --whole-archive et. al.
24445 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24446 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24448 + whole_archive_flag_spec_GCJ=
24450 + supports_anon_versioning=no
24451 + case `$LD -v 2>/dev/null` in
24452 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24453 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24454 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24455 + *\ 2.11.*) ;; # other 2.11 versions
24456 + *) supports_anon_versioning=yes ;;
24459 + # See if GNU ld supports shared libraries.
24461 + aix3* | aix4* | aix5*)
24462 + # On AIX/PPC, the GNU linker is very broken
24463 + if test "$host_cpu" != ia64; then
24467 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
24468 +*** to be unable to reliably create shared libraries on AIX.
24469 +*** Therefore, libtool is disabling shared libraries support. If you
24470 +*** really care for shared libraries, you may want to modify your PATH
24471 +*** so that a non-GNU linker is found, and then restart.
24478 + 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)'
24479 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24480 + hardcode_minus_L_GCJ=yes
24482 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24483 + # that the semantics of dynamic libraries on AmigaOS, at least up
24484 + # to version 4, is to share data among multiple programs linked
24485 + # with the same dynamic library. Since this doesn't match the
24486 + # behavior of shared libraries on other platforms, we can't use
24492 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24493 + allow_undefined_flag_GCJ=unsupported
24494 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24495 + # support --undefined. This deserves some investigation. FIXME
24496 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24502 + cygwin* | mingw* | pw32*)
24503 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24504 + # as there is no search path for DLLs.
24505 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24506 + allow_undefined_flag_GCJ=unsupported
24507 + always_export_symbols_GCJ=no
24508 + enable_shared_with_static_runtimes_GCJ=yes
24509 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24511 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24512 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24513 + # If the export-symbols file already is a .def file (1st line
24514 + # is EXPORTS), use it as is; otherwise, prepend...
24515 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24516 + cp $export_symbols $output_objdir/$soname.def;
24518 + echo EXPORTS > $output_objdir/$soname.def;
24519 + cat $export_symbols >> $output_objdir/$soname.def;
24521 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24528 + hardcode_direct_GCJ=no
24529 + hardcode_shlibpath_var_GCJ=no
24530 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24531 + export_dynamic_flag_spec_GCJ='${wl}-E'
24532 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24533 + # Instead, shared libraries are loaded at an image base (0x10000000 by
24534 + # default) and relocated if they conflict, which is a slow very memory
24535 + # consuming and fragmenting process. To avoid this, we pick a random,
24536 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24537 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24538 + 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'
24539 + 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'
24542 + linux* | k*bsd*-gnu)
24543 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24545 + case $cc_basename,$host_cpu in
24546 + pgcc*) # Portland Group C compiler
24547 + 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'
24548 + tmp_addflag=' $pic_flag'
24550 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24551 + 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'
24552 + tmp_addflag=' $pic_flag -Mnomain' ;;
24553 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24554 + tmp_addflag=' -i_dynamic' ;;
24555 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24556 + tmp_addflag=' -i_dynamic -nofor_main' ;;
24557 + ifc* | ifort*) # Intel Fortran compiler
24558 + tmp_addflag=' -nofor_main' ;;
24560 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24562 + if test $supports_anon_versioning = yes; then
24563 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24564 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24565 + $echo "local: *; };" >> $output_objdir/$libname.ver~
24566 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24568 + link_all_deplibs_GCJ=no
24574 + netbsd* | netbsdelf*-gnu)
24575 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24576 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24579 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24580 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24585 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24589 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24590 +*** create shared libraries on Solaris systems. Therefore, libtool
24591 +*** is disabling shared libraries support. We urge you to upgrade GNU
24592 +*** binutils to release 2.9.1 or newer. Another option is to modify
24593 +*** your PATH or compiler configuration so that the native linker is
24594 +*** used, and then restart.
24597 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24598 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24599 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24605 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24606 + case `$LD -v 2>&1` in
24607 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24609 + cat <<_LT_EOF 1>&2
24611 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24612 +*** reliably create shared libraries on SCO systems. Therefore, libtool
24613 +*** is disabling shared libraries support. We urge you to upgrade GNU
24614 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24615 +*** your PATH or compiler configuration so that the native linker is
24616 +*** used, and then restart.
24621 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24622 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24623 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24624 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24633 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24635 + hardcode_direct_GCJ=yes
24636 + hardcode_shlibpath_var_GCJ=no
24640 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24641 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24642 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24649 + if test "$ld_shlibs_GCJ" = no; then
24651 + hardcode_libdir_flag_spec_GCJ=
24652 + export_dynamic_flag_spec_GCJ=
24653 + whole_archive_flag_spec_GCJ=
24656 + # PORTME fill in a description of your system's linker (not GNU ld)
24659 + allow_undefined_flag_GCJ=unsupported
24660 + always_export_symbols_GCJ=yes
24661 + 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'
24662 + # Note: this linker hardcodes the directories in LIBPATH if there
24663 + # are no directories specified by -L.
24664 + hardcode_minus_L_GCJ=yes
24665 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24666 + # Neither direct hardcoding nor static linking is supported with a
24667 + # broken collect2.
24668 + hardcode_direct_GCJ=unsupported
24673 + if test "$host_cpu" = ia64; then
24674 + # On IA64, the linker does run time linking by default, so we don't
24675 + # have to do anything special.
24676 + aix_use_runtimelinking=no
24677 + exp_sym_flag='-Bexport'
24680 + # If we're using GNU nm, then we don't want the "-C" option.
24681 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
24682 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24683 + 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'
24685 + 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'
24687 + aix_use_runtimelinking=no
24689 + # Test if we are trying to use run time linking or normal
24690 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24691 + # need to do runtime linking.
24692 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24693 + for ld_flag in $LDFLAGS; do
24694 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24695 + aix_use_runtimelinking=yes
24702 + exp_sym_flag='-bexport'
24703 + no_entry_flag='-bnoentry'
24706 + # When large executables or shared objects are built, AIX ld can
24707 + # have problems creating the table of contents. If linking a library
24708 + # or program results in "error TOC overflow" add -mminimal-toc to
24709 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24710 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24712 + archive_cmds_GCJ=''
24713 + hardcode_direct_GCJ=yes
24714 + hardcode_libdir_separator_GCJ=':'
24715 + link_all_deplibs_GCJ=yes
24717 + if test "$GCC" = yes; then
24718 + case $host_os in aix4.[012]|aix4.[012].*)
24719 + # We only want to do this on AIX 4.2 and lower, the check
24720 + # below for broken collect2 doesn't work under 4.3+
24721 + collect2name=`${CC} -print-prog-name=collect2`
24722 + if test -f "$collect2name" && \
24723 + strings "$collect2name" | grep resolve_lib_name >/dev/null
24725 + # We have reworked collect2
24726 + hardcode_direct_GCJ=yes
24728 + # We have old collect2
24729 + hardcode_direct_GCJ=unsupported
24730 + # It fails to find uninstalled libraries when the uninstalled
24731 + # path is not listed in the libpath. Setting hardcode_minus_L
24732 + # to unsupported forces relinking
24733 + hardcode_minus_L_GCJ=yes
24734 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24735 + hardcode_libdir_separator_GCJ=
24739 + shared_flag='-shared'
24740 + if test "$aix_use_runtimelinking" = yes; then
24741 + shared_flag="$shared_flag "'${wl}-G'
24745 + if test "$host_cpu" = ia64; then
24746 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24747 + # chokes on -Wl,-G. The following line is correct:
24750 + if test "$aix_use_runtimelinking" = yes; then
24751 + shared_flag='${wl}-G'
24753 + shared_flag='${wl}-bM:SRE'
24758 + # It seems that -bexpall does not export symbols beginning with
24759 + # underscore (_), so it is better to generate a list of symbols to export.
24760 + always_export_symbols_GCJ=yes
24761 + if test "$aix_use_runtimelinking" = yes; then
24762 + # Warning - without using the other runtime loading flags (-brtl),
24763 + # -berok will link without error, but may produce a broken library.
24764 + allow_undefined_flag_GCJ='-berok'
24765 + # Determine the default libpath from the value encoded in an empty executable.
24766 + cat >conftest.$ac_ext <<_ACEOF
24769 +cat confdefs.h >>conftest.$ac_ext
24770 +cat >>conftest.$ac_ext <<_ACEOF
24771 +/* end confdefs.h. */
24781 +rm -f conftest.$ac_objext conftest$ac_exeext
24782 +if { (ac_try="$ac_link"
24783 +case "(($ac_try" in
24784 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 + *) ac_try_echo=$ac_try;;
24787 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 + (eval "$ac_link") 2>conftest.er1
24790 + grep -v '^ *+' conftest.er1 >conftest.err
24791 + rm -f conftest.er1
24792 + cat conftest.err >&5
24793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 + (exit $ac_status); } && {
24795 + test -z "$ac_c_werror_flag" ||
24796 + test ! -s conftest.err
24797 + } && test -s conftest$ac_exeext &&
24798 + $as_test_x conftest$ac_exeext; then
24800 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24802 +# Check for a 64-bit object if we didn't find anything.
24803 +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; }
24806 + echo "$as_me: failed program was:" >&5
24807 +sed 's/^/| /' conftest.$ac_ext >&5
24812 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24813 + conftest$ac_exeext conftest.$ac_ext
24814 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24816 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24817 + 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"
24819 + if test "$host_cpu" = ia64; then
24820 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24821 + allow_undefined_flag_GCJ="-z nodefs"
24822 + 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"
24824 + # Determine the default libpath from the value encoded in an empty executable.
24825 + cat >conftest.$ac_ext <<_ACEOF
24828 +cat confdefs.h >>conftest.$ac_ext
24829 +cat >>conftest.$ac_ext <<_ACEOF
24830 +/* end confdefs.h. */
24840 +rm -f conftest.$ac_objext conftest$ac_exeext
24841 +if { (ac_try="$ac_link"
24842 +case "(($ac_try" in
24843 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24844 + *) ac_try_echo=$ac_try;;
24846 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24847 + (eval "$ac_link") 2>conftest.er1
24849 + grep -v '^ *+' conftest.er1 >conftest.err
24850 + rm -f conftest.er1
24851 + cat conftest.err >&5
24852 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 + (exit $ac_status); } && {
24854 + test -z "$ac_c_werror_flag" ||
24855 + test ! -s conftest.err
24856 + } && test -s conftest$ac_exeext &&
24857 + $as_test_x conftest$ac_exeext; then
24859 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24861 +# Check for a 64-bit object if we didn't find anything.
24862 +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; }
24865 + echo "$as_me: failed program was:" >&5
24866 +sed 's/^/| /' conftest.$ac_ext >&5
24871 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24872 + conftest$ac_exeext conftest.$ac_ext
24873 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24875 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24876 + # Warning - without using the other run time loading flags,
24877 + # -berok will link without error, but may produce a broken library.
24878 + no_undefined_flag_GCJ=' ${wl}-bernotok'
24879 + allow_undefined_flag_GCJ=' ${wl}-berok'
24880 + # Exported symbols can be pulled into shared objects from archives
24881 + whole_archive_flag_spec_GCJ='$convenience'
24882 + archive_cmds_need_lc_GCJ=yes
24883 + # This is similar to how AIX traditionally builds its shared libraries.
24884 + 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'
24890 + 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)'
24891 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24892 + hardcode_minus_L_GCJ=yes
24893 + # see comment about different semantics on the GNU ld section
24898 + export_dynamic_flag_spec_GCJ=-rdynamic
24901 + cygwin* | mingw* | pw32*)
24902 + # When not using gcc, we currently assume that we are using
24903 + # Microsoft Visual C++.
24904 + # hardcode_libdir_flag_spec is actually meaningless, as there is
24905 + # no search path for DLLs.
24906 + hardcode_libdir_flag_spec_GCJ=' '
24907 + allow_undefined_flag_GCJ=unsupported
24908 + # Tell ltmain to make .lib files, not .a files.
24910 + # Tell ltmain to make .dll files, not .so files.
24911 + shrext_cmds=".dll"
24912 + # FIXME: Setting linknames here is a bad hack.
24913 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24914 + # The linker will automatically build a .lib file if we build a DLL.
24915 + old_archive_From_new_cmds_GCJ='true'
24916 + # FIXME: Should let the user specify the lib program.
24917 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24918 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24919 + enable_shared_with_static_runtimes_GCJ=yes
24922 + darwin* | rhapsody*)
24924 + rhapsody* | darwin1.[012])
24925 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24927 + *) # Darwin 1.3 on
24928 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24929 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24931 + case ${MACOSX_DEPLOYMENT_TARGET} in
24933 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24936 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24942 + archive_cmds_need_lc_GCJ=no
24943 + hardcode_direct_GCJ=no
24944 + hardcode_automatic_GCJ=yes
24945 + hardcode_shlibpath_var_GCJ=unsupported
24946 + whole_archive_flag_spec_GCJ=''
24947 + link_all_deplibs_GCJ=yes
24948 + if test "$GCC" = yes ; then
24949 + output_verbose_link_cmd='echo'
24950 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24951 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24952 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24953 + 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}'
24954 + 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}'
24956 + case $cc_basename in
24958 + output_verbose_link_cmd='echo'
24959 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24960 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24961 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24962 + 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}'
24963 + 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}'
24973 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24974 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24975 + hardcode_shlibpath_var_GCJ=no
24982 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24983 + # support. Future versions do this automatically, but an explicit c++rt0.o
24984 + # does not break anything, and helps significantly (at the cost of a little
24987 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24988 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
24989 + hardcode_direct_GCJ=yes
24990 + hardcode_shlibpath_var_GCJ=no
24993 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24995 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24996 + hardcode_direct_GCJ=yes
24997 + hardcode_minus_L_GCJ=yes
24998 + hardcode_shlibpath_var_GCJ=no
25001 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25002 + freebsd* | dragonfly*)
25003 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25004 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25005 + hardcode_direct_GCJ=yes
25006 + hardcode_shlibpath_var_GCJ=no
25010 + if test "$GCC" = yes; then
25011 + 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'
25013 + 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'
25015 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25016 + hardcode_libdir_separator_GCJ=:
25017 + hardcode_direct_GCJ=yes
25019 + # hardcode_minus_L: Not really in the search PATH,
25020 + # but as the default location of the library.
25021 + hardcode_minus_L_GCJ=yes
25022 + export_dynamic_flag_spec_GCJ='${wl}-E'
25026 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25027 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25029 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25031 + if test "$with_gnu_ld" = no; then
25032 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25033 + hardcode_libdir_separator_GCJ=:
25035 + hardcode_direct_GCJ=yes
25036 + export_dynamic_flag_spec_GCJ='${wl}-E'
25038 + # hardcode_minus_L: Not really in the search PATH,
25039 + # but as the default location of the library.
25040 + hardcode_minus_L_GCJ=yes
25045 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25046 + case $host_cpu in
25048 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25051 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25054 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25058 + case $host_cpu in
25060 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25063 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25066 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25070 + if test "$with_gnu_ld" = no; then
25071 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25072 + hardcode_libdir_separator_GCJ=:
25074 + case $host_cpu in
25076 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25077 + hardcode_direct_GCJ=no
25078 + hardcode_shlibpath_var_GCJ=no
25081 + hardcode_direct_GCJ=yes
25082 + export_dynamic_flag_spec_GCJ='${wl}-E'
25084 + # hardcode_minus_L: Not really in the search PATH,
25085 + # but as the default location of the library.
25086 + hardcode_minus_L_GCJ=yes
25092 + irix5* | irix6* | nonstopux*)
25093 + if test "$GCC" = yes; then
25094 + 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'
25096 + 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'
25097 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25099 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25100 + hardcode_libdir_separator_GCJ=:
25101 + link_all_deplibs_GCJ=yes
25104 + netbsd* | netbsdelf*-gnu)
25105 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25106 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25108 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25110 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25111 + hardcode_direct_GCJ=yes
25112 + hardcode_shlibpath_var_GCJ=no
25116 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25117 + hardcode_direct_GCJ=yes
25118 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25119 + hardcode_libdir_separator_GCJ=:
25120 + hardcode_shlibpath_var_GCJ=no
25124 + hardcode_direct_GCJ=yes
25125 + hardcode_shlibpath_var_GCJ=no
25126 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25127 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25128 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25129 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25130 + export_dynamic_flag_spec_GCJ='${wl}-E'
25133 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25134 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25135 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25138 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25139 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25146 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25147 + hardcode_minus_L_GCJ=yes
25148 + allow_undefined_flag_GCJ=unsupported
25149 + 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'
25150 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25154 + if test "$GCC" = yes; then
25155 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25156 + 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'
25158 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25159 + 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'
25161 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25162 + hardcode_libdir_separator_GCJ=:
25165 + osf4* | osf5*) # as osf3* with the addition of -msym flag
25166 + if test "$GCC" = yes; then
25167 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25168 + 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'
25169 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25171 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25172 + 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'
25173 + 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~
25174 + $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'
25176 + # Both c and cxx compiler support -rpath directly
25177 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25179 + hardcode_libdir_separator_GCJ=:
25183 + no_undefined_flag_GCJ=' -z text'
25184 + if test "$GCC" = yes; then
25186 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25187 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25188 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25191 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25192 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25193 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25195 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25196 + hardcode_shlibpath_var_GCJ=no
25198 + solaris2.[0-5] | solaris2.[0-5].*) ;;
25200 + # The compiler driver will combine linker options so we
25201 + # cannot just pass the convience library names through
25202 + # without $wl, iff we do not link with $LD.
25203 + # Luckily, gcc supports the same syntax we need for Sun Studio.
25204 + # Supported since Solaris 2.6 (maybe 2.5.1?)
25207 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
25209 + 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' ;;
25212 + link_all_deplibs_GCJ=yes
25216 + if test "x$host_vendor" = xsequent; then
25217 + # Use $CC to link under sequent, because it throws in some extra .o
25218 + # files that make .init and .fini sections work.
25219 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25221 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25223 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25224 + hardcode_direct_GCJ=yes
25225 + hardcode_minus_L_GCJ=yes
25226 + hardcode_shlibpath_var_GCJ=no
25230 + case $host_vendor in
25232 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25233 + hardcode_direct_GCJ=yes # is this really true???
25236 + ## LD is ld it makes a PLAMLIB
25237 + ## CC just makes a GrossModule.
25238 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25239 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25240 + hardcode_direct_GCJ=no
25243 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25244 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25247 + runpath_var='LD_RUN_PATH'
25248 + hardcode_shlibpath_var_GCJ=no
25252 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25253 + hardcode_shlibpath_var_GCJ=no
25254 + export_dynamic_flag_spec_GCJ='-Bexport'
25258 + if test -d /usr/nec; then
25259 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25260 + hardcode_shlibpath_var_GCJ=no
25261 + runpath_var=LD_RUN_PATH
25262 + hardcode_runpath_var=yes
25263 + ld_shlibs_GCJ=yes
25267 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
25268 + no_undefined_flag_GCJ='${wl}-z,text'
25269 + archive_cmds_need_lc_GCJ=no
25270 + hardcode_shlibpath_var_GCJ=no
25271 + runpath_var='LD_RUN_PATH'
25273 + if test "$GCC" = yes; then
25274 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25275 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25277 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25278 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25282 + sysv5* | sco3.2v5* | sco5v6*)
25283 + # Note: We can NOT use -z defs as we might desire, because we do not
25284 + # link with -lc, and that would cause any symbols used from libc to
25285 + # always be unresolved, which means just about no library would
25286 + # ever link correctly. If we're not using GNU ld we use -z text
25287 + # though, which does catch some bad symbols but isn't as heavy-handed
25289 + no_undefined_flag_GCJ='${wl}-z,text'
25290 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
25291 + archive_cmds_need_lc_GCJ=no
25292 + hardcode_shlibpath_var_GCJ=no
25293 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25294 + hardcode_libdir_separator_GCJ=':'
25295 + link_all_deplibs_GCJ=yes
25296 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25297 + runpath_var='LD_RUN_PATH'
25299 + if test "$GCC" = yes; then
25300 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25301 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25303 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25304 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25309 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25310 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25311 + hardcode_shlibpath_var_GCJ=no
25320 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25321 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25322 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
25325 +# Do we need to explicitly link libc?
25327 +case "x$archive_cmds_need_lc_GCJ" in
25329 + # Assume -lc should be added
25330 + archive_cmds_need_lc_GCJ=yes
25332 + if test "$enable_shared" = yes && test "$GCC" = yes; then
25333 + case $archive_cmds_GCJ in
25335 + # FIXME: we may have to deal with multi-command sequences.
25338 + # Test whether the compiler implicitly links with -lc since on some
25339 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
25340 + # to ld, don't add -lc before -lgcc.
25341 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25342 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25344 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25346 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25347 + (eval $ac_compile) 2>&5
25349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 + (exit $ac_status); } 2>conftest.err; then
25353 + libobjs=conftest.$ac_objext
25355 + wl=$lt_prog_compiler_wl_GCJ
25356 + pic_flag=$lt_prog_compiler_pic_GCJ
25357 + compiler_flags=-v
25362 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25363 + allow_undefined_flag_GCJ=
25364 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25365 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25367 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 + (exit $ac_status); }
25370 + archive_cmds_need_lc_GCJ=no
25372 + archive_cmds_need_lc_GCJ=yes
25374 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25376 + cat conftest.err 1>&5
25379 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25380 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25387 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25388 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25389 +library_names_spec=
25390 +libname_spec='lib$name'
25394 +postuninstall_cmds=
25398 +shlibpath_overrides_runpath=unknown
25400 +dynamic_linker="$host_os ld.so"
25401 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
25402 +if test "$GCC" = yes; then
25403 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25404 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25405 + # if the path contains ";" then we assume it to be the separator
25406 + # otherwise default to the standard path separator (i.e. ":") - it is
25407 + # assumed that no part of a normal pathname contains ";" but that should
25408 + # okay in the real world where ";" in dirpaths is itself problematic.
25409 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25411 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25414 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25416 +need_lib_prefix=unknown
25417 +hardcode_into_libs=no
25419 +# when you set need_version to no, make sure it does not cause -set_version
25420 +# flags to be left without arguments
25421 +need_version=unknown
25425 + version_type=linux
25426 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25427 + shlibpath_var=LIBPATH
25429 + # AIX 3 has no versioning support, so we append a major version to the name.
25430 + soname_spec='${libname}${release}${shared_ext}$major'
25434 + version_type=linux
25435 + need_lib_prefix=no
25437 + hardcode_into_libs=yes
25438 + if test "$host_cpu" = ia64; then
25439 + # AIX 5 supports IA64
25440 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25441 + shlibpath_var=LD_LIBRARY_PATH
25443 + # With GCC up to 2.95.x, collect2 would create an import file
25444 + # for dependence libraries. The import file would start with
25445 + # the line `#! .'. This would cause the generated library to
25446 + # depend on `.', always an invalid library. This was fixed in
25447 + # development snapshots of GCC prior to 3.0.
25449 + aix4 | aix4.[01] | aix4.[01].*)
25450 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25452 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25455 + can_build_shared=no
25459 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25460 + # soname into executable. Probably we can add versioning support to
25461 + # collect2, so additional links can be useful in future.
25462 + if test "$aix_use_runtimelinking" = yes; then
25463 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25464 + # instead of lib<name>.a to let people know that these are not
25465 + # typical AIX shared libraries.
25466 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25468 + # We preserve .a as extension for shared libraries through AIX4.2
25469 + # and later when we are not doing run time linking.
25470 + library_names_spec='${libname}${release}.a $libname.a'
25471 + soname_spec='${libname}${release}${shared_ext}$major'
25473 + shlibpath_var=LIBPATH
25478 + library_names_spec='$libname.ixlibrary $libname.a'
25479 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
25480 + 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'
25484 + library_names_spec='${libname}${shared_ext}'
25485 + dynamic_linker="$host_os ld.so"
25486 + shlibpath_var=LIBRARY_PATH
25492 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25493 - soname_spec='${libname}${release}.so$major'
25494 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25495 + soname_spec='${libname}${release}${shared_ext}$major'
25496 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25497 shlibpath_var=LD_LIBRARY_PATH
25498 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25499 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25500 - export_dynamic_flag_spec=-rdynamic
25501 # the default ld.so.conf also contains /usr/contrib/lib and
25502 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25503 # libtool to hard-code these into programs
25504 @@ -6487,29 +18034,56 @@
25506 cygwin* | mingw* | pw32*)
25507 version_type=windows
25508 + shrext_cmds=".dll"
25512 case $GCC,$host_os in
25514 + yes,cygwin* | yes,mingw* | yes,pw32*)
25515 library_names_spec='$libname.dll.a'
25516 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25517 - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
25518 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
25519 + postinstall_cmds='base_file=`basename \${file}`~
25520 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25521 dldir=$destdir/`dirname \$dlpath`~
25522 test -d \$dldir || mkdir -p \$dldir~
25523 - $install_prog .libs/$dlname \$dldir/$dlname'
25524 - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
25525 + $install_prog $dir/$dlname \$dldir/$dlname~
25526 + chmod a+x \$dldir/$dlname'
25527 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25528 dlpath=$dir/\$dldll~
25530 + shlibpath_overrides_runpath=yes
25534 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25535 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25536 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25539 + # MinGW DLLs use traditional 'lib' prefix
25540 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25541 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25542 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25543 + # It is most probably a Windows format PATH printed by
25544 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
25545 + # path with ; separators, and with drive letters. We can handle the
25546 + # drive letters (cygwin fileutils understands them), so leave them,
25547 + # especially as we might pass files found there to a mingw objdump,
25548 + # which wouldn't understand a cygwinified path. Ahh.
25549 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25551 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25555 + # pw32 DLLs use 'pw' prefix rather than 'lib'
25556 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25561 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25562 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
25565 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
25569 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
25570 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25573 dynamic_linker='Win32 ld.exe'
25574 @@ -6521,43 +18095,54 @@
25575 dynamic_linker="$host_os dyld"
25576 version_type=darwin
25579 - # FIXME: Relying on posixy $() will cause problems for
25580 - # cross-compilation, but unfortunately the echo tests do not
25581 - # yet detect zsh echo's removal of \ escapes.
25582 - 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)'
25583 - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
25584 - shlibpath_overrides_runpath=yes
25585 - shlibpath_var=DYLD_LIBRARY_PATH
25589 - dynamic_linker=no
25591 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25592 + soname_spec='${libname}${release}${major}$shared_ext'
25593 + shlibpath_overrides_runpath=yes
25594 + shlibpath_var=DYLD_LIBRARY_PATH
25595 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25596 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25597 + if test "$GCC" = yes; then
25598 + 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"`
25600 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25602 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25610 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25611 - soname_spec='${libname}${release}.so$major'
25612 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25613 + soname_spec='${libname}${release}${shared_ext}$major'
25614 shlibpath_var=LD_LIBRARY_PATH
25615 - shlibpath_overrides_runpath=no
25616 - hardcode_into_libs=yes
25617 - dynamic_linker='GNU/FreeBSD ld.so'
25621 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
25623 + dynamic_linker=no
25626 +freebsd* | dragonfly*)
25627 + # DragonFly does not have aout. When/if they implement a new
25628 + # versioning mechanism, adjust this.
25629 + if test -x /usr/bin/objformat; then
25630 + objformat=`/usr/bin/objformat`
25633 + freebsd[123]*) objformat=aout ;;
25634 + *) objformat=elf ;;
25637 version_type=freebsd-$objformat
25638 case $version_type in
25640 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
25641 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25646 - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
25647 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25651 @@ -6566,10 +18151,19 @@
25653 shlibpath_overrides_runpath=yes
25656 + freebsd3.[01]* | freebsdelf3.[01]*)
25657 + shlibpath_overrides_runpath=yes
25658 + hardcode_into_libs=yes
25660 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25661 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25662 shlibpath_overrides_runpath=no
25663 hardcode_into_libs=yes
25665 + freebsd*) # from 4.6 on
25666 + shlibpath_overrides_runpath=yes
25667 + hardcode_into_libs=yes
25672 @@ -6577,8 +18171,8 @@
25676 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
25677 - soname_spec='${libname}${release}.so$major'
25678 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25679 + soname_spec='${libname}${release}${shared_ext}$major'
25680 shlibpath_var=LD_LIBRARY_PATH
25681 hardcode_into_libs=yes
25683 @@ -6586,36 +18180,87 @@
25684 hpux9* | hpux10* | hpux11*)
25685 # Give a soname corresponding to the major version so that dld.sl refuses to
25686 # link against other versions.
25687 - dynamic_linker="$host_os dld.sl"
25691 - shlibpath_var=SHLIB_PATH
25692 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25693 - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
25694 - soname_spec='${libname}${release}.sl$major'
25695 + case $host_cpu in
25697 + shrext_cmds='.so'
25698 + hardcode_into_libs=yes
25699 + dynamic_linker="$host_os dld.so"
25700 + shlibpath_var=LD_LIBRARY_PATH
25701 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25702 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25703 + soname_spec='${libname}${release}${shared_ext}$major'
25704 + if test "X$HPUX_IA64_MODE" = X32; then
25705 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25707 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25709 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25712 + shrext_cmds='.sl'
25713 + hardcode_into_libs=yes
25714 + dynamic_linker="$host_os dld.sl"
25715 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25716 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25718 + soname_spec='${libname}${release}${shared_ext}$major'
25719 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25720 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25723 + shrext_cmds='.sl'
25724 + dynamic_linker="$host_os dld.sl"
25725 + shlibpath_var=SHLIB_PATH
25726 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25727 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25728 + soname_spec='${libname}${release}${shared_ext}$major'
25731 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25732 postinstall_cmds='chmod 555 $lib'
25736 + version_type=linux
25737 + need_lib_prefix=no
25739 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25740 + soname_spec='${libname}${release}${shared_ext}$major'
25741 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25742 + shlibpath_var=LD_LIBRARY_PATH
25743 + shlibpath_overrides_runpath=no
25744 + hardcode_into_libs=yes
25747 irix5* | irix6* | nonstopux*)
25749 nonstopux*) version_type=nonstopux ;;
25750 - *) version_type=irix ;;
25752 + if test "$lt_cv_prog_gnu_ld" = yes; then
25753 + version_type=linux
25755 + version_type=irix
25760 - soname_spec='${libname}${release}.so$major'
25761 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
25762 + soname_spec='${libname}${release}${shared_ext}$major'
25763 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25765 irix5* | nonstopux*)
25766 libsuff= shlibsuff=
25769 case $LD in # libtool.m4 will add one of these switches to LD
25770 - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
25771 - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
25772 - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
25773 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25774 + libsuff= shlibsuff= libmagic=32-bit;;
25775 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25776 + libsuff=32 shlibsuff=N32 libmagic=N32;;
25777 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25778 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
25779 *) libsuff= shlibsuff= libmagic=never-match;;
25782 @@ -6624,20 +18269,21 @@
25783 shlibpath_overrides_runpath=no
25784 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25785 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25786 + hardcode_into_libs=yes
25789 # No shared lib support for Linux oldld, aout, or coff.
25790 -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
25791 +linux*oldld* | linux*aout* | linux*coff*)
25795 # This must be Linux ELF.
25797 +linux* | k*bsd*-gnu)
25801 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25802 - soname_spec='${libname}${release}.so$major'
25803 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25804 + soname_spec='${libname}${release}${shared_ext}$major'
25805 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25806 shlibpath_var=LD_LIBRARY_PATH
25807 shlibpath_overrides_runpath=no
25808 @@ -6646,6 +18292,12 @@
25809 # before this can be enabled.
25810 hardcode_into_libs=yes
25812 + # Append ld.so.conf contents to the search path
25813 + if test -f /etc/ld.so.conf; then
25814 + 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' ' '`
25815 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25818 # We used to test for /lib/ld.so.1 and disable shared libraries on
25819 # powerpc, because MkLinux only supported shared libraries with the
25820 # GNU dynamic linker. Since this was broken with cross compilers,
25821 @@ -6655,17 +18307,29 @@
25822 dynamic_linker='GNU/Linux ld.so'
25826 + version_type=linux
25827 + need_lib_prefix=no
25829 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25830 + soname_spec='${libname}${release}${shared_ext}$major'
25831 + shlibpath_var=LD_LIBRARY_PATH
25832 + shlibpath_overrides_runpath=no
25833 + hardcode_into_libs=yes
25834 + dynamic_linker='NetBSD ld.elf_so'
25841 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25842 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25843 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25844 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25845 dynamic_linker='NetBSD (a.out) ld.so'
25847 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
25848 - soname_spec='${libname}${release}.so$major'
25849 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25850 + soname_spec='${libname}${release}${shared_ext}$major'
25851 dynamic_linker='NetBSD ld.elf_so'
25853 shlibpath_var=LD_LIBRARY_PATH
25854 @@ -6675,65 +18339,73 @@
25858 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25859 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25860 + shlibpath_var=LD_LIBRARY_PATH
25861 + shlibpath_overrides_runpath=yes
25865 + version_type=linux
25866 + need_lib_prefix=no
25868 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25869 + soname_spec='${libname}${release}${shared_ext}$major'
25870 shlibpath_var=LD_LIBRARY_PATH
25871 shlibpath_overrides_runpath=yes
25876 + sys_lib_dlsearch_path_spec="/usr/lib"
25879 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25881 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25882 + *) need_version=no ;;
25884 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25885 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25886 + shlibpath_var=LD_LIBRARY_PATH
25887 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25888 - case "$host_os" in
25889 - openbsd2.[89] | openbsd2.[89].*)
25890 - shlibpath_overrides_runpath=no
25893 - shlibpath_overrides_runpath=yes
25897 + openbsd2.[89] | openbsd2.[89].*)
25898 + shlibpath_overrides_runpath=no
25901 + shlibpath_overrides_runpath=yes
25905 shlibpath_overrides_runpath=yes
25907 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25908 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25909 - shlibpath_var=LD_LIBRARY_PATH
25913 libname_spec='$name'
25914 + shrext_cmds=".dll"
25916 - library_names_spec='$libname.dll $libname.a'
25917 + library_names_spec='$libname${shared_ext} $libname.a'
25918 dynamic_linker='OS/2 ld.exe'
25919 shlibpath_var=LIBPATH
25922 osf3* | osf4* | osf5*)
25926 - soname_spec='${libname}${release}.so$major'
25927 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25929 + soname_spec='${libname}${release}${shared_ext}$major'
25930 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25931 shlibpath_var=LD_LIBRARY_PATH
25932 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25933 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25934 - hardcode_into_libs=yes
25939 - soname_spec='${libname}${release}.so$major'
25940 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25941 - shlibpath_var=LD_LIBRARY_PATH
25948 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25949 - soname_spec='${libname}${release}.so$major'
25950 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25951 + soname_spec='${libname}${release}${shared_ext}$major'
25952 shlibpath_var=LD_LIBRARY_PATH
25953 shlibpath_overrides_runpath=yes
25954 hardcode_into_libs=yes
25955 @@ -6743,7 +18415,7 @@
25959 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25960 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25961 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25962 shlibpath_var=LD_LIBRARY_PATH
25963 shlibpath_overrides_runpath=yes
25964 @@ -6753,10 +18425,10 @@
25968 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25971 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25972 - soname_spec='${libname}${release}.so$major'
25973 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25974 + soname_spec='${libname}${release}${shared_ext}$major'
25975 shlibpath_var=LD_LIBRARY_PATH
25976 case $host_vendor in
25978 @@ -6777,77 +18449,87 @@
25983 - version_type=linux
25984 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25985 - soname_spec='${libname}${release}.so$major'
25986 - shlibpath_var=LD_LIBRARY_PATH
25988 + if test -d /usr/nec ;then
25989 + version_type=linux
25990 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25991 + soname_spec='$libname${shared_ext}.$major'
25992 + shlibpath_var=LD_LIBRARY_PATH
25997 - version_type=linux
25998 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25999 + version_type=freebsd-elf
26002 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
26003 - soname_spec='${libname}${release}.so$major'
26004 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26005 + soname_spec='${libname}${release}${shared_ext}$major'
26006 shlibpath_var=LD_LIBRARY_PATH
26007 + hardcode_into_libs=yes
26008 + if test "$with_gnu_ld" = yes; then
26009 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26010 + shlibpath_overrides_runpath=no
26012 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26013 + shlibpath_overrides_runpath=yes
26016 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26020 + sys_lib_dlsearch_path_spec='/usr/lib'
26024 - if test -d /usr/nec ;then
26025 - version_type=linux
26026 - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
26027 - soname_spec='$libname.so.$major'
26028 - shlibpath_var=LD_LIBRARY_PATH
26031 + version_type=linux
26032 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26033 + soname_spec='${libname}${release}${shared_ext}$major'
26034 + shlibpath_var=LD_LIBRARY_PATH
26041 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26042 -echo "${ECHO_T}$dynamic_linker" >&6
26043 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26044 +echo "${ECHO_T}$dynamic_linker" >&6; }
26045 test "$dynamic_linker" = no && can_build_shared=no
26047 -# Report the final consequences.
26048 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
26049 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
26050 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
26051 -echo "${ECHO_T}$can_build_shared" >&6
26053 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
26054 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
26055 -test "$can_build_shared" = "no" && enable_shared=no
26056 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26057 +if test "$GCC" = yes; then
26058 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26061 -# On AIX, shared libraries and static libraries use the same namespace, and
26062 -# are all built from PIC.
26063 -case "$host_os" in
26065 - test "$enable_shared" = yes && enable_static=no
26066 - if test -n "$RANLIB"; then
26067 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
26068 - postinstall_cmds='$RANLIB $lib'
26071 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26072 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26073 +hardcode_action_GCJ=
26074 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26075 + test -n "$runpath_var_GCJ" || \
26076 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26079 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
26080 - test "$enable_shared" = yes && enable_static=no
26081 + # We can hardcode non-existant directories.
26082 + if test "$hardcode_direct_GCJ" != no &&
26083 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
26084 + # have to relink, otherwise we might link with an installed library
26085 + # when we should be linking with a yet-to-be-installed one
26086 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26087 + test "$hardcode_minus_L_GCJ" != no; then
26088 + # Linking always hardcodes the temporary library directory.
26089 + hardcode_action_GCJ=relink
26091 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
26092 + hardcode_action_GCJ=immediate
26096 -echo "$as_me:$LINENO: result: $enable_shared" >&5
26097 -echo "${ECHO_T}$enable_shared" >&6
26099 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
26100 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
26101 -# Make sure either enable_shared or enable_static is yes.
26102 -test "$enable_shared" = yes || enable_static=yes
26103 -echo "$as_me:$LINENO: result: $enable_static" >&5
26104 -echo "${ECHO_T}$enable_static" >&6
26106 + # We cannot hardcode anything, or else we can only hardcode existing
26108 + hardcode_action_GCJ=unsupported
26110 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26111 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26113 -if test "$hardcode_action" = relink; then
26114 +if test "$hardcode_action_GCJ" = relink; then
26115 # Fast installation is not supported
26116 enable_fast_install=no
26117 elif test "$shlibpath_overrides_runpath" = yes ||
26118 @@ -6856,832 +18538,558 @@
26119 enable_fast_install=needless
26122 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26123 -if test "$GCC" = yes; then
26124 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26127 -if test "x$enable_dlopen" != xyes; then
26128 - enable_dlopen=unknown
26129 - enable_dlopen_self=unknown
26130 - enable_dlopen_self_static=unknown
26133 - lt_cv_dlopen_libs=
26134 +# The else clause should only fire when bootstrapping the
26135 +# libtool distribution, otherwise you forgot to ship ltmain.sh
26136 +# with your package, and you will get complaints that there are
26137 +# no rules to generate ltmain.sh.
26138 +if test -f "$ltmain"; then
26139 + # See if we are running on zsh, and set the options which allow our commands through
26140 + # without removal of \ escapes.
26141 + if test -n "${ZSH_VERSION+set}" ; then
26142 + setopt NO_GLOB_SUBST
26144 + # Now quote all the things that may contain metacharacters while being
26145 + # careful not to overquote the AC_SUBSTed values. We take copies of the
26146 + # variables and quote the copies for generation of the libtool script.
26147 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26148 + SED SHELL STRIP \
26149 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26150 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26151 + deplibs_check_method reload_flag reload_cmds need_locks \
26152 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26153 + lt_cv_sys_global_symbol_to_c_name_address \
26154 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26155 + old_postinstall_cmds old_postuninstall_cmds \
26159 + lt_prog_compiler_wl_GCJ \
26160 + lt_prog_compiler_pic_GCJ \
26161 + lt_prog_compiler_static_GCJ \
26162 + lt_prog_compiler_no_builtin_flag_GCJ \
26163 + export_dynamic_flag_spec_GCJ \
26164 + thread_safe_flag_spec_GCJ \
26165 + whole_archive_flag_spec_GCJ \
26166 + enable_shared_with_static_runtimes_GCJ \
26167 + old_archive_cmds_GCJ \
26168 + old_archive_from_new_cmds_GCJ \
26169 + predep_objects_GCJ \
26170 + postdep_objects_GCJ \
26173 + compiler_lib_search_path_GCJ \
26174 + archive_cmds_GCJ \
26175 + archive_expsym_cmds_GCJ \
26176 + postinstall_cmds_GCJ \
26177 + postuninstall_cmds_GCJ \
26178 + old_archive_from_expsyms_cmds_GCJ \
26179 + allow_undefined_flag_GCJ \
26180 + no_undefined_flag_GCJ \
26181 + export_symbols_cmds_GCJ \
26182 + hardcode_libdir_flag_spec_GCJ \
26183 + hardcode_libdir_flag_spec_ld_GCJ \
26184 + hardcode_libdir_separator_GCJ \
26185 + hardcode_automatic_GCJ \
26186 + module_cmds_GCJ \
26187 + module_expsym_cmds_GCJ \
26188 + lt_cv_prog_compiler_c_o_GCJ \
26189 + exclude_expsyms_GCJ \
26190 + include_expsyms_GCJ; do
26193 + old_archive_cmds_GCJ | \
26194 + old_archive_from_new_cmds_GCJ | \
26195 + archive_cmds_GCJ | \
26196 + archive_expsym_cmds_GCJ | \
26197 + module_cmds_GCJ | \
26198 + module_expsym_cmds_GCJ | \
26199 + old_archive_from_expsyms_cmds_GCJ | \
26200 + export_symbols_cmds_GCJ | \
26201 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
26202 + postinstall_cmds | postuninstall_cmds | \
26203 + old_postinstall_cmds | old_postuninstall_cmds | \
26204 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26205 + # Double-quote double-evaled strings.
26206 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26209 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26215 + *'\$0 --fallback-echo"')
26216 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26222 + cat <<__EOF__ >> "$cfgfile"
26223 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26225 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26227 +# Shell to use when invoking shell scripts.
26230 +# Whether or not to build shared libraries.
26231 +build_libtool_libs=$enable_shared
26233 +# Whether or not to build static libraries.
26234 +build_old_libs=$enable_static
26236 +# Whether or not to add -lc for building shared libraries.
26237 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26239 +# Whether or not to disallow shared libs when runtime libs are static
26240 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26242 +# Whether or not to optimize for fast installation.
26243 +fast_install=$enable_fast_install
26245 +# The host system.
26246 +host_alias=$host_alias
26250 +# The build system.
26251 +build_alias=$build_alias
26253 +build_os=$build_os
26255 +# An echo program that does not interpret backslashes.
26260 +AR_FLAGS=$lt_AR_FLAGS
26265 +# LTCC compiler flags.
26266 +LTCFLAGS=$lt_LTCFLAGS
26268 +# A language-specific compiler.
26269 +CC=$lt_compiler_GCJ
26271 +# Is the compiler the GNU C compiler?
26277 +# The linker used to build libraries.
26280 +# Whether we need hard or soft links.
26283 +# A BSD-compatible nm program.
26286 +# A symbol stripping program
26289 +# Used to examine libraries when file_magic_cmd begins "file"
26290 +MAGIC_CMD=$MAGIC_CMD
26292 +# Used on cygwin: DLL creation program.
26293 +DLLTOOL="$DLLTOOL"
26295 +# Used on cygwin: object dumper.
26296 +OBJDUMP="$OBJDUMP"
26298 +# Used on cygwin: assembler.
26301 +# The name of the directory that contains temporary libtool files.
26304 +# How to create reloadable object files.
26305 +reload_flag=$lt_reload_flag
26306 +reload_cmds=$lt_reload_cmds
26308 +# How to pass a linker flag through the compiler.
26309 +wl=$lt_lt_prog_compiler_wl_GCJ
26311 +# Object file suffix (normally "o").
26312 +objext="$ac_objext"
26314 +# Old archive suffix (normally "a").
26317 +# Shared library suffix (normally ".so").
26318 +shrext_cmds='$shrext_cmds'
26322 - lt_cv_dlopen="load_add_on"
26323 - lt_cv_dlopen_libs=
26324 - lt_cv_dlopen_self=yes
26326 +# Executable file suffix (normally "").
26329 - cygwin* | mingw* | pw32*)
26330 - lt_cv_dlopen="LoadLibrary"
26331 - lt_cv_dlopen_libs=
26333 +# Additional compiler flags for building library objects.
26334 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
26335 +pic_mode=$pic_mode
26338 - echo "$as_me:$LINENO: checking for shl_load" >&5
26339 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
26340 -if test "${ac_cv_func_shl_load+set}" = set; then
26341 - echo $ECHO_N "(cached) $ECHO_C" >&6
26343 - cat >conftest.$ac_ext <<_ACEOF
26346 -cat confdefs.h >>conftest.$ac_ext
26347 -cat >>conftest.$ac_ext <<_ACEOF
26348 -/* end confdefs.h. */
26349 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
26350 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26351 -#define shl_load innocuous_shl_load
26352 +# What is the maximum length of a command?
26353 +max_cmd_len=$lt_cv_sys_max_cmd_len
26355 -/* System header to define __stub macros and hopefully few prototypes,
26356 - which can conflict with char shl_load (); below.
26357 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26358 - <limits.h> exists even on freestanding compilers. */
26359 +# Does compiler simultaneously support -c and -o options?
26360 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26363 -# include <limits.h>
26365 -# include <assert.h>
26367 +# Must we lock files when doing compilation?
26368 +need_locks=$lt_need_locks
26371 +# Do we need the lib prefix for modules?
26372 +need_lib_prefix=$need_lib_prefix
26374 -/* Override any gcc2 internal prototype to avoid an error. */
26375 -#ifdef __cplusplus
26379 -/* We use char because int might match the return type of a gcc2
26380 - builtin and then its argument prototype would still apply. */
26382 -/* The GNU C library defines this for functions which it implements
26383 - to always fail with ENOSYS. Some functions are actually named
26384 - something starting with __ and the normal name is an alias. */
26385 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
26388 -char (*f) () = shl_load;
26390 -#ifdef __cplusplus
26393 +# Do we need a version for libraries?
26394 +need_version=$need_version
26399 -return f != shl_load;
26404 -rm -f conftest.$ac_objext conftest$ac_exeext
26405 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26406 - (eval $ac_link) 2>conftest.er1
26408 - grep -v '^ *+' conftest.er1 >conftest.err
26409 - rm -f conftest.er1
26410 - cat conftest.err >&5
26411 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 - (exit $ac_status); } &&
26413 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26415 - (eval $ac_try) 2>&5
26417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 - (exit $ac_status); }; } &&
26419 - { ac_try='test -s conftest$ac_exeext'
26420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 - (eval $ac_try) 2>&5
26423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 - (exit $ac_status); }; }; then
26425 - ac_cv_func_shl_load=yes
26427 - echo "$as_me: failed program was:" >&5
26428 -sed 's/^/| /' conftest.$ac_ext >&5
26429 +# Whether dlopen is supported.
26430 +dlopen_support=$enable_dlopen
26432 -ac_cv_func_shl_load=no
26434 -rm -f conftest.err conftest.$ac_objext \
26435 - conftest$ac_exeext conftest.$ac_ext
26437 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
26438 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
26439 -if test $ac_cv_func_shl_load = yes; then
26440 - lt_cv_dlopen="shl_load"
26442 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
26443 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
26444 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
26445 - echo $ECHO_N "(cached) $ECHO_C" >&6
26447 - ac_check_lib_save_LIBS=$LIBS
26448 -LIBS="-ldld $LIBS"
26449 -cat >conftest.$ac_ext <<_ACEOF
26452 -cat confdefs.h >>conftest.$ac_ext
26453 -cat >>conftest.$ac_ext <<_ACEOF
26454 -/* end confdefs.h. */
26455 +# Whether dlopen of programs is supported.
26456 +dlopen_self=$enable_dlopen_self
26458 -/* Override any gcc2 internal prototype to avoid an error. */
26459 -#ifdef __cplusplus
26462 -/* We use char because int might match the return type of a gcc2
26463 - builtin and then its argument prototype would still apply. */
26473 -rm -f conftest.$ac_objext conftest$ac_exeext
26474 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 - (eval $ac_link) 2>conftest.er1
26477 - grep -v '^ *+' conftest.er1 >conftest.err
26478 - rm -f conftest.er1
26479 - cat conftest.err >&5
26480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 - (exit $ac_status); } &&
26482 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 - (eval $ac_try) 2>&5
26486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 - (exit $ac_status); }; } &&
26488 - { ac_try='test -s conftest$ac_exeext'
26489 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 - (eval $ac_try) 2>&5
26492 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 - (exit $ac_status); }; }; then
26494 - ac_cv_lib_dld_shl_load=yes
26496 - echo "$as_me: failed program was:" >&5
26497 -sed 's/^/| /' conftest.$ac_ext >&5
26498 +# Whether dlopen of statically linked programs is supported.
26499 +dlopen_self_static=$enable_dlopen_self_static
26501 -ac_cv_lib_dld_shl_load=no
26503 -rm -f conftest.err conftest.$ac_objext \
26504 - conftest$ac_exeext conftest.$ac_ext
26505 -LIBS=$ac_check_lib_save_LIBS
26507 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
26508 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
26509 -if test $ac_cv_lib_dld_shl_load = yes; then
26510 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
26512 - echo "$as_me:$LINENO: checking for dlopen" >&5
26513 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
26514 -if test "${ac_cv_func_dlopen+set}" = set; then
26515 - echo $ECHO_N "(cached) $ECHO_C" >&6
26517 - cat >conftest.$ac_ext <<_ACEOF
26520 -cat confdefs.h >>conftest.$ac_ext
26521 -cat >>conftest.$ac_ext <<_ACEOF
26522 -/* end confdefs.h. */
26523 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
26524 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26525 -#define dlopen innocuous_dlopen
26526 +# Compiler flag to prevent dynamic linking.
26527 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
26529 -/* System header to define __stub macros and hopefully few prototypes,
26530 - which can conflict with char dlopen (); below.
26531 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26532 - <limits.h> exists even on freestanding compilers. */
26533 +# Compiler flag to turn off builtin functions.
26534 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26537 -# include <limits.h>
26539 -# include <assert.h>
26541 +# Compiler flag to allow reflexive dlopens.
26542 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26545 +# Compiler flag to generate shared objects directly from archives.
26546 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26548 -/* Override any gcc2 internal prototype to avoid an error. */
26549 -#ifdef __cplusplus
26553 -/* We use char because int might match the return type of a gcc2
26554 - builtin and then its argument prototype would still apply. */
26556 -/* The GNU C library defines this for functions which it implements
26557 - to always fail with ENOSYS. Some functions are actually named
26558 - something starting with __ and the normal name is an alias. */
26559 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
26562 -char (*f) () = dlopen;
26564 -#ifdef __cplusplus
26567 +# Compiler flag to generate thread-safe objects.
26568 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26573 -return f != dlopen;
26578 -rm -f conftest.$ac_objext conftest$ac_exeext
26579 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26580 - (eval $ac_link) 2>conftest.er1
26582 - grep -v '^ *+' conftest.er1 >conftest.err
26583 - rm -f conftest.er1
26584 - cat conftest.err >&5
26585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 - (exit $ac_status); } &&
26587 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26588 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 - (eval $ac_try) 2>&5
26591 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 - (exit $ac_status); }; } &&
26593 - { ac_try='test -s conftest$ac_exeext'
26594 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 - (eval $ac_try) 2>&5
26597 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 - (exit $ac_status); }; }; then
26599 - ac_cv_func_dlopen=yes
26601 - echo "$as_me: failed program was:" >&5
26602 -sed 's/^/| /' conftest.$ac_ext >&5
26603 +# Library versioning type.
26604 +version_type=$version_type
26606 -ac_cv_func_dlopen=no
26608 -rm -f conftest.err conftest.$ac_objext \
26609 - conftest$ac_exeext conftest.$ac_ext
26611 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
26612 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
26613 -if test $ac_cv_func_dlopen = yes; then
26614 - lt_cv_dlopen="dlopen"
26616 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26617 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26618 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26619 - echo $ECHO_N "(cached) $ECHO_C" >&6
26621 - ac_check_lib_save_LIBS=$LIBS
26623 -cat >conftest.$ac_ext <<_ACEOF
26626 -cat confdefs.h >>conftest.$ac_ext
26627 -cat >>conftest.$ac_ext <<_ACEOF
26628 -/* end confdefs.h. */
26629 +# Format of library name prefix.
26630 +libname_spec=$lt_libname_spec
26632 -/* Override any gcc2 internal prototype to avoid an error. */
26633 -#ifdef __cplusplus
26636 -/* We use char because int might match the return type of a gcc2
26637 - builtin and then its argument prototype would still apply. */
26647 -rm -f conftest.$ac_objext conftest$ac_exeext
26648 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 - (eval $ac_link) 2>conftest.er1
26651 - grep -v '^ *+' conftest.er1 >conftest.err
26652 - rm -f conftest.er1
26653 - cat conftest.err >&5
26654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 - (exit $ac_status); } &&
26656 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26657 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 - (eval $ac_try) 2>&5
26660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 - (exit $ac_status); }; } &&
26662 - { ac_try='test -s conftest$ac_exeext'
26663 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664 - (eval $ac_try) 2>&5
26666 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 - (exit $ac_status); }; }; then
26668 - ac_cv_lib_dl_dlopen=yes
26670 - echo "$as_me: failed program was:" >&5
26671 -sed 's/^/| /' conftest.$ac_ext >&5
26672 +# List of archive names. First name is the real one, the rest are links.
26673 +# The last name is the one that the linker finds with -lNAME.
26674 +library_names_spec=$lt_library_names_spec
26676 +# The coded name of the library, if different from the real name.
26677 +soname_spec=$lt_soname_spec
26679 +# Commands used to build and install an old-style archive.
26681 +old_archive_cmds=$lt_old_archive_cmds_GCJ
26682 +old_postinstall_cmds=$lt_old_postinstall_cmds
26683 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
26685 -ac_cv_lib_dl_dlopen=no
26687 -rm -f conftest.err conftest.$ac_objext \
26688 - conftest$ac_exeext conftest.$ac_ext
26689 -LIBS=$ac_check_lib_save_LIBS
26691 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26692 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26693 -if test $ac_cv_lib_dl_dlopen = yes; then
26694 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
26696 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
26697 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
26698 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
26699 - echo $ECHO_N "(cached) $ECHO_C" >&6
26701 - ac_check_lib_save_LIBS=$LIBS
26702 -LIBS="-lsvld $LIBS"
26703 -cat >conftest.$ac_ext <<_ACEOF
26706 -cat confdefs.h >>conftest.$ac_ext
26707 -cat >>conftest.$ac_ext <<_ACEOF
26708 -/* end confdefs.h. */
26709 +# Create an old-style archive from a shared archive.
26710 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26712 -/* Override any gcc2 internal prototype to avoid an error. */
26713 -#ifdef __cplusplus
26716 -/* We use char because int might match the return type of a gcc2
26717 - builtin and then its argument prototype would still apply. */
26727 -rm -f conftest.$ac_objext conftest$ac_exeext
26728 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 - (eval $ac_link) 2>conftest.er1
26731 - grep -v '^ *+' conftest.er1 >conftest.err
26732 - rm -f conftest.er1
26733 - cat conftest.err >&5
26734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 - (exit $ac_status); } &&
26736 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26737 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 - (eval $ac_try) 2>&5
26740 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 - (exit $ac_status); }; } &&
26742 - { ac_try='test -s conftest$ac_exeext'
26743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 - (eval $ac_try) 2>&5
26746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 - (exit $ac_status); }; }; then
26748 - ac_cv_lib_svld_dlopen=yes
26750 - echo "$as_me: failed program was:" >&5
26751 -sed 's/^/| /' conftest.$ac_ext >&5
26752 +# Create a temporary old-style archive to link instead of a shared archive.
26753 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26755 -ac_cv_lib_svld_dlopen=no
26757 -rm -f conftest.err conftest.$ac_objext \
26758 - conftest$ac_exeext conftest.$ac_ext
26759 -LIBS=$ac_check_lib_save_LIBS
26761 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
26762 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
26763 -if test $ac_cv_lib_svld_dlopen = yes; then
26764 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
26766 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
26767 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
26768 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
26769 - echo $ECHO_N "(cached) $ECHO_C" >&6
26771 - ac_check_lib_save_LIBS=$LIBS
26772 -LIBS="-ldld $LIBS"
26773 -cat >conftest.$ac_ext <<_ACEOF
26776 -cat confdefs.h >>conftest.$ac_ext
26777 -cat >>conftest.$ac_ext <<_ACEOF
26778 -/* end confdefs.h. */
26779 +# Commands used to build and install a shared archive.
26780 +archive_cmds=$lt_archive_cmds_GCJ
26781 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26782 +postinstall_cmds=$lt_postinstall_cmds
26783 +postuninstall_cmds=$lt_postuninstall_cmds
26785 -/* Override any gcc2 internal prototype to avoid an error. */
26786 -#ifdef __cplusplus
26789 -/* We use char because int might match the return type of a gcc2
26790 - builtin and then its argument prototype would still apply. */
26800 -rm -f conftest.$ac_objext conftest$ac_exeext
26801 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26802 - (eval $ac_link) 2>conftest.er1
26804 - grep -v '^ *+' conftest.er1 >conftest.err
26805 - rm -f conftest.er1
26806 - cat conftest.err >&5
26807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 - (exit $ac_status); } &&
26809 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26810 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 - (eval $ac_try) 2>&5
26813 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 - (exit $ac_status); }; } &&
26815 - { ac_try='test -s conftest$ac_exeext'
26816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817 - (eval $ac_try) 2>&5
26819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 - (exit $ac_status); }; }; then
26821 - ac_cv_lib_dld_dld_link=yes
26823 - echo "$as_me: failed program was:" >&5
26824 -sed 's/^/| /' conftest.$ac_ext >&5
26825 +# Commands used to build a loadable module (assumed same as above if empty)
26826 +module_cmds=$lt_module_cmds_GCJ
26827 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26829 -ac_cv_lib_dld_dld_link=no
26831 -rm -f conftest.err conftest.$ac_objext \
26832 - conftest$ac_exeext conftest.$ac_ext
26833 -LIBS=$ac_check_lib_save_LIBS
26835 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
26836 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
26837 -if test $ac_cv_lib_dld_dld_link = yes; then
26838 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
26840 +# Commands to strip libraries.
26841 +old_striplib=$lt_old_striplib
26842 +striplib=$lt_striplib
26844 +# Dependencies to place before the objects being linked to create a
26846 +predep_objects=$lt_predep_objects_GCJ
26848 +# Dependencies to place after the objects being linked to create a
26850 +postdep_objects=$lt_postdep_objects_GCJ
26852 +# Dependencies to place before the objects being linked to create a
26854 +predeps=$lt_predeps_GCJ
26856 +# Dependencies to place after the objects being linked to create a
26858 +postdeps=$lt_postdeps_GCJ
26860 +# The library search path used internally by the compiler when linking
26861 +# a shared library.
26862 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26865 +# Method to check whether dependent libraries are shared objects.
26866 +deplibs_check_method=$lt_deplibs_check_method
26868 +# Command to use when deplibs_check_method == file_magic.
26869 +file_magic_cmd=$lt_file_magic_cmd
26872 +# Flag that allows shared libraries with undefined symbols to be built.
26873 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26875 +# Flag that forces no undefined symbols.
26876 +no_undefined_flag=$lt_no_undefined_flag_GCJ
26879 +# Commands used to finish a libtool library installation in a directory.
26880 +finish_cmds=$lt_finish_cmds
26882 +# Same as above, but a single script fragment to be evaled but not shown.
26883 +finish_eval=$lt_finish_eval
26886 +# Take the output of nm and produce a listing of raw symbols and C names.
26887 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26889 +# Transform the output of nm in a proper C declaration
26890 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26893 +# Transform the output of nm in a C name address pair
26894 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26898 +# This is the shared library runtime path variable.
26899 +runpath_var=$runpath_var
26901 - if test "x$lt_cv_dlopen" != xno; then
26902 - enable_dlopen=yes
26906 +# This is the shared library path variable.
26907 +shlibpath_var=$shlibpath_var
26909 - case $lt_cv_dlopen in
26911 - save_CPPFLAGS="$CPPFLAGS"
26912 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
26913 +# Is shlibpath searched before the hard-coded library search path?
26914 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26916 - save_LDFLAGS="$LDFLAGS"
26917 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
26918 +# How to hardcode a shared library path into an executable.
26919 +hardcode_action=$hardcode_action_GCJ
26921 - save_LIBS="$LIBS"
26922 - LIBS="$lt_cv_dlopen_libs $LIBS"
26923 +# Whether we should hardcode library paths into libraries.
26924 +hardcode_into_libs=$hardcode_into_libs
26926 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
26927 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
26928 -if test "${lt_cv_dlopen_self+set}" = set; then
26929 - echo $ECHO_N "(cached) $ECHO_C" >&6
26931 - if test "$cross_compiling" = yes; then :
26932 - lt_cv_dlopen_self=cross
26934 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
26935 - lt_status=$lt_dlunknown
26936 - cat > conftest.$ac_ext <<EOF
26937 -#line 7380 "configure"
26938 -#include "confdefs.h"
26939 +# Flag to hardcode \$libdir into a binary during linking.
26940 +# This must work even if \$libdir does not exist.
26941 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26944 -#include <dlfcn.h>
26946 +# If ld is used when linking, flag to hardcode \$libdir into
26947 +# a binary during linking. This must work even if \$libdir does
26949 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26951 -#include <stdio.h>
26952 +# Whether we need a single -rpath flag with a separated argument.
26953 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26955 -#ifdef RTLD_GLOBAL
26956 -# define LT_DLGLOBAL RTLD_GLOBAL
26959 -# define LT_DLGLOBAL DL_GLOBAL
26961 -# define LT_DLGLOBAL 0
26964 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26965 +# resulting binary.
26966 +hardcode_direct=$hardcode_direct_GCJ
26968 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
26969 - find out it does not work in some platform. */
26970 -#ifndef LT_DLLAZY_OR_NOW
26972 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
26975 -# define LT_DLLAZY_OR_NOW DL_LAZY
26978 -# define LT_DLLAZY_OR_NOW RTLD_NOW
26981 -# define LT_DLLAZY_OR_NOW DL_NOW
26983 -# define LT_DLLAZY_OR_NOW 0
26989 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26990 +# resulting binary.
26991 +hardcode_minus_L=$hardcode_minus_L_GCJ
26993 -#ifdef __cplusplus
26994 -extern "C" void exit (int);
26996 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26997 +# the resulting binary.
26998 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27000 -void fnord() { int i=42;}
27003 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27004 - int status = $lt_dlunknown;
27005 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27006 +# and all subsequent libraries and executables linked against it.
27007 +hardcode_automatic=$hardcode_automatic_GCJ
27011 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27012 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27013 - /* dlclose (self); */
27015 +# Variables whose values should be saved in libtool wrapper scripts and
27016 +# restored at relink time.
27017 +variables_saved_for_relink="$variables_saved_for_relink"
27022 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27023 - (eval $ac_link) 2>&5
27025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27027 - (./conftest; exit; ) 2>/dev/null
27029 - case x$lt_status in
27030 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27031 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27032 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27035 - # compilation failed
27036 - lt_cv_dlopen_self=no
27040 +# Whether libtool must link a program against all its dependency libraries.
27041 +link_all_deplibs=$link_all_deplibs_GCJ
27043 +# Compile-time system search path for libraries
27044 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27046 +# Run-time system search path for libraries
27047 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27049 +# Fix the shell variable \$srcfile for the compiler.
27050 +fix_srcfile_path="$fix_srcfile_path_GCJ"
27052 +# Set to yes if exported symbols are required.
27053 +always_export_symbols=$always_export_symbols_GCJ
27055 +# The commands to list exported symbols.
27056 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27058 +# The commands to extract the exported symbol list from a shared archive.
27059 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27061 +# Symbols that should not be listed in the preloaded symbols.
27062 +exclude_expsyms=$lt_exclude_expsyms_GCJ
27064 +# Symbols that must always be exported.
27065 +include_expsyms=$lt_include_expsyms_GCJ
27067 +# ### END LIBTOOL TAG CONFIG: $tagname
27072 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27073 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27075 - if test "x$lt_cv_dlopen_self" = xyes; then
27076 - LDFLAGS="$LDFLAGS $link_static_flag"
27077 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27078 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27079 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27080 - echo $ECHO_N "(cached) $ECHO_C" >&6
27082 - if test "$cross_compiling" = yes; then :
27083 - lt_cv_dlopen_self_static=cross
27085 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27086 - lt_status=$lt_dlunknown
27087 - cat > conftest.$ac_ext <<EOF
27088 -#line 7478 "configure"
27089 -#include "confdefs.h"
27090 + # If there is no Makefile yet, we rely on a make rule to execute
27091 + # `config.status --recheck' to rerun these tests and create the
27092 + # libtool script then.
27093 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27094 + if test -f "$ltmain_in"; then
27095 + test -f Makefile && make "$ltmain"
27100 -#include <dlfcn.h>
27103 -#include <stdio.h>
27105 +ac_cpp='$CPP $CPPFLAGS'
27106 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27107 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27108 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110 -#ifdef RTLD_GLOBAL
27111 -# define LT_DLGLOBAL RTLD_GLOBAL
27114 -# define LT_DLGLOBAL DL_GLOBAL
27116 -# define LT_DLGLOBAL 0
27121 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27122 - find out it does not work in some platform. */
27123 -#ifndef LT_DLLAZY_OR_NOW
27125 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27128 -# define LT_DLLAZY_OR_NOW DL_LAZY
27131 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27134 -# define LT_DLLAZY_OR_NOW DL_NOW
27136 -# define LT_DLLAZY_OR_NOW 0
27147 -#ifdef __cplusplus
27148 -extern "C" void exit (int);
27152 -void fnord() { int i=42;}
27155 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27156 - int status = $lt_dlunknown;
27160 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27161 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27162 - /* dlclose (self); */
27164 +# Source file extension for RC test sources.
27170 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27171 - (eval $ac_link) 2>&5
27173 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27175 - (./conftest; exit; ) 2>/dev/null
27177 - case x$lt_status in
27178 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27179 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27180 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27183 - # compilation failed
27184 - lt_cv_dlopen_self_static=no
27188 +# Object file extension for compiled RC test sources.
27192 +# Code to be used in simple compile tests
27193 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27196 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27197 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27199 +# Code to be used in simple link tests
27200 +lt_simple_link_test_code="$lt_simple_compile_test_code"
27202 - CPPFLAGS="$save_CPPFLAGS"
27203 - LDFLAGS="$save_LDFLAGS"
27204 - LIBS="$save_LIBS"
27207 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
27209 - case $lt_cv_dlopen_self in
27210 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27211 - *) enable_dlopen_self=unknown ;;
27213 +# If no C compiler was specified, use CC.
27214 +LTCC=${LTCC-"$CC"}
27216 - case $lt_cv_dlopen_self_static in
27217 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27218 - *) enable_dlopen_self_static=unknown ;;
27221 +# If no C compiler flags were specified, use CFLAGS.
27222 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27224 +# Allow CC to be a program name with arguments.
27227 -if test "$enable_shared" = yes && test "$GCC" = yes; then
27228 - case $archive_cmds in
27230 - # FIXME: we may have to deal with multi-command sequences.
27233 - # Test whether the compiler implicitly links with -lc since on some
27234 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
27235 - # to ld, don't add -lc before -lgcc.
27236 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
27237 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
27238 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
27239 - echo $ECHO_N "(cached) $ECHO_C" >&6
27242 - echo 'static int dummy;' > conftest.$ac_ext
27244 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245 - (eval $ac_compile) 2>&5
27247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 - (exit $ac_status); }; then
27251 - libobjs=conftest.$ac_objext
27253 - wl=$lt_cv_prog_cc_wl
27254 - compiler_flags=-v
27259 - save_allow_undefined_flag=$allow_undefined_flag
27260 - allow_undefined_flag=
27261 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
27262 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
27264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 - (exit $ac_status); }
27267 - lt_cv_archive_cmds_need_lc=no
27269 - lt_cv_archive_cmds_need_lc=yes
27271 - allow_undefined_flag=$save_allow_undefined_flag
27273 - cat conftest.err 1>&5
27276 +# save warnings/boilerplate of simple test code
27277 +ac_outfile=conftest.$ac_objext
27278 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
27279 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27280 +_lt_compiler_boilerplate=`cat conftest.err`
27283 +ac_outfile=conftest.$ac_objext
27284 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
27285 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27286 +_lt_linker_boilerplate=`cat conftest.err`
27289 - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
27290 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
27293 +# Allow CC to be a program name with arguments.
27295 +CC=${RC-"windres"}
27298 +for cc_temp in $compiler""; do
27300 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27301 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27306 -need_lc=${lt_cv_archive_cmds_need_lc-yes}
27308 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27310 -# The second clause should only fire when bootstrapping the
27311 +lt_cv_prog_compiler_c_o_RC=yes
27313 +# The else clause should only fire when bootstrapping the
27314 # libtool distribution, otherwise you forgot to ship ltmain.sh
27315 # with your package, and you will get complaints that there are
27316 # no rules to generate ltmain.sh.
27317 if test -f "$ltmain"; then
27320 - # If there is no Makefile yet, we rely on a make rule to execute
27321 - # `config.status --recheck' to rerun these tests and create the
27322 - # libtool script then.
27323 - test -f Makefile && make "$ltmain"
27326 -if test -f "$ltmain"; then
27327 - trap "$rm \"${ofile}T\"; exit 1" 1 2 15
27328 - $rm -f "${ofile}T"
27330 - echo creating $ofile
27332 + # See if we are running on zsh, and set the options which allow our commands through
27333 + # without removal of \ escapes.
27334 + if test -n "${ZSH_VERSION+set}" ; then
27335 + setopt NO_GLOB_SUBST
27337 # Now quote all the things that may contain metacharacters while being
27338 # careful not to overquote the AC_SUBSTed values. We take copies of the
27339 # variables and quote the copies for generation of the libtool script.
27340 - for var in echo old_CC old_CFLAGS SED \
27341 - AR AR_FLAGS CC LD LN_S NM SHELL \
27342 - reload_flag reload_cmds wl \
27343 - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
27344 - thread_safe_flag_spec whole_archive_flag_spec libname_spec \
27345 - library_names_spec soname_spec \
27346 - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
27347 - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
27348 - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
27349 - old_striplib striplib file_magic_cmd export_symbols_cmds \
27350 - deplibs_check_method allow_undefined_flag no_undefined_flag \
27351 - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
27352 - global_symbol_to_c_name_address \
27353 - hardcode_libdir_flag_spec hardcode_libdir_separator \
27354 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27355 + SED SHELL STRIP \
27356 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27357 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27358 + deplibs_check_method reload_flag reload_cmds need_locks \
27359 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
27360 + lt_cv_sys_global_symbol_to_c_name_address \
27361 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
27362 - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
27363 + old_postinstall_cmds old_postuninstall_cmds \
27367 + lt_prog_compiler_wl_RC \
27368 + lt_prog_compiler_pic_RC \
27369 + lt_prog_compiler_static_RC \
27370 + lt_prog_compiler_no_builtin_flag_RC \
27371 + export_dynamic_flag_spec_RC \
27372 + thread_safe_flag_spec_RC \
27373 + whole_archive_flag_spec_RC \
27374 + enable_shared_with_static_runtimes_RC \
27375 + old_archive_cmds_RC \
27376 + old_archive_from_new_cmds_RC \
27377 + predep_objects_RC \
27378 + postdep_objects_RC \
27381 + compiler_lib_search_path_RC \
27382 + archive_cmds_RC \
27383 + archive_expsym_cmds_RC \
27384 + postinstall_cmds_RC \
27385 + postuninstall_cmds_RC \
27386 + old_archive_from_expsyms_cmds_RC \
27387 + allow_undefined_flag_RC \
27388 + no_undefined_flag_RC \
27389 + export_symbols_cmds_RC \
27390 + hardcode_libdir_flag_spec_RC \
27391 + hardcode_libdir_flag_spec_ld_RC \
27392 + hardcode_libdir_separator_RC \
27393 + hardcode_automatic_RC \
27395 + module_expsym_cmds_RC \
27396 + lt_cv_prog_compiler_c_o_RC \
27397 + exclude_expsyms_RC \
27398 + include_expsyms_RC; do
27401 - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
27402 - old_postinstall_cmds | old_postuninstall_cmds | \
27403 - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
27404 - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
27405 + old_archive_cmds_RC | \
27406 + old_archive_from_new_cmds_RC | \
27407 + archive_cmds_RC | \
27408 + archive_expsym_cmds_RC | \
27409 + module_cmds_RC | \
27410 + module_expsym_cmds_RC | \
27411 + old_archive_from_expsyms_cmds_RC | \
27412 + export_symbols_cmds_RC | \
27413 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
27414 postinstall_cmds | postuninstall_cmds | \
27415 - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27416 + old_postinstall_cmds | old_postuninstall_cmds | \
27417 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27418 # Double-quote double-evaled strings.
27419 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
27421 @@ -7691,46 +19099,16 @@
27425 - cat <<__EOF__ > "${ofile}T"
27428 -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27429 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
27430 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
27432 -# Copyright (C) 1996-2000 Free Software Foundation, Inc.
27433 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
27435 -# This program is free software; you can redistribute it and/or modify
27436 -# it under the terms of the GNU General Public License as published by
27437 -# the Free Software Foundation; either version 2 of the License, or
27438 -# (at your option) any later version.
27440 -# This program is distributed in the hope that it will be useful, but
27441 -# WITHOUT ANY WARRANTY; without even the implied warranty of
27442 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27443 -# General Public License for more details.
27445 -# You should have received a copy of the GNU General Public License
27446 -# along with this program; if not, write to the Free Software
27447 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27449 -# As a special exception to the GNU General Public License, if you
27450 -# distribute this file as part of a program that contains a
27451 -# configuration script generated by Autoconf, you may include it under
27452 -# the same distribution terms that you use for the rest of that program.
27454 -# A sed that does not truncate output.
27457 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
27458 -Xsed="${SED} -e s/^X//"
27460 + *'\$0 --fallback-echo"')
27461 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
27465 -# The HP-UX ksh and POSIX shell print the target directory to stdout
27466 -# if CDPATH is set.
27467 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
27470 -# ### BEGIN LIBTOOL CONFIG
27471 + cat <<__EOF__ >> "$cfgfile"
27472 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
27474 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27476 @@ -7744,7 +19122,10 @@
27477 build_old_libs=$enable_static
27479 # Whether or not to add -lc for building shared libraries.
27480 -build_libtool_need_lc=$need_lc
27481 +build_libtool_need_lc=$archive_cmds_need_lc_RC
27483 +# Whether or not to disallow shared libs when runtime libs are static
27484 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
27486 # Whether or not to optimize for fast installation.
27487 fast_install=$enable_fast_install
27488 @@ -7752,6 +19133,12 @@
27490 host_alias=$host_alias
27494 +# The build system.
27495 +build_alias=$build_alias
27497 +build_os=$build_os
27499 # An echo program that does not interpret backslashes.
27501 @@ -7760,14 +19147,23 @@
27503 AR_FLAGS=$lt_AR_FLAGS
27505 -# The default C compiler.
27510 +# LTCC compiler flags.
27511 +LTCFLAGS=$lt_LTCFLAGS
27513 +# A language-specific compiler.
27514 +CC=$lt_compiler_RC
27516 # Is the compiler the GNU C compiler?
27523 # The linker used to build libraries.
27527 # Whether we need hard or soft links.
27529 @@ -7776,7 +19172,7 @@
27532 # A symbol stripping program
27536 # Used to examine libraries when file_magic_cmd begins "file"
27537 MAGIC_CMD=$MAGIC_CMD
27538 @@ -7798,7 +19194,7 @@
27539 reload_cmds=$lt_reload_cmds
27541 # How to pass a linker flag through the compiler.
27543 +wl=$lt_lt_prog_compiler_wl_RC
27545 # Object file suffix (normally "o").
27546 objext="$ac_objext"
27547 @@ -7806,20 +19202,23 @@
27548 # Old archive suffix (normally "a").
27551 +# Shared library suffix (normally ".so").
27552 +shrext_cmds='$shrext_cmds'
27554 # Executable file suffix (normally "").
27557 # Additional compiler flags for building library objects.
27558 -pic_flag=$lt_pic_flag
27559 +pic_flag=$lt_lt_prog_compiler_pic_RC
27562 -# Does compiler simultaneously support -c and -o options?
27563 -compiler_c_o=$lt_compiler_c_o
27564 +# What is the maximum length of a command?
27565 +max_cmd_len=$lt_cv_sys_max_cmd_len
27567 -# Can we write directly to a .lo ?
27568 -compiler_o_lo=$lt_compiler_o_lo
27569 +# Does compiler simultaneously support -c and -o options?
27570 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27572 -# Must we lock files when doing compilation ?
27573 +# Must we lock files when doing compilation?
27574 need_locks=$lt_need_locks
27576 # Do we need the lib prefix for modules?
27577 @@ -7838,19 +19237,19 @@
27578 dlopen_self_static=$enable_dlopen_self_static
27580 # Compiler flag to prevent dynamic linking.
27581 -link_static_flag=$lt_link_static_flag
27582 +link_static_flag=$lt_lt_prog_compiler_static_RC
27584 # Compiler flag to turn off builtin functions.
27585 -no_builtin_flag=$lt_no_builtin_flag
27586 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27588 # Compiler flag to allow reflexive dlopens.
27589 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27590 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27592 # Compiler flag to generate shared objects directly from archives.
27593 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
27594 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27596 # Compiler flag to generate thread-safe objects.
27597 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
27598 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27600 # Library versioning type.
27601 version_type=$version_type
27602 @@ -7867,26 +19266,50 @@
27604 # Commands used to build and install an old-style archive.
27606 -old_archive_cmds=$lt_old_archive_cmds
27607 +old_archive_cmds=$lt_old_archive_cmds_RC
27608 old_postinstall_cmds=$lt_old_postinstall_cmds
27609 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27611 # Create an old-style archive from a shared archive.
27612 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27613 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27615 # Create a temporary old-style archive to link instead of a shared archive.
27616 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27617 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27619 # Commands used to build and install a shared archive.
27620 -archive_cmds=$lt_archive_cmds
27621 -archive_expsym_cmds=$lt_archive_expsym_cmds
27622 +archive_cmds=$lt_archive_cmds_RC
27623 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27624 postinstall_cmds=$lt_postinstall_cmds
27625 postuninstall_cmds=$lt_postuninstall_cmds
27627 +# Commands used to build a loadable module (assumed same as above if empty)
27628 +module_cmds=$lt_module_cmds_RC
27629 +module_expsym_cmds=$lt_module_expsym_cmds_RC
27631 # Commands to strip libraries.
27632 old_striplib=$lt_old_striplib
27633 striplib=$lt_striplib
27635 +# Dependencies to place before the objects being linked to create a
27637 +predep_objects=$lt_predep_objects_RC
27639 +# Dependencies to place after the objects being linked to create a
27641 +postdep_objects=$lt_postdep_objects_RC
27643 +# Dependencies to place before the objects being linked to create a
27645 +predeps=$lt_predeps_RC
27647 +# Dependencies to place after the objects being linked to create a
27649 +postdeps=$lt_postdeps_RC
27651 +# The library search path used internally by the compiler when linking
27652 +# a shared library.
27653 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27655 # Method to check whether dependent libraries are shared objects.
27656 deplibs_check_method=$lt_deplibs_check_method
27658 @@ -7894,10 +19317,10 @@
27659 file_magic_cmd=$lt_file_magic_cmd
27661 # Flag that allows shared libraries with undefined symbols to be built.
27662 -allow_undefined_flag=$lt_allow_undefined_flag
27663 +allow_undefined_flag=$lt_allow_undefined_flag_RC
27665 # Flag that forces no undefined symbols.
27666 -no_undefined_flag=$lt_no_undefined_flag
27667 +no_undefined_flag=$lt_no_undefined_flag_RC
27669 # Commands used to finish a libtool library installation in a directory.
27670 finish_cmds=$lt_finish_cmds
27671 @@ -7906,13 +19329,13 @@
27672 finish_eval=$lt_finish_eval
27674 # Take the output of nm and produce a listing of raw symbols and C names.
27675 -global_symbol_pipe=$lt_global_symbol_pipe
27676 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27678 # Transform the output of nm in a proper C declaration
27679 -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
27680 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27682 # Transform the output of nm in a C name address pair
27683 -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
27684 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27686 # This is the shared library runtime path variable.
27687 runpath_var=$runpath_var
27688 @@ -7924,290 +19347,158 @@
27689 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27691 # How to hardcode a shared library path into an executable.
27692 -hardcode_action=$hardcode_action
27693 +hardcode_action=$hardcode_action_RC
27695 # Whether we should hardcode library paths into libraries.
27696 hardcode_into_libs=$hardcode_into_libs
27698 # Flag to hardcode \$libdir into a binary during linking.
27699 # This must work even if \$libdir does not exist.
27700 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27701 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27703 +# If ld is used when linking, flag to hardcode \$libdir into
27704 +# a binary during linking. This must work even if \$libdir does
27706 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27708 # Whether we need a single -rpath flag with a separated argument.
27709 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
27710 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27712 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
27713 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27714 # resulting binary.
27715 -hardcode_direct=$hardcode_direct
27716 +hardcode_direct=$hardcode_direct_RC
27718 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27719 # resulting binary.
27720 -hardcode_minus_L=$hardcode_minus_L
27721 +hardcode_minus_L=$hardcode_minus_L_RC
27723 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27724 # the resulting binary.
27725 -hardcode_shlibpath_var=$hardcode_shlibpath_var
27726 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27728 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27729 +# and all subsequent libraries and executables linked against it.
27730 +hardcode_automatic=$hardcode_automatic_RC
27732 # Variables whose values should be saved in libtool wrapper scripts and
27733 # restored at relink time.
27734 variables_saved_for_relink="$variables_saved_for_relink"
27736 -# Whether libtool must link a program against all its dependency libraries.
27737 -link_all_deplibs=$link_all_deplibs
27738 +# Whether libtool must link a program against all its dependency libraries.
27739 +link_all_deplibs=$link_all_deplibs_RC
27741 +# Compile-time system search path for libraries
27742 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27744 +# Run-time system search path for libraries
27745 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27747 +# Fix the shell variable \$srcfile for the compiler.
27748 +fix_srcfile_path="$fix_srcfile_path_RC"
27750 +# Set to yes if exported symbols are required.
27751 +always_export_symbols=$always_export_symbols_RC
27753 +# The commands to list exported symbols.
27754 +export_symbols_cmds=$lt_export_symbols_cmds_RC
27756 +# The commands to extract the exported symbol list from a shared archive.
27757 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27759 +# Symbols that should not be listed in the preloaded symbols.
27760 +exclude_expsyms=$lt_exclude_expsyms_RC
27762 +# Symbols that must always be exported.
27763 +include_expsyms=$lt_include_expsyms_RC
27765 +# ### END LIBTOOL TAG CONFIG: $tagname
27771 + # If there is no Makefile yet, we rely on a make rule to execute
27772 + # `config.status --recheck' to rerun these tests and create the
27773 + # libtool script then.
27774 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27775 + if test -f "$ltmain_in"; then
27776 + test -f Makefile && make "$ltmain"
27782 +ac_cpp='$CPP $CPPFLAGS'
27783 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27784 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27785 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27792 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27793 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27794 + { (exit 1); exit 1; }; }
27798 + # Append the new tag name to the list of available tags.
27799 + if test -n "$tagname" ; then
27800 + available_tags="$available_tags $tagname"
27804 + IFS="$lt_save_ifs"
27806 + # Now substitute the updated list of available tags.
27807 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27808 + mv "${ofile}T" "$ofile"
27809 + chmod +x "$ofile"
27811 + rm -f "${ofile}T"
27812 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27813 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27814 + { (exit 1); exit 1; }; }
27818 -# Compile-time system search path for libraries
27819 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27821 -# Run-time system search path for libraries
27822 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27824 -# Fix the shell variable \$srcfile for the compiler.
27825 -fix_srcfile_path="$fix_srcfile_path"
27826 +# This can be used to rebuild libtool when needed
27827 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27829 -# Set to yes if exported symbols are required.
27830 -always_export_symbols=$always_export_symbols
27831 +# Always use our own libtool.
27832 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27834 -# The commands to list exported symbols.
27835 -export_symbols_cmds=$lt_export_symbols_cmds
27836 +# Prevent multiple expansion
27838 -# The commands to extract the exported symbol list from a shared archive.
27839 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
27841 -# Symbols that should not be listed in the preloaded symbols.
27842 -exclude_expsyms=$lt_exclude_expsyms
27844 -# Symbols that must always be exported.
27845 -include_expsyms=$lt_include_expsyms
27847 -# ### END LIBTOOL CONFIG
27853 - cat <<\EOF >> "${ofile}T"
27855 -# AIX sometimes has problems with the GCC collect2 program. For some
27856 -# reason, if we set the COLLECT_NAMES environment variable, the problems
27857 -# vanish in a puff of smoke.
27858 -if test "X${COLLECT_NAMES+set}" != Xset; then
27860 - export COLLECT_NAMES
27867 - cygwin* | mingw* | pw32* | os2*)
27868 - cat <<'EOF' >> "${ofile}T"
27869 - # This is a source program that is used to create dlls on Windows
27870 - # Don't remove nor modify the starting and closing comments
27871 -# /* ltdll.c starts here */
27872 -# #define WIN32_LEAN_AND_MEAN
27873 -# #include <windows.h>
27874 -# #undef WIN32_LEAN_AND_MEAN
27875 -# #include <stdio.h>
27877 -# #ifndef __CYGWIN__
27878 -# # ifdef __CYGWIN32__
27879 -# # define __CYGWIN__ __CYGWIN32__
27883 -# #ifdef __cplusplus
27886 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
27887 -# #ifdef __cplusplus
27891 -# #ifdef __CYGWIN__
27892 -# #include <cygwin/cygwin_dll.h>
27893 -# DECLARE_CYGWIN_DLL( DllMain );
27895 -# HINSTANCE __hDllInstance_base;
27898 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
27900 -# __hDllInstance_base = hInst;
27903 -# /* ltdll.c ends here */
27904 - # This is a source program that is used to create import libraries
27905 - # on Windows for dlls which lack them. Don't remove nor modify the
27906 - # starting and closing comments
27907 -# /* impgen.c starts here */
27908 -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
27910 -# This file is part of GNU libtool.
27912 -# This program is free software; you can redistribute it and/or modify
27913 -# it under the terms of the GNU General Public License as published by
27914 -# the Free Software Foundation; either version 2 of the License, or
27915 -# (at your option) any later version.
27917 -# This program is distributed in the hope that it will be useful,
27918 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
27919 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27920 -# GNU General Public License for more details.
27922 -# You should have received a copy of the GNU General Public License
27923 -# along with this program; if not, write to the Free Software
27924 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27927 -# #include <stdio.h> /* for printf() */
27928 -# #include <unistd.h> /* for open(), lseek(), read() */
27929 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
27930 -# #include <string.h> /* for strdup() */
27932 -# /* O_BINARY isn't required (or even defined sometimes) under Unix */
27933 -# #ifndef O_BINARY
27934 -# #define O_BINARY 0
27937 -# static unsigned int
27938 -# pe_get16 (fd, offset)
27942 -# unsigned char b[2];
27943 -# lseek (fd, offset, SEEK_SET);
27944 -# read (fd, b, 2);
27945 -# return b[0] + (b[1]<<8);
27948 -# static unsigned int
27949 -# pe_get32 (fd, offset)
27953 -# unsigned char b[4];
27954 -# lseek (fd, offset, SEEK_SET);
27955 -# read (fd, b, 4);
27956 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27959 -# static unsigned int
27963 -# unsigned char *b = ptr;
27964 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27968 -# main (argc, argv)
27973 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
27974 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
27975 -# unsigned long name_rvas, nexp;
27976 -# unsigned char *expdata, *erva;
27977 -# char *filename, *dll_name;
27979 -# filename = argv[1];
27981 -# dll = open(filename, O_RDONLY|O_BINARY);
27985 -# dll_name = filename;
27987 -# for (i=0; filename[i]; i++)
27988 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
27989 -# dll_name = filename + i +1;
27991 -# pe_header_offset = pe_get32 (dll, 0x3c);
27992 -# opthdr_ofs = pe_header_offset + 4 + 20;
27993 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
27995 -# if (num_entries < 1) /* no exports */
27998 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
27999 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
28000 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
28001 -# secptr = (pe_header_offset + 4 + 20 +
28002 -# pe_get16 (dll, pe_header_offset + 4 + 16));
28005 -# for (i = 0; i < nsections; i++)
28008 -# unsigned long secptr1 = secptr + 40 * i;
28009 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
28010 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
28011 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
28012 -# lseek(dll, secptr1, SEEK_SET);
28013 -# read(dll, sname, 8);
28014 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
28016 -# expptr = fptr + (export_rva - vaddr);
28017 -# if (export_rva + export_size > vaddr + vsize)
28018 -# export_size = vsize - (export_rva - vaddr);
28023 -# expdata = (unsigned char*)malloc(export_size);
28024 -# lseek (dll, expptr, SEEK_SET);
28025 -# read (dll, expdata, export_size);
28026 -# erva = expdata - export_rva;
28028 -# nexp = pe_as32 (expdata+24);
28029 -# name_rvas = pe_as32 (expdata+32);
28031 -# printf ("EXPORTS\n");
28032 -# for (i = 0; i<nexp; i++)
28034 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
28035 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
28040 -# /* impgen.c ends here */
28046 - # We use sed instead of cat because bash on DJGPP gets confused if
28047 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
28048 - # text mode, it properly converts lines to CR/LF. This bash problem
28049 - # is reportedly fixed, but why not run on old versions too?
28050 - sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
28052 - mv -f "${ofile}T" "$ofile" || \
28053 - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
28054 - chmod +x "$ofile"
28061 -# This can be used to rebuild libtool when needed
28062 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
28064 -# Always use our own libtool.
28065 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28067 -# Prevent multiple expansion
28072 # Extract the first word of "perl", so it can be a program name with args.
28073 set dummy perl; ac_word=$2
28074 -echo "$as_me:$LINENO: checking for $ac_word" >&5
28075 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28076 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
28077 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28078 if test "${ac_cv_path_PERL+set}" = set; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 @@ -8222,42 +19513,43 @@
28083 test -z "$as_dir" && as_dir=.
28084 for ac_exec_ext in '' $ac_executable_extensions; do
28085 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28086 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28087 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
28088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28098 PERL=$ac_cv_path_PERL
28100 if test -n "$PERL"; then
28101 - echo "$as_me:$LINENO: result: $PERL" >&5
28102 -echo "${ECHO_T}$PERL" >&6
28103 + { echo "$as_me:$LINENO: result: $PERL" >&5
28104 +echo "${ECHO_T}$PERL" >&6; }
28106 - echo "$as_me:$LINENO: result: no" >&5
28107 -echo "${ECHO_T}no" >&6
28108 + { echo "$as_me:$LINENO: result: no" >&5
28109 +echo "${ECHO_T}no" >&6; }
28116 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28117 - echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28118 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28119 + { echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28120 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28121 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28122 echo $ECHO_N "(cached) $ECHO_C" >&6
28124 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28125 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28126 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28127 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28129 # Is the header compilable?
28130 -echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28131 -echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
28132 +{ echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28133 +echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6; }
28134 cat >conftest.$ac_ext <<_ACEOF
28137 @@ -8268,40 +19560,37 @@
28138 #include <asm/errno.h>
28140 rm -f conftest.$ac_objext
28141 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28142 - (eval $ac_compile) 2>conftest.er1
28143 +if { (ac_try="$ac_compile"
28144 +case "(($ac_try" in
28145 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28146 + *) ac_try_echo=$ac_try;;
28148 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28149 + (eval "$ac_compile") 2>conftest.er1
28151 grep -v '^ *+' conftest.er1 >conftest.err
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 - (exit $ac_status); } &&
28156 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28157 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 - (eval $ac_try) 2>&5
28160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 - (exit $ac_status); }; } &&
28162 - { ac_try='test -s conftest.$ac_objext'
28163 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 - (eval $ac_try) 2>&5
28166 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 - (exit $ac_status); }; }; then
28168 + (exit $ac_status); } && {
28169 + test -z "$ac_c_werror_flag" ||
28170 + test ! -s conftest.err
28171 + } && test -s conftest.$ac_objext; then
28172 ac_header_compiler=yes
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28177 -ac_header_compiler=no
28178 + ac_header_compiler=no
28180 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28181 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28182 -echo "${ECHO_T}$ac_header_compiler" >&6
28184 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28186 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28188 # Is the header present?
28189 -echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28190 -echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
28191 +{ echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28192 +echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6; }
28193 cat >conftest.$ac_ext <<_ACEOF
28196 @@ -8310,24 +19599,22 @@
28197 /* end confdefs.h. */
28198 #include <asm/errno.h>
28200 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28201 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28202 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28203 +case "(($ac_try" in
28204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28205 + *) ac_try_echo=$ac_try;;
28207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28208 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28210 grep -v '^ *+' conftest.er1 >conftest.err
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 - (exit $ac_status); } >/dev/null; then
28215 - if test -s conftest.err; then
28216 - ac_cpp_err=$ac_c_preproc_warn_flag
28217 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28224 -if test -z "$ac_cpp_err"; then
28225 + (exit $ac_status); } >/dev/null && {
28226 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28227 + test ! -s conftest.err
28229 ac_header_preproc=yes
28231 echo "$as_me: failed program was:" >&5
28232 @@ -8335,9 +19622,10 @@
28234 ac_header_preproc=no
28237 rm -f conftest.err conftest.$ac_ext
28238 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28239 -echo "${ECHO_T}$ac_header_preproc" >&6
28240 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28241 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28243 # So? What about this header?
28244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28245 @@ -8361,25 +19649,18 @@
28246 echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
28247 { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
28248 echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
28251 -## ------------------------------------------ ##
28252 -## Report this to the AC_PACKAGE_NAME lists. ##
28253 -## ------------------------------------------ ##
28256 - sed "s/^/$as_me: WARNING: /" >&2
28260 -echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28261 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28262 +{ echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28263 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28264 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 ac_cv_header_asm_errno_h=$ac_header_preproc
28269 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28270 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28271 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28272 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28275 if test $ac_cv_header_asm_errno_h = yes; then
28276 @@ -8394,17 +19675,17 @@
28279 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28280 - echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28281 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28282 + { echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28283 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28284 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28285 echo $ECHO_N "(cached) $ECHO_C" >&6
28287 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28288 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28289 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28290 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28292 # Is the header compilable?
28293 -echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28294 -echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
28295 +{ echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28296 +echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6; }
28297 cat >conftest.$ac_ext <<_ACEOF
28300 @@ -8415,40 +19696,37 @@
28301 #include <linux/atmsap.h>
28303 rm -f conftest.$ac_objext
28304 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28305 - (eval $ac_compile) 2>conftest.er1
28306 +if { (ac_try="$ac_compile"
28307 +case "(($ac_try" in
28308 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28309 + *) ac_try_echo=$ac_try;;
28311 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28312 + (eval "$ac_compile") 2>conftest.er1
28314 grep -v '^ *+' conftest.er1 >conftest.err
28316 cat conftest.err >&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 - (exit $ac_status); } &&
28319 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28321 - (eval $ac_try) 2>&5
28323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 - (exit $ac_status); }; } &&
28325 - { ac_try='test -s conftest.$ac_objext'
28326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 - (eval $ac_try) 2>&5
28329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 - (exit $ac_status); }; }; then
28331 + (exit $ac_status); } && {
28332 + test -z "$ac_c_werror_flag" ||
28333 + test ! -s conftest.err
28334 + } && test -s conftest.$ac_objext; then
28335 ac_header_compiler=yes
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28340 -ac_header_compiler=no
28341 + ac_header_compiler=no
28343 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28344 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28345 -echo "${ECHO_T}$ac_header_compiler" >&6
28347 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28348 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28349 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28351 # Is the header present?
28352 -echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28353 -echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
28354 +{ echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28355 +echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6; }
28356 cat >conftest.$ac_ext <<_ACEOF
28359 @@ -8457,24 +19735,22 @@
28360 /* end confdefs.h. */
28361 #include <linux/atmsap.h>
28363 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28364 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28365 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28366 +case "(($ac_try" in
28367 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28368 + *) ac_try_echo=$ac_try;;
28370 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28371 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28373 grep -v '^ *+' conftest.er1 >conftest.err
28375 cat conftest.err >&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 - (exit $ac_status); } >/dev/null; then
28378 - if test -s conftest.err; then
28379 - ac_cpp_err=$ac_c_preproc_warn_flag
28380 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28387 -if test -z "$ac_cpp_err"; then
28388 + (exit $ac_status); } >/dev/null && {
28389 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28390 + test ! -s conftest.err
28392 ac_header_preproc=yes
28394 echo "$as_me: failed program was:" >&5
28395 @@ -8482,9 +19758,10 @@
28397 ac_header_preproc=no
28400 rm -f conftest.err conftest.$ac_ext
28401 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28402 -echo "${ECHO_T}$ac_header_preproc" >&6
28403 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28404 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28406 # So? What about this header?
28407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28408 @@ -8508,25 +19785,18 @@
28409 echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
28410 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
28411 echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
28414 -## ------------------------------------------ ##
28415 -## Report this to the AC_PACKAGE_NAME lists. ##
28416 -## ------------------------------------------ ##
28419 - sed "s/^/$as_me: WARNING: /" >&2
28423 -echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28424 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28425 +{ echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28426 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28427 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 ac_cv_header_linux_atmsap_h=$ac_header_preproc
28432 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28433 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28434 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28435 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28438 if test $ac_cv_header_linux_atmsap_h = yes; then
28439 @@ -8541,8 +19811,8 @@
28443 -echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28444 -echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
28445 +{ echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28446 +echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6; }
28447 if test "${ac_cv_lib_resolv_main+set}" = set; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 @@ -8559,45 +19829,43 @@
28460 rm -f conftest.$ac_objext conftest$ac_exeext
28461 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28462 - (eval $ac_link) 2>conftest.er1
28463 +if { (ac_try="$ac_link"
28464 +case "(($ac_try" in
28465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28466 + *) ac_try_echo=$ac_try;;
28468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28469 + (eval "$ac_link") 2>conftest.er1
28471 grep -v '^ *+' conftest.er1 >conftest.err
28473 cat conftest.err >&5
28474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 - (exit $ac_status); } &&
28476 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28477 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 - (eval $ac_try) 2>&5
28480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 - (exit $ac_status); }; } &&
28482 - { ac_try='test -s conftest$ac_exeext'
28483 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28484 - (eval $ac_try) 2>&5
28486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 - (exit $ac_status); }; }; then
28488 + (exit $ac_status); } && {
28489 + test -z "$ac_c_werror_flag" ||
28490 + test ! -s conftest.err
28491 + } && test -s conftest$ac_exeext &&
28492 + $as_test_x conftest$ac_exeext; then
28493 ac_cv_lib_resolv_main=yes
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28498 -ac_cv_lib_resolv_main=no
28499 + ac_cv_lib_resolv_main=no
28501 -rm -f conftest.err conftest.$ac_objext \
28503 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28504 conftest$ac_exeext conftest.$ac_ext
28505 LIBS=$ac_check_lib_save_LIBS
28507 -echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28508 -echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
28509 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28510 +echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6; }
28511 if test $ac_cv_lib_resolv_main = yes; then
28512 cat >>confdefs.h <<_ACEOF
28513 #define HAVE_LIBRESOLV 1
28514 @@ -8633,10 +19901,9 @@
28518 -# Check whether --with-uni or --without-uni was given.
28519 +# Check whether --with-uni was given.
28520 if test "${with_uni+set}" = set; then
28521 - withval="$with_uni"
28523 + withval=$with_uni;
28524 case "$with_uni" in
28525 "3.0" ) cat >>confdefs.h <<\_ACEOF
28527 @@ -8668,12 +19935,12 @@
28534 -# Check whether --enable-allow_uni30 or --disable-allow_uni30 was given.
28535 -if test "${enable_allow_uni30+set}" = set; then
28536 - enableval="$enable_allow_uni30"
28538 +# Check whether --enable-allow_uni30 was given.
28539 +if test "${enable_allow_uni30+set}" = set; then
28540 + enableval=$enable_allow_uni30;
28541 if test "$with_uni" = "3.1" ; then
28542 cat >>confdefs.h <<\_ACEOF
28543 #define ALLOW_UNI30 1
28544 @@ -8685,12 +19952,12 @@
28552 -# Check whether --enable-q2963_1 or --disable-q2963_1 was given.
28553 +# Check whether --enable-q2963_1 was given.
28554 if test "${enable_q2963_1+set}" = set; then
28555 - enableval="$enable_q2963_1"
28557 + enableval=$enable_q2963_1;
28558 if test "$with_uni" = "4.0" ; then
28559 cat >>confdefs.h <<\_ACEOF
28561 @@ -8702,52 +19969,52 @@
28569 -# Check whether --enable-cisco or --disable-cisco was given.
28570 +# Check whether --enable-cisco was given.
28571 if test "${enable_cisco+set}" = set; then
28572 - enableval="$enable_cisco"
28573 - cat >>confdefs.h <<\_ACEOF
28574 + enableval=$enable_cisco; cat >>confdefs.h <<\_ACEOF
28583 -# Check whether --enable-thomflex or --disable-thomflex was given.
28584 +# Check whether --enable-thomflex was given.
28585 if test "${enable_thomflex+set}" = set; then
28586 - enableval="$enable_thomflex"
28587 - cat >>confdefs.h <<\_ACEOF
28588 + enableval=$enable_thomflex; cat >>confdefs.h <<\_ACEOF
28597 cat >>confdefs.h <<\_ACEOF
28598 #define BROKEN_POLL 1
28602 -# Check whether --enable-mpoa_1_1 or --disable-mpoa_1_1 was given.
28603 +# Check whether --enable-mpoa_1_1 was given.
28604 if test "${enable_mpoa_1_1+set}" = set; then
28605 - enableval="$enable_mpoa_1_1"
28606 - cat >>confdefs.h <<\_ACEOF
28607 + enableval=$enable_mpoa_1_1; cat >>confdefs.h <<\_ACEOF
28616 -# Check whether --enable-mpr or --disable-mpr was given.
28617 +# Check whether --enable-mpr was given.
28618 if test "${enable_mpr+set}" = set; then
28619 - enableval="$enable_mpr"
28621 + enableval=$enable_mpr;
28622 case "$enable_mpr" in
28623 "" | y | ye | yes | Y | YE | YES )
28625 -echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28626 -echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6
28627 +{ echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28628 +echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6; }
28629 if test "${ac_cv_lib_mpr_main+set}" = set; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 @@ -8764,45 +20031,43 @@
28642 rm -f conftest.$ac_objext conftest$ac_exeext
28643 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28644 - (eval $ac_link) 2>conftest.er1
28645 +if { (ac_try="$ac_link"
28646 +case "(($ac_try" in
28647 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28648 + *) ac_try_echo=$ac_try;;
28650 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28651 + (eval "$ac_link") 2>conftest.er1
28653 grep -v '^ *+' conftest.er1 >conftest.err
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 - (exit $ac_status); } &&
28658 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28659 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 - (eval $ac_try) 2>&5
28662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 - (exit $ac_status); }; } &&
28664 - { ac_try='test -s conftest$ac_exeext'
28665 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28666 - (eval $ac_try) 2>&5
28668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 - (exit $ac_status); }; }; then
28670 + (exit $ac_status); } && {
28671 + test -z "$ac_c_werror_flag" ||
28672 + test ! -s conftest.err
28673 + } && test -s conftest$ac_exeext &&
28674 + $as_test_x conftest$ac_exeext; then
28675 ac_cv_lib_mpr_main=yes
28677 echo "$as_me: failed program was:" >&5
28678 sed 's/^/| /' conftest.$ac_ext >&5
28680 -ac_cv_lib_mpr_main=no
28681 + ac_cv_lib_mpr_main=no
28683 -rm -f conftest.err conftest.$ac_objext \
28685 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28686 conftest$ac_exeext conftest.$ac_ext
28687 LIBS=$ac_check_lib_save_LIBS
28689 -echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28690 -echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6
28691 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28692 +echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6; }
28693 if test $ac_cv_lib_mpr_main = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define HAVE_LIBMPR 1
28696 @@ -8822,10 +20087,12 @@
28705 +ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28707 - ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28708 cat >confcache <<\_ACEOF
28709 # This file is a shell script that caches the results of configure
28710 # tests run on this system so they can be shared between configure
28711 @@ -8844,39 +20111,58 @@
28713 # The following way of writing the cache mishandles newlines in values,
28714 # but we know of no workaround that is simple, portable, and efficient.
28715 -# So, don't put newlines in cache variables' values.
28716 +# So, we kill variables containing newlines.
28717 # Ultrix sh set writes to stderr and can't be redirected directly,
28718 # and sets the high bit in the cache file unless we assign to the vars.
28721 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28722 + eval ac_val=\$$ac_var
28723 + case $ac_val in #(
28725 + case $ac_var in #(
28726 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28727 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28729 + case $ac_var in #(
28730 + _ | IFS | as_nl) ;; #(
28731 + *) $as_unset $ac_var ;;
28737 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
28739 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
28740 + *${as_nl}ac_space=\ *)
28741 # `set' does not quote correctly, so add quotes (double-quote
28742 # substitution turns \\\\ into \\, and sed turns \\ into \).
28745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28749 # `set' quotes correctly as required by POSIX, so do not add quotes.
28751 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28752 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28760 + /^ac_cv_env_/b end
28764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28766 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28767 - : end' >>confcache
28768 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
28769 - if test -w $cache_file; then
28770 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28771 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28772 + :end' >>confcache
28773 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28774 + if test -w "$cache_file"; then
28775 + test "x$cache_file" != "x/dev/null" &&
28776 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28777 +echo "$as_me: updating cache $cache_file" >&6;}
28778 cat confcache >$cache_file
28780 - echo "not updating unwritable cache $cache_file"
28781 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28782 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28786 @@ -8885,38 +20171,45 @@
28787 # Let make expand exec_prefix.
28788 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28790 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
28791 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28792 -# trailing colons and then remove the whole line if VPATH becomes empty
28793 -# (actually we leave an empty line to preserve line numbers).
28794 -if test "x$srcdir" = x.; then
28795 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
28796 -s/:*\$(srcdir):*/:/;
28797 -s/:*\${srcdir}:*/:/;
28798 -s/:*@srcdir@:*/:/;
28799 -s/^\([^=]*=[ ]*\):*/\1/;
28805 DEFS=-DHAVE_CONFIG_H
28809 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28810 # 1. Remove the extension, and $U if already installed.
28811 - ac_i=`echo "$ac_i" |
28812 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28814 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28815 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28816 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28817 + ac_i=`echo "$ac_i" | sed "$ac_script"`
28818 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28819 + # will be set to the directory where LIBOBJS objects are built.
28820 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28821 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28823 LIBOBJS=$ac_libobjs
28825 LTLIBOBJS=$ac_ltlibobjs
28828 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28829 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28830 +Usually this means the macro was only invoked conditionally." >&5
28831 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
28832 +Usually this means the macro was only invoked conditionally." >&2;}
28833 + { (exit 1); exit 1; }; }
28835 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28836 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28837 +Usually this means the macro was only invoked conditionally." >&5
28838 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28839 +Usually this means the macro was only invoked conditionally." >&2;}
28840 + { (exit 1); exit 1; }; }
28842 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28843 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28844 +Usually this means the macro was only invoked conditionally." >&5
28845 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28846 +Usually this means the macro was only invoked conditionally." >&2;}
28847 + { (exit 1); exit 1; }; }
28850 : ${CONFIG_STATUS=./config.status}
28851 ac_clean_files_save=$ac_clean_files
28852 @@ -8941,17 +20234,45 @@
28853 ## M4sh Initialization. ##
28854 ## --------------------- ##
28856 -# Be Bourne compatible
28857 +# Be more Bourne compatible
28858 +DUALCASE=1; export DUALCASE # for MKS sh
28859 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28862 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28863 # is contrary to our usage. Disable this feature.
28864 alias -g '${1+"$@"}'='"$@"'
28865 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28867 + setopt NO_GLOB_SUBST
28869 + case `(set -o) 2>/dev/null` in
28870 + *posix*) set -o posix ;;
28879 +# Avoid depending upon Character Ranges.
28880 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28881 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28882 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28883 +as_cr_digits='0123456789'
28884 +as_cr_alnum=$as_cr_Letters$as_cr_digits
28886 +# The user is always right.
28887 +if test "${PATH_SEPARATOR+set}" != set; then
28888 + echo "#! /bin/sh" >conf$$.sh
28889 + echo "exit 0" >>conf$$.sh
28890 + chmod +x conf$$.sh
28891 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28892 + PATH_SEPARATOR=';'
28898 -DUALCASE=1; export DUALCASE # for MKS sh
28900 # Support unset when possible.
28901 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28902 @@ -8961,8 +20282,43 @@
28907 +# We need space, tab and new line, in precisely that order. Quoting is
28908 +# there to prevent editors from complaining about space-tab.
28909 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
28910 +# splitting by setting IFS to empty value.)
28915 +# Find who we are. Look in the path if we contain no directory separator.
28917 + *[\\/]* ) as_myself=$0 ;;
28918 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28919 +for as_dir in $PATH
28922 + test -z "$as_dir" && as_dir=.
28923 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28929 +# We did not find ourselves, most probably we were run as `sh COMMAND'
28930 +# in which case we are not to be found in the path.
28931 +if test "x$as_myself" = x; then
28934 +if test ! -f "$as_myself"; then
28935 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28936 + { (exit 1); exit 1; }
28939 # Work around bugs in pre-3.0 UWIN ksh.
28940 -$as_unset ENV MAIL MAILPATH
28941 +for as_var in ENV MAIL MAILPATH
28942 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28947 @@ -8976,18 +20332,19 @@
28948 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28949 eval $as_var=C; export $as_var
28951 - $as_unset $as_var
28952 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28956 # Required to use basename.
28957 -if expr a : '\(a\)' >/dev/null 2>&1; then
28958 +if expr a : '\(a\)' >/dev/null 2>&1 &&
28959 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
28965 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28966 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28967 as_basename=basename
28970 @@ -8995,159 +20352,120 @@
28973 # Name of the executable.
28974 -as_me=`$as_basename "$0" ||
28975 +as_me=`$as_basename -- "$0" ||
28976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28977 X"$0" : 'X\(//\)$' \| \
28978 - X"$0" : 'X\(/\)$' \| \
28979 - . : '\(.\)' 2>/dev/null ||
28980 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28982 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28983 - /^X\/\(\/\/\)$/{ s//\1/; q; }
28984 - /^X\/\(\/\).*/{ s//\1/; q; }
28988 -# PATH needs CR, and LINENO needs CR and PATH.
28989 -# Avoid depending upon Character Ranges.
28990 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28991 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28992 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28993 -as_cr_digits='0123456789'
28994 -as_cr_alnum=$as_cr_Letters$as_cr_digits
28995 + sed '/^.*\/\([^/][^/]*\)\/*$/{
29009 -# The user is always right.
29010 -if test "${PATH_SEPARATOR+set}" != set; then
29011 - echo "#! /bin/sh" >conf$$.sh
29012 - echo "exit 0" >>conf$$.sh
29013 - chmod +x conf$$.sh
29014 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29015 - PATH_SEPARATOR=';'
29025 - as_lineno_1=$LINENO
29026 - as_lineno_2=$LINENO
29027 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29028 - test "x$as_lineno_1" != "x$as_lineno_2" &&
29029 - test "x$as_lineno_3" = "x$as_lineno_2" || {
29030 - # Find who we are. Look in the path if we contain no path at all
29031 - # relative or not.
29033 - *[\\/]* ) as_myself=$0 ;;
29034 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29035 -for as_dir in $PATH
29038 - test -z "$as_dir" && as_dir=.
29039 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29044 - # We did not find ourselves, most probably we were run as `sh COMMAND'
29045 - # in which case we are not to be found in the path.
29046 - if test "x$as_myself" = x; then
29049 - if test ! -f "$as_myself"; then
29050 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29051 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29052 - { (exit 1); exit 1; }; }
29054 - case $CONFIG_SHELL in
29056 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29057 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29060 - test -z "$as_dir" && as_dir=.
29061 - for as_base in sh bash ksh sh5; do
29064 - if ("$as_dir/$as_base" -c '
29065 as_lineno_1=$LINENO
29066 as_lineno_2=$LINENO
29067 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29068 test "x$as_lineno_1" != "x$as_lineno_2" &&
29069 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
29070 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29071 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29072 - CONFIG_SHELL=$as_dir/$as_base
29073 - export CONFIG_SHELL
29074 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29081 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29083 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29084 # uniformly replaced by the line number. The first 'sed' inserts a
29085 - # line-number line before each line; the second 'sed' does the real
29086 - # work. The second script uses 'N' to pair each line-number line
29087 - # with the numbered line, and appends trailing '-' during
29088 - # substitution so that $LINENO is not a special case at line end.
29089 + # line-number line after each line using $LINENO; the second 'sed'
29090 + # does the real work. The second script uses 'N' to pair each
29091 + # line-number line with the line containing $LINENO, and appends
29092 + # trailing '-' during substitution so that $LINENO is not a special
29093 + # case at line end.
29094 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29095 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29096 - sed '=' <$as_myself |
29097 + # scripts with optimization help from Paolo Bonzini. Blame Lee
29098 + # E. McMahon (1931-1989) for sed's syntax. :-)
29104 + s/[$]LINENO.*/&-/
29111 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29113 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29116 - s,^['$as_cr_digits']*\n,,
29118 ' >$as_me.lineno &&
29119 - chmod +x $as_me.lineno ||
29120 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29121 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29122 + chmod +x "$as_me.lineno" ||
29123 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29124 { (exit 1); exit 1; }; }
29126 # Don't try to exec as it changes $[0], causing all sort of problems
29127 # (the dirname of $[0] is not the place where we might find the
29128 - # original and so on. Autoconf is especially sensible to this).
29129 - . ./$as_me.lineno
29130 + # original and so on. Autoconf is especially sensitive to this).
29131 + . "./$as_me.lineno"
29132 # Exit status is that of the last command.
29137 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29138 - *c*,-n*) ECHO_N= ECHO_C='
29140 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
29141 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
29142 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29143 + as_dirname=dirname
29148 +ECHO_C= ECHO_N= ECHO_T=
29149 +case `echo -n x` in
29151 + case `echo 'x\c'` in
29152 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29159 -if expr a : '\(a\)' >/dev/null 2>&1; then
29160 +if expr a : '\(a\)' >/dev/null 2>&1 &&
29161 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
29167 rm -f conf$$ conf$$.exe conf$$.file
29168 +if test -d conf$$.dir; then
29169 + rm -f conf$$.dir/conf$$.file
29175 if ln -s conf$$.file conf$$ 2>/dev/null; then
29176 - # We could just check for DJGPP; but this test a) works b) is more generic
29177 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29178 - if test -f conf$$.exe; then
29179 - # Don't use ln at all; we don't have any links
29181 + # ... but there are two gotchas:
29182 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29183 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29184 + # In both cases, we have to default to `cp -p'.
29185 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29190 elif ln conf$$.file conf$$ 2>/dev/null; then
29195 -rm -f conf$$ conf$$.exe conf$$.file
29196 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29197 +rmdir conf$$.dir 2>/dev/null
29199 if mkdir -p . 2>/dev/null; then
29201 @@ -9155,8 +20473,29 @@
29202 test -d ./-p && rmdir ./-p
29206 -as_executable_p="test -f"
29208 +if test -x / >/dev/null 2>&1; then
29209 + as_test_x='test -x'
29211 + if ls -dL / >/dev/null 2>&1; then
29218 + if test -d "$1"; then
29224 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29225 + ???[sx]*):;;*)false;;esac;fi
29229 +as_executable_p=$as_test_x
29231 # Sed expression to map a string onto a valid CPP name.
29232 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29233 @@ -9165,31 +20504,14 @@
29234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29238 -# We need space, tab and new line, in precisely that order.
29248 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
29249 +# Save the log message, to keep $[0] and so on meaningful, and to
29250 # report actual input values of CONFIG_FILES etc. instead of their
29251 -# values after options handling. Logging --version etc. is OK.
29252 -exec 5>>config.log
29255 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29256 -## Running $as_me. ##
29261 +# values after options handling.
29263 This file was extended by $as_me, which was
29264 -generated by GNU Autoconf 2.59. Invocation command line was
29265 +generated by GNU Autoconf 2.61. Invocation command line was
29267 CONFIG_FILES = $CONFIG_FILES
29268 CONFIG_HEADERS = $CONFIG_HEADERS
29269 @@ -9197,30 +20519,20 @@
29270 CONFIG_COMMANDS = $CONFIG_COMMANDS
29274 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29276 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
29281 +cat >>$CONFIG_STATUS <<_ACEOF
29282 # Files that config.status was made for.
29283 -if test -n "$ac_config_files"; then
29284 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29287 -if test -n "$ac_config_headers"; then
29288 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29291 -if test -n "$ac_config_links"; then
29292 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29294 +config_files="$ac_config_files"
29295 +config_headers="$ac_config_headers"
29296 +config_commands="$ac_config_commands"
29298 -if test -n "$ac_config_commands"; then
29299 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29303 cat >>$CONFIG_STATUS <<\_ACEOF
29306 \`$as_me' instantiates files from templates according to the
29307 current configuration.
29308 @@ -9228,7 +20540,7 @@
29309 Usage: $0 [OPTIONS] [FILE]...
29311 -h, --help print this help, then exit
29312 - -V, --version print version number, then exit
29313 + -V, --version print version number and configuration settings, then exit
29314 -q, --quiet do not print progress messages
29315 -d, --debug don't remove temporary files
29316 --recheck update $as_me by reconfiguring in the same conditions
29317 @@ -9247,19 +20559,21 @@
29320 Report bugs to <bug-autoconf@gnu.org>."
29324 cat >>$CONFIG_STATUS <<_ACEOF
29327 -configured by $0, generated by GNU Autoconf 2.59,
29328 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29329 +configured by $0, generated by GNU Autoconf 2.61,
29330 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29332 -Copyright (C) 2003 Free Software Foundation, Inc.
29333 +Copyright (C) 2006 Free Software Foundation, Inc.
29334 This config.status script is free software; the Free Software Foundation
29335 gives unlimited permission to copy, distribute and modify it."
29337 -INSTALL="$INSTALL"
29341 +INSTALL='$INSTALL'
29344 cat >>$CONFIG_STATUS <<\_ACEOF
29345 @@ -9270,39 +20584,24 @@
29349 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
29350 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29351 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
29352 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29361 - *) # This is not an option, so the user has probably given explicit
29364 - ac_need_defaults=false;;
29368 # Handling of the options.
29370 -cat >>$CONFIG_STATUS <<\_ACEOF
29371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29373 - --version | --vers* | -V )
29374 - echo "$ac_cs_version"; exit 0 ;;
29376 - # Conflict between --help and --header
29377 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
29378 -Try \`$0 --help' for more information." >&5
29379 -echo "$as_me: error: ambiguous option: $1
29380 -Try \`$0 --help' for more information." >&2;}
29381 - { (exit 1); exit 1; }; };;
29382 - --help | --hel | -h )
29383 - echo "$ac_cs_usage"; exit 0 ;;
29384 - --debug | --d* | -d )
29385 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29386 + echo "$ac_cs_version"; exit ;;
29387 + --debug | --debu | --deb | --de | --d | -d )
29389 --file | --fil | --fi | --f )
29391 @@ -9312,18 +20611,24 @@
29393 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29394 ac_need_defaults=false;;
29396 + # Conflict between --help and --header
29397 + { echo "$as_me: error: ambiguous option: $1
29398 +Try \`$0 --help' for more information." >&2
29399 + { (exit 1); exit 1; }; };;
29400 + --help | --hel | -h )
29401 + echo "$ac_cs_usage"; exit ;;
29402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29403 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29406 # This is an error.
29407 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29408 -Try \`$0 --help' for more information." >&5
29409 -echo "$as_me: error: unrecognized option: $1
29410 -Try \`$0 --help' for more information." >&2;}
29411 + -*) { echo "$as_me: error: unrecognized option: $1
29412 +Try \`$0 --help' for more information." >&2
29413 { (exit 1); exit 1; }; } ;;
29415 - *) ac_config_targets="$ac_config_targets $1" ;;
29416 + *) ac_config_targets="$ac_config_targets $1"
29417 + ac_need_defaults=false ;;
29421 @@ -9339,43 +20644,55 @@
29423 cat >>$CONFIG_STATUS <<_ACEOF
29424 if \$ac_cs_recheck; then
29425 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29426 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29427 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29428 + CONFIG_SHELL=$SHELL
29429 + export CONFIG_SHELL
29430 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29434 +cat >>$CONFIG_STATUS <<\_ACEOF
29435 +exec 5>>config.log
29438 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29439 +## Running $as_me. ##
29445 cat >>$CONFIG_STATUS <<_ACEOF
29447 -# INIT-COMMANDS section.
29452 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29458 cat >>$CONFIG_STATUS <<\_ACEOF
29460 +# Handling of arguments.
29461 for ac_config_target in $ac_config_targets
29463 - case "$ac_config_target" in
29464 - # Handling of arguments.
29465 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29466 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29467 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29468 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29469 - "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29470 - "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29471 - "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29472 - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
29473 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29474 + case $ac_config_target in
29475 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29476 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29477 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29478 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29479 + "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29480 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29481 + "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29482 + "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29483 + "src/arpd/Makefile") CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29485 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29486 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29487 { (exit 1); exit 1; }; };;
29492 # If the user did not use the arguments to specify the items to instantiate,
29493 # then the envvar interface is used. Set only those that are not.
29494 # We use the long form for the default assignment because of an extremely
29495 @@ -9387,335 +20704,471 @@
29498 # Have a temporary directory for convenience. Make it in the build tree
29499 -# simply because there is no reason to put it here, and in addition,
29500 +# simply because there is no reason against having it here, and in addition,
29501 # creating and moving files from /tmp can sometimes cause problems.
29502 -# Create a temporary directory, and hook for its removal unless debugging.
29503 +# Hook for its removal unless debugging.
29504 +# Note that there is a small window in which the directory will not be cleaned:
29505 +# after its creation but before its name has been assigned to `$tmp'.
29508 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29510 + trap 'exit_status=$?
29511 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29513 trap '{ (exit 1); exit 1; }' 1 2 13 15
29516 # Create a (secure) tmp directory for tmp files.
29519 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29520 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29521 test -n "$tmp" && test -d "$tmp"
29524 - tmp=./confstat$$-$RANDOM
29525 - (umask 077 && mkdir $tmp)
29526 + tmp=./conf$$-$RANDOM
29527 + (umask 077 && mkdir "$tmp")
29530 echo "$me: cannot create a temporary directory in ." >&2
29531 { (exit 1); exit 1; }
29536 -cat >>$CONFIG_STATUS <<_ACEOF
29539 -# CONFIG_FILES section.
29540 +# Set up the sed scripts for CONFIG_FILES section.
29543 # No need to generate the scripts if there are no CONFIG_FILES.
29544 # This happens for instance when ./config.status config.h
29545 -if test -n "\$CONFIG_FILES"; then
29546 - # Protect against being on the right side of a sed subst in config.status.
29547 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29548 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29549 -s,@SHELL@,$SHELL,;t t
29550 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29551 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29552 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29553 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29554 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29555 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29556 -s,@exec_prefix@,$exec_prefix,;t t
29557 -s,@prefix@,$prefix,;t t
29558 -s,@program_transform_name@,$program_transform_name,;t t
29559 -s,@bindir@,$bindir,;t t
29560 -s,@sbindir@,$sbindir,;t t
29561 -s,@libexecdir@,$libexecdir,;t t
29562 -s,@datadir@,$datadir,;t t
29563 -s,@sysconfdir@,$sysconfdir,;t t
29564 -s,@sharedstatedir@,$sharedstatedir,;t t
29565 -s,@localstatedir@,$localstatedir,;t t
29566 -s,@libdir@,$libdir,;t t
29567 -s,@includedir@,$includedir,;t t
29568 -s,@oldincludedir@,$oldincludedir,;t t
29569 -s,@infodir@,$infodir,;t t
29570 -s,@mandir@,$mandir,;t t
29571 -s,@build_alias@,$build_alias,;t t
29572 -s,@host_alias@,$host_alias,;t t
29573 -s,@target_alias@,$target_alias,;t t
29574 -s,@DEFS@,$DEFS,;t t
29575 -s,@ECHO_C@,$ECHO_C,;t t
29576 -s,@ECHO_N@,$ECHO_N,;t t
29577 -s,@ECHO_T@,$ECHO_T,;t t
29578 -s,@LIBS@,$LIBS,;t t
29579 -s,@build@,$build,;t t
29580 -s,@build_cpu@,$build_cpu,;t t
29581 -s,@build_vendor@,$build_vendor,;t t
29582 -s,@build_os@,$build_os,;t t
29583 -s,@host@,$host,;t t
29584 -s,@host_cpu@,$host_cpu,;t t
29585 -s,@host_vendor@,$host_vendor,;t t
29586 -s,@host_os@,$host_os,;t t
29587 -s,@target@,$target,;t t
29588 -s,@target_cpu@,$target_cpu,;t t
29589 -s,@target_vendor@,$target_vendor,;t t
29590 -s,@target_os@,$target_os,;t t
29591 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29592 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29593 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29594 -s,@PACKAGE@,$PACKAGE,;t t
29595 -s,@VERSION@,$VERSION,;t t
29596 -s,@ACLOCAL@,$ACLOCAL,;t t
29597 -s,@AUTOCONF@,$AUTOCONF,;t t
29598 -s,@AUTOMAKE@,$AUTOMAKE,;t t
29599 -s,@AUTOHEADER@,$AUTOHEADER,;t t
29600 -s,@MAKEINFO@,$MAKEINFO,;t t
29601 -s,@SET_MAKE@,$SET_MAKE,;t t
29602 -s,@LIBVER_CURRENT@,$LIBVER_CURRENT,;t t
29603 -s,@LIBVER_REVISION@,$LIBVER_REVISION,;t t
29604 -s,@LIBVER_AGE@,$LIBVER_AGE,;t t
29606 -s,@CFLAGS@,$CFLAGS,;t t
29607 -s,@LDFLAGS@,$LDFLAGS,;t t
29608 -s,@CPPFLAGS@,$CPPFLAGS,;t t
29609 -s,@ac_ct_CC@,$ac_ct_CC,;t t
29610 -s,@EXEEXT@,$EXEEXT,;t t
29611 -s,@OBJEXT@,$OBJEXT,;t t
29613 -s,@LEXLIB@,$LEXLIB,;t t
29614 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
29615 -s,@YACC@,$YACC,;t t
29616 -s,@LN_S@,$LN_S,;t t
29617 -s,@ECHO@,$ECHO,;t t
29618 -s,@RANLIB@,$RANLIB,;t t
29619 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29620 -s,@STRIP@,$STRIP,;t t
29621 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29623 -s,@EGREP@,$EGREP,;t t
29624 -s,@LIBTOOL@,$LIBTOOL,;t t
29625 -s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
29626 -s,@PERL@,$PERL,;t t
29627 -s,@LIBOBJS@,$LIBOBJS,;t t
29628 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29633 - cat >>$CONFIG_STATUS <<\_ACEOF
29634 - # Split the substitutions into bite-sized pieces for seds with
29635 - # small command number limits, like on Digital OSF/1 and HP-UX.
29636 - ac_max_sed_lines=48
29637 - ac_sed_frag=1 # Number of current file.
29638 - ac_beg=1 # First line for current file.
29639 - ac_end=$ac_max_sed_lines # Line after last line for current file.
29642 - while $ac_more_lines; do
29643 - if test $ac_beg -gt 1; then
29644 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29646 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29648 - if test ! -s $tmp/subs.frag; then
29649 - ac_more_lines=false
29651 - # The purpose of the label and of the branching condition is to
29652 - # speed up the sed processing (if there are no `@' at all, there
29653 - # is no need to browse any of the substitutions).
29654 - # These are the two extra sed commands mentioned above.
29656 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29657 - if test -z "$ac_sed_cmds"; then
29658 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29660 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29662 - ac_sed_frag=`expr $ac_sed_frag + 1`
29664 - ac_end=`expr $ac_end + $ac_max_sed_lines`
29667 - if test -z "$ac_sed_cmds"; then
29669 +if test -n "$CONFIG_FILES"; then
29676 +for ac_last_try in false false false false false :; do
29677 + cat >conf$$subs.sed <<_ACEOF
29678 +SHELL!$SHELL$ac_delim
29679 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29680 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29681 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29682 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29683 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29684 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29685 +exec_prefix!$exec_prefix$ac_delim
29686 +prefix!$prefix$ac_delim
29687 +program_transform_name!$program_transform_name$ac_delim
29688 +bindir!$bindir$ac_delim
29689 +sbindir!$sbindir$ac_delim
29690 +libexecdir!$libexecdir$ac_delim
29691 +datarootdir!$datarootdir$ac_delim
29692 +datadir!$datadir$ac_delim
29693 +sysconfdir!$sysconfdir$ac_delim
29694 +sharedstatedir!$sharedstatedir$ac_delim
29695 +localstatedir!$localstatedir$ac_delim
29696 +includedir!$includedir$ac_delim
29697 +oldincludedir!$oldincludedir$ac_delim
29698 +docdir!$docdir$ac_delim
29699 +infodir!$infodir$ac_delim
29700 +htmldir!$htmldir$ac_delim
29701 +dvidir!$dvidir$ac_delim
29702 +pdfdir!$pdfdir$ac_delim
29703 +psdir!$psdir$ac_delim
29704 +libdir!$libdir$ac_delim
29705 +localedir!$localedir$ac_delim
29706 +mandir!$mandir$ac_delim
29707 +DEFS!$DEFS$ac_delim
29708 +ECHO_C!$ECHO_C$ac_delim
29709 +ECHO_N!$ECHO_N$ac_delim
29710 +ECHO_T!$ECHO_T$ac_delim
29711 +LIBS!$LIBS$ac_delim
29712 +build_alias!$build_alias$ac_delim
29713 +host_alias!$host_alias$ac_delim
29714 +target_alias!$target_alias$ac_delim
29715 +build!$build$ac_delim
29716 +build_cpu!$build_cpu$ac_delim
29717 +build_vendor!$build_vendor$ac_delim
29718 +build_os!$build_os$ac_delim
29719 +host!$host$ac_delim
29720 +host_cpu!$host_cpu$ac_delim
29721 +host_vendor!$host_vendor$ac_delim
29722 +host_os!$host_os$ac_delim
29723 +target!$target$ac_delim
29724 +target_cpu!$target_cpu$ac_delim
29725 +target_vendor!$target_vendor$ac_delim
29726 +target_os!$target_os$ac_delim
29727 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29728 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29729 +INSTALL_DATA!$INSTALL_DATA$ac_delim
29730 +CYGPATH_W!$CYGPATH_W$ac_delim
29731 +PACKAGE!$PACKAGE$ac_delim
29732 +VERSION!$VERSION$ac_delim
29733 +ACLOCAL!$ACLOCAL$ac_delim
29734 +AUTOCONF!$AUTOCONF$ac_delim
29735 +AUTOMAKE!$AUTOMAKE$ac_delim
29736 +AUTOHEADER!$AUTOHEADER$ac_delim
29737 +MAKEINFO!$MAKEINFO$ac_delim
29738 +install_sh!$install_sh$ac_delim
29739 +STRIP!$STRIP$ac_delim
29740 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29741 +mkdir_p!$mkdir_p$ac_delim
29743 +SET_MAKE!$SET_MAKE$ac_delim
29744 +am__leading_dot!$am__leading_dot$ac_delim
29745 +AMTAR!$AMTAR$ac_delim
29746 +am__tar!$am__tar$ac_delim
29747 +am__untar!$am__untar$ac_delim
29748 +LIBVER_CURRENT!$LIBVER_CURRENT$ac_delim
29749 +LIBVER_REVISION!$LIBVER_REVISION$ac_delim
29750 +LIBVER_AGE!$LIBVER_AGE$ac_delim
29752 +CFLAGS!$CFLAGS$ac_delim
29753 +LDFLAGS!$LDFLAGS$ac_delim
29754 +CPPFLAGS!$CPPFLAGS$ac_delim
29755 +ac_ct_CC!$ac_ct_CC$ac_delim
29756 +EXEEXT!$EXEEXT$ac_delim
29757 +OBJEXT!$OBJEXT$ac_delim
29758 +DEPDIR!$DEPDIR$ac_delim
29759 +am__include!$am__include$ac_delim
29760 +am__quote!$am__quote$ac_delim
29761 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29762 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29763 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29764 +CCDEPMODE!$CCDEPMODE$ac_delim
29765 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29766 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29768 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
29769 +LEXLIB!$LEXLIB$ac_delim
29770 +YACC!$YACC$ac_delim
29771 +YFLAGS!$YFLAGS$ac_delim
29772 +GREP!$GREP$ac_delim
29773 +EGREP!$EGREP$ac_delim
29774 +LN_S!$LN_S$ac_delim
29777 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29779 + elif $ac_last_try; then
29780 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29781 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29782 + { (exit 1); exit 1; }; }
29784 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29786 -fi # test -n "$CONFIG_FILES"
29789 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29790 +if test -n "$ac_eof"; then
29791 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29792 + ac_eof=`expr $ac_eof + 1`
29795 +cat >>$CONFIG_STATUS <<_ACEOF
29796 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29797 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29800 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29801 +s/^/s,@/; s/!/@,|#_!!_#|/
29804 +s/'"$ac_delim"'$/,g/; t
29806 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29807 +' >>$CONFIG_STATUS <conf$$subs.sed
29808 +rm -f conf$$subs.sed
29809 +cat >>$CONFIG_STATUS <<_ACEOF
29815 +for ac_last_try in false false false false false :; do
29816 + cat >conf$$subs.sed <<_ACEOF
29817 +ECHO!$ECHO$ac_delim
29819 +RANLIB!$RANLIB$ac_delim
29822 +CXXFLAGS!$CXXFLAGS$ac_delim
29823 +ac_ct_CXX!$ac_ct_CXX$ac_delim
29824 +CXXDEPMODE!$CXXDEPMODE$ac_delim
29825 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29826 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29827 +CXXCPP!$CXXCPP$ac_delim
29829 +FFLAGS!$FFLAGS$ac_delim
29830 +ac_ct_F77!$ac_ct_F77$ac_delim
29831 +LIBTOOL!$LIBTOOL$ac_delim
29832 +LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
29833 +PERL!$PERL$ac_delim
29834 +LIBOBJS!$LIBOBJS$ac_delim
29835 +LTLIBOBJS!$LTLIBOBJS$ac_delim
29838 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
29840 + elif $ac_last_try; then
29841 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29842 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29843 + { (exit 1); exit 1; }; }
29845 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29849 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29850 +if test -n "$ac_eof"; then
29851 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29852 + ac_eof=`expr $ac_eof + 1`
29855 +cat >>$CONFIG_STATUS <<_ACEOF
29856 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29857 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29860 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29861 +s/^/s,@/; s/!/@,|#_!!_#|/
29864 +s/'"$ac_delim"'$/,g/; t
29866 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29867 +' >>$CONFIG_STATUS <conf$$subs.sed
29868 +rm -f conf$$subs.sed
29869 +cat >>$CONFIG_STATUS <<_ACEOF
29876 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
29877 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29878 +# trailing colons and then remove the whole line if VPATH becomes empty
29879 +# (actually we leave an empty line to preserve line numbers).
29880 +if test "x$srcdir" = x.; then
29881 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
29882 +s/:*\$(srcdir):*/:/
29883 +s/:*\${srcdir}:*/:/
29885 +s/^\([^=]*=[ ]*\):*/\1/
29891 cat >>$CONFIG_STATUS <<\_ACEOF
29892 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29893 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29895 - - | *:- | *:-:* ) # input from stdin
29897 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29898 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29899 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29900 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29901 - * ) ac_file_in=$ac_file.in ;;
29902 +fi # test -n "$CONFIG_FILES"
29905 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
29908 + :[FHLC]) ac_mode=$ac_tag; continue;;
29910 + case $ac_mode$ac_tag in
29912 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29913 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29914 + { (exit 1); exit 1; }; };;
29915 + :[FH]-) ac_tag=-:-;;
29916 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29927 + :L) ac_source=$1;;
29933 + -) ac_f="$tmp/stdin";;
29934 + *) # Look for the file first in the build tree, then in the source tree
29935 + # (if the path is not absolute). The absolute path cannot be DOS-style,
29936 + # because $ac_f cannot contain `:'.
29937 + test -f "$ac_f" ||
29940 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29942 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29943 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29944 + { (exit 1); exit 1; }; };;
29946 + ac_file_inputs="$ac_file_inputs $ac_f"
29949 + # Let's still pretend it is `configure' which instantiates (i.e., don't
29950 + # use $as_me), people would be surprised to read:
29951 + # /* config.h. Generated by config.status. */
29952 + configure_input="Generated from "`IFS=:
29953 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29954 + if test x"$ac_file" != x-; then
29955 + configure_input="$ac_file. $configure_input"
29956 + { echo "$as_me:$LINENO: creating $ac_file" >&5
29957 +echo "$as_me: creating $ac_file" >&6;}
29961 + *:-:* | *:-) cat >"$tmp/stdin";;
29966 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29967 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29968 + ac_dir=`$as_dirname -- "$ac_file" ||
29969 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29970 X"$ac_file" : 'X\(//\)[^/]' \| \
29971 X"$ac_file" : 'X\(//\)$' \| \
29972 - X"$ac_file" : 'X\(/\)' \| \
29973 - . : '\(.\)' 2>/dev/null ||
29974 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29976 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29977 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29978 - /^X\(\/\/\)$/{ s//\1/; q; }
29979 - /^X\(\/\).*/{ s//\1/; q; }
29981 - { if $as_mkdir_p; then
29982 - mkdir -p "$ac_dir"
29985 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29989 + /^X\(\/\/\)[^/].*/{
30002 + { as_dir="$ac_dir"
30003 + case $as_dir in #(
30004 + -*) as_dir=./$as_dir;;
30006 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30008 - while test ! -d "$as_dir"; do
30009 - as_dirs="$as_dir $as_dirs"
30010 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30012 + case $as_dir in #(
30013 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30014 + *) as_qdir=$as_dir;;
30016 + as_dirs="'$as_qdir' $as_dirs"
30017 + as_dir=`$as_dirname -- "$as_dir" ||
30018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30019 X"$as_dir" : 'X\(//\)[^/]' \| \
30020 X"$as_dir" : 'X\(//\)$' \| \
30021 - X"$as_dir" : 'X\(/\)' \| \
30022 - . : '\(.\)' 2>/dev/null ||
30023 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30025 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30026 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30027 - /^X\(\/\/\)$/{ s//\1/; q; }
30028 - /^X\(\/\).*/{ s//\1/; q; }
30030 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30034 + /^X\(\/\/\)[^/].*/{
30047 + test -d "$as_dir" && break
30049 - test ! -n "$as_dirs" || mkdir $as_dirs
30050 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30051 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30052 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30053 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30054 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30055 { (exit 1); exit 1; }; }; }
30059 -if test "$ac_dir" != .; then
30061 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30063 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30064 - # A "../" for each directory in $ac_dir_suffix.
30065 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30067 - ac_dir_suffix= ac_top_builddir=
30069 + # A ".." for each directory in $ac_dir_suffix.
30070 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30071 + case $ac_top_builddir_sub in
30072 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30073 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30076 +ac_abs_top_builddir=$ac_pwd
30077 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
30078 +# for backward compatibility:
30079 +ac_top_builddir=$ac_top_build_prefix
30082 - .) # No --srcdir option. We are building in place.
30083 + .) # We are building in place.
30085 - if test -z "$ac_top_builddir"; then
30088 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30090 - [\\/]* | ?:[\\/]* ) # Absolute path.
30091 + ac_top_srcdir=$ac_top_builddir_sub
30092 + ac_abs_top_srcdir=$ac_pwd ;;
30093 + [\\/]* | ?:[\\/]* ) # Absolute name.
30094 ac_srcdir=$srcdir$ac_dir_suffix;
30095 - ac_top_srcdir=$srcdir ;;
30096 - *) # Relative path.
30097 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30098 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30099 + ac_top_srcdir=$srcdir
30100 + ac_abs_top_srcdir=$srcdir ;;
30101 + *) # Relative name.
30102 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30103 + ac_top_srcdir=$ac_top_build_prefix$srcdir
30104 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30106 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30108 -# Do not use `cd foo && pwd` to compute absolute paths, because
30109 -# the directories may not exist.
30111 -.) ac_abs_builddir="$ac_dir";;
30113 - case "$ac_dir" in
30114 - .) ac_abs_builddir=`pwd`;;
30115 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30116 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30119 -case $ac_abs_builddir in
30120 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30122 - case ${ac_top_builddir}. in
30123 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30124 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30125 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30128 -case $ac_abs_builddir in
30129 -.) ac_abs_srcdir=$ac_srcdir;;
30131 - case $ac_srcdir in
30132 - .) ac_abs_srcdir=$ac_abs_builddir;;
30133 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30134 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30137 -case $ac_abs_builddir in
30138 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30140 - case $ac_top_srcdir in
30141 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30142 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30143 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30155 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
30156 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30160 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30161 - # use $as_me), people would be surprised to read:
30162 - # /* config.h. Generated by config.status. */
30163 - if test x"$ac_file" = x-; then
30166 - configure_input="$ac_file. "
30168 - configure_input=$configure_input"Generated from `echo $ac_file_in |
30169 - sed 's,.*/,,'` by configure."
30171 - # First look for the input files in the build tree, otherwise in the
30173 - ac_file_inputs=`IFS=:
30174 - for f in $ac_file_in; do
30176 - -) echo $tmp/stdin ;;
30178 - # Absolute (can't be DOS-style, as IFS=:)
30179 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30180 -echo "$as_me: error: cannot find input file: $f" >&2;}
30181 - { (exit 1); exit 1; }; }
30184 - if test -f "$f"; then
30187 - elif test -f "$srcdir/$f"; then
30189 - echo "$srcdir/$f"
30192 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30193 -echo "$as_me: error: cannot find input file: $f" >&2;}
30194 - { (exit 1); exit 1; }; }
30197 - done` || { (exit 1); exit 1; }
30199 - if test x"$ac_file" != x-; then
30200 - { echo "$as_me:$LINENO: creating $ac_file" >&5
30201 -echo "$as_me: creating $ac_file" >&6;}
30204 +cat >>$CONFIG_STATUS <<\_ACEOF
30205 +# If the template does not know about datarootdir, expand it.
30206 +# FIXME: This hack should be removed a few years after 2.60.
30207 +ac_datarootdir_hack=; ac_datarootdir_seen=
30209 +case `sed -n '/datarootdir/ {
30218 +' $ac_file_inputs` in
30219 +*datarootdir*) ac_datarootdir_seen=yes;;
30220 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30221 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30222 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30224 +cat >>$CONFIG_STATUS <<_ACEOF
30225 + ac_datarootdir_hack='
30226 + s&@datadir@&$datadir&g
30227 + s&@docdir@&$docdir&g
30228 + s&@infodir@&$infodir&g
30229 + s&@localedir@&$localedir&g
30230 + s&@mandir@&$mandir&g
30231 + s&\\\${datarootdir}&$datarootdir&g' ;;
30235 +# Neutralize VPATH when `$srcdir' = `.'.
30236 +# Shell code in configure.ac might set extrasub.
30237 +# FIXME: do we really want to maintain this feature?
30238 cat >>$CONFIG_STATUS <<_ACEOF
30241 @@ -9723,370 +21176,299 @@
30242 cat >>$CONFIG_STATUS <<\_ACEOF
30244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30245 -s,@configure_input@,$configure_input,;t t
30246 -s,@srcdir@,$ac_srcdir,;t t
30247 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
30248 -s,@top_srcdir@,$ac_top_srcdir,;t t
30249 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
30250 -s,@builddir@,$ac_builddir,;t t
30251 -s,@abs_builddir@,$ac_abs_builddir,;t t
30252 -s,@top_builddir@,$ac_top_builddir,;t t
30253 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
30254 -s,@INSTALL@,$ac_INSTALL,;t t
30255 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30257 - if test x"$ac_file" != x-; then
30258 - mv $tmp/out $ac_file
30266 -cat >>$CONFIG_STATUS <<\_ACEOF
30269 -# CONFIG_HEADER section.
30272 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30273 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
30275 -# ac_d sets the value in "#define NAME VALUE" lines.
30276 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30277 -ac_dB='[ ].*$,\1#\2'
30280 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30281 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30282 -ac_uB='$,\1#\2define\3'
30285 +s&@configure_input@&$configure_input&;t t
30286 +s&@top_builddir@&$ac_top_builddir_sub&;t t
30287 +s&@srcdir@&$ac_srcdir&;t t
30288 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
30289 +s&@top_srcdir@&$ac_top_srcdir&;t t
30290 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30291 +s&@builddir@&$ac_builddir&;t t
30292 +s&@abs_builddir@&$ac_abs_builddir&;t t
30293 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30294 +s&@INSTALL@&$ac_INSTALL&;t t
30295 +$ac_datarootdir_hack
30296 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
30298 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30299 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30300 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30301 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30302 +which seems to be undefined. Please make sure it is defined." >&5
30303 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30304 +which seems to be undefined. Please make sure it is defined." >&2;}
30306 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30307 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30308 + rm -f "$tmp/stdin"
30310 - - | *:- | *:-:* ) # input from stdin
30312 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30313 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30314 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30315 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30316 - * ) ac_file_in=$ac_file.in ;;
30317 + -) cat "$tmp/out"; rm -f "$tmp/out";;
30318 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30321 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30322 -echo "$as_me: creating $ac_file" >&6;}
30324 - # First look for the input files in the build tree, otherwise in the
30326 - ac_file_inputs=`IFS=:
30327 - for f in $ac_file_in; do
30329 - -) echo $tmp/stdin ;;
30331 - # Absolute (can't be DOS-style, as IFS=:)
30332 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30333 -echo "$as_me: error: cannot find input file: $f" >&2;}
30334 - { (exit 1); exit 1; }; }
30335 - # Do quote $f, to prevent DOS paths from being IFS'd.
30338 - if test -f "$f"; then
30341 - elif test -f "$srcdir/$f"; then
30343 - echo "$srcdir/$f"
30346 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30347 -echo "$as_me: error: cannot find input file: $f" >&2;}
30348 - { (exit 1); exit 1; }; }
30351 - done` || { (exit 1); exit 1; }
30352 - # Remove the trailing spaces.
30353 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30362 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
30363 -# `conftest.undefs', that substitutes the proper values into
30364 -# config.h.in to produce config.h. The first handles `#define'
30365 -# templates, and the second `#undef' templates.
30366 -# And first: Protect against being on the right side of a sed subst in
30367 -# config.status. Protect against being in an unquoted here document
30368 -# in config.status.
30369 -rm -f conftest.defines conftest.undefs
30370 -# Using a here document instead of a string reduces the quoting nightmare.
30371 -# Putting comments in sed scripts is not portable.
30373 -# `end' is used to avoid that the second main sed command (meant for
30374 -# 0-ary CPP macros) applies to n-ary macro definitions.
30375 -# See the Autoconf documentation for `clear'.
30376 -cat >confdef2sed.sed <<\_ACEOF
30381 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30383 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30386 -# If some macros were called several times there might be several times
30387 -# the same #defines, which is useless. Nevertheless, we may not want to
30388 -# sort them, since we want the *last* AC-DEFINE to be honored.
30389 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30390 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30391 -rm -f confdef2sed.sed
30392 +# Transform confdefs.h into a sed script `conftest.defines', that
30393 +# substitutes the proper values into config.h.in to produce config.h.
30394 +rm -f conftest.defines conftest.tail
30395 +# First, append a space to every undef/define line, to ease matching.
30396 +echo 's/$/ /' >conftest.defines
30397 +# Then, protect against being on the right side of a sed subst, or in
30398 +# an unquoted here document, in config.status. If some macros were
30399 +# called several times there might be several #defines for the same
30400 +# symbol, which is useless. But do not sort them, since the last
30401 +# AC_DEFINE must be honored.
30402 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30403 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30404 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
30405 +# PARAMS is the parameter list in the macro definition--in most cases, it's
30406 +# just an empty string.
30407 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30408 +ac_dB='\\)[ (].*,\\1define\\2'
30416 + s/^[ ]*#[ ]*define[ ][ ]*//
30421 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30422 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30423 + ' >>conftest.defines
30425 -# This sed command replaces #undef with comments. This is necessary, for
30426 +# Remove the space that was appended to ease matching.
30427 +# Then replace #undef with comments. This is necessary, for
30428 # example, in the case of _POSIX_SOURCE, which is predefined and required
30429 # on some systems where configure will not decide to define it.
30430 -cat >>conftest.undefs <<\_ACEOF
30431 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30433 +# (The regexp can be short, since the line contains either #define or #undef.)
30435 +s,^[ #]*u.*,/* & */,' >>conftest.defines
30437 +# Break up conftest.defines:
30438 +ac_max_sed_lines=50
30440 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30441 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30442 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30444 +ac_in='$ac_file_inputs'
30445 +ac_out='"$tmp/out1"'
30446 +ac_nxt='"$tmp/out2"'
30448 -# Break up conftest.defines because some shells have a limit on the size
30449 -# of here documents, and old seds have small limits too (100 cmds).
30450 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30451 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30452 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30453 -echo ' :' >>$CONFIG_STATUS
30454 -rm -f conftest.tail
30455 -while grep . conftest.defines >/dev/null
30457 - # Write a limited-size here document to $tmp/defines.sed.
30458 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30459 - # Speed up: don't consider the non `#define' lines.
30460 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30461 - # Work around the forget-to-reset-the-flag bug.
30462 - echo 't clr' >>$CONFIG_STATUS
30463 - echo ': clr' >>$CONFIG_STATUS
30464 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
30467 + # Write a here document:
30468 + cat >>$CONFIG_STATUS <<_ACEOF
30469 + # First, check the format of the line:
30470 + cat >"\$tmp/defines.sed" <<\\CEOF
30471 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30472 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30476 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30478 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
30480 - mv $tmp/out $tmp/in
30481 -' >>$CONFIG_STATUS
30482 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
30483 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30484 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30485 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30486 + grep . conftest.tail >/dev/null || break
30487 rm -f conftest.defines
30488 mv conftest.tail conftest.defines
30490 -rm -f conftest.defines
30491 -echo ' fi # grep' >>$CONFIG_STATUS
30492 -echo >>$CONFIG_STATUS
30494 -# Break up conftest.undefs because some shells have a limit on the size
30495 -# of here documents, and old seds have small limits too (100 cmds).
30496 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30497 -rm -f conftest.tail
30498 -while grep . conftest.undefs >/dev/null
30500 - # Write a limited-size here document to $tmp/undefs.sed.
30501 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30502 - # Speed up: don't consider the non `#undef'
30503 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30504 - # Work around the forget-to-reset-the-flag bug.
30505 - echo 't clr' >>$CONFIG_STATUS
30506 - echo ': clr' >>$CONFIG_STATUS
30507 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30509 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30511 - mv $tmp/out $tmp/in
30512 -' >>$CONFIG_STATUS
30513 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30514 - rm -f conftest.undefs
30515 - mv conftest.tail conftest.undefs
30517 -rm -f conftest.undefs
30518 +rm -f conftest.defines conftest.tail
30520 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
30521 cat >>$CONFIG_STATUS <<\_ACEOF
30522 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30523 - # use $as_me), people would be surprised to read:
30524 - # /* config.h. Generated by config.status. */
30525 - if test x"$ac_file" = x-; then
30526 - echo "/* Generated by configure. */" >$tmp/config.h
30528 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30530 - cat $tmp/in >>$tmp/config.h
30532 if test x"$ac_file" != x-; then
30533 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
30534 + echo "/* $configure_input */" >"$tmp/config.h"
30535 + cat "$ac_result" >>"$tmp/config.h"
30536 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30537 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30538 echo "$as_me: $ac_file is unchanged" >&6;}
30540 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30541 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30542 - X"$ac_file" : 'X\(//\)[^/]' \| \
30543 - X"$ac_file" : 'X\(//\)$' \| \
30544 - X"$ac_file" : 'X\(/\)' \| \
30545 - . : '\(.\)' 2>/dev/null ||
30546 -echo X"$ac_file" |
30547 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30548 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30549 - /^X\(\/\/\)$/{ s//\1/; q; }
30550 - /^X\(\/\).*/{ s//\1/; q; }
30552 - { if $as_mkdir_p; then
30553 - mkdir -p "$ac_dir"
30557 - while test ! -d "$as_dir"; do
30558 - as_dirs="$as_dir $as_dirs"
30559 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30560 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30561 - X"$as_dir" : 'X\(//\)[^/]' \| \
30562 - X"$as_dir" : 'X\(//\)$' \| \
30563 - X"$as_dir" : 'X\(/\)' \| \
30564 - . : '\(.\)' 2>/dev/null ||
30566 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30567 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30568 - /^X\(\/\/\)$/{ s//\1/; q; }
30569 - /^X\(\/\).*/{ s//\1/; q; }
30572 - test ! -n "$as_dirs" || mkdir $as_dirs
30573 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30574 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30575 - { (exit 1); exit 1; }; }; }
30578 - mv $tmp/config.h $ac_file
30579 + mv "$tmp/config.h" $ac_file
30582 - cat $tmp/config.h
30583 - rm -f $tmp/config.h
30584 + echo "/* $configure_input */"
30587 + rm -f "$tmp/out12"
30588 +# Compute $ac_file's index in $config_headers.
30590 +for _am_header in $config_headers :; do
30591 + case $_am_header in
30592 + $ac_file | $ac_file:* )
30595 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30599 -cat >>$CONFIG_STATUS <<\_ACEOF
30600 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30601 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30602 + X$ac_file : 'X\(//\)[^/]' \| \
30603 + X$ac_file : 'X\(//\)$' \| \
30604 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30606 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30610 + /^X\(\/\/\)[^/].*/{
30622 + s/.*/./; q'`/stamp-h$_am_stamp_count
30625 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30626 +echo "$as_me: executing $ac_file commands" >&6;}
30631 -# CONFIG_COMMANDS section.
30633 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
30634 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
30635 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
30636 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
30637 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30638 - X"$ac_dest" : 'X\(//\)[^/]' \| \
30639 - X"$ac_dest" : 'X\(//\)$' \| \
30640 - X"$ac_dest" : 'X\(/\)' \| \
30641 - . : '\(.\)' 2>/dev/null ||
30642 -echo X"$ac_dest" |
30643 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30644 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30645 - /^X\(\/\/\)$/{ s//\1/; q; }
30646 - /^X\(\/\).*/{ s//\1/; q; }
30648 - { if $as_mkdir_p; then
30649 - mkdir -p "$ac_dir"
30651 + case $ac_file$ac_mode in
30652 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30653 + # Strip MF so we end up with the name of the file.
30654 + mf=`echo "$mf" | sed -e 's/:.*$//'`
30655 + # Check whether this is an Automake generated Makefile or not.
30656 + # We used to match only the files named `Makefile.in', but
30657 + # some people rename them; so instead we look at the file content.
30658 + # Grep'ing the first line is not enough: some people post-process
30659 + # each Makefile.in and add a new line on top of each file to say so.
30660 + # So let's grep whole file.
30661 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
30662 + dirpart=`$as_dirname -- "$mf" ||
30663 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30664 + X"$mf" : 'X\(//\)[^/]' \| \
30665 + X"$mf" : 'X\(//\)$' \| \
30666 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30668 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30672 + /^X\(\/\/\)[^/].*/{
30689 + # Extract the definition of DEPDIR, am__include, and am__quote
30690 + # from the Makefile without running `make'.
30691 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30692 + test -z "$DEPDIR" && continue
30693 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
30694 + test -z "am__include" && continue
30695 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30696 + # When using ansi2knr, U may be empty or an underscore; expand it
30697 + U=`sed -n 's/^U = //p' < "$mf"`
30698 + # Find all dependency output files, they are included files with
30699 + # $(DEPDIR) in their names. We invoke sed twice because it is the
30700 + # simplest approach to changing $(DEPDIR) to its actual value in the
30702 + for file in `sed -n "
30703 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30704 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30705 + # Make sure the directory exists.
30706 + test -f "$dirpart/$file" && continue
30707 + fdir=`$as_dirname -- "$file" ||
30708 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30709 + X"$file" : 'X\(//\)[^/]' \| \
30710 + X"$file" : 'X\(//\)$' \| \
30711 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30713 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30717 + /^X\(\/\/\)[^/].*/{
30730 + { as_dir=$dirpart/$fdir
30731 + case $as_dir in #(
30732 + -*) as_dir=./$as_dir;;
30734 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30736 - while test ! -d "$as_dir"; do
30737 - as_dirs="$as_dir $as_dirs"
30738 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30740 + case $as_dir in #(
30741 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30742 + *) as_qdir=$as_dir;;
30744 + as_dirs="'$as_qdir' $as_dirs"
30745 + as_dir=`$as_dirname -- "$as_dir" ||
30746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30747 X"$as_dir" : 'X\(//\)[^/]' \| \
30748 X"$as_dir" : 'X\(//\)$' \| \
30749 - X"$as_dir" : 'X\(/\)' \| \
30750 - . : '\(.\)' 2>/dev/null ||
30751 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30753 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30754 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30755 - /^X\(\/\/\)$/{ s//\1/; q; }
30756 - /^X\(\/\).*/{ s//\1/; q; }
30758 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30762 + /^X\(\/\/\)[^/].*/{
30775 + test -d "$as_dir" && break
30777 - test ! -n "$as_dirs" || mkdir $as_dirs
30778 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30779 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30780 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30781 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30782 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30783 { (exit 1); exit 1; }; }; }
30784 + # echo "creating $dirpart/$file"
30785 + echo '# dummy' > "$dirpart/$file"
30792 -if test "$ac_dir" != .; then
30793 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30794 - # A "../" for each directory in $ac_dir_suffix.
30795 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30797 - ac_dir_suffix= ac_top_builddir=
30801 - .) # No --srcdir option. We are building in place.
30803 - if test -z "$ac_top_builddir"; then
30806 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30808 - [\\/]* | ?:[\\/]* ) # Absolute path.
30809 - ac_srcdir=$srcdir$ac_dir_suffix;
30810 - ac_top_srcdir=$srcdir ;;
30811 - *) # Relative path.
30812 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30813 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30816 -# Do not use `cd foo && pwd` to compute absolute paths, because
30817 -# the directories may not exist.
30819 -.) ac_abs_builddir="$ac_dir";;
30821 - case "$ac_dir" in
30822 - .) ac_abs_builddir=`pwd`;;
30823 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30824 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30827 -case $ac_abs_builddir in
30828 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30830 - case ${ac_top_builddir}. in
30831 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30832 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30833 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30836 -case $ac_abs_builddir in
30837 -.) ac_abs_srcdir=$ac_srcdir;;
30839 - case $ac_srcdir in
30840 - .) ac_abs_srcdir=$ac_abs_builddir;;
30841 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30842 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30845 -case $ac_abs_builddir in
30846 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30848 - case $ac_top_srcdir in
30849 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30850 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30851 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30856 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30857 -echo "$as_me: executing $ac_dest commands" >&6;}
30859 - default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
30865 -cat >>$CONFIG_STATUS <<\_ACEOF
30867 { (exit 0); exit 0; }
30869 Index: linux-atm-2.4.1/depcomp
30870 ===================================================================
30871 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30872 +++ linux-atm-2.4.1/depcomp 2007-10-20 21:45:44.287356221 +0200
30875 +# depcomp - compile a program generating dependencies as side-effects
30877 +scriptversion=2005-07-09.11
30879 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
30881 +# This program is free software; you can redistribute it and/or modify
30882 +# it under the terms of the GNU General Public License as published by
30883 +# the Free Software Foundation; either version 2, or (at your option)
30884 +# any later version.
30886 +# This program is distributed in the hope that it will be useful,
30887 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
30888 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30889 +# GNU General Public License for more details.
30891 +# You should have received a copy of the GNU General Public License
30892 +# along with this program; if not, write to the Free Software
30893 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30894 +# 02110-1301, USA.
30896 +# As a special exception to the GNU General Public License, if you
30897 +# distribute this file as part of a program that contains a
30898 +# configuration script generated by Autoconf, you may include it under
30899 +# the same distribution terms that you use for the rest of that program.
30901 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
30905 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
30910 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
30912 +Run PROGRAMS ARGS to compile a file, generating dependencies
30915 +Environment variables:
30916 + depmode Dependency tracking mode.
30917 + source Source file read by `PROGRAMS ARGS'.
30918 + object Object file output by `PROGRAMS ARGS'.
30919 + DEPDIR directory where to store dependencies.
30920 + depfile Dependency file to output.
30921 + tmpdepfile Temporary file to use when outputing dependencies.
30922 + libtool Whether libtool is used (yes/no).
30924 +Report bugs to <bug-automake@gnu.org>.
30929 + echo "depcomp $scriptversion"
30934 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
30935 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
30939 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
30940 +depfile=${depfile-`echo "$object" |
30941 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
30942 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
30944 +rm -f "$tmpdepfile"
30946 +# Some modes work just like other modes, but use different flags. We
30947 +# parameterize here, but still list the modes in the big case below,
30948 +# to make depend.m4 easier to write. Note that we *cannot* use a case
30949 +# here, because this file can only contain one case statement.
30950 +if test "$depmode" = hp; then
30951 + # HP compiler uses -M and no extra arg.
30956 +if test "$depmode" = dashXmstdout; then
30957 + # This is just like dashmstdout with a different argument.
30959 + depmode=dashmstdout
30962 +case "$depmode" in
30964 +## gcc 3 implements dependency tracking that does exactly what
30965 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
30966 +## it if -MD -MP comes after the -MF stuff. Hmm.
30967 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
30969 + if test $stat -eq 0; then :
30971 + rm -f "$tmpdepfile"
30974 + mv "$tmpdepfile" "$depfile"
30978 +## There are various ways to get dependency output from gcc. Here's
30979 +## why we pick this rather obscure method:
30980 +## - Don't want to use -MD because we'd like the dependencies to end
30981 +## up in a subdir. Having to rename by hand is ugly.
30982 +## (We might end up doing this anyway to support other compilers.)
30983 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
30984 +## -MM, not -M (despite what the docs say).
30985 +## - Using -M directly means running the compiler twice (even worse
30986 +## than renaming).
30987 + if test -z "$gccflag"; then
30990 + "$@" -Wp,"$gccflag$tmpdepfile"
30992 + if test $stat -eq 0; then :
30994 + rm -f "$tmpdepfile"
30998 + echo "$object : \\" > "$depfile"
30999 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
31000 +## The second -e expression handles DOS-style file names with drive letters.
31001 + sed -e 's/^[^:]*: / /' \
31002 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
31003 +## This next piece of magic avoids the `deleted header file' problem.
31004 +## The problem is that when a header file which appears in a .P file
31005 +## is deleted, the dependency causes make to die (because there is
31006 +## typically no way to rebuild the header). We avoid this by adding
31007 +## dummy dependencies for each header file. Too bad gcc doesn't do
31008 +## this for us directly.
31010 +' < "$tmpdepfile" |
31011 +## Some versions of gcc put a space before the `:'. On the theory
31012 +## that the space means something, we add a space to the output as
31014 +## Some versions of the HPUX 10.20 sed can't process this invocation
31015 +## correctly. Breaking it into two sed invocations is a workaround.
31016 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31017 + rm -f "$tmpdepfile"
31021 + # This case exists only to let depend.m4 do its work. It works by
31022 + # looking at the text of this script. This case will never be run,
31023 + # since it is checked for above.
31028 + if test "$libtool" = yes; then
31029 + "$@" "-Wp,-MDupdate,$tmpdepfile"
31031 + "$@" -MDupdate "$tmpdepfile"
31034 + if test $stat -eq 0; then :
31036 + rm -f "$tmpdepfile"
31041 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
31042 + echo "$object : \\" > "$depfile"
31044 + # Clip off the initial element (the dependent). Don't try to be
31045 + # clever and replace this with sed code, as IRIX sed won't handle
31046 + # lines with more than a fixed number of characters (4096 in
31047 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
31048 + # the IRIX cc adds comments like `#:fec' to the end of the
31049 + # dependency line.
31051 +' < "$tmpdepfile" \
31052 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
31057 + # The second pass generates a dummy entry for each header file.
31059 +' < "$tmpdepfile" \
31060 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
31063 + # The sourcefile does not contain any dependencies, so just
31064 + # store a dummy comment line, to avoid errors with the Makefile
31065 + # "include basename.Plo" scheme.
31066 + echo "#dummy" > "$depfile"
31068 + rm -f "$tmpdepfile"
31072 + # The C for AIX Compiler uses -M and outputs the dependencies
31073 + # in a .u file. In older versions, this file always lives in the
31074 + # current directory. Also, the AIX compiler puts `$object:' at the
31075 + # start of each line; $object doesn't have directory information.
31076 + # Version 6 uses the directory in both cases.
31077 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
31078 + tmpdepfile="$stripped.u"
31079 + if test "$libtool" = yes; then
31086 + if test -f "$tmpdepfile"; then :
31088 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
31089 + tmpdepfile="$stripped.u"
31092 + if test $stat -eq 0; then :
31094 + rm -f "$tmpdepfile"
31098 + if test -f "$tmpdepfile"; then
31099 + outname="$stripped.o"
31100 + # Each line is of the form `foo.o: dependent.h'.
31101 + # Do two passes, one to just change these to
31102 + # `$object: dependent.h' and one to simply `dependent.h:'.
31103 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
31104 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
31106 + # The sourcefile does not contain any dependencies, so just
31107 + # store a dummy comment line, to avoid errors with the Makefile
31108 + # "include basename.Plo" scheme.
31109 + echo "#dummy" > "$depfile"
31111 + rm -f "$tmpdepfile"
31115 + # Intel's C compiler understands `-MD -MF file'. However on
31116 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
31117 + # ICC 7.0 will fill foo.d with something like
31118 + # foo.o: sub/foo.c
31119 + # foo.o: sub/foo.h
31120 + # which is wrong. We want:
31121 + # sub/foo.o: sub/foo.c
31122 + # sub/foo.o: sub/foo.h
31125 + # ICC 7.1 will output
31126 + # foo.o: sub/foo.c sub/foo.h
31127 + # and will wrap long lines using \ :
31128 + # foo.o: sub/foo.c ... \
31129 + # sub/foo.h ... \
31132 + "$@" -MD -MF "$tmpdepfile"
31134 + if test $stat -eq 0; then :
31136 + rm -f "$tmpdepfile"
31140 + # Each line is of the form `foo.o: dependent.h',
31141 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
31142 + # Do two passes, one to just change these to
31143 + # `$object: dependent.h' and one to simply `dependent.h:'.
31144 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
31145 + # Some versions of the HPUX 10.20 sed can't process this invocation
31146 + # correctly. Breaking it into two sed invocations is a workaround.
31147 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
31148 + sed -e 's/$/ :/' >> "$depfile"
31149 + rm -f "$tmpdepfile"
31153 + # The Tru64 compiler uses -MD to generate dependencies as a side
31154 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
31155 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
31156 + # dependencies in `foo.d' instead, so we check for that too.
31157 + # Subdirectories are respected.
31158 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
31159 + test "x$dir" = "x$object" && dir=
31160 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
31162 + if test "$libtool" = yes; then
31163 + # With Tru64 cc, shared objects can also be used to make a
31164 + # static library. This mecanism is used in libtool 1.4 series to
31165 + # handle both shared and static libraries in a single compilation.
31166 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
31168 + # With libtool 1.5 this exception was removed, and libtool now
31169 + # generates 2 separate objects for the 2 libraries. These two
31170 + # compilations output dependencies in in $dir.libs/$base.o.d and
31171 + # in $dir$base.o.d. We have to check for both files, because
31172 + # one of the two compilations can be disabled. We should prefer
31173 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
31174 + # automatically cleaned when .libs/ is deleted, while ignoring
31175 + # the former would cause a distcleancheck panic.
31176 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
31177 + tmpdepfile2=$dir$base.o.d # libtool 1.5
31178 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
31179 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
31182 + tmpdepfile1=$dir$base.o.d
31183 + tmpdepfile2=$dir$base.d
31184 + tmpdepfile3=$dir$base.d
31185 + tmpdepfile4=$dir$base.d
31190 + if test $stat -eq 0; then :
31192 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31196 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31198 + test -f "$tmpdepfile" && break
31200 + if test -f "$tmpdepfile"; then
31201 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
31202 + # That's a tab and a space in the [].
31203 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
31205 + echo "#dummy" > "$depfile"
31207 + rm -f "$tmpdepfile"
31211 + # This comment above is used by automake to tell side-effect
31212 + # dependency tracking mechanisms from slower ones.
31215 + # Important note: in order to support this mode, a compiler *must*
31216 + # always write the preprocessed file to stdout, regardless of -o.
31219 + # Remove the call to Libtool.
31220 + if test "$libtool" = yes; then
31221 + while test $1 != '--mode=compile'; do
31227 + # Remove `-o $object'.
31239 + set fnord "$@" "$arg"
31246 + test -z "$dashmflag" && dashmflag=-M
31247 + # Require at least two characters before searching for `:'
31248 + # in the target name. This is to cope with DOS-style filenames:
31249 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
31250 + "$@" $dashmflag |
31251 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
31253 + cat < "$tmpdepfile" > "$depfile"
31255 +' < "$tmpdepfile" | \
31256 +## Some versions of the HPUX 10.20 sed can't process this invocation
31257 +## correctly. Breaking it into two sed invocations is a workaround.
31258 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31259 + rm -f "$tmpdepfile"
31263 + # This case only exists to satisfy depend.m4. It is never actually
31264 + # run, as this mode is specially recognized in the preamble.
31270 + # Remove any Libtool call
31271 + if test "$libtool" = yes; then
31272 + while test $1 != '--mode=compile'; do
31280 + for arg in "$@"; do
31288 + set fnord "$@" "$arg"; shift ;;
31289 + # Strip any option that makedepend may not understand. Remove
31290 + # the object too, otherwise makedepend will parse it as a source file.
31294 + set fnord "$@" "$arg"; shift ;;
31297 + obj_suffix="`echo $object | sed 's/^.*\././'`"
31298 + touch "$tmpdepfile"
31299 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
31301 + cat < "$tmpdepfile" > "$depfile"
31302 + sed '1,2d' "$tmpdepfile" | tr ' ' '
31304 +## Some versions of the HPUX 10.20 sed can't process this invocation
31305 +## correctly. Breaking it into two sed invocations is a workaround.
31306 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31307 + rm -f "$tmpdepfile" "$tmpdepfile".bak
31311 + # Important note: in order to support this mode, a compiler *must*
31312 + # always write the preprocessed file to stdout.
31315 + # Remove the call to Libtool.
31316 + if test "$libtool" = yes; then
31317 + while test $1 != '--mode=compile'; do
31323 + # Remove `-o $object'.
31335 + set fnord "$@" "$arg"
31343 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
31344 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
31345 + sed '$ s: \\$::' > "$tmpdepfile"
31347 + echo "$object : \\" > "$depfile"
31348 + cat < "$tmpdepfile" >> "$depfile"
31349 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
31350 + rm -f "$tmpdepfile"
31354 + # Important note: in order to support this mode, a compiler *must*
31355 + # always write the preprocessed file to stdout, regardless of -o,
31356 + # because we must use -o when running libtool.
31362 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
31368 + set fnord "$@" "$arg"
31375 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
31377 + echo "$object : \\" > "$depfile"
31378 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
31379 + echo " " >> "$depfile"
31380 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
31381 + rm -f "$tmpdepfile"
31389 + echo "Unknown depmode $depmode" 1>&2
31396 +# Local Variables:
31397 +# mode: shell-script
31398 +# sh-indentation: 2
31399 +# eval: (add-hook 'write-file-hooks 'time-stamp)
31400 +# time-stamp-start: "scriptversion="
31401 +# time-stamp-format: "%:y-%02m-%02d.%02H"
31402 +# time-stamp-end: "$"
31404 Index: linux-atm-2.4.1/doc/Makefile.in
31405 ===================================================================
31406 --- linux-atm-2.4.1.orig/doc/Makefile.in 2007-10-20 21:45:35.722868157 +0200
31407 +++ linux-atm-2.4.1/doc/Makefile.in 2007-10-20 21:45:44.291356451 +0200
31409 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
31410 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
31411 +# @configure_input@
31413 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
31414 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
31415 +# 2003, 2004, 2005 Free Software Foundation, Inc.
31416 # This Makefile.in is free software; the Free Software Foundation
31417 # gives unlimited permission to copy and/or distribute it,
31418 # with or without modifications, as long as this notice is preserved.
31419 @@ -10,198 +12,310 @@
31420 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
31421 # PARTICULAR PURPOSE.
31428 top_srcdir = @top_srcdir@
31431 -exec_prefix = @exec_prefix@
31434 -sbindir = @sbindir@
31435 -libexecdir = @libexecdir@
31436 -datadir = @datadir@
31437 -sysconfdir = @sysconfdir@
31438 -sharedstatedir = @sharedstatedir@
31439 -localstatedir = @localstatedir@
31441 -infodir = @infodir@
31443 -includedir = @includedir@
31444 -oldincludedir = /usr/include
31448 pkgdatadir = $(datadir)/@PACKAGE@
31449 pkglibdir = $(libdir)/@PACKAGE@
31450 pkgincludedir = $(includedir)/@PACKAGE@
31454 -ACLOCAL = @ACLOCAL@
31455 -AUTOCONF = @AUTOCONF@
31456 -AUTOMAKE = @AUTOMAKE@
31457 -AUTOHEADER = @AUTOHEADER@
31459 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31460 INSTALL = @INSTALL@
31461 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
31462 -INSTALL_DATA = @INSTALL_DATA@
31463 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
31464 -transform = @program_transform_name@
31466 +install_sh_DATA = $(install_sh) -c -m 644
31467 +install_sh_PROGRAM = $(install_sh) -c
31468 +install_sh_SCRIPT = $(install_sh) -c
31469 +INSTALL_HEADER = $(INSTALL_DATA)
31470 +transform = $(program_transform_name)
31474 NORMAL_UNINSTALL = :
31477 -build_alias = @build_alias@
31478 build_triplet = @build@
31479 -host_alias = @host_alias@
31480 host_triplet = @host@
31481 -target_alias = @target_alias@
31482 target_triplet = @target@
31484 +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
31485 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
31486 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
31487 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
31489 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31490 +CONFIG_HEADER = $(top_builddir)/config.h
31491 +CONFIG_CLEAN_FILES =
31494 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
31495 +ACLOCAL = @ACLOCAL@
31496 +AMDEP_FALSE = @AMDEP_FALSE@
31497 +AMDEP_TRUE = @AMDEP_TRUE@
31501 +AUTOCONF = @AUTOCONF@
31502 +AUTOHEADER = @AUTOHEADER@
31503 +AUTOMAKE = @AUTOMAKE@
31506 +CCDEPMODE = @CCDEPMODE@
31509 +CPPFLAGS = @CPPFLAGS@
31512 -DLLTOOL = @DLLTOOL@
31513 +CXXDEPMODE = @CXXDEPMODE@
31514 +CXXFLAGS = @CXXFLAGS@
31515 +CYGPATH_W = @CYGPATH_W@
31526 -GCJFLAGS = @GCJFLAGS@
31527 -HAVE_LIB = @HAVE_LIB@
31530 +INSTALL_DATA = @INSTALL_DATA@
31531 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
31532 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
31533 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
31534 +LDFLAGS = @LDFLAGS@
31538 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
31539 +LIBOBJS = @LIBOBJS@
31541 LIBTOOL = @LIBTOOL@
31542 LIBTOOL_DEPS = @LIBTOOL_DEPS@
31543 LIBVER_AGE = @LIBVER_AGE@
31544 LIBVER_CURRENT = @LIBVER_CURRENT@
31545 LIBVER_REVISION = @LIBVER_REVISION@
31548 +LTLIBOBJS = @LTLIBOBJS@
31549 MAKEINFO = @MAKEINFO@
31550 -OBJDUMP = @OBJDUMP@
31552 PACKAGE = @PACKAGE@
31553 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
31554 +PACKAGE_NAME = @PACKAGE_NAME@
31555 +PACKAGE_STRING = @PACKAGE_STRING@
31556 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
31557 +PACKAGE_VERSION = @PACKAGE_VERSION@
31558 +PATH_SEPARATOR = @PATH_SEPARATOR@
31562 +SET_MAKE = @SET_MAKE@
31565 VERSION = @VERSION@
31569 +ac_ct_CC = @ac_ct_CC@
31570 +ac_ct_CXX = @ac_ct_CXX@
31571 +ac_ct_F77 = @ac_ct_F77@
31572 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
31573 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
31574 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
31575 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
31576 +am__include = @am__include@
31577 +am__leading_dot = @am__leading_dot@
31578 +am__quote = @am__quote@
31579 +am__tar = @am__tar@
31580 +am__untar = @am__untar@
31583 +build_alias = @build_alias@
31584 +build_cpu = @build_cpu@
31585 +build_os = @build_os@
31586 +build_vendor = @build_vendor@
31587 +datadir = @datadir@
31588 +datarootdir = @datarootdir@
31591 +exec_prefix = @exec_prefix@
31593 +host_alias = @host_alias@
31594 +host_cpu = @host_cpu@
31595 +host_os = @host_os@
31596 +host_vendor = @host_vendor@
31597 +htmldir = @htmldir@
31598 +includedir = @includedir@
31599 +infodir = @infodir@
31600 +install_sh = @install_sh@
31602 +libexecdir = @libexecdir@
31603 +localedir = @localedir@
31604 +localstatedir = @localstatedir@
31606 +mkdir_p = @mkdir_p@
31607 +oldincludedir = @oldincludedir@
31610 +program_transform_name = @program_transform_name@
31612 +sbindir = @sbindir@
31613 +sharedstatedir = @sharedstatedir@
31614 +sysconfdir = @sysconfdir@
31616 +target_alias = @target_alias@
31617 +target_cpu = @target_cpu@
31618 +target_os = @target_os@
31619 +target_vendor = @target_vendor@
31620 EXTRA_DIST = README.CLP README.tc atm-linux-howto.sgml atm-linux-howto.txt
31622 HOWTO = atm-linux-howto.sgml
31623 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31624 -CONFIG_HEADER = ../config.h
31625 -CONFIG_CLEAN_FILES =
31626 -DIST_COMMON = README Makefile.am Makefile.in
31630 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
31636 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
31637 - cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
31638 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
31639 + @for dep in $?; do \
31640 + case '$(am__configure_deps)' in \
31642 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
31647 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
31648 + cd $(top_srcdir) && \
31649 + $(AUTOMAKE) --gnu doc/Makefile
31650 +.PRECIOUS: Makefile
31651 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
31653 + *config.status*) \
31654 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
31656 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
31657 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
31660 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
31661 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31663 +$(top_srcdir)/configure: $(am__configure_deps)
31664 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31665 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
31666 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31668 +mostlyclean-libtool:
31671 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
31672 - cd $(top_builddir) \
31673 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
31675 + -rm -rf .libs _libs
31677 +distclean-libtool:
31679 +uninstall-info-am:
31686 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
31690 distdir: $(DISTFILES)
31691 - here=`cd $(top_builddir) && pwd`; \
31692 - top_distdir=`cd $(top_distdir) && pwd`; \
31693 - distdir=`cd $(distdir) && pwd`; \
31694 - cd $(top_srcdir) \
31695 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
31696 - @for file in $(DISTFILES); do \
31698 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
31699 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
31700 + list='$(DISTFILES)'; for file in $$list; do \
31702 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
31703 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
31705 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
31706 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
31707 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
31709 + $(mkdir_p) "$(distdir)$$dir"; \
31713 if test -d $$d/$$file; then \
31714 - cp -pr $$d/$$file $(distdir)/$$file; \
31715 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
31716 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
31718 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
31720 test -f $(distdir)/$$file \
31721 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
31722 - || cp -p $$d/$$file $(distdir)/$$file || :; \
31723 + || cp -p $$d/$$file $(distdir)/$$file \
31734 -installcheck: installcheck-am
31738 +install: install-am
31739 install-exec: install-exec-am
31742 install-data: install-data-am
31743 +uninstall: uninstall-am
31746 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
31747 -install: install-am
31749 -uninstall: uninstall-am
31751 -all-redirect: all-am
31753 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
31757 +installcheck: installcheck-am
31759 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
31760 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
31761 + `test -z '$(STRIP)' || \
31762 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
31763 mostlyclean-generic:
31768 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
31769 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
31770 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
31772 maintainer-clean-generic:
31773 -mostlyclean-am: mostlyclean-generic
31774 + @echo "This command is intended for maintainers to use"
31775 + @echo "it deletes files that may require special tools to rebuild."
31776 +clean-am: clean-generic clean-libtool mostlyclean-am
31778 -mostlyclean: mostlyclean-am
31779 +distclean: distclean-am
31781 +distclean-am: clean-am distclean-generic distclean-libtool
31783 -clean-am: clean-generic mostlyclean-am
31789 -distclean-am: distclean-generic clean-am
31793 -distclean: distclean-am
31796 -maintainer-clean-am: maintainer-clean-generic distclean-am
31797 - @echo "This command is intended for maintainers to use;"
31798 - @echo "it deletes files that may require special tools to rebuild."
31803 +install-info: install-info-am
31809 maintainer-clean: maintainer-clean-am
31811 +maintainer-clean-am: distclean-am maintainer-clean-generic
31813 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
31814 -installcheck-am installcheck install-exec-am install-exec \
31815 -install-data-am install-data install-am install uninstall-am uninstall \
31816 -all-redirect all-am all installdirs mostlyclean-generic \
31817 -distclean-generic clean-generic maintainer-clean-generic clean \
31818 -mostlyclean distclean maintainer-clean
31819 +mostlyclean: mostlyclean-am
31821 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
31827 +uninstall-am: uninstall-info-am
31829 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
31830 + distclean distclean-generic distclean-libtool distdir dvi \
31831 + dvi-am html html-am info info-am install install-am \
31832 + install-data install-data-am install-exec install-exec-am \
31833 + install-info install-info-am install-man install-strip \
31834 + installcheck installcheck-am installdirs maintainer-clean \
31835 + maintainer-clean-generic mostlyclean mostlyclean-generic \
31836 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
31837 + uninstall-info-am
31840 atm-linux-howto/atm-linux-howto.html: ${HOWTO}
31841 @@ -231,7 +345,6 @@
31844 -rm -rf atm-linux-howto/ *.ps *.pdf *.rtf *.out
31846 # Tell versions [3.59,3.63) of GNU make to not export all variables.
31847 # Otherwise a system limit (for SysV at least) may be exceeded.
31849 Index: linux-atm-2.4.1/ltmain.sh
31850 ===================================================================
31851 --- linux-atm-2.4.1.orig/ltmain.sh 2007-10-20 21:45:35.514856307 +0200
31852 +++ linux-atm-2.4.1/ltmain.sh 2007-10-20 21:45:44.295356677 +0200
31854 # ltmain.sh - Provide generalized library-building support services.
31855 # NOTE: Changing this file will not affect anything until you rerun configure.
31857 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
31858 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
31859 # Free Software Foundation, Inc.
31860 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31862 @@ -17,13 +17,41 @@
31864 # You should have received a copy of the GNU General Public License
31865 # along with this program; if not, write to the Free Software
31866 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31867 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31869 # As a special exception to the GNU General Public License, if you
31870 # distribute this file as part of a program that contains a
31871 # configuration script generated by Autoconf, you may include it under
31872 # the same distribution terms that you use for the rest of that program.
31874 +basename="s,^.*/,,g"
31876 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
31877 +# is ksh but when the shell is invoked as "sh" and the current value of
31878 +# the _XPG environment variable is not equal to 1 (one), the special
31879 +# positional parameter $0, within a function call, is the name of the
31883 +# The name of this program:
31884 +progname=`echo "$progpath" | $SED $basename`
31885 +modename="$progname"
31887 +# Global variables:
31893 +VERSION="1.5.22 Debian 1.5.22-4"
31894 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
31896 +# See if we are running on zsh, and set the options which allow our
31897 +# commands through without removal of \ escapes.
31898 +if test -n "${ZSH_VERSION+set}" ; then
31899 + setopt NO_GLOB_SUBST
31902 # Check that we have a working $echo.
31903 if test "X$1" = X--no-reexec; then
31904 # Discard the --no-reexec flag, and continue.
31908 # Restart under the correct shell, and then maybe $echo will work.
31909 - exec $SHELL "$0" --no-reexec ${1+"$@"}
31910 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
31913 if test "X$1" = X--fallback-echo; then
31919 + exit $EXIT_SUCCESS
31922 -# The name of this program.
31923 -progname=`$echo "$0" | ${SED} 's%^.*/%%'`
31924 -modename="$progname"
31930 -TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"
31933 help="Try \`$progname --help' for more information."
31934 magic="%%%MAGIC variable%%%"
31935 @@ -69,17 +87,18 @@
31936 # metacharacters that are still active within double-quoted strings.
31937 Xsed="${SED}"' -e 1s/^X//'
31938 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
31939 -# test EBCDIC or ASCII
31940 -case `echo A|od -x` in
31941 - *[Cc]1*) # EBCDIC based system
31942 - SP2NL="tr '\100' '\n'"
31943 - NL2SP="tr '\r\n' '\100\100'"
31945 - *) # Assume ASCII based system
31946 - SP2NL="tr '\040' '\012'"
31947 - NL2SP="tr '\015\012' '\040\040'"
31950 +# test EBCDIC or ASCII
31951 +case `echo X|tr X '\101'` in
31952 + A) # ASCII based system
31953 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
31954 + SP2NL='tr \040 \012'
31955 + NL2SP='tr \015\012 \040\040'
31957 + *) # EBCDIC based system
31958 + SP2NL='tr \100 \n'
31959 + NL2SP='tr \r\n \100\100'
31964 # Only set LANG and LC_ALL to C if already set.
31965 @@ -94,12 +113,14 @@
31968 # Make sure IFS has a sensible default
31974 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
31975 - echo "$modename: not configured to build any kind of library" 1>&2
31976 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31978 + $echo "$modename: not configured to build any kind of library" 1>&2
31979 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31980 + exit $EXIT_FAILURE
31983 # Global variables.
31984 @@ -111,11 +132,268 @@
31990 lo2o="s/\\.lo\$/.${objext}/"
31991 o2lo="s/\\.${objext}\$/.lo/"
31993 +#####################################
31994 +# Shell function definitions:
31995 +# This seems to be the best place for them
31997 +# func_mktempdir [string]
31998 +# Make a temporary directory that won't clash with other running
31999 +# libtool processes, and avoids race conditions if possible. If
32000 +# given, STRING is the basename for that directory.
32003 + my_template="${TMPDIR-/tmp}/${1-$progname}"
32005 + if test "$run" = ":"; then
32006 + # Return a directory name, but don't create it in dry-run mode
32007 + my_tmpdir="${my_template}-$$"
32010 + # If mktemp works, use that first and foremost
32011 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
32013 + if test ! -d "$my_tmpdir"; then
32014 + # Failing that, at least try and use $RANDOM to avoid a race
32015 + my_tmpdir="${my_template}-${RANDOM-0}$$"
32017 + save_mktempdir_umask=`umask`
32019 + $mkdir "$my_tmpdir"
32020 + umask $save_mktempdir_umask
32023 + # If we're not in dry-run mode, bomb out on failure
32024 + test -d "$my_tmpdir" || {
32025 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
32026 + exit $EXIT_FAILURE
32030 + $echo "X$my_tmpdir" | $Xsed
32034 +# func_win32_libid arg
32035 +# return the library type of file 'arg'
32037 +# Need a lot of goo to handle *both* DLLs and import libs
32038 +# Has to be a shell function in order to 'eat' the argument
32039 +# that is supplied when $file_magic_command is called.
32040 +func_win32_libid ()
32042 + win32_libid_type="unknown"
32043 + win32_fileres=`file -L $1 2>/dev/null`
32044 + case $win32_fileres in
32045 + *ar\ archive\ import\ library*) # definitely import
32046 + win32_libid_type="x86 archive import"
32048 + *ar\ archive*) # could be an import, or static
32049 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
32050 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
32051 + win32_nmres=`eval $NM -f posix -A $1 | \
32052 + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
32053 + case $win32_nmres in
32054 + import*) win32_libid_type="x86 archive import";;
32055 + *) win32_libid_type="x86 archive static";;
32060 + win32_libid_type="x86 DLL"
32062 + *executable*) # but shell scripts are "executable" too...
32063 + case $win32_fileres in
32064 + *MS\ Windows\ PE\ Intel*)
32065 + win32_libid_type="x86 DLL"
32070 + $echo $win32_libid_type
32074 +# func_infer_tag arg
32075 +# Infer tagged configuration to use if any are available and
32076 +# if one wasn't chosen via the "--tag" command line option.
32077 +# Only attempt this if the compiler in the base compile
32078 +# command doesn't match the default compiler.
32079 +# arg is usually of the form 'gcc ...'
32082 + if test -n "$available_tags" && test -z "$tagname"; then
32084 + for arg in $CC; do
32086 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32090 + CC_quoted="$CC_quoted $arg"
32093 + # Blanks in the command may have been stripped by the calling shell,
32094 + # but not from the CC environment variable when configure was run.
32095 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
32096 + # Blanks at the start of $base_compile will cause this to fail
32097 + # if we don't check for them as well.
32099 + for z in $available_tags; do
32100 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
32101 + # Evaluate the configuration.
32102 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
32104 + for arg in $CC; do
32105 + # Double-quote args containing other shell metacharacters.
32107 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32111 + CC_quoted="$CC_quoted $arg"
32114 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
32115 + # The compiler in the base compile command matches
32116 + # the one in the tagged configuration.
32117 + # Assume this is the tagged configuration we want.
32124 + # If $tagname still isn't set, then no tagged configuration
32125 + # was found and let the user know that the "--tag" command
32126 + # line option must be used.
32127 + if test -z "$tagname"; then
32128 + $echo "$modename: unable to infer tagged configuration"
32129 + $echo "$modename: specify a tag with \`--tag'" 1>&2
32130 + exit $EXIT_FAILURE
32132 +# $echo "$modename: using $tagname tagged configuration"
32140 +# func_extract_an_archive dir oldlib
32141 +func_extract_an_archive ()
32143 + f_ex_an_ar_dir="$1"; shift
32144 + f_ex_an_ar_oldlib="$1"
32146 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
32147 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
32148 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
32151 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
32152 + exit $EXIT_FAILURE
32156 +# func_extract_archives gentop oldlib ...
32157 +func_extract_archives ()
32159 + my_gentop="$1"; shift
32160 + my_oldlibs=${1+"$@"}
32167 + $show "${rm}r $my_gentop"
32168 + $run ${rm}r "$my_gentop"
32169 + $show "$mkdir $my_gentop"
32170 + $run $mkdir "$my_gentop"
32172 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
32176 + for my_xlib in $my_oldlibs; do
32177 + # Extract the objects.
32179 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
32180 + *) my_xabs=`pwd`"/$my_xlib" ;;
32182 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
32183 + my_xdir="$my_gentop/$my_xlib"
32185 + $show "${rm}r $my_xdir"
32186 + $run ${rm}r "$my_xdir"
32187 + $show "$mkdir $my_xdir"
32188 + $run $mkdir "$my_xdir"
32190 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
32191 + exit $exit_status
32195 + $show "Extracting $my_xabs"
32196 + # Do not bother doing anything if just a dry run
32197 + if test -z "$run"; then
32198 + darwin_orig_dir=`pwd`
32199 + cd $my_xdir || exit $?
32200 + darwin_archive=$my_xabs
32201 + darwin_curdir=`pwd`
32202 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
32203 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
32204 + if test -n "$darwin_arches"; then
32205 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
32207 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
32208 + for darwin_arch in $darwin_arches ; do
32209 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32210 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
32211 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32212 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
32213 + cd "$darwin_curdir"
32214 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
32215 + done # $darwin_arches
32216 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
32217 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
32220 + for darwin_file in $darwin_filelist; do
32221 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
32222 + lipo -create -output "$darwin_file" $darwin_files
32223 + done # $darwin_filelist
32225 + cd "$darwin_orig_dir"
32227 + cd "$darwin_orig_dir"
32228 + func_extract_an_archive "$my_xdir" "$my_xabs"
32229 + fi # $darwin_arches
32233 + func_extract_an_archive "$my_xdir" "$my_xabs"
32236 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
32238 + func_extract_archives_result="$my_oldobjs"
32240 +# End of Shell function definitions
32241 +#####################################
32244 +eval std_shrext=\"$shrext_cmds\"
32248 # Parse our command line options once, thoroughly.
32249 -while test $# -gt 0
32250 +while test "$#" -gt 0
32254 @@ -131,6 +409,34 @@
32256 execute_dlfiles="$execute_dlfiles $arg"
32260 + preserve_args="${preserve_args}=$arg"
32262 + # Check whether tagname contains only valid characters
32264 + *[!-_A-Za-z0-9,/]*)
32265 + $echo "$progname: invalid tag name: $tagname" 1>&2
32266 + exit $EXIT_FAILURE
32272 + # Don't test for the "default" C tag, as we know, it's there, but
32273 + # not specially marked.
32276 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
32277 + taglist="$taglist $tagname"
32278 + # Evaluate the configuration.
32279 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
32281 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
32289 @@ -148,18 +454,27 @@
32293 - echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32295 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32297 + $echo "Copyright (C) 2005 Free Software Foundation, Inc."
32298 + $echo "This is free software; see the source for copying conditions. There is NO"
32299 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
32304 - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
32306 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
32307 + # Now print the configurations for the tags.
32308 + for tagname in $taglist; do
32309 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
32315 - echo "$progname: enabling shell trace mode"
32316 + $echo "$progname: enabling shell trace mode"
32318 + preserve_args="$preserve_args $arg"
32322 @@ -167,18 +482,18 @@
32326 - echo "host: $host"
32327 + $echo "host: $host"
32328 if test "$build_libtool_libs" = yes; then
32329 - echo "enable shared libraries"
32330 + $echo "enable shared libraries"
32332 - echo "disable shared libraries"
32333 + $echo "disable shared libraries"
32335 if test "$build_old_libs" = yes; then
32336 - echo "enable static libraries"
32337 + $echo "enable static libraries"
32339 - echo "disable static libraries"
32340 + $echo "disable static libraries"
32346 --finish) mode="finish" ;;
32347 @@ -190,6 +505,19 @@
32349 --quiet | --silent)
32351 + preserve_args="$preserve_args $arg"
32357 + preserve_args="$preserve_args --tag"
32360 + set tag "$optarg" ${1+"$@"}
32363 + preserve_args="$preserve_args --tag"
32367 @@ -200,7 +528,7 @@
32369 $echo "$modename: unrecognized option \`$arg'" 1>&2
32372 + exit $EXIT_FAILURE
32376 @@ -213,9 +541,21 @@
32377 if test -n "$prevopt"; then
32378 $echo "$modename: option \`$prevopt' requires an argument" 1>&2
32381 + exit $EXIT_FAILURE
32384 +case $disable_libs in
32388 + build_libtool_libs=no
32389 + build_old_libs=yes
32392 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
32396 # If this variable is set in any of the actions, the command in it
32397 # will be execed at the end. This prevents here-documents from being
32398 # left over by shells.
32399 @@ -225,8 +565,10 @@
32401 # Infer the operation mode.
32402 if test -z "$mode"; then
32403 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
32404 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
32406 - *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
32407 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
32411 @@ -267,7 +609,7 @@
32412 if test -n "$execute_dlfiles" && test "$mode" != execute; then
32413 $echo "$modename: unrecognized option \`-dlopen'" 1>&2
32416 + exit $EXIT_FAILURE
32419 # Change the help message to a mode-specific one.
32420 @@ -281,158 +623,127 @@
32421 modename="$modename: compile"
32422 # Get the compilation command and the source file.
32426 - srcfile="$nonopt"
32427 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
32440 - # Aesthetically quote the previous argument.
32442 - lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
32445 - # Double-quote args containing other shell metacharacters.
32446 - # Many Bourne shells cannot handle close brackets correctly
32447 - # in scan sets, so we specify it separately.
32448 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32453 - # Add the previous argument to base_compile.
32454 - if test -z "$base_compile"; then
32455 - base_compile="$lastarg"
32457 - base_compile="$base_compile $lastarg"
32460 + case $arg_mode in
32462 + # do not "continue". Instead, add this to base_compile
32468 - # Accept any command-line options.
32471 - if test "$user_target" != "no"; then
32472 - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32479 - build_old_libs=yes
32491 + # Accept any command-line options.
32494 + if test -n "$libobj" ; then
32495 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32496 + exit $EXIT_FAILURE
32506 + -static | -prefer-pic | -prefer-non-pic)
32507 + later="$later $arg"
32521 - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32523 - save_ifs="$IFS"; IFS=','
32524 - for arg in $args; do
32527 + arg_mode=arg # the next one goes into the "base_compile" arg list
32528 + continue # The current "srcfile" will either be retained or
32529 + ;; # replaced later. I would guess that would be a bug.
32532 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32534 + save_ifs="$IFS"; IFS=','
32535 + for arg in $args; do
32538 - # Double-quote args containing other shell metacharacters.
32539 - # Many Bourne shells cannot handle close brackets correctly
32540 - # in scan sets, so we specify it separately.
32542 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32546 - lastarg="$lastarg $arg"
32549 - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32550 + # Double-quote args containing other shell metacharacters.
32551 + # Many Bourne shells cannot handle close brackets correctly
32552 + # in scan sets, so we specify it separately.
32554 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32558 + lastarg="$lastarg $arg"
32561 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32563 - # Add the arguments to base_compile.
32564 - if test -z "$base_compile"; then
32565 - base_compile="$lastarg"
32567 + # Add the arguments to base_compile.
32568 base_compile="$base_compile $lastarg"
32576 - case $user_target in
32578 - # The next one is the -o target name
32583 - # We got the output file
32588 + # Accept the current argument as the source file.
32589 + # The previous "srcfile" becomes the current argument.
32591 + lastarg="$srcfile"
32598 - # Accept the current argument as the source file.
32599 - lastarg="$srcfile"
32601 + esac # case $arg_mode
32603 # Aesthetically quote the previous argument.
32605 - # Backslashify any backslashes, double quotes, and dollar signs.
32606 - # These are the only characters that are still specially
32607 - # interpreted inside of double-quoted scrings.
32608 lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
32611 # Double-quote args containing other shell metacharacters.
32612 # Many Bourne shells cannot handle close brackets correctly
32613 - # in scan sets, so we specify it separately.
32615 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
32616 + # in scan sets (worked around with variable expansion),
32617 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
32618 + # at all, so we specify them separately.
32619 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32620 lastarg="\"$lastarg\""
32624 - # Add the previous argument to base_compile.
32625 - if test -z "$base_compile"; then
32626 - base_compile="$lastarg"
32628 - base_compile="$base_compile $lastarg"
32631 + base_compile="$base_compile $lastarg"
32634 - case $user_target in
32636 + case $arg_mode in
32638 + $echo "$modename: you must specify an argument for -Xcompile"
32639 + exit $EXIT_FAILURE
32642 - # Get the name of the library object.
32643 - libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32645 + $echo "$modename: you must specify a target with \`-o'" 1>&2
32646 + exit $EXIT_FAILURE
32649 - $echo "$modename: you must specify a target with \`-o'" 1>&2
32651 + # Get the name of the library object.
32652 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32656 # Recognize several different file suffixes.
32657 # If the user specifies -o file.o, it is replaced with file.lo
32658 - xform='[cCFSfmso]'
32659 + xform='[cCFSifmso]'
32661 *.ada) xform=ada ;;
32662 *.adb) xform=adb ;;
32663 @@ -440,10 +751,13 @@
32664 *.asm) xform=asm ;;
32665 *.c++) xform=c++ ;;
32667 + *.ii) xform=ii ;;
32668 + *.class) xform=class ;;
32669 *.cpp) xform=cpp ;;
32670 *.cxx) xform=cxx ;;
32671 *.f90) xform=f90 ;;
32672 *.for) xform=for ;;
32673 + *.java) xform=java ;;
32676 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
32677 @@ -452,25 +766,63 @@
32678 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
32680 $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
32682 + exit $EXIT_FAILURE
32686 + func_infer_tag $base_compile
32688 + for arg in $later; do
32691 + build_old_libs=yes
32707 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
32709 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32710 + qlibobj="\"$qlibobj\"" ;;
32712 + test "X$libobj" != "X$qlibobj" \
32713 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
32714 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
32715 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
32716 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32717 + if test "X$xdir" = "X$obj"; then
32722 + lobj=${xdir}$objdir/$objname
32724 if test -z "$base_compile"; then
32725 $echo "$modename: you must specify a compilation command" 1>&2
32728 + exit $EXIT_FAILURE
32731 # Delete any leftover library objects.
32732 if test "$build_old_libs" = yes; then
32733 - removelist="$obj $libobj"
32734 + removelist="$obj $lobj $libobj ${libobj}T"
32736 - removelist="$libobj"
32737 + removelist="$lobj $libobj ${libobj}T"
32740 $run $rm $removelist
32741 - trap "$run $rm $removelist; exit 1" 1 2 15
32742 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32744 # On Cygwin there's no "real" PIC flag so we must build both object types
32746 @@ -489,8 +841,9 @@
32747 output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
32748 lockfile="$output_obj.lock"
32749 removelist="$removelist $output_obj $lockfile"
32750 - trap "$run $rm $removelist; exit 1" 1 2 15
32751 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32757 @@ -498,13 +851,13 @@
32758 # Lock this critical section if it is needed
32759 # We use this script file to make the link, it avoids creating a new file
32760 if test "$need_locks" = yes; then
32761 - until $run ln "$0" "$lockfile" 2>/dev/null; do
32762 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
32763 $show "Waiting for $lockfile to be removed"
32766 elif test "$need_locks" = warn; then
32767 if test -f "$lockfile"; then
32770 *** ERROR, $lockfile exists and contains:
32771 `cat $lockfile 2>/dev/null`
32773 @@ -516,14 +869,33 @@
32776 $run $rm $removelist
32778 + exit $EXIT_FAILURE
32780 - echo $srcfile > "$lockfile"
32781 + $echo "$srcfile" > "$lockfile"
32784 if test -n "$fix_srcfile_path"; then
32785 eval srcfile=\"$fix_srcfile_path\"
32787 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
32788 + case $qsrcfile in
32789 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32790 + qsrcfile="\"$qsrcfile\"" ;;
32793 + $run $rm "$libobj" "${libobj}T"
32795 + # Create a libtool object file (analogous to a ".la" file),
32796 + # but don't create it if we're doing a dry run.
32797 + test -z "$run" && cat > ${libobj}T <<EOF
32798 +# $libobj - a libtool object file
32799 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
32801 +# Please DO NOT delete this file!
32802 +# It is necessary for linking the library.
32804 +# Name of the PIC object.
32807 # Only build a PIC object if we are building libtool libraries.
32808 if test "$build_libtool_libs" = yes; then
32809 @@ -531,53 +903,38 @@
32810 fbsd_hideous_sh_bug=$base_compile
32812 if test "$pic_mode" != no; then
32813 - # All platforms use -DPIC, to notify preprocessed assembler code.
32814 - command="$base_compile $srcfile $pic_flag -DPIC"
32815 + command="$base_compile $qsrcfile $pic_flag"
32817 # Don't build PIC code
32818 - command="$base_compile $srcfile"
32819 + command="$base_compile $qsrcfile"
32821 - if test "$build_old_libs" = yes; then
32822 - lo_libobj="$libobj"
32823 - dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
32824 - if test "X$dir" = "X$libobj"; then
32827 - dir="$dir/$objdir"
32829 - libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
32831 - if test -d "$dir"; then
32832 - $show "$rm $libobj"
32835 - $show "$mkdir $dir"
32838 - if test $status -ne 0 && test ! -d $dir; then
32841 + if test ! -d "${xdir}$objdir"; then
32842 + $show "$mkdir ${xdir}$objdir"
32843 + $run $mkdir ${xdir}$objdir
32845 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
32846 + exit $exit_status
32849 - if test "$compiler_o_lo" = yes; then
32850 - output_obj="$libobj"
32851 - command="$command -o $output_obj"
32852 - elif test "$compiler_c_o" = yes; then
32853 - output_obj="$obj"
32854 - command="$command -o $output_obj"
32856 + if test -z "$output_obj"; then
32857 + # Place PIC objects in $objdir
32858 + command="$command -o $lobj"
32861 - $run $rm "$output_obj"
32862 + $run $rm "$lobj" "$output_obj"
32865 if $run eval "$command"; then :
32867 test -n "$output_obj" && $run $rm $removelist
32869 + exit $EXIT_FAILURE
32872 if test "$need_locks" = warn &&
32873 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32875 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32877 *** ERROR, $lockfile contains:
32878 `cat $lockfile 2>/dev/null`
32880 @@ -592,13 +949,13 @@
32883 $run $rm $removelist
32885 + exit $EXIT_FAILURE
32888 # Just move the object if needed, then go on to compile the next one
32889 - if test x"$output_obj" != x"$libobj"; then
32890 - $show "$mv $output_obj $libobj"
32891 - if $run $mv $output_obj $libobj; then :
32892 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
32893 + $show "$mv $output_obj $lobj"
32894 + if $run $mv $output_obj $lobj; then :
32897 $run $rm $removelist
32898 @@ -606,77 +963,50 @@
32902 - # If we have no pic_flag, then copy the object into place and finish.
32903 - if (test -z "$pic_flag" || test "$pic_mode" != default) &&
32904 - test "$build_old_libs" = yes; then
32905 - # Rename the .lo from within objdir to obj
32906 - if test -f $obj; then
32910 + # Append the name of the PIC object to the libtool object file.
32911 + test -z "$run" && cat >> ${libobj}T <<EOF
32912 +pic_object='$objdir/$objname'
32914 - $show "$mv $libobj $obj"
32915 - if $run $mv $libobj $obj; then :
32918 - $run $rm $removelist
32923 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32924 - if test "X$xdir" = "X$obj"; then
32929 - baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
32930 - libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
32931 - # Now arrange that obj and lo_libobj become the same file
32932 - $show "(cd $xdir && $LN_S $baseobj $libobj)"
32933 - if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
32934 - # Unlock the critical section if it was locked
32935 - if test "$need_locks" != no; then
32936 - $run $rm "$lockfile"
32941 - $run $rm $removelist
32944 + # Allow error messages only from the first compilation.
32945 + if test "$suppress_opt" = yes; then
32946 + suppress_output=' >/dev/null 2>&1'
32949 + # No PIC object so indicate it doesn't exist in the libtool
32951 + test -z "$run" && cat >> ${libobj}T <<EOF
32954 - # Allow error messages only from the first compilation.
32955 - suppress_output=' >/dev/null 2>&1'
32959 # Only build a position-dependent object if we build old libraries.
32960 if test "$build_old_libs" = yes; then
32961 if test "$pic_mode" != yes; then
32962 # Don't build PIC code
32963 - command="$base_compile $srcfile"
32964 + command="$base_compile $qsrcfile"
32966 - # All platforms use -DPIC, to notify preprocessed assembler code.
32967 - command="$base_compile $srcfile $pic_flag -DPIC"
32968 + command="$base_compile $qsrcfile $pic_flag"
32970 if test "$compiler_c_o" = yes; then
32971 command="$command -o $obj"
32972 - output_obj="$obj"
32975 # Suppress compiler output if we already did a PIC compilation.
32976 command="$command$suppress_output"
32977 - $run $rm "$output_obj"
32978 + $run $rm "$obj" "$output_obj"
32980 if $run eval "$command"; then :
32982 $run $rm $removelist
32984 + exit $EXIT_FAILURE
32987 if test "$need_locks" = warn &&
32988 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32990 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32992 *** ERROR, $lockfile contains:
32993 `cat $lockfile 2>/dev/null`
32995 @@ -691,11 +1021,11 @@
32998 $run $rm $removelist
33000 + exit $EXIT_FAILURE
33003 # Just move the object if needed
33004 - if test x"$output_obj" != x"$obj"; then
33005 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
33006 $show "$mv $output_obj $obj"
33007 if $run $mv $output_obj $obj; then :
33009 @@ -705,29 +1035,31 @@
33013 - # Create an invalid libtool object if no PIC, so that we do not
33014 - # accidentally link it into a program.
33015 - if test "$build_libtool_libs" != yes; then
33016 - $show "echo timestamp > $libobj"
33017 - $run eval "echo timestamp > \$libobj" || exit $?
33019 - # Move the .lo from within objdir
33020 - $show "$mv $libobj $lo_libobj"
33021 - if $run $mv $libobj $lo_libobj; then :
33024 - $run $rm $removelist
33028 + # Append the name of the non-PIC object the libtool object file.
33029 + # Only append if the libtool object file exists.
33030 + test -z "$run" && cat >> ${libobj}T <<EOF
33031 +# Name of the non-PIC object.
33032 +non_pic_object='$objname'
33036 + # Append the name of the non-PIC object the libtool object file.
33037 + # Only append if the libtool object file exists.
33038 + test -z "$run" && cat >> ${libobj}T <<EOF
33039 +# Name of the non-PIC object.
33040 +non_pic_object=none
33045 + $run $mv "${libobj}T" "${libobj}"
33047 # Unlock the critical section if it was locked
33048 if test "$need_locks" != no; then
33049 $run $rm "$lockfile"
33053 + exit $EXIT_SUCCESS
33056 # libtool link mode
33057 @@ -738,7 +1070,7 @@
33058 # It is impossible to link a dll without this setting, and
33059 # we shouldn't force the makefile maintainer to figure out
33060 # which system we are compiling for in order to pass an extra
33061 - # flag for every libtool invokation.
33062 + # flag for every libtool invocation.
33063 # allow_undefined=no
33065 # FIXME: Unfortunately, there are problems with the above when trying
33066 @@ -753,6 +1085,7 @@
33069 libtool_args="$nonopt"
33070 + base_compile="$nonopt $@"
33071 compile_command="$nonopt"
33072 finalize_command="$nonopt"
33074 @@ -783,6 +1116,9 @@
33079 + notinst_path= # paths that contain not-installed libtool libraries
33080 + precious_files_regex=
33081 prefer_static_libs=no
33084 @@ -794,6 +1130,9 @@
33090 + func_infer_tag $base_compile
33092 # We need to know -static, to get the right output filenames.
33094 @@ -807,14 +1146,15 @@
33095 if test -n "$link_static_flag"; then
33096 dlopen_self=$dlopen_self_static
33098 + prefer_static_libs=yes
33100 if test -z "$pic_flag" && test -n "$link_static_flag"; then
33101 dlopen_self=$dlopen_self_static
33103 + prefer_static_libs=built
33105 build_libtool_libs=no
33107 - prefer_static_libs=yes
33111 @@ -824,7 +1164,7 @@
33112 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
33114 # Go through the arguments, transforming them on the way.
33115 - while test $# -gt 0; do
33116 + while test "$#" -gt 0; do
33120 @@ -889,7 +1229,7 @@
33121 export_symbols="$arg"
33122 if test ! -f "$arg"; then
33123 $echo "$modename: symbol file \`$arg' does not exist"
33125 + exit $EXIT_FAILURE
33129 @@ -904,18 +1244,135 @@
33134 + precious_files_regex="$arg"
33144 + if test -f "$arg"; then
33147 + for fil in `cat $save_arg`
33149 +# moreargs="$moreargs $fil"
33151 + # A libtool-controlled object.
33153 + # Check to see that this really is a libtool object.
33154 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33158 + # Read the .lo file
33159 + # If there is no directory component, then add one.
33161 + */* | *\\*) . $arg ;;
33165 + if test -z "$pic_object" || \
33166 + test -z "$non_pic_object" ||
33167 + test "$pic_object" = none && \
33168 + test "$non_pic_object" = none; then
33169 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33170 + exit $EXIT_FAILURE
33173 + # Extract subdirectory from the argument.
33174 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33175 + if test "X$xdir" = "X$arg"; then
33181 + if test "$pic_object" != none; then
33182 + # Prepend the subdirectory the object is found in.
33183 + pic_object="$xdir$pic_object"
33185 + if test "$prev" = dlfiles; then
33186 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33187 + dlfiles="$dlfiles $pic_object"
33191 + # If libtool objects are unsupported, then we need to preload.
33196 + # CHECK ME: I think I busted this. -Ossama
33197 + if test "$prev" = dlprefiles; then
33198 + # Preload the old-style object.
33199 + dlprefiles="$dlprefiles $pic_object"
33204 + libobjs="$libobjs $pic_object"
33205 + arg="$pic_object"
33208 + # Non-PIC object.
33209 + if test "$non_pic_object" != none; then
33210 + # Prepend the subdirectory the object is found in.
33211 + non_pic_object="$xdir$non_pic_object"
33213 + # A standard non-PIC object
33214 + non_pic_objects="$non_pic_objects $non_pic_object"
33215 + if test -z "$pic_object" || test "$pic_object" = none ; then
33216 + arg="$non_pic_object"
33219 + # If the PIC object exists, use it instead.
33220 + # $xdir was prepended to $pic_object above.
33221 + non_pic_object="$pic_object"
33222 + non_pic_objects="$non_pic_objects $non_pic_object"
33225 + # Only an error if not doing a dry-run.
33226 + if test -z "$run"; then
33227 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33228 + exit $EXIT_FAILURE
33232 + # Extract subdirectory from the argument.
33233 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33234 + if test "X$xdir" = "X$arg"; then
33240 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33241 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33242 + libobjs="$libobjs $pic_object"
33243 + non_pic_objects="$non_pic_objects $non_pic_object"
33248 + $echo "$modename: link input file \`$save_arg' does not exist"
33249 + exit $EXIT_FAILURE
33256 # We need an absolute path.
33258 [\\/]* | [A-Za-z]:[\\/]*) ;;
33260 $echo "$modename: only absolute run-paths are allowed" 1>&2
33262 + exit $EXIT_FAILURE
33265 if test "$prev" = rpath; then
33266 @@ -947,13 +1404,33 @@
33267 finalize_command="$finalize_command $wl$qarg"
33271 + linker_flags="$linker_flags $qarg"
33272 + compiler_flags="$compiler_flags $qarg"
33274 + compile_command="$compile_command $qarg"
33275 + finalize_command="$finalize_command $qarg"
33279 + shrext_cmds="$arg"
33283 + darwin_framework|darwin_framework_skip)
33284 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
33285 + compile_command="$compile_command $arg"
33286 + finalize_command="$finalize_command $arg"
33291 eval "$prev=\"\$arg\""
33296 - fi # test -n $prev
33297 + fi # test -n "$prev"
33301 @@ -995,7 +1472,7 @@
33302 -export-symbols | -export-symbols-regex)
33303 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
33304 $echo "$modename: more than one -exported-symbols argument is not allowed"
33306 + exit $EXIT_FAILURE
33308 if test "X$arg" = "X-export-symbols"; then
33310 @@ -1005,16 +1482,28 @@
33314 + -framework|-arch|-isysroot)
33316 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
33317 + prev=darwin_framework_skip ;;
33318 + *) compiler_flags="$compiler_flags $arg"
33319 + prev=darwin_framework ;;
33321 + compile_command="$compile_command $arg"
33322 + finalize_command="$finalize_command $arg"
33334 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
33335 # so, if we see these flags be careful not to treat them like -L
33337 case $with_gcc/$host in
33338 - no/*-*-irix* | no/*-*-nonstopux*)
33339 + no/*-*-irix* | /*-*-irix*)
33340 compile_command="$compile_command $arg"
33341 finalize_command="$finalize_command $arg"
33343 @@ -1031,7 +1520,8 @@
33344 absdir=`cd "$dir" && pwd`
33345 if test -z "$absdir"; then
33346 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
33349 + notinst_path="$notinst_path $dir"
33353 @@ -1045,10 +1535,15 @@
33356 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
33357 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
33358 case :$dllsearchpath: in
33360 *) dllsearchpath="$dllsearchpath:$dir";;
33362 + case :$dllsearchpath: in
33363 + *":$testbindir:"*) ;;
33364 + *) dllsearchpath="$dllsearchpath:$testbindir";;
33369 @@ -1057,36 +1552,98 @@
33371 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
33373 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
33374 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
33375 # These systems don't actually have a C or math library (as such)
33378 - *-*-mingw* | *-*-os2*)
33380 # These systems don't actually have a C library (as such)
33381 test "X$arg" = "X-lc" && continue
33383 - *-*-openbsd* | *-*-freebsd*)
33384 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33385 # Do not include libc due to us having libc/libc_r.
33386 test "X$arg" = "X-lc" && continue
33389 - elif test "X$arg" = "X-lc_r"; then
33391 - *-*-openbsd* | *-*-freebsd*)
33392 - # Do not include libc_r directly, use -pthread flag.
33393 + *-*-rhapsody* | *-*-darwin1.[012])
33394 + # Rhapsody C and math libraries are in the System framework
33395 + deplibs="$deplibs -framework System"
33398 + *-*-sco3.2v5* | *-*-sco5v6*)
33399 + # Causes problems with __ctype
33400 + test "X$arg" = "X-lc" && continue
33402 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
33403 + # Compiler inserts libc in the correct place for threads to work
33404 + test "X$arg" = "X-lc" && continue
33407 + elif test "X$arg" = "X-lc_r"; then
33409 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33410 + # Do not include libc_r directly, use -pthread flag.
33415 deplibs="$deplibs $arg"
33419 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
33420 + # classes, name mangling, and exception handling.
33422 + compile_command="$compile_command $arg"
33423 + compiler_flags="$compiler_flags $arg"
33424 + finalize_command="$finalize_command $arg"
33429 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33430 + compiler_flags="$compiler_flags $arg"
33431 + compile_command="$compile_command $arg"
33432 + finalize_command="$finalize_command $arg"
33441 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
33442 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
33443 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
33444 + # +DA*, +DD* enable 64-bit mode on the HP compiler
33445 + # -q* pass through compiler args for the IBM compiler
33446 + # -m* pass through architecture-specific compiler args for GCC
33447 + # -m*, -t[45]*, -txscale* pass through architecture-specific
33448 + # compiler args for GCC
33449 + # -pg pass through profiling flag for GCC
33450 + # @file GCC response files
33451 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
33452 + -t[45]*|-txscale*|@*)
33454 + # Unknown arguments in both finalize_command and compile_command need
33455 + # to be aesthetically quoted because they are evaled later.
33456 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
33458 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
33462 + compile_command="$compile_command $arg"
33463 + finalize_command="$finalize_command $arg"
33464 + compiler_flags="$compiler_flags $arg"
33476 @@ -1111,8 +1668,18 @@
33487 + -precious-files-regex)
33488 + prev=precious_regex
33495 @@ -1135,7 +1702,7 @@
33496 [\\/]* | [A-Za-z]:[\\/]*) ;;
33498 $echo "$modename: only absolute run-paths are allowed" 1>&2
33500 + exit $EXIT_FAILURE
33504 @@ -1163,6 +1730,11 @@
33515 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
33516 @@ -1211,6 +1783,11 @@
33525 # Some other compiler flag.
33527 # Unknown arguments in both finalize_command and compile_command need
33528 @@ -1223,29 +1800,106 @@
33532 - *.lo | *.$objext)
33533 - # A library or standard object.
33534 - if test "$prev" = dlfiles; then
33535 - # This file was specified with -dlopen.
33536 - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33537 - dlfiles="$dlfiles $arg"
33541 - # If libtool objects are unsupported, then we need to preload.
33544 + # A standard object.
33545 + objs="$objs $arg"
33549 + # A libtool-controlled object.
33551 + # Check to see that this really is a libtool object.
33552 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33556 + # Read the .lo file
33557 + # If there is no directory component, then add one.
33559 + */* | *\\*) . $arg ;;
33563 + if test -z "$pic_object" || \
33564 + test -z "$non_pic_object" ||
33565 + test "$pic_object" = none && \
33566 + test "$non_pic_object" = none; then
33567 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33568 + exit $EXIT_FAILURE
33571 + # Extract subdirectory from the argument.
33572 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33573 + if test "X$xdir" = "X$arg"; then
33579 + if test "$pic_object" != none; then
33580 + # Prepend the subdirectory the object is found in.
33581 + pic_object="$xdir$pic_object"
33583 + if test "$prev" = dlfiles; then
33584 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33585 + dlfiles="$dlfiles $pic_object"
33589 + # If libtool objects are unsupported, then we need to preload.
33594 + # CHECK ME: I think I busted this. -Ossama
33595 + if test "$prev" = dlprefiles; then
33596 + # Preload the old-style object.
33597 + dlprefiles="$dlprefiles $pic_object"
33602 + libobjs="$libobjs $pic_object"
33603 + arg="$pic_object"
33607 - if test "$prev" = dlprefiles; then
33608 - # Preload the old-style object.
33609 - dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
33611 + # Non-PIC object.
33612 + if test "$non_pic_object" != none; then
33613 + # Prepend the subdirectory the object is found in.
33614 + non_pic_object="$xdir$non_pic_object"
33616 + # A standard non-PIC object
33617 + non_pic_objects="$non_pic_objects $non_pic_object"
33618 + if test -z "$pic_object" || test "$pic_object" = none ; then
33619 + arg="$non_pic_object"
33622 + # If the PIC object exists, use it instead.
33623 + # $xdir was prepended to $pic_object above.
33624 + non_pic_object="$pic_object"
33625 + non_pic_objects="$non_pic_objects $non_pic_object"
33629 - *.lo) libobjs="$libobjs $arg" ;;
33630 - *) objs="$objs $arg" ;;
33632 + # Only an error if not doing a dry-run.
33633 + if test -z "$run"; then
33634 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33635 + exit $EXIT_FAILURE
33639 + # Extract subdirectory from the argument.
33640 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33641 + if test "X$xdir" = "X$arg"; then
33647 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33648 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33649 + libobjs="$libobjs $pic_object"
33650 + non_pic_objects="$non_pic_objects $non_pic_object"
33655 @@ -1296,7 +1950,7 @@
33656 if test -n "$prev"; then
33657 $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
33660 + exit $EXIT_FAILURE
33663 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
33664 @@ -1305,6 +1959,7 @@
33665 finalize_command="$finalize_command $arg"
33669 # calculate the name of the file, without its directory
33670 outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
33671 libobjs_save="$libobjs"
33672 @@ -1325,12 +1980,12 @@
33673 output_objdir="$output_objdir/$objdir"
33675 # Create the object directory.
33676 - if test ! -d $output_objdir; then
33677 + if test ! -d "$output_objdir"; then
33678 $show "$mkdir $output_objdir"
33679 $run $mkdir $output_objdir
33681 - if test $status -ne 0 && test ! -d $output_objdir; then
33684 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
33685 + exit $exit_status
33689 @@ -1339,7 +1994,7 @@
33691 $echo "$modename: you must specify an output file" 1>&2
33694 + exit $EXIT_FAILURE
33696 *.$libext) linkmode=oldlib ;;
33697 *.lo | *.$objext) linkmode=obj ;;
33698 @@ -1347,7 +2002,17 @@
33699 *) linkmode=prog ;; # Anything else should be a program.
33703 + *cygwin* | *mingw* | *pw32*)
33704 + # don't eliminate duplications in $postdeps and $predeps
33705 + duplicate_compiler_generated_deps=yes
33708 + duplicate_compiler_generated_deps=$duplicate_deps
33714 # Find all interdependent deplibs by searching for libraries
33715 # that are linked more than once (e.g. -la -lb -la)
33716 @@ -1359,12 +2024,30 @@
33718 libs="$libs $deplib"
33721 + if test "$linkmode" = lib; then
33722 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
33724 + # Compute libraries that are listed more than once in $predeps
33725 + # $postdeps and mark them as special (i.e., whose duplicates are
33726 + # not to be eliminated).
33728 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
33729 + for pre_post_dep in $predeps $postdeps; do
33730 + case "$pre_post_deps " in
33731 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
33733 + pre_post_deps="$pre_post_deps $pre_post_dep"
33740 newdependency_libs=
33741 newlib_search_path=
33742 need_relink=no # whether we're linking any uninstalled libtool libraries
33743 notinst_deplibs= # not-installed libtool libraries
33744 - notinst_path= # paths that contain not-installed libtool libraries
33748 @@ -1373,7 +2056,7 @@
33751 $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
33753 + exit $EXIT_FAILURE
33757 @@ -1390,39 +2073,58 @@
33760 for pass in $passes; do
33761 - if test $linkmode = prog; then
33762 - # Determine which files to process
33763 + if test "$linkmode,$pass" = "lib,link" ||
33764 + test "$linkmode,$pass" = "prog,scan"; then
33768 + if test "$linkmode" = prog; then
33772 - save_deplibs="$deplibs" # Collect dlpreopened libraries
33775 + dlopen) libs="$dlfiles" ;;
33776 dlpreopen) libs="$dlprefiles" ;;
33777 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
33779 + libs="$deplibs %DEPLIBS%"
33780 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
33784 + if test "$pass" = dlopen; then
33785 + # Collect dlpreopened libraries
33786 + save_deplibs="$deplibs"
33789 for deplib in $libs; do
33794 - if test $linkmode = oldlib && test $linkmode = obj; then
33795 - $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
33797 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33798 + if test "$linkmode,$pass" = "prog,link"; then
33799 + compile_deplibs="$deplib $compile_deplibs"
33800 + finalize_deplibs="$deplib $finalize_deplibs"
33802 + compiler_flags="$compiler_flags $deplib"
33804 - if test $pass = conv; then
33805 - deplibs="$deplib $deplibs"
33809 + if test "$linkmode" != lib && test "$linkmode" != prog; then
33810 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
33813 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
33814 for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
33815 - # Search the libtool library
33816 - lib="$searchdir/lib${name}.la"
33817 - if test -f "$lib"; then
33821 + for search_ext in .la $std_shrext .so .a; do
33822 + # Search the libtool library
33823 + lib="$searchdir/lib${name}${search_ext}"
33824 + if test -f "$lib"; then
33825 + if test "$search_ext" = ".la"; then
33834 if test "$found" != yes; then
33835 # deplib doesn't seem to be a libtool library
33836 @@ -1431,40 +2133,76 @@
33837 finalize_deplibs="$deplib $finalize_deplibs"
33839 deplibs="$deplib $deplibs"
33840 - test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
33841 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33844 + else # deplib is a libtool library
33845 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
33846 + # We need to do some special things here, and not later.
33847 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
33848 + case " $predeps $postdeps " in
33850 + if (${SED} -e '2q' $lib |
33851 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33855 + */* | *\\*) . $lib ;;
33858 + for l in $old_library $library_names; do
33861 + if test "X$ll" = "X$old_library" ; then # only static version available
33863 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
33864 + test "X$ladir" = "X$lib" && ladir="."
33865 + lib=$ladir/$old_library
33866 + if test "$linkmode,$pass" = "prog,link"; then
33867 + compile_deplibs="$deplib $compile_deplibs"
33868 + finalize_deplibs="$deplib $finalize_deplibs"
33870 + deplibs="$deplib $deplibs"
33871 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33885 deplibs="$deplib $deplibs"
33886 - test $pass = conv && continue
33887 + test "$pass" = conv && continue
33888 newdependency_libs="$deplib $newdependency_libs"
33889 newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33892 - if test $pass = conv; then
33893 + if test "$pass" = conv; then
33894 deplibs="$deplib $deplibs"
33897 - if test $pass = scan; then
33898 + if test "$pass" = scan; then
33899 deplibs="$deplib $deplibs"
33900 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33902 compile_deplibs="$deplib $compile_deplibs"
33903 finalize_deplibs="$deplib $finalize_deplibs"
33905 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33908 - $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
33909 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
33915 - if test $pass = link; then
33916 + if test "$pass" = link; then
33917 dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
33918 # Make sure the xrpath contains only unique directories.
33920 @@ -1477,30 +2215,45 @@
33922 *.la) lib="$deplib" ;;
33924 - if test $pass = conv; then
33925 + if test "$pass" = conv; then
33926 deplibs="$deplib $deplibs"
33931 - if test "$deplibs_check_method" != pass_all; then
33933 - echo "*** Warning: Trying to link with static lib archive $deplib."
33934 - echo "*** I have the capability to make that library automatically link in when"
33935 - echo "*** you link to this library. But I can only do this if you have a"
33936 - echo "*** shared version of the library, which you do not appear to have"
33937 - echo "*** because the file extensions .$libext of this argument makes me believe"
33938 - echo "*** that it is just a static archive that I should not used here."
33940 + case $deplibs_check_method in
33942 + set dummy $deplibs_check_method
33943 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
33944 + if eval $echo \"$deplib\" 2>/dev/null \
33946 + | $EGREP "$match_pattern_regex" > /dev/null; then
33954 + if test "$valid_a_lib" != yes; then
33956 + $echo "*** Warning: Trying to link with static lib archive $deplib."
33957 + $echo "*** I have the capability to make that library automatically link in when"
33958 + $echo "*** you link to this library. But I can only do this if you have a"
33959 + $echo "*** shared version of the library, which you do not appear to have"
33960 + $echo "*** because the file extensions .$libext of this argument makes me believe"
33961 + $echo "*** that it is just a static archive that I should not used here."
33964 - echo "*** Warning: Linking the shared library $output against the"
33965 - echo "*** static library $deplib is not portable!"
33967 + $echo "*** Warning: Linking the shared library $output against the"
33968 + $echo "*** static library $deplib is not portable!"
33969 deplibs="$deplib $deplibs"
33974 - if test $pass != link; then
33975 + if test "$pass" != link; then
33976 deplibs="$deplib $deplibs"
33978 compile_deplibs="$deplib $compile_deplibs"
33979 @@ -1511,14 +2264,18 @@
33983 - if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33984 - # If there is no dlopen support or we're linking statically,
33985 - # we need to preload.
33986 - newdlprefiles="$newdlprefiles $deplib"
33987 - compile_deplibs="$deplib $compile_deplibs"
33988 - finalize_deplibs="$deplib $finalize_deplibs"
33990 - newdlfiles="$newdlfiles $deplib"
33991 + if test "$pass" = conv; then
33992 + deplibs="$deplib $deplibs"
33993 + elif test "$linkmode" = prog; then
33994 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33995 + # If there is no dlopen support or we're linking statically,
33996 + # we need to preload.
33997 + newdlprefiles="$newdlprefiles $deplib"
33998 + compile_deplibs="$deplib $compile_deplibs"
33999 + finalize_deplibs="$deplib $finalize_deplibs"
34001 + newdlfiles="$newdlfiles $deplib"
34006 @@ -1527,17 +2284,17 @@
34009 esac # case $deplib
34010 - if test $found = yes || test -f "$lib"; then :
34011 + if test "$found" = yes || test -f "$lib"; then :
34013 - $echo "$modename: cannot find the library \`$lib'" 1>&2
34015 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
34016 + exit $EXIT_FAILURE
34019 # Check to see that this really is a libtool archive.
34020 - if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34021 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34023 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
34025 + exit $EXIT_FAILURE
34028 ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
34029 @@ -1550,8 +2307,11 @@
34032 # If the library was installed with an old release of libtool,
34033 - # it will not redefine variable installed.
34034 + # it will not redefine variables installed, or shouldnotlink
34040 # Read the .la file
34042 @@ -1561,19 +2321,18 @@
34044 if test "$linkmode,$pass" = "lib,link" ||
34045 test "$linkmode,$pass" = "prog,scan" ||
34046 - { test $linkmode = oldlib && test $linkmode = obj; }; then
34047 - # Add dl[pre]opened files of deplib
34048 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
34049 test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
34050 test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
34053 - if test $pass = conv; then
34054 + if test "$pass" = conv; then
34055 # Only check for convenience libraries
34056 deplibs="$lib $deplibs"
34057 if test -z "$libdir"; then
34058 if test -z "$old_library"; then
34059 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34061 + exit $EXIT_FAILURE
34063 # It is a libtool convenience library, so add in its objects.
34064 convenience="$convenience $ladir/$objdir/$old_library"
34065 @@ -1588,13 +2347,14 @@
34067 tmp_libs="$tmp_libs $deplib"
34069 - elif test $linkmode != prog && test $linkmode != lib; then
34070 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
34071 $echo "$modename: \`$lib' is not a convenience library" 1>&2
34073 + exit $EXIT_FAILURE
34079 # Get the name of the library we link against.
34081 for l in $old_library $library_names; do
34082 @@ -1602,19 +2362,23 @@
34084 if test -z "$linklib"; then
34085 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34087 + exit $EXIT_FAILURE
34090 # This library was specified with -dlopen.
34091 - if test $pass = dlopen; then
34092 + if test "$pass" = dlopen; then
34093 if test -z "$libdir"; then
34094 $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
34096 + exit $EXIT_FAILURE
34098 - if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
34099 + if test -z "$dlname" ||
34100 + test "$dlopen_support" != yes ||
34101 + test "$build_libtool_libs" = no; then
34102 # If there is no dlname, no dlopen support or we're linking
34103 - # statically, we need to preload.
34104 - dlprefiles="$dlprefiles $lib"
34105 + # statically, we need to preload. We also need to preload any
34106 + # dependent libraries so libltdl's deplib preloader doesn't
34107 + # bomb out in the load deplibs phase.
34108 + dlprefiles="$dlprefiles $lib $dependency_libs"
34110 newdlfiles="$newdlfiles $lib"
34112 @@ -1646,19 +2410,27 @@
34116 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
34118 - dir="$ladir/$objdir"
34119 - absdir="$abs_ladir/$objdir"
34120 - # Remove this search path later
34121 - notinst_path="$notinst_path $abs_ladir"
34122 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
34124 + absdir="$abs_ladir"
34125 + # Remove this search path later
34126 + notinst_path="$notinst_path $abs_ladir"
34128 + dir="$ladir/$objdir"
34129 + absdir="$abs_ladir/$objdir"
34130 + # Remove this search path later
34131 + notinst_path="$notinst_path $abs_ladir"
34133 fi # $installed = yes
34134 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34136 # This library was specified with -dlpreopen.
34137 - if test $pass = dlpreopen; then
34138 + if test "$pass" = dlpreopen; then
34139 if test -z "$libdir"; then
34140 $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
34142 + exit $EXIT_FAILURE
34144 # Prefer using a static library (so that no silly _DYNAMIC symbols
34145 # are required to link).
34146 @@ -1674,18 +2446,19 @@
34148 if test -z "$libdir"; then
34149 # Link the convenience library
34150 - if test $linkmode = lib; then
34151 + if test "$linkmode" = lib; then
34152 deplibs="$dir/$old_library $deplibs"
34153 elif test "$linkmode,$pass" = "prog,link"; then
34154 compile_deplibs="$dir/$old_library $compile_deplibs"
34155 finalize_deplibs="$dir/$old_library $finalize_deplibs"
34157 - deplibs="$lib $deplibs"
34158 + deplibs="$lib $deplibs" # used for prog,scan pass
34163 - if test $linkmode = prog && test $pass != link; then
34165 + if test "$linkmode" = prog && test "$pass" != link; then
34166 newlib_search_path="$newlib_search_path $ladir"
34167 deplibs="$lib $deplibs"
34169 @@ -1701,7 +2474,7 @@
34170 -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
34172 # Need to link against all dependency_libs?
34173 - if test $linkalldeplibs = yes; then
34174 + if test "$linkalldeplibs" = yes; then
34175 deplibs="$deplib $deplibs"
34177 # Need to hardcode shared library paths
34178 @@ -1718,13 +2491,19 @@
34180 fi # $linkmode = prog...
34182 - link_static=no # Whether the deplib will be linked statically
34183 - if test -n "$library_names" &&
34184 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34185 - # Link against this shared library
34186 + if test "$linkmode,$pass" = "prog,link"; then
34187 + if test -n "$library_names" &&
34188 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34189 + # We need to hardcode the library path
34190 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
34191 + # Make sure the rpath contains only unique directories.
34192 + case "$temp_rpath " in
34194 + *" $absdir "*) ;;
34195 + *) temp_rpath="$temp_rpath $absdir" ;;
34199 - if test "$linkmode,$pass" = "prog,link" ||
34200 - { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
34201 # Hardcode the library path.
34202 # Skip directories that are in the system default run-time
34204 @@ -1746,17 +2525,6 @@
34208 - if test $linkmode = prog; then
34209 - # We need to hardcode the library path
34210 - if test -n "$shlibpath_var"; then
34211 - # Make sure the rpath contains only unique directories.
34212 - case "$temp_rpath " in
34214 - *" $absdir "*) ;;
34215 - *) temp_rpath="$temp_rpath $dir" ;;
34219 fi # $linkmode,$pass = prog,link...
34221 if test "$alldeplibs" = yes &&
34222 @@ -1766,11 +2534,56 @@
34223 # We only need to search for static libraries
34228 + link_static=no # Whether the deplib will be linked statically
34229 + use_static_libs=$prefer_static_libs
34230 + if test "$use_static_libs" = built && test "$installed" = yes ; then
34231 + use_static_libs=no
34233 + if test -n "$library_names" &&
34234 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
34235 if test "$installed" = no; then
34236 notinst_deplibs="$notinst_deplibs $lib"
34239 + # This is a shared library
34241 + # Warn about portability, can't link against -module's on
34242 + # some systems (darwin)
34243 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
34245 + if test "$linkmode" = prog; then
34246 + $echo "*** Warning: Linking the executable $output against the loadable module"
34248 + $echo "*** Warning: Linking the shared library $output against the loadable module"
34250 + $echo "*** $linklib is not portable!"
34252 + if test "$linkmode" = lib &&
34253 + test "$hardcode_into_libs" = yes; then
34254 + # Hardcode the library path.
34255 + # Skip directories that are in the system default run-time
34257 + case " $sys_lib_dlsearch_path " in
34258 + *" $absdir "*) ;;
34260 + case "$compile_rpath " in
34261 + *" $absdir "*) ;;
34262 + *) compile_rpath="$compile_rpath $absdir"
34266 + case " $sys_lib_dlsearch_path " in
34267 + *" $libdir "*) ;;
34269 + case "$finalize_rpath " in
34270 + *" $libdir "*) ;;
34271 + *) finalize_rpath="$finalize_rpath $libdir"
34277 if test -n "$old_archive_from_expsyms_cmds"; then
34278 # figure out the soname
34279 @@ -1784,7 +2597,7 @@
34280 elif test -n "$soname_spec"; then
34284 + *cygwin* | mingw*)
34285 major=`expr $current - $age`
34286 versuffix="-$major"
34288 @@ -1796,17 +2609,18 @@
34290 # Make a new name for the extract_expsyms_cmds to use
34292 - soname=`echo $soroot | ${SED} -e 's/^.*\///'`
34293 - newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34294 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
34295 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34297 # If the library has no export list, then create one now
34298 if test -f "$output_objdir/$soname-def"; then :
34300 $show "extracting exported symbol list from \`$soname'"
34301 save_ifs="$IFS"; IFS='~'
34302 - eval cmds=\"$extract_expsyms_cmds\"
34303 + cmds=$extract_expsyms_cmds
34304 for cmd in $cmds; do
34306 + eval cmd=\"$cmd\"
34308 $run eval "$cmd" || exit $?
34310 @@ -1817,9 +2631,10 @@
34311 if test -f "$output_objdir/$newlib"; then :; else
34312 $show "generating import library for \`$soname'"
34313 save_ifs="$IFS"; IFS='~'
34314 - eval cmds=\"$old_archive_from_expsyms_cmds\"
34315 + cmds=$old_archive_from_expsyms_cmds
34316 for cmd in $cmds; do
34318 + eval cmd=\"$cmd\"
34320 $run eval "$cmd" || exit $?
34322 @@ -1828,9 +2643,9 @@
34323 # make sure the library variables are pointing to the new library
34326 - fi # test -n $old_archive_from_expsyms_cmds
34327 + fi # test -n "$old_archive_from_expsyms_cmds"
34329 - if test $linkmode = prog || test "$mode" != relink; then
34330 + if test "$linkmode" = prog || test "$mode" != relink; then
34334 @@ -1839,6 +2654,26 @@
34335 immediate | unsupported)
34336 if test "$hardcode_direct" = no; then
34337 add="$dir/$linklib"
34339 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
34340 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
34341 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
34342 + *-*-unixware7*) add_dir="-L$dir" ;;
34344 + # if the lib is a module then we can not link against
34345 + # it, someone is ignoring the new warnings I added
34346 + if /usr/bin/file -L $add 2> /dev/null |
34347 + $EGREP ": [^:]* bundle" >/dev/null ; then
34348 + $echo "** Warning, lib $linklib is a module, not a shared library"
34349 + if test -z "$old_library" ; then
34351 + $echo "** And there doesn't seem to be a static archive available"
34352 + $echo "** The link will probably fail, sorry"
34354 + add="$dir/$old_library"
34358 elif test "$hardcode_minus_L" = no; then
34360 *-*-sunos*) add_shlibpath="$dir" ;;
34361 @@ -1859,10 +2694,10 @@
34363 # Try looking first in the location we're being installed to.
34364 if test -n "$inst_prefix_dir"; then
34365 - case "$libdir" in
34367 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34371 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34376 @@ -1878,7 +2713,7 @@
34378 if test "$lib_linked" != yes; then
34379 $echo "$modename: configuration error: unsupported hardcode properties"
34381 + exit $EXIT_FAILURE
34384 if test -n "$add_shlibpath"; then
34385 @@ -1887,7 +2722,7 @@
34386 *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
34389 - if test $linkmode = prog; then
34390 + if test "$linkmode" = prog; then
34391 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
34392 test -n "$add" && compile_deplibs="$add $compile_deplibs"
34394 @@ -1904,7 +2739,7 @@
34398 - if test $linkmode = prog || test "$mode" = relink; then
34399 + if test "$linkmode" = prog || test "$mode" = relink; then
34403 @@ -1920,21 +2755,28 @@
34404 *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
34407 + elif test "$hardcode_automatic" = yes; then
34408 + if test -n "$inst_prefix_dir" &&
34409 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
34410 + add="$inst_prefix_dir$libdir/$linklib"
34412 + add="$libdir/$linklib"
34415 # We cannot seem to hardcode it, guess we'll fake it.
34416 add_dir="-L$libdir"
34417 # Try looking first in the location we're being installed to.
34418 if test -n "$inst_prefix_dir"; then
34419 - case "$libdir" in
34421 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34425 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34432 - if test $linkmode = prog; then
34433 + if test "$linkmode" = prog; then
34434 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
34435 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
34437 @@ -1942,16 +2784,7 @@
34438 test -n "$add" && deplibs="$add $deplibs"
34441 - elif test $linkmode = prog; then
34442 - if test "$alldeplibs" = yes &&
34443 - { test "$deplibs_check_method" = pass_all ||
34444 - { test "$build_libtool_libs" = yes &&
34445 - test -n "$library_names"; }; }; then
34446 - # We only need to search for static libraries
34450 - # Try to link the static library
34451 + elif test "$linkmode" = prog; then
34452 # Here we assume that one of hardcode_direct or hardcode_minus_L
34453 # is not unsupported. This is valid on all known static and
34454 # shared platforms.
34455 @@ -1971,21 +2804,21 @@
34457 # Just print a warning and add the library to dependency_libs so
34458 # that the program can be linked against the static library.
34460 - echo "*** Warning: This system can not link to static lib archive $lib."
34461 - echo "*** I have the capability to make that library automatically link in when"
34462 - echo "*** you link to this library. But I can only do this if you have a"
34463 - echo "*** shared version of the library, which you do not appear to have."
34465 + $echo "*** Warning: This system can not link to static lib archive $lib."
34466 + $echo "*** I have the capability to make that library automatically link in when"
34467 + $echo "*** you link to this library. But I can only do this if you have a"
34468 + $echo "*** shared version of the library, which you do not appear to have."
34469 if test "$module" = yes; then
34470 - echo "*** But as you try to build a module library, libtool will still create "
34471 - echo "*** a static module, that should work as long as the dlopening application"
34472 - echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34473 + $echo "*** But as you try to build a module library, libtool will still create "
34474 + $echo "*** a static module, that should work as long as the dlopening application"
34475 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34476 if test -z "$global_symbol_pipe"; then
34478 - echo "*** However, this would only work if libtool was able to extract symbol"
34479 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34480 - echo "*** not find such a program. So, this module is probably useless."
34481 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
34483 + $echo "*** However, this would only work if libtool was able to extract symbol"
34484 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34485 + $echo "*** not find such a program. So, this module is probably useless."
34486 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
34488 if test "$build_old_libs" = no; then
34489 build_libtool_libs=module
34490 @@ -1995,17 +2828,16 @@
34494 - convenience="$convenience $dir/$old_library"
34495 - old_convenience="$old_convenience $dir/$old_library"
34496 deplibs="$dir/$old_library $deplibs"
34499 fi # link shared/static library?
34501 - if test $linkmode = lib; then
34502 + if test "$linkmode" = lib; then
34503 if test -n "$dependency_libs" &&
34504 - { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
34505 - test $link_static = yes; }; then
34506 + { test "$hardcode_into_libs" != yes ||
34507 + test "$build_old_libs" = yes ||
34508 + test "$link_static" = yes; }; then
34509 # Extract -R from dependency_libs
34511 for libdir in $dependency_libs; do
34512 @@ -2036,7 +2868,7 @@
34513 tmp_libs="$tmp_libs $deplib"
34516 - if test $link_all_deplibs != no; then
34517 + if test "$link_all_deplibs" != no; then
34518 # Add the search paths of all dependency libraries
34519 for deplib in $dependency_libs; do
34521 @@ -2056,38 +2888,83 @@
34524 if grep "^installed=no" $deplib > /dev/null; then
34525 - path="-L$absdir/$objdir"
34526 + path="$absdir/$objdir"
34528 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
34529 if test -z "$libdir"; then
34530 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
34532 + exit $EXIT_FAILURE
34534 if test "$absdir" != "$libdir"; then
34535 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
34543 + # we do not want to link against static libs,
34544 + # but need to link against shared
34545 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
34546 + if test -n "$deplibrary_names" ; then
34547 + for tmp in $deplibrary_names ; do
34550 + if test -f "$path/$depdepl" ; then
34551 + depdepl="$path/$depdepl"
34553 + # do not add paths which are already there
34554 + case " $newlib_search_path " in
34556 + *) newlib_search_path="$newlib_search_path $path";;
34569 + # Again, we only want to link against shared libraries
34570 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
34571 + for tmp in $newlib_search_path ; do
34572 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
34573 + eval depdepl="$tmp/lib$tmp_libs.dylib"
34584 case " $deplibs " in
34586 - *) deplibs="$deplibs $path" ;;
34587 + *) deplibs="$path $deplibs" ;;
34589 + case " $deplibs " in
34590 + *" $depdepl "*) ;;
34591 + *) deplibs="$depdepl $deplibs" ;;
34594 fi # link_all_deplibs != no
34595 fi # linkmode = lib
34596 done # for deplib in $libs
34597 - if test $pass = dlpreopen; then
34598 + dependency_libs="$newdependency_libs"
34599 + if test "$pass" = dlpreopen; then
34600 # Link the dlpreopened libraries before other libraries
34601 for deplib in $save_deplibs; do
34602 deplibs="$deplib $deplibs"
34605 - if test $pass != dlopen; then
34606 - test $pass != scan && dependency_libs="$newdependency_libs"
34607 - if test $pass != conv; then
34608 + if test "$pass" != dlopen; then
34609 + if test "$pass" != conv; then
34610 # Make sure lib_search_path contains only unique directories.
34612 for dir in $newlib_search_path; do
34613 @@ -2109,9 +2986,30 @@
34614 eval tmp_libs=\"\$$var\"
34616 for deplib in $tmp_libs; do
34617 + # FIXME: Pedantically, this is the right thing to do, so
34618 + # that some nasty dependency loop isn't accidentally
34620 + #new_libs="$deplib $new_libs"
34621 + # Pragmatically, this seems to cause very few problems in
34624 -L*) new_libs="$deplib $new_libs" ;;
34627 + # And here is the reason: when a library appears more
34628 + # than once as an explicit dependence of a library, or
34629 + # is implicitly linked in more than once by the
34630 + # compiler, it is considered special, and multiple
34631 + # occurrences thereof are not removed. Compare this
34632 + # with having the same library being listed as a
34633 + # dependency of multiple other libraries: in this case,
34634 + # we know (pedantically, we assume) the library does not
34635 + # need to be listed more than once, so we keep only the
34636 + # last copy. This is not always right, but it is rare
34637 + # enough that we require users that really mean to play
34638 + # such unportable linking tricks to link the library
34639 + # using -Wl,-lname, so that libtool does not consider it
34640 + # for duplicate removal.
34641 case " $specialdeplibs " in
34642 *" $deplib "*) new_libs="$deplib $new_libs" ;;
34644 @@ -2139,19 +3037,32 @@
34645 eval $var=\"$tmp_libs\"
34648 - if test "$pass" = "conv" &&
34649 - { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
34650 - libs="$deplibs" # reset libs
34653 + # Last step: remove runtime libs from dependency_libs
34654 + # (they stay in deplibs)
34656 + for i in $dependency_libs ; do
34657 + case " $predeps $postdeps $compiler_lib_search_path " in
34662 + if test -n "$i" ; then
34663 + tmp_libs="$tmp_libs $i"
34666 + dependency_libs=$tmp_libs
34668 - if test $linkmode = prog; then
34669 + if test "$linkmode" = prog; then
34670 dlfiles="$newdlfiles"
34671 dlprefiles="$newdlprefiles"
34676 + if test -n "$deplibs"; then
34677 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
34680 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
34681 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
34683 @@ -2165,7 +3076,7 @@
34686 if test -n "$vinfo"; then
34687 - $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
34688 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
34691 if test -n "$release"; then
34692 @@ -2187,17 +3098,19 @@
34693 case $outputname in
34695 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34696 + eval shared_ext=\"$shrext_cmds\"
34697 eval libname=\"$libname_spec\"
34700 if test "$module" = no; then
34701 $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
34704 + exit $EXIT_FAILURE
34706 if test "$need_lib_prefix" != no; then
34707 # Add the "lib" prefix for modules if required
34708 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34709 + eval shared_ext=\"$shrext_cmds\"
34710 eval libname=\"$libname_spec\"
34712 libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34713 @@ -2208,11 +3121,11 @@
34714 if test -n "$objs"; then
34715 if test "$deplibs_check_method" != pass_all; then
34716 $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
34718 + exit $EXIT_FAILURE
34721 - echo "*** Warning: Linking the shared library $output against the non-libtool"
34722 - echo "*** objects $objs is not portable!"
34724 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
34725 + $echo "*** objects $objs is not portable!"
34726 libobjs="$libobjs $objs"
34729 @@ -2222,7 +3135,7 @@
34733 - if test $# -gt 2; then
34734 + if test "$#" -gt 2; then
34735 $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
34737 install_libdir="$2"
34738 @@ -2231,14 +3144,16 @@
34739 if test -z "$rpath"; then
34740 if test "$build_libtool_libs" = yes; then
34741 # Building a libtool convenience library.
34743 + # Some compilers have problems with a `.al' extension so
34744 + # convenience libraries should have the same extension an
34745 + # archive normally would.
34746 oldlibs="$output_objdir/$libname.$libext $oldlibs"
34747 build_libtool_libs=convenience
34751 if test -n "$vinfo"; then
34752 - $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
34753 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
34756 if test -n "$release"; then
34757 @@ -2254,45 +3169,87 @@
34758 if test -n "$8"; then
34759 $echo "$modename: too many parameters to \`-version-info'" 1>&2
34762 + exit $EXIT_FAILURE
34768 + # convert absolute version numbers to libtool ages
34769 + # this retains compatibility with .la files and attempts
34770 + # to make the code below a bit more comprehensible
34772 + case $vinfo_number in
34774 + number_major="$2"
34775 + number_minor="$3"
34776 + number_revision="$4"
34778 + # There are really only two kinds -- those that
34779 + # use the current revision as the major version
34780 + # and those that subtract age and use age as
34781 + # a minor version. But, then there is irix
34782 + # which has an extra 1 added just for fun
34784 + case $version_type in
34785 + darwin|linux|osf|windows)
34786 + current=`expr $number_major + $number_minor`
34787 + age="$number_minor"
34788 + revision="$number_revision"
34790 + freebsd-aout|freebsd-elf|sunos)
34791 + current="$number_major"
34792 + revision="$number_minor"
34796 + current=`expr $number_major + $number_minor - 1`
34797 + age="$number_minor"
34798 + revision="$number_minor"
34801 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
34802 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34803 + exit $EXIT_FAILURE
34814 # Check that each of the things are valid numbers.
34816 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34817 + 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]) ;;
34819 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
34820 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
34821 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34823 + exit $EXIT_FAILURE
34828 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34829 + 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]) ;;
34831 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
34832 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
34833 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34835 + exit $EXIT_FAILURE
34840 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34841 + 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]) ;;
34843 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
34844 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
34845 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34847 + exit $EXIT_FAILURE
34851 - if test $age -gt $current; then
34852 + if test "$age" -gt "$current"; then
34853 $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
34854 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34856 + exit $EXIT_FAILURE
34859 # Calculate the version variables.
34860 @@ -2309,7 +3266,7 @@
34861 versuffix="$major.$age.$revision"
34862 # Darwin ld doesn't like 0 for these options...
34863 minor_current=`expr $current + 1`
34864 - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
34865 + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
34869 @@ -2333,7 +3290,7 @@
34871 # Add in all the interfaces that we are compatible with.
34873 - while test $loop != 0; do
34874 + while test "$loop" -ne 0; do
34875 iface=`expr $revision - $loop`
34876 loop=`expr $loop - 1`
34877 verstring="$verstring_prefix$major.$iface:$verstring"
34878 @@ -2356,7 +3313,7 @@
34880 # Add in all the interfaces that we are compatible with.
34882 - while test $loop != 0; do
34883 + while test "$loop" -ne 0; do
34884 iface=`expr $current - $loop`
34885 loop=`expr $loop - 1`
34886 verstring="$verstring:${iface}.0"
34887 @@ -2380,20 +3337,19 @@
34890 $echo "$modename: unknown library version type \`$version_type'" 1>&2
34891 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34893 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34894 + exit $EXIT_FAILURE
34898 # Clear the version info if we defaulted, and they specified a release.
34899 if test -z "$vinfo" && test -n "$release"; then
34902 case $version_type in
34904 # we can't check for "0.0" in archive_cmds due to quoting
34905 # problems, so we reset it completely
34911 @@ -2427,9 +3383,30 @@
34914 if test "$mode" != relink; then
34915 - # Remove our outputs.
34916 - $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
34917 - $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
34918 + # Remove our outputs, but don't remove object files since they
34919 + # may have been created when compiling PIC objects.
34921 + tempremovelist=`$echo "$output_objdir/*"`
34922 + for p in $tempremovelist; do
34926 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
34927 + if test "X$precious_files_regex" != "X"; then
34928 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
34933 + removelist="$removelist $p"
34938 + if test -n "$removelist"; then
34939 + $show "${rm}r $removelist"
34940 + $run ${rm}r $removelist
34944 # Now set the variables for building old libraries.
34945 @@ -2442,9 +3419,9 @@
34947 # Eliminate all temporary directories.
34948 for path in $notinst_path; do
34949 - lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
34950 - deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
34951 - dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
34952 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
34953 + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
34954 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
34957 if test -n "$xrpath"; then
34958 @@ -2457,7 +3434,7 @@
34959 *) finalize_rpath="$finalize_rpath $libdir" ;;
34962 - if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
34963 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
34964 dependency_libs="$temp_xrpath $dependency_libs"
34967 @@ -2495,12 +3472,18 @@
34969 # Don't link with libc until the a.out ld.so is fixed.
34971 - *-*-openbsd* | *-*-freebsd*)
34972 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
34973 # Do not include libc due to us having libc/libc_r.
34976 + *-*-sco3.2v5* | *-*-sco5v6*)
34977 + # Causes problems with __ctype
34979 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
34980 + # Compiler inserts libc in the correct place for threads to work
34983 # Add libc to deplibs on all other systems if necessary.
34984 - if test $build_libtool_need_lc = "yes"; then
34985 + if test "$build_libtool_need_lc" = "yes"; then
34986 deplibs="$deplibs -lc"
34989 @@ -2527,7 +3510,7 @@
34990 # This might be a little naive. We might want to check
34991 # whether the library exists or not. But this is on
34992 # osf3 & osf4 and I'm not really sure... Just
34993 - # implementing what was already the behaviour.
34994 + # implementing what was already the behavior.
34995 newdeplibs=$deplibs
34998 @@ -2540,68 +3523,88 @@
34999 int main() { return 0; }
35002 - $CC -o conftest conftest.c $deplibs
35003 - if test $? -eq 0 ; then
35004 + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
35005 + if test "$?" -eq 0 ; then
35006 ldd_output=`ldd conftest`
35007 for i in $deplibs; do
35008 - name="`expr $i : '-l\(.*\)'`"
35009 + name=`expr $i : '-l\(.*\)'`
35010 # If $name is empty we are operating on a -L argument.
35011 - if test -n "$name" && test "$name" != "0"; then
35012 - libname=`eval \\$echo \"$libname_spec\"`
35013 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35014 - set dummy $deplib_matches
35016 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35017 - newdeplibs="$newdeplibs $i"
35021 - echo "*** Warning: dynamic linker does not accept needed library $i."
35022 - echo "*** I have the capability to make that library automatically link in when"
35023 - echo "*** you link to this library. But I can only do this if you have a"
35024 - echo "*** shared version of the library, which I believe you do not have"
35025 - echo "*** because a test_compile did reveal that the linker did not use it for"
35026 - echo "*** its dynamic dependency list that programs get resolved with at runtime."
35027 + if test "$name" != "" && test "$name" -ne "0"; then
35028 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35029 + case " $predeps $postdeps " in
35031 + newdeplibs="$newdeplibs $i"
35036 + if test -n "$i" ; then
35037 + libname=`eval \\$echo \"$libname_spec\"`
35038 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35039 + set dummy $deplib_matches
35041 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35042 + newdeplibs="$newdeplibs $i"
35046 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35047 + $echo "*** I have the capability to make that library automatically link in when"
35048 + $echo "*** you link to this library. But I can only do this if you have a"
35049 + $echo "*** shared version of the library, which I believe you do not have"
35050 + $echo "*** because a test_compile did reveal that the linker did not use it for"
35051 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
35055 newdeplibs="$newdeplibs $i"
35059 - # Error occured in the first compile. Let's try to salvage
35060 + # Error occurred in the first compile. Let's try to salvage
35061 # the situation: Compile a separate program for each library.
35062 for i in $deplibs; do
35063 - name="`expr $i : '-l\(.*\)'`"
35064 - # If $name is empty we are operating on a -L argument.
35065 - if test -n "$name" && test "$name" != "0"; then
35066 + name=`expr $i : '-l\(.*\)'`
35067 + # If $name is empty we are operating on a -L argument.
35068 + if test "$name" != "" && test "$name" != "0"; then
35070 - $CC -o conftest conftest.c $i
35071 + $LTCC $LTCFLAGS -o conftest conftest.c $i
35073 - if test $? -eq 0 ; then
35074 + if test "$?" -eq 0 ; then
35075 ldd_output=`ldd conftest`
35076 - libname=`eval \\$echo \"$libname_spec\"`
35077 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35078 - set dummy $deplib_matches
35080 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35081 - newdeplibs="$newdeplibs $i"
35085 - echo "*** Warning: dynamic linker does not accept needed library $i."
35086 - echo "*** I have the capability to make that library automatically link in when"
35087 - echo "*** you link to this library. But I can only do this if you have a"
35088 - echo "*** shared version of the library, which you do not appear to have"
35089 - echo "*** because a test_compile did reveal that the linker did not use this one"
35090 - echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35091 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35092 + case " $predeps $postdeps " in
35094 + newdeplibs="$newdeplibs $i"
35099 + if test -n "$i" ; then
35100 + libname=`eval \\$echo \"$libname_spec\"`
35101 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35102 + set dummy $deplib_matches
35104 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35105 + newdeplibs="$newdeplibs $i"
35109 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35110 + $echo "*** I have the capability to make that library automatically link in when"
35111 + $echo "*** you link to this library. But I can only do this if you have a"
35112 + $echo "*** shared version of the library, which you do not appear to have"
35113 + $echo "*** because a test_compile did reveal that the linker did not use this one"
35114 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35120 - echo "*** Warning! Library $i is needed by this library but I was not able to"
35121 - echo "*** make it link in! You will probably need to install it or some"
35122 - echo "*** library that it depends on before this library will be fully"
35123 - echo "*** functional. Installing it before continuing would be even better."
35125 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
35126 + $echo "*** make it link in! You will probably need to install it or some"
35127 + $echo "*** library that it depends on before this library will be fully"
35128 + $echo "*** functional. Installing it before continuing would be even better."
35131 newdeplibs="$newdeplibs $i"
35132 @@ -2613,13 +3616,22 @@
35133 set dummy $deplibs_check_method
35134 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35135 for a_deplib in $deplibs; do
35136 - name="`expr $a_deplib : '-l\(.*\)'`"
35137 + name=`expr $a_deplib : '-l\(.*\)'`
35138 # If $name is empty we are operating on a -L argument.
35139 - if test -n "$name" && test "$name" != "0"; then
35140 - libname=`eval \\$echo \"$libname_spec\"`
35141 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35142 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35143 - for potent_lib in $potential_libs; do
35144 + if test "$name" != "" && test "$name" != "0"; then
35145 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35146 + case " $predeps $postdeps " in
35148 + newdeplibs="$newdeplibs $a_deplib"
35153 + if test -n "$a_deplib" ; then
35154 + libname=`eval \\$echo \"$libname_spec\"`
35155 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35156 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35157 + for potent_lib in $potential_libs; do
35158 # Follow soft links.
35159 if ls -lLd "$potent_lib" 2>/dev/null \
35160 | grep " -> " >/dev/null; then
35161 @@ -2640,26 +3652,27 @@
35163 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
35165 - | egrep "$file_magic_regex" > /dev/null; then
35166 + | $EGREP "$file_magic_regex" > /dev/null; then
35167 newdeplibs="$newdeplibs $a_deplib"
35176 if test -n "$a_deplib" ; then
35179 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35180 - echo "*** I have the capability to make that library automatically link in when"
35181 - echo "*** you link to this library. But I can only do this if you have a"
35182 - echo "*** shared version of the library, which you do not appear to have"
35183 - echo "*** because I did check the linker path looking for a file starting"
35185 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35186 + $echo "*** I have the capability to make that library automatically link in when"
35187 + $echo "*** you link to this library. But I can only do this if you have a"
35188 + $echo "*** shared version of the library, which you do not appear to have"
35189 + $echo "*** because I did check the linker path looking for a file starting"
35190 if test -z "$potlib" ; then
35191 - echo "*** with $libname but no candidates were found. (...for file magic test)"
35192 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
35194 - echo "*** with $libname and none of the candidates passed a file format test"
35195 - echo "*** using a file magic. Last file checked: $potlib"
35196 + $echo "*** with $libname and none of the candidates passed a file format test"
35197 + $echo "*** using a file magic. Last file checked: $potlib"
35201 @@ -2672,36 +3685,46 @@
35202 set dummy $deplibs_check_method
35203 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35204 for a_deplib in $deplibs; do
35205 - name="`expr $a_deplib : '-l\(.*\)'`"
35206 + name=`expr $a_deplib : '-l\(.*\)'`
35207 # If $name is empty we are operating on a -L argument.
35208 if test -n "$name" && test "$name" != "0"; then
35209 - libname=`eval \\$echo \"$libname_spec\"`
35210 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35211 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35212 - for potent_lib in $potential_libs; do
35213 - potlib="$potent_lib" # see symlink-check below in file_magic test
35214 - if eval echo \"$potent_lib\" 2>/dev/null \
35216 - | egrep "$match_pattern_regex" > /dev/null; then
35217 - newdeplibs="$newdeplibs $a_deplib"
35221 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35222 + case " $predeps $postdeps " in
35224 + newdeplibs="$newdeplibs $a_deplib"
35229 + if test -n "$a_deplib" ; then
35230 + libname=`eval \\$echo \"$libname_spec\"`
35231 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35232 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35233 + for potent_lib in $potential_libs; do
35234 + potlib="$potent_lib" # see symlink-check above in file_magic test
35235 + if eval $echo \"$potent_lib\" 2>/dev/null \
35237 + | $EGREP "$match_pattern_regex" > /dev/null; then
35238 + newdeplibs="$newdeplibs $a_deplib"
35246 if test -n "$a_deplib" ; then
35249 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35250 - echo "*** I have the capability to make that library automatically link in when"
35251 - echo "*** you link to this library. But I can only do this if you have a"
35252 - echo "*** shared version of the library, which you do not appear to have"
35253 - echo "*** because I did check the linker path looking for a file starting"
35255 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35256 + $echo "*** I have the capability to make that library automatically link in when"
35257 + $echo "*** you link to this library. But I can only do this if you have a"
35258 + $echo "*** shared version of the library, which you do not appear to have"
35259 + $echo "*** because I did check the linker path looking for a file starting"
35260 if test -z "$potlib" ; then
35261 - echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35262 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35264 - echo "*** with $libname and none of the candidates passed a file format test"
35265 - echo "*** using a regex pattern. Last file checked: $potlib"
35266 + $echo "*** with $libname and none of the candidates passed a file format test"
35267 + $echo "*** using a regex pattern. Last file checked: $potlib"
35271 @@ -2712,16 +3735,23 @@
35273 none | unknown | *)
35275 - if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35276 - -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
35277 - grep . >/dev/null; then
35279 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35280 + -e 's/ -[LR][^ ]*//g'`
35281 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35282 + for i in $predeps $postdeps ; do
35283 + # can't use Xsed below, because $i might contain '/'
35284 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
35287 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
35288 + | grep . >/dev/null; then
35290 if test "X$deplibs_check_method" = "Xnone"; then
35291 - echo "*** Warning: inter-library dependencies are not supported in this platform."
35292 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
35294 - echo "*** Warning: inter-library dependencies are not known to be supported."
35295 + $echo "*** Warning: inter-library dependencies are not known to be supported."
35297 - echo "*** All declared inter-library dependencies are being dropped."
35298 + $echo "*** All declared inter-library dependencies are being dropped."
35302 @@ -2741,17 +3771,17 @@
35304 if test "$droppeddeps" = yes; then
35305 if test "$module" = yes; then
35307 - echo "*** Warning: libtool could not satisfy all declared inter-library"
35308 - echo "*** dependencies of module $libname. Therefore, libtool will create"
35309 - echo "*** a static module, that should work as long as the dlopening"
35310 - echo "*** application is linked with the -dlopen flag."
35312 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
35313 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
35314 + $echo "*** a static module, that should work as long as the dlopening"
35315 + $echo "*** application is linked with the -dlopen flag."
35316 if test -z "$global_symbol_pipe"; then
35318 - echo "*** However, this would only work if libtool was able to extract symbol"
35319 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35320 - echo "*** not find such a program. So, this module is probably useless."
35321 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
35323 + $echo "*** However, this would only work if libtool was able to extract symbol"
35324 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35325 + $echo "*** not find such a program. So, this module is probably useless."
35326 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
35328 if test "$build_old_libs" = no; then
35329 oldlibs="$output_objdir/$libname.$libext"
35330 @@ -2761,16 +3791,16 @@
35331 build_libtool_libs=no
35334 - echo "*** The inter-library dependencies that have been dropped here will be"
35335 - echo "*** automatically added whenever a program is linked with this library"
35336 - echo "*** or is declared to -dlopen it."
35338 - if test $allow_undefined = no; then
35340 - echo "*** Since this library must not contain undefined symbols,"
35341 - echo "*** because either the platform does not support them or"
35342 - echo "*** it was explicitly requested with -no-undefined,"
35343 - echo "*** libtool will only create a static version of it."
35344 + $echo "*** The inter-library dependencies that have been dropped here will be"
35345 + $echo "*** automatically added whenever a program is linked with this library"
35346 + $echo "*** or is declared to -dlopen it."
35348 + if test "$allow_undefined" = no; then
35350 + $echo "*** Since this library must not contain undefined symbols,"
35351 + $echo "*** because either the platform does not support them or"
35352 + $echo "*** it was explicitly requested with -no-undefined,"
35353 + $echo "*** libtool will only create a static version of it."
35354 if test "$build_old_libs" = no; then
35355 oldlibs="$output_objdir/$libname.$libext"
35356 build_libtool_libs=module
35357 @@ -2785,6 +3815,35 @@
35358 deplibs=$newdeplibs
35362 + # move library search paths that coincide with paths to not yet
35363 + # installed libraries to the beginning of the library search list
35365 + for path in $notinst_path; do
35366 + case " $new_libs " in
35367 + *" -L$path/$objdir "*) ;;
35369 + case " $deplibs " in
35370 + *" -L$path/$objdir "*)
35371 + new_libs="$new_libs -L$path/$objdir" ;;
35376 + for deplib in $deplibs; do
35379 + case " $new_libs " in
35380 + *" $deplib "*) ;;
35381 + *) new_libs="$new_libs $deplib" ;;
35384 + *) new_libs="$new_libs $deplib" ;;
35387 + deplibs="$new_libs"
35390 # All the library-specific variables (install_libdir is set above).
35393 @@ -2792,7 +3851,7 @@
35395 # Test again, we may have decided not to build it any more
35396 if test "$build_libtool_libs" = yes; then
35397 - if test $hardcode_into_libs = yes; then
35398 + if test "$hardcode_into_libs" = yes; then
35399 # Hardcode the library paths
35402 @@ -2828,7 +3887,11 @@
35403 if test -n "$hardcode_libdir_separator" &&
35404 test -n "$hardcode_libdirs"; then
35405 libdir="$hardcode_libdirs"
35406 - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35407 + if test -n "$hardcode_libdir_flag_spec_ld"; then
35408 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
35410 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35413 if test -n "$runpath_var" && test -n "$perm_rpath"; then
35414 # We should set the runpath_var.
35415 @@ -2848,6 +3911,7 @@
35418 # Get the real and link names of the library.
35419 + eval shared_ext=\"$shrext_cmds\"
35420 eval library_names=\"$library_names_spec\"
35421 set dummy $library_names
35423 @@ -2858,31 +3922,17 @@
35427 - test -z "$dlname" && dlname=$soname
35428 + if test -z "$dlname"; then
35432 lib="$output_objdir/$realname"
35436 linknames="$linknames $link"
35439 - # Ensure that we have .o objects for linkers which dislike .lo
35440 - # (e.g. aix) in case we are running --disable-static
35441 - for obj in $libobjs; do
35442 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
35443 - if test "X$xdir" = "X$obj"; then
35448 - baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
35449 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35450 - if test ! -f $xdir/$oldobj; then
35451 - $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
35452 - $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
35456 # Use standard objects if they are pic
35457 test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
35459 @@ -2892,17 +3942,29 @@
35460 $show "generating symbol list for \`$libname.la'"
35461 export_symbols="$output_objdir/$libname.exp"
35462 $run $rm $export_symbols
35463 - eval cmds=\"$export_symbols_cmds\"
35464 + cmds=$export_symbols_cmds
35465 save_ifs="$IFS"; IFS='~'
35466 for cmd in $cmds; do
35469 - $run eval "$cmd" || exit $?
35470 + eval cmd=\"$cmd\"
35471 + if len=`expr "X$cmd" : ".*"` &&
35472 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35474 + $run eval "$cmd" || exit $?
35475 + skipped_export=false
35477 + # The command line is too long to execute in one step.
35478 + $show "using reloadable object file for export list..."
35480 + # Break out early, otherwise skipped_export may be
35481 + # set to false by a later but shorter cmd.
35486 if test -n "$export_symbols_regex"; then
35487 - $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35488 - $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35489 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35490 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35491 $show "$mv \"${export_symbols}T\" \"$export_symbols\""
35492 $run eval '$mv "${export_symbols}T" "$export_symbols"'
35494 @@ -2913,46 +3975,30 @@
35495 $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
35499 + for test_deplib in $deplibs; do
35500 + case " $convenience " in
35501 + *" $test_deplib "*) ;;
35503 + tmp_deplibs="$tmp_deplibs $test_deplib"
35507 + deplibs="$tmp_deplibs"
35509 if test -n "$convenience"; then
35510 if test -n "$whole_archive_flag_spec"; then
35511 + save_libobjs=$libobjs
35512 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35514 gentop="$output_objdir/${outputname}x"
35515 - $show "${rm}r $gentop"
35516 - $run ${rm}r "$gentop"
35517 - $show "mkdir $gentop"
35518 - $run mkdir "$gentop"
35520 - if test $status -ne 0 && test ! -d "$gentop"; then
35523 generated="$generated $gentop"
35525 - for xlib in $convenience; do
35526 - # Extract the objects.
35528 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35529 - *) xabs=`pwd`"/$xlib" ;;
35531 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35532 - xdir="$gentop/$xlib"
35534 - $show "${rm}r $xdir"
35535 - $run ${rm}r "$xdir"
35536 - $show "mkdir $xdir"
35537 - $run mkdir "$xdir"
35539 - if test $status -ne 0 && test ! -d "$xdir"; then
35542 - $show "(cd $xdir && $AR x $xabs)"
35543 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35545 - libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35547 + func_extract_archives $gentop $convenience
35548 + libobjs="$libobjs $func_extract_archives_result"
35553 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
35554 eval flag=\"$thread_safe_flag_spec\"
35555 linker_flags="$linker_flags $flag"
35556 @@ -2964,34 +4010,175 @@
35559 # Do each of the archive commands.
35560 + if test "$module" = yes && test -n "$module_cmds" ; then
35561 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35562 + eval test_cmds=\"$module_expsym_cmds\"
35563 + cmds=$module_expsym_cmds
35565 + eval test_cmds=\"$module_cmds\"
35566 + cmds=$module_cmds
35569 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35570 - eval cmds=\"$archive_expsym_cmds\"
35571 + eval test_cmds=\"$archive_expsym_cmds\"
35572 + cmds=$archive_expsym_cmds
35574 + eval test_cmds=\"$archive_cmds\"
35575 + cmds=$archive_cmds
35579 + if test "X$skipped_export" != "X:" &&
35580 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35581 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35584 - save_deplibs="$deplibs"
35585 - for conv in $convenience; do
35587 - for test_deplib in $deplibs; do
35588 - if test "$test_deplib" != "$conv"; then
35589 - tmp_deplibs="$tmp_deplibs $test_deplib"
35590 + # The command line is too long to link in one step, link piecewise.
35591 + $echo "creating reloadable object files..."
35593 + # Save the value of $output and $libobjs because we want to
35594 + # use them later. If we have whole_archive_flag_spec, we
35595 + # want to use save_libobjs as it was before
35596 + # whole_archive_flag_spec was expanded, because we can't
35597 + # assume the linker understands whole_archive_flag_spec.
35598 + # This may have to be revisited, in case too many
35599 + # convenience libraries get linked in and end up exceeding
35601 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
35602 + save_libobjs=$libobjs
35604 + save_output=$output
35605 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
35607 + # Clear the reloadable object creation command queue and
35608 + # initialize k to one.
35615 + output=$output_objdir/$output_la-${k}.$objext
35616 + # Loop over the list of objects to be linked.
35617 + for obj in $save_libobjs
35619 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
35620 + if test "X$objlist" = X ||
35621 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35622 + test "$len" -le "$max_cmd_len"; }; then
35623 + objlist="$objlist $obj"
35625 + # The command $test_cmds is almost too long, add a
35626 + # command to the queue.
35627 + if test "$k" -eq 1 ; then
35628 + # The first file doesn't have a previous command to add.
35629 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
35631 + # All subsequent reloadable object files will link in
35632 + # the last one created.
35633 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
35636 - deplibs="$tmp_deplibs"
35637 + last_robj=$output_objdir/$output_la-${k}.$objext
35639 + output=$output_objdir/$output_la-${k}.$objext
35644 + # Handle the remaining objects by creating one last
35645 + # reloadable object file. All subsequent reloadable object
35646 + # files will link in the last one created.
35647 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
35648 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
35650 + if ${skipped_export-false}; then
35651 + $show "generating symbol list for \`$libname.la'"
35652 + export_symbols="$output_objdir/$libname.exp"
35653 + $run $rm $export_symbols
35655 + # Append the command to create the export file.
35656 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
35659 + # Set up a command to remove the reloadable object files
35660 + # after they are used.
35662 + while test "$i" -lt "$k"
35665 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
35668 + $echo "creating a temporary reloadable object file: $output"
35670 + # Loop through the commands generated above and execute them.
35671 + save_ifs="$IFS"; IFS='~'
35672 + for cmd in $concat_cmds; do
35675 + $run eval "$cmd" || exit $?
35677 - eval cmds=\"$archive_cmds\"
35678 - deplibs="$save_deplibs"
35682 + # Restore the value of output.
35683 + output=$save_output
35685 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
35686 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35688 + # Expand the library linking commands again to reset the
35689 + # value of $libobjs for piecewise linking.
35691 + # Do each of the archive commands.
35692 + if test "$module" = yes && test -n "$module_cmds" ; then
35693 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35694 + cmds=$module_expsym_cmds
35696 + cmds=$module_cmds
35699 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35700 + cmds=$archive_expsym_cmds
35702 + cmds=$archive_cmds
35706 + # Append the command to remove the reloadable object files
35707 + # to the just-reset $cmds.
35708 + eval cmds=\"\$cmds~\$rm $delfiles\"
35710 save_ifs="$IFS"; IFS='~'
35711 for cmd in $cmds; do
35713 + eval cmd=\"$cmd\"
35715 - $run eval "$cmd" || exit $?
35716 + $run eval "$cmd" || {
35719 + # Restore the uninstalled library and exit
35720 + if test "$mode" = relink; then
35721 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
35729 # Restore the uninstalled library and exit
35730 if test "$mode" = relink; then
35731 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
35734 + if test -n "$convenience"; then
35735 + if test -z "$whole_archive_flag_spec"; then
35736 + $show "${rm}r $gentop"
35737 + $run ${rm}r "$gentop"
35741 + exit $EXIT_SUCCESS
35744 # Create links to the real library.
35745 @@ -3039,7 +4226,7 @@
35747 if test -n "$objs$old_deplibs"; then
35748 $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
35750 + exit $EXIT_FAILURE
35753 obj=`$echo "X$output" | $Xsed -e "$lo2o"`
35754 @@ -3068,38 +4255,10 @@
35755 eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
35757 gentop="$output_objdir/${obj}x"
35758 - $show "${rm}r $gentop"
35759 - $run ${rm}r "$gentop"
35760 - $show "mkdir $gentop"
35761 - $run mkdir "$gentop"
35763 - if test $status -ne 0 && test ! -d "$gentop"; then
35766 generated="$generated $gentop"
35768 - for xlib in $convenience; do
35769 - # Extract the objects.
35771 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35772 - *) xabs=`pwd`"/$xlib" ;;
35774 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35775 - xdir="$gentop/$xlib"
35777 - $show "${rm}r $xdir"
35778 - $run ${rm}r "$xdir"
35779 - $show "mkdir $xdir"
35780 - $run mkdir "$xdir"
35782 - if test $status -ne 0 && test ! -d "$xdir"; then
35785 - $show "(cd $xdir && $AR x $xabs)"
35786 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35788 - reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35790 + func_extract_archives $gentop $convenience
35791 + reload_conv_objs="$reload_objs $func_extract_archives_result"
35795 @@ -3107,10 +4266,11 @@
35796 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
35799 - eval cmds=\"$reload_cmds\"
35800 + cmds=$reload_cmds
35801 save_ifs="$IFS"; IFS='~'
35802 for cmd in $cmds; do
35804 + eval cmd=\"$cmd\"
35806 $run eval "$cmd" || exit $?
35808 @@ -3123,7 +4283,7 @@
35809 $run ${rm}r $gentop
35813 + exit $EXIT_SUCCESS
35816 if test "$build_libtool_libs" != yes; then
35817 @@ -3134,37 +4294,24 @@
35819 # Create an invalid libtool object if no PIC, so that we don't
35820 # accidentally link it into a program.
35821 - $show "echo timestamp > $libobj"
35822 - $run eval "echo timestamp > $libobj" || exit $?
35824 + # $show "echo timestamp > $libobj"
35825 + # $run eval "echo timestamp > $libobj" || exit $?
35826 + exit $EXIT_SUCCESS
35829 if test -n "$pic_flag" || test "$pic_mode" != default; then
35830 # Only do commands if we really have different PIC objects.
35831 reload_objs="$libobjs $reload_conv_objs"
35833 - eval cmds=\"$reload_cmds\"
35834 + cmds=$reload_cmds
35835 save_ifs="$IFS"; IFS='~'
35836 for cmd in $cmds; do
35838 + eval cmd=\"$cmd\"
35840 $run eval "$cmd" || exit $?
35844 - # Just create a symlink.
35845 - $show $rm $libobj
35847 - xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
35848 - if test "X$xdir" = "X$libobj"; then
35853 - baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
35854 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35855 - $show "(cd $xdir && $LN_S $oldobj $baseobj)"
35856 - $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
35859 if test -n "$gentop"; then
35860 @@ -3172,12 +4319,12 @@
35861 $run ${rm}r $gentop
35865 + exit $EXIT_SUCCESS
35870 - *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35871 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35873 if test -n "$vinfo"; then
35874 $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
35875 @@ -3199,16 +4346,48 @@
35876 # On Rhapsody replace the C library is the System framework
35877 compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35878 finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35881 - # Don't allow lazy linking, it breaks C++ global constructors
35882 - compile_command="$compile_command ${wl}-bind_at_load"
35883 - finalize_command="$finalize_command ${wl}-bind_at_load"
35891 + # Don't allow lazy linking, it breaks C++ global constructors
35892 + if test "$tagname" = CXX ; then
35893 + compile_command="$compile_command ${wl}-bind_at_load"
35894 + finalize_command="$finalize_command ${wl}-bind_at_load"
35900 + # move library search paths that coincide with paths to not yet
35901 + # installed libraries to the beginning of the library search list
35903 + for path in $notinst_path; do
35904 + case " $new_libs " in
35905 + *" -L$path/$objdir "*) ;;
35907 + case " $compile_deplibs " in
35908 + *" -L$path/$objdir "*)
35909 + new_libs="$new_libs -L$path/$objdir" ;;
35914 + for deplib in $compile_deplibs; do
35917 + case " $new_libs " in
35918 + *" $deplib "*) ;;
35919 + *) new_libs="$new_libs $deplib" ;;
35922 + *) new_libs="$new_libs $deplib" ;;
35925 + compile_deplibs="$new_libs"
35928 compile_command="$compile_command $compile_deplibs"
35929 finalize_command="$finalize_command $finalize_deplibs"
35931 @@ -3253,10 +4432,15 @@
35934 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
35935 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
35936 case :$dllsearchpath: in
35938 *) dllsearchpath="$dllsearchpath:$libdir";;
35940 + case :$dllsearchpath: in
35941 + *":$testbindir:"*) ;;
35942 + *) dllsearchpath="$dllsearchpath:$testbindir";;
35947 @@ -3359,31 +4543,43 @@
35950 if test -n "$exclude_expsyms"; then
35951 - $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35952 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35953 $run eval '$mv "$nlist"T "$nlist"'
35956 if test -n "$export_symbols_regex"; then
35957 - $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35958 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35959 $run eval '$mv "$nlist"T "$nlist"'
35962 # Prepare the list of exported symbols
35963 if test -z "$export_symbols"; then
35964 - export_symbols="$output_objdir/$output.exp"
35965 + export_symbols="$output_objdir/$outputname.exp"
35966 $run $rm $export_symbols
35967 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35968 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35970 + *cygwin* | *mingw* )
35971 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35972 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
35976 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
35977 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
35978 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
35979 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
35980 $run eval 'mv "$nlist"T "$nlist"'
35982 + *cygwin* | *mingw* )
35983 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35984 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
35990 for arg in $dlprefiles; do
35991 $show "extracting global C symbols from \`$arg'"
35992 - name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
35993 - $run eval 'echo ": $name " >> "$nlist"'
35994 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
35995 + $run eval '$echo ": $name " >> "$nlist"'
35996 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
35999 @@ -3392,7 +4588,7 @@
36000 test -f "$nlist" || : > "$nlist"
36002 if test -n "$exclude_expsyms"; then
36003 - egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36004 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36005 $mv "$nlist"T "$nlist"
36008 @@ -3412,7 +4608,7 @@
36009 if test -f "$nlist"S; then
36010 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
36012 - echo '/* NONE */' >> "$output_objdir/$dlsyms"
36013 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
36016 $echo >> "$output_objdir/$dlsyms" "\
36017 @@ -3427,7 +4623,26 @@
36020 /* The mapping between symbol names and symbols. */
36024 + *cygwin* | *mingw* )
36025 + $echo >> "$output_objdir/$dlsyms" "\
36026 +/* DATA imports from DLLs on WIN32 can't be const, because
36027 + runtime relocations are performed -- see ld's documentation
36028 + on pseudo-relocs */
36033 + $echo >> "$output_objdir/$dlsyms" "\
36040 + $echo >> "$output_objdir/$dlsyms" "\
36044 @@ -3464,30 +4679,43 @@
36045 *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
36046 case "$compile_command " in
36048 - *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
36049 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
36052 case "$compile_command " in
36054 - *) pic_flag_for_symtable=" $pic_flag -DPIC";;
36055 + *) pic_flag_for_symtable=" $pic_flag";;
36059 # Now compile the dynamic symbol file.
36060 - $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36061 - $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36062 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36063 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36065 # Clean up the generated files.
36066 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
36067 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
36069 # Transform the symbol file into the correct name.
36070 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36071 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36073 + *cygwin* | *mingw* )
36074 + if test -f "$output_objdir/${outputname}.def" ; then
36075 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36076 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36078 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36079 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36083 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36084 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36089 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
36091 + exit $EXIT_FAILURE
36095 @@ -3500,7 +4728,7 @@
36096 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
36099 - if test $need_relink = no || test "$build_libtool_libs" != yes; then
36100 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
36101 # Replace the output file specification.
36102 compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
36103 link_command="$compile_command$compile_rpath"
36104 @@ -3508,7 +4736,7 @@
36105 # We have no uninstalled library dependencies, so finalize right now.
36106 $show "$link_command"
36107 $run eval "$link_command"
36111 # Delete the generated files.
36112 if test -n "$dlsyms"; then
36113 @@ -3516,7 +4744,7 @@
36114 $run $rm "$output_objdir/${outputname}S.${objext}"
36118 + exit $exit_status
36121 if test -n "$shlibpath_var"; then
36122 @@ -3575,7 +4803,7 @@
36123 # Link the executable and exit
36124 $show "$link_command"
36125 $run eval "$link_command" || exit $?
36127 + exit $EXIT_SUCCESS
36130 if test "$hardcode_action" = relink; then
36131 @@ -3630,10 +4858,10 @@
36134 # Quote $echo for shipping.
36135 - if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
36137 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
36138 - *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
36139 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
36140 + case $progpath in
36141 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
36142 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
36144 qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
36146 @@ -3645,15 +4873,376 @@
36147 # win32 will think the script is a binary if it has
36148 # a .exe suffix, so we strip it off here.
36150 - *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
36151 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
36153 # test for cygwin because mv fails w/o .exe extensions
36155 - *cygwin*) exeext=.exe ;;
36158 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
36162 - trap "$rm $output; exit 1" 1 2 15
36164 + *cygwin* | *mingw* )
36165 + output_name=`basename $output`
36166 + output_path=`dirname $output`
36167 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
36168 + cwrapper="$output_path/$output_name.exe"
36169 + $rm $cwrappersource $cwrapper
36170 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
36172 + cat > $cwrappersource <<EOF
36174 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
36175 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
36177 + The $output program cannot be directly executed until all the libtool
36178 + libraries that it depends on are installed.
36180 + This wrapper executable should never be moved out of the build directory.
36181 + If it is, it will not operate correctly.
36183 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
36184 + but could eventually absorb all of the scripts functionality and
36185 + exec $objdir/$outputname directly.
36188 + cat >> $cwrappersource<<"EOF"
36189 +#include <stdio.h>
36190 +#include <stdlib.h>
36191 +#include <unistd.h>
36192 +#include <malloc.h>
36193 +#include <stdarg.h>
36194 +#include <assert.h>
36195 +#include <string.h>
36196 +#include <ctype.h>
36197 +#include <sys/stat.h>
36199 +#if defined(PATH_MAX)
36200 +# define LT_PATHMAX PATH_MAX
36201 +#elif defined(MAXPATHLEN)
36202 +# define LT_PATHMAX MAXPATHLEN
36204 +# define LT_PATHMAX 1024
36207 +#ifndef DIR_SEPARATOR
36208 +# define DIR_SEPARATOR '/'
36209 +# define PATH_SEPARATOR ':'
36212 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
36213 + defined (__OS2__)
36214 +# define HAVE_DOS_BASED_FILE_SYSTEM
36215 +# ifndef DIR_SEPARATOR_2
36216 +# define DIR_SEPARATOR_2 '\\'
36218 +# ifndef PATH_SEPARATOR_2
36219 +# define PATH_SEPARATOR_2 ';'
36223 +#ifndef DIR_SEPARATOR_2
36224 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
36225 +#else /* DIR_SEPARATOR_2 */
36226 +# define IS_DIR_SEPARATOR(ch) \
36227 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
36228 +#endif /* DIR_SEPARATOR_2 */
36230 +#ifndef PATH_SEPARATOR_2
36231 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
36232 +#else /* PATH_SEPARATOR_2 */
36233 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
36234 +#endif /* PATH_SEPARATOR_2 */
36236 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
36237 +#define XFREE(stale) do { \
36238 + if (stale) { free ((void *) stale); stale = 0; } \
36241 +/* -DDEBUG is fairly common in CFLAGS. */
36243 +#if defined DEBUGWRAPPER
36244 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
36246 +# define DEBUG(format, ...)
36249 +const char *program_name = NULL;
36251 +void * xmalloc (size_t num);
36252 +char * xstrdup (const char *string);
36253 +const char * base_name (const char *name);
36254 +char * find_executable(const char *wrapper);
36255 +int check_executable(const char *path);
36256 +char * strendzap(char *str, const char *pat);
36257 +void lt_fatal (const char *message, ...);
36260 +main (int argc, char *argv[])
36265 + program_name = (char *) xstrdup (base_name (argv[0]));
36266 + DEBUG("(main) argv[0] : %s\n",argv[0]);
36267 + DEBUG("(main) program_name : %s\n",program_name);
36268 + newargz = XMALLOC(char *, argc+2);
36271 + cat >> $cwrappersource <<EOF
36272 + newargz[0] = (char *) xstrdup("$SHELL");
36275 + cat >> $cwrappersource <<"EOF"
36276 + newargz[1] = find_executable(argv[0]);
36277 + if (newargz[1] == NULL)
36278 + lt_fatal("Couldn't find %s", argv[0]);
36279 + DEBUG("(main) found exe at : %s\n",newargz[1]);
36280 + /* we know the script has the same name, without the .exe */
36281 + /* so make sure newargz[1] doesn't end in .exe */
36282 + strendzap(newargz[1],".exe");
36283 + for (i = 1; i < argc; i++)
36284 + newargz[i+1] = xstrdup(argv[i]);
36285 + newargz[argc+1] = NULL;
36287 + for (i=0; i<argc+1; i++)
36289 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
36297 + cat >> $cwrappersource <<EOF
36298 + execv("$SHELL",(char const **)newargz);
36302 + cat >> $cwrappersource <<EOF
36303 + execv("$SHELL",newargz);
36308 + cat >> $cwrappersource <<"EOF"
36313 +xmalloc (size_t num)
36315 + void * p = (void *) malloc (num);
36317 + lt_fatal ("Memory exhausted");
36323 +xstrdup (const char *string)
36325 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
36330 +base_name (const char *name)
36332 + const char *base;
36334 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36335 + /* Skip over the disk name in MSDOS pathnames. */
36336 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
36340 + for (base = name; *name; name++)
36341 + if (IS_DIR_SEPARATOR (*name))
36347 +check_executable(const char * path)
36351 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
36352 + if ((!path) || (!*path))
36355 + if ((stat (path, &st) >= 0) &&
36357 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
36358 +#if defined (S_IXOTH)
36359 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
36361 +#if defined (S_IXGRP)
36362 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
36364 + ((st.st_mode & S_IXUSR) == S_IXUSR))
36371 +/* Searches for the full path of the wrapper. Returns
36372 + newly allocated full path name if found, NULL otherwise */
36374 +find_executable (const char* wrapper)
36376 + int has_slash = 0;
36378 + const char* p_next;
36379 + /* static buffer for getcwd */
36380 + char tmp[LT_PATHMAX + 1];
36382 + char* concat_name;
36384 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
36386 + if ((wrapper == NULL) || (*wrapper == '\0'))
36389 + /* Absolute path? */
36390 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36391 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
36393 + concat_name = xstrdup (wrapper);
36394 + if (check_executable(concat_name))
36395 + return concat_name;
36396 + XFREE(concat_name);
36401 + if (IS_DIR_SEPARATOR (wrapper[0]))
36403 + concat_name = xstrdup (wrapper);
36404 + if (check_executable(concat_name))
36405 + return concat_name;
36406 + XFREE(concat_name);
36408 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36412 + for (p = wrapper; *p; p++)
36420 + /* no slashes; search PATH */
36421 + const char* path = getenv ("PATH");
36422 + if (path != NULL)
36424 + for (p = path; *p; p = p_next)
36428 + for (q = p; *q; q++)
36429 + if (IS_PATH_SEPARATOR(*q))
36432 + p_next = (*q == '\0' ? q : q + 1);
36435 + /* empty path: current directory */
36436 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36437 + lt_fatal ("getcwd failed");
36438 + tmp_len = strlen(tmp);
36439 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36440 + memcpy (concat_name, tmp, tmp_len);
36441 + concat_name[tmp_len] = '/';
36442 + strcpy (concat_name + tmp_len + 1, wrapper);
36446 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
36447 + memcpy (concat_name, p, p_len);
36448 + concat_name[p_len] = '/';
36449 + strcpy (concat_name + p_len + 1, wrapper);
36451 + if (check_executable(concat_name))
36452 + return concat_name;
36453 + XFREE(concat_name);
36456 + /* not found in PATH; assume curdir */
36458 + /* Relative path | not found in path: prepend cwd */
36459 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36460 + lt_fatal ("getcwd failed");
36461 + tmp_len = strlen(tmp);
36462 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36463 + memcpy (concat_name, tmp, tmp_len);
36464 + concat_name[tmp_len] = '/';
36465 + strcpy (concat_name + tmp_len + 1, wrapper);
36467 + if (check_executable(concat_name))
36468 + return concat_name;
36469 + XFREE(concat_name);
36474 +strendzap(char *str, const char *pat)
36476 + size_t len, patlen;
36478 + assert(str != NULL);
36479 + assert(pat != NULL);
36481 + len = strlen(str);
36482 + patlen = strlen(pat);
36484 + if (patlen <= len)
36486 + str += len - patlen;
36487 + if (strcmp(str, pat) == 0)
36494 +lt_error_core (int exit_status, const char * mode,
36495 + const char * message, va_list ap)
36497 + fprintf (stderr, "%s: %s: ", program_name, mode);
36498 + vfprintf (stderr, message, ap);
36499 + fprintf (stderr, ".\n");
36501 + if (exit_status >= 0)
36502 + exit (exit_status);
36506 +lt_fatal (const char *message, ...)
36509 + va_start (ap, message);
36510 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
36514 + # we should really use a build-platform specific compiler
36515 + # here, but OTOH, the wrappers (shell script and this C one)
36516 + # are only useful if you want to execute the "real" binary.
36517 + # Since the "real" binary is built for $host, then this
36518 + # wrapper might as well be built for $host, too.
36519 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
36523 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
36527 @@ -3669,12 +5258,12 @@
36529 # Sed substitution that helps us do robust quoting. It backslashifies
36530 # metacharacters that are still active within double-quoted strings.
36531 -Xsed="${SED}"' -e 1s/^X//'
36532 +Xsed='${SED} -e 1s/^X//'
36533 sed_quote_subst='$sed_quote_subst'
36535 # The HP-UX ksh and POSIX shell print the target directory to stdout
36536 # if CDPATH is set.
36537 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
36538 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
36540 relink_command=\"$relink_command\"
36542 @@ -3729,7 +5318,7 @@
36545 if test "$fast_install" = yes; then
36546 - echo >> $output "\
36547 + $echo >> $output "\
36548 program=lt-'$outputname'$exeext
36549 progdir=\"\$thisdir/$objdir\"
36551 @@ -3745,7 +5334,7 @@
36552 $rm \"\$progdir/\$file\"
36555 - echo >> $output "\
36556 + $echo >> $output "\
36558 # relink executable if necessary
36559 if test -n \"\$relink_command\"; then
36560 @@ -3753,7 +5342,7 @@
36562 $echo \"\$relink_command_output\" >&2
36563 $rm \"\$progdir/\$file\"
36565 + exit $EXIT_FAILURE
36569 @@ -3763,13 +5352,13 @@
36570 $rm \"\$progdir/\$file\"
36573 - echo >> $output "\
36574 + $echo >> $output "\
36575 program='$outputname'
36576 progdir=\"\$thisdir/$objdir\"
36580 - echo >> $output "\
36581 + $echo >> $output "\
36583 if test -f \"\$progdir/\$program\"; then"
36585 @@ -3780,7 +5369,7 @@
36586 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
36588 # Some systems cannot cope with colon-terminated $shlibpath_var
36589 - # The second colon is a workaround for a bug in BeOS R4 ${SED}
36590 + # The second colon is a workaround for a bug in BeOS R4 sed
36591 $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
36593 export $shlibpath_var
36594 @@ -3800,47 +5389,35 @@
36595 # Run the actual program with our arguments.
36598 - # win32 systems need to use the prog path for dll
36600 - *-*-cygwin* | *-*-pw32*)
36601 - $echo >> $output "\
36602 - exec \$progdir/\$program \${1+\"\$@\"}
36606 # Backslashes separate directories on plain windows
36607 *-*-mingw | *-*-os2*)
36608 $echo >> $output "\
36609 - exec \$progdir\\\\\$program \${1+\"\$@\"}
36610 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
36615 $echo >> $output "\
36616 - # Export the path to the program.
36617 - PATH=\"\$progdir:\$PATH\"
36620 - exec \$program \${1+\"\$@\"}
36621 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
36625 $echo >> $output "\
36626 \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
36628 + exit $EXIT_FAILURE
36631 # The program doesn't exist.
36632 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
36633 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
36634 \$echo \"This script is just a wrapper for \$program.\" 1>&2
36635 - echo \"See the $PACKAGE documentation for more information.\" 1>&2
36637 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
36638 + exit $EXIT_FAILURE
36645 + exit $EXIT_SUCCESS
36649 @@ -3856,74 +5433,130 @@
36650 oldobjs="$libobjs_save"
36651 build_libtool_libs=no
36653 - oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
36654 + oldobjs="$old_deplibs $non_pic_objects"
36656 addlibs="$old_convenience"
36659 if test -n "$addlibs"; then
36660 gentop="$output_objdir/${outputname}x"
36661 - $show "${rm}r $gentop"
36662 - $run ${rm}r "$gentop"
36663 - $show "mkdir $gentop"
36664 - $run mkdir "$gentop"
36666 - if test $status -ne 0 && test ! -d "$gentop"; then
36669 generated="$generated $gentop"
36671 - # Add in members from convenience archives.
36672 - for xlib in $addlibs; do
36673 - # Extract the objects.
36675 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
36676 - *) xabs=`pwd`"/$xlib" ;;
36678 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
36679 - xdir="$gentop/$xlib"
36681 - $show "${rm}r $xdir"
36682 - $run ${rm}r "$xdir"
36683 - $show "mkdir $xdir"
36684 - $run mkdir "$xdir"
36686 - if test $status -ne 0 && test ! -d "$xdir"; then
36689 - $show "(cd $xdir && $AR x $xabs)"
36690 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
36692 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
36694 + func_extract_archives $gentop $addlibs
36695 + oldobjs="$oldobjs $func_extract_archives_result"
36698 # Do each command in the archive commands.
36699 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
36700 - eval cmds=\"$old_archive_from_new_cmds\"
36701 + cmds=$old_archive_from_new_cmds
36703 - # Ensure that we have .o objects in place in case we decided
36704 - # not to build a shared library, and have fallen back to building
36705 - # static libs even though --disable-static was passed!
36706 - for oldobj in $oldobjs; do
36707 - if test ! -f $oldobj; then
36708 - xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
36709 - if test "X$xdir" = "X$oldobj"; then
36713 + # POSIX demands no paths to be encoded in archives. We have
36714 + # to avoid creating archives with duplicate basenames if we
36715 + # might have to extract them afterwards, e.g., when creating a
36716 + # static archive out of a convenience library, or when linking
36717 + # the entirety of a libtool archive into another (currently
36718 + # not supported by libtool).
36719 + if (for obj in $oldobjs
36721 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
36722 + done | sort | sort -uc >/dev/null 2>&1); then
36725 + $echo "copying selected object files to avoid basename conflicts..."
36727 + if test -z "$gentop"; then
36728 + gentop="$output_objdir/${outputname}x"
36729 + generated="$generated $gentop"
36731 + $show "${rm}r $gentop"
36732 + $run ${rm}r "$gentop"
36733 + $show "$mkdir $gentop"
36734 + $run $mkdir "$gentop"
36736 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
36737 + exit $exit_status
36739 - baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
36740 - obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
36741 - $show "(cd $xdir && ${LN_S} $obj $baseobj)"
36742 - $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
36746 + save_oldobjs=$oldobjs
36749 + for obj in $save_oldobjs
36751 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
36752 + case " $oldobjs " in
36753 + " ") oldobjs=$obj ;;
36754 + *[\ /]"$objbase "*)
36756 + # Make sure we don't pick an alternate name that also
36758 + newobj=lt$counter-$objbase
36759 + counter=`expr $counter + 1`
36760 + case " $oldobjs " in
36761 + *[\ /]"$newobj "*) ;;
36762 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
36765 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
36766 + $run ln "$obj" "$gentop/$newobj" ||
36767 + $run cp "$obj" "$gentop/$newobj"
36768 + oldobjs="$oldobjs $gentop/$newobj"
36770 + *) oldobjs="$oldobjs $obj" ;;
36775 eval cmds=\"$old_archive_cmds\"
36777 + if len=`expr "X$cmds" : ".*"` &&
36778 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
36779 + cmds=$old_archive_cmds
36781 + # the command line is too long to link in one step, link in parts
36782 + $echo "using piecewise archive linking..."
36783 + save_RANLIB=$RANLIB
36787 + save_oldobjs=$oldobjs
36789 + # Is there a better way of finding the last object in the list?
36790 + for obj in $save_oldobjs
36794 + for obj in $save_oldobjs
36796 + oldobjs="$objlist $obj"
36797 + objlist="$objlist $obj"
36798 + eval test_cmds=\"$old_archive_cmds\"
36799 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
36800 + test "$len" -le "$max_cmd_len"; then
36803 + # the above command should be used before it gets too long
36805 + if test "$obj" = "$last_oldobj" ; then
36806 + RANLIB=$save_RANLIB
36808 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
36809 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
36813 + RANLIB=$save_RANLIB
36815 + if test "X$oldobjs" = "X" ; then
36816 + eval cmds=\"\$concat_cmds\"
36818 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
36822 save_ifs="$IFS"; IFS='~'
36823 for cmd in $cmds; do
36824 + eval cmd=\"$cmd\"
36827 $run eval "$cmd" || exit $?
36828 @@ -3955,8 +5588,12 @@
36831 # Quote the link command for shipping.
36832 - relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
36833 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
36834 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
36835 + if test "$hardcode_automatic" = yes ; then
36840 # Only create the output if not a dry run.
36841 if test -z "$run"; then
36842 @@ -3975,7 +5612,7 @@
36843 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
36844 if test -z "$libdir"; then
36845 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
36847 + exit $EXIT_FAILURE
36849 newdependency_libs="$newdependency_libs $libdir/$name"
36851 @@ -3989,7 +5626,7 @@
36852 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36853 if test -z "$libdir"; then
36854 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36856 + exit $EXIT_FAILURE
36858 newdlfiles="$newdlfiles $libdir/$name"
36860 @@ -4000,17 +5637,36 @@
36861 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36862 if test -z "$libdir"; then
36863 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36865 + exit $EXIT_FAILURE
36867 newdlprefiles="$newdlprefiles $libdir/$name"
36869 dlprefiles="$newdlprefiles"
36872 + for lib in $dlfiles; do
36874 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36875 + *) abs=`pwd`"/$lib" ;;
36877 + newdlfiles="$newdlfiles $abs"
36879 + dlfiles="$newdlfiles"
36881 + for lib in $dlprefiles; do
36883 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36884 + *) abs=`pwd`"/$lib" ;;
36886 + newdlprefiles="$newdlprefiles $abs"
36888 + dlprefiles="$newdlprefiles"
36891 # place dlname in correct position for cygwin
36893 case $host,$output,$installed,$module,$dlname in
36894 - *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36895 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36898 # $outputname - a libtool library file
36899 @@ -4039,13 +5695,16 @@
36900 # Is this an already installed library?
36901 installed=$installed
36903 +# Should we warn about portability when linking against -modules?
36904 +shouldnotlink=$module
36906 # Files to dlopen/dlpreopen
36908 dlpreopen='$dlprefiles'
36910 # Directory that this library needs to be installed in:
36911 libdir='$install_libdir'"
36912 - if test "$installed" = no && test $need_relink = yes; then
36913 + if test "$installed" = no && test "$need_relink" = yes; then
36914 $echo >> $output "\
36915 relink_command=\"$relink_command\""
36917 @@ -4058,7 +5717,7 @@
36918 $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
36922 + exit $EXIT_SUCCESS
36925 # libtool install mode
36926 @@ -4069,11 +5728,11 @@
36927 # install_prog (especially on Windows NT).
36928 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
36929 # Allow the use of GNU shtool's install command.
36930 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
36931 + $echo "X$nonopt" | grep shtool > /dev/null; then
36932 # Aesthetically quote it.
36933 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
36935 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36936 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36940 @@ -4082,14 +5741,14 @@
36948 # The real first argument should be the name of the installation program.
36949 # Aesthetically quote it.
36950 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
36952 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36953 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36957 @@ -4107,28 +5766,31 @@
36959 if test -n "$dest"; then
36960 files="$files $dest"
36973 + case " $install_prog " in
36974 + *[\\\ /]cp\ *) ;;
36978 + -g | -m | -o) prev=$arg ;;
36988 # If the previous option needed an argument, then skip it.
36989 if test -n "$prev"; then
36997 @@ -4137,7 +5799,7 @@
36998 # Aesthetically quote the argument.
36999 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
37001 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
37002 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37006 @@ -4147,13 +5809,13 @@
37007 if test -z "$install_prog"; then
37008 $echo "$modename: you must specify an install program" 1>&2
37011 + exit $EXIT_FAILURE
37014 if test -n "$prev"; then
37015 $echo "$modename: the \`$prev' option requires an argument" 1>&2
37018 + exit $EXIT_FAILURE
37021 if test -z "$files"; then
37022 @@ -4163,7 +5825,7 @@
37023 $echo "$modename: you must specify a destination" 1>&2
37027 + exit $EXIT_FAILURE
37030 # Strip any trailing slash from the destination.
37031 @@ -4181,10 +5843,10 @@
37033 # Not a directory, so check to see that there is only one file specified.
37035 - if test $# -gt 2; then
37036 + if test "$#" -gt 2; then
37037 $echo "$modename: \`$dest' is not a directory" 1>&2
37040 + exit $EXIT_FAILURE
37044 @@ -4196,7 +5858,7 @@
37046 $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
37049 + exit $EXIT_FAILURE
37053 @@ -4221,11 +5883,11 @@
37056 # Check to see that this really is a libtool archive.
37057 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37058 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37060 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
37063 + exit $EXIT_FAILURE
37067 @@ -4256,30 +5918,33 @@
37070 if test -n "$relink_command"; then
37071 - # Determine the prefix the user has applied to our future dir.
37072 - inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
37074 - # Don't allow the user to place us outside of our expected
37075 - # location b/c this prevents finding dependent libraries that
37076 - # are installed to the same prefix.
37077 - if test "$inst_prefix_dir" = "$destdir"; then
37078 - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37082 - if test -n "$inst_prefix_dir"; then
37083 - # Stick the inst_prefix_dir data into the link command.
37084 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37086 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
37088 + # Determine the prefix the user has applied to our future dir.
37089 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
37091 + # Don't allow the user to place us outside of our expected
37092 + # location b/c this prevents finding dependent libraries that
37093 + # are installed to the same prefix.
37094 + # At present, this check doesn't affect windows .dll's that
37095 + # are installed into $libdir/../bin (currently, that works fine)
37096 + # but it's something to keep an eye on.
37097 + if test "$inst_prefix_dir" = "$destdir"; then
37098 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37099 + exit $EXIT_FAILURE
37102 + if test -n "$inst_prefix_dir"; then
37103 + # Stick the inst_prefix_dir data into the link command.
37104 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37106 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
37109 $echo "$modename: warning: relinking \`$file'" 1>&2
37110 $show "$relink_command"
37111 if $run eval "$relink_command"; then :
37113 $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
37115 + exit $EXIT_FAILURE
37119 @@ -4301,25 +5966,38 @@
37120 $run eval "$striplib $destdir/$realname" || exit $?
37123 - if test $# -gt 0; then
37124 + if test "$#" -gt 0; then
37125 # Delete the old symlinks, and create new ones.
37126 + # Try `ln -sf' first, because the `ln' binary might depend on
37127 + # the symlink we replace! Solaris /bin/ln does not understand -f,
37128 + # so we also need to try rm && ln -s.
37131 if test "$linkname" != "$realname"; then
37132 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37133 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37134 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37135 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37140 # Do each command in the postinstall commands.
37141 lib="$destdir/$realname"
37142 - eval cmds=\"$postinstall_cmds\"
37143 + cmds=$postinstall_cmds
37144 save_ifs="$IFS"; IFS='~'
37145 for cmd in $cmds; do
37147 + eval cmd=\"$cmd\"
37149 - $run eval "$cmd" || exit $?
37150 + $run eval "$cmd" || {
37153 + # Restore the uninstalled library and exit
37154 + if test "$mode" = relink; then
37155 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
37163 @@ -4357,7 +6035,7 @@
37165 $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
37168 + exit $EXIT_FAILURE
37172 @@ -4375,7 +6053,7 @@
37173 $show "$install_prog $staticobj $staticdest"
37174 $run eval "$install_prog \$staticobj \$staticdest" || exit $?
37177 + exit $EXIT_SUCCESS
37181 @@ -4387,29 +6065,47 @@
37182 destfile="$destdir/$destfile"
37185 + # If the file is missing, and there is a .exe on the end, strip it
37186 + # because it is most likely a libtool script we actually want to
37191 + if test ! -f "$file"; then
37192 + file=`$echo $file|${SED} 's,.exe$,,'`
37193 + stripped_ext=".exe"
37198 # Do a test to see if this is really a libtool program.
37201 - wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
37202 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
37208 - if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37209 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37213 + # Note that it is not necessary on cygwin/mingw to append a dot to
37214 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37215 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37216 + # `FILE.' does not work on cygwin managed mounts.
37218 # If there is no directory component, then add one.
37220 - */* | *\\*) . $wrapper ;;
37221 - *) . ./$wrapper ;;
37223 + */* | *\\*) . ${wrapper} ;;
37224 + *) . ./${wrapper} ;;
37227 # Check the variables that should have been set.
37228 if test -z "$notinst_deplibs"; then
37229 $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
37231 + exit $EXIT_FAILURE
37235 @@ -4431,24 +6127,22 @@
37239 + # Note that it is not necessary on cygwin/mingw to append a dot to
37240 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37241 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37242 + # `FILE.' does not work on cygwin managed mounts.
37244 # If there is no directory component, then add one.
37246 - */* | *\\*) . $wrapper ;;
37247 - *) . ./$wrapper ;;
37249 + */* | *\\*) . ${wrapper} ;;
37250 + *) . ./${wrapper} ;;
37254 if test "$fast_install" = no && test -n "$relink_command"; then
37255 if test "$finalize" = yes && test -z "$run"; then
37257 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
37258 - tmpdir="$tmpdir/libtool-$$"
37259 - if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
37261 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
37264 - file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37265 + tmpdir=`func_mktempdir`
37266 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
37267 outputname="$tmpdir/$file"
37268 # Replace the output file specification.
37269 relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
37270 @@ -4466,14 +6160,14 @@
37273 # Install the binary that we compiled earlier.
37274 - file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37275 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37279 # remove .exe since cygwin /usr/bin/install will append another
37282 case $install_prog,$host in
37283 - /usr/bin/install*,*cygwin*)
37284 + */usr/bin/install*,*cygwin*)
37285 case $file:$destfile in
37288 @@ -4482,7 +6176,7 @@
37289 destfile=$destfile.exe
37292 - destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
37293 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
37297 @@ -4503,16 +6197,17 @@
37298 $show "$install_prog $file $oldlib"
37299 $run eval "$install_prog \$file \$oldlib" || exit $?
37301 - if test -n "$stripme" && test -n "$striplib"; then
37302 + if test -n "$stripme" && test -n "$old_striplib"; then
37303 $show "$old_striplib $oldlib"
37304 $run eval "$old_striplib $oldlib" || exit $?
37307 # Do each command in the postinstall commands.
37308 - eval cmds=\"$old_postinstall_cmds\"
37309 + cmds=$old_postinstall_cmds
37310 save_ifs="$IFS"; IFS='~'
37311 for cmd in $cmds; do
37313 + eval cmd=\"$cmd\"
37315 $run eval "$cmd" || exit $?
37317 @@ -4526,9 +6221,9 @@
37318 if test -n "$current_libdirs"; then
37319 # Maybe just do a dry run.
37320 test -n "$run" && current_libdirs=" -n$current_libdirs"
37321 - exec_cmd='$SHELL $0 --finish$current_libdirs'
37322 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
37325 + exit $EXIT_SUCCESS
37329 @@ -4547,10 +6242,11 @@
37330 for libdir in $libdirs; do
37331 if test -n "$finish_cmds"; then
37332 # Do each command in the finish commands.
37333 - eval cmds=\"$finish_cmds\"
37334 + cmds=$finish_cmds
37335 save_ifs="$IFS"; IFS='~'
37336 for cmd in $cmds; do
37338 + eval cmd=\"$cmd\"
37340 $run eval "$cmd" || admincmds="$admincmds
37342 @@ -4567,43 +6263,43 @@
37345 # Exit here if they wanted silent mode.
37346 - test "$show" = ":" && exit 0
37347 + test "$show" = : && exit $EXIT_SUCCESS
37349 - echo "----------------------------------------------------------------------"
37350 - echo "Libraries have been installed in:"
37351 + $echo "X----------------------------------------------------------------------" | $Xsed
37352 + $echo "Libraries have been installed in:"
37353 for libdir in $libdirs; do
37358 - echo "If you ever happen to want to link against installed libraries"
37359 - echo "in a given directory, LIBDIR, you must either use libtool, and"
37360 - echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37361 - echo "flag during linking and do at least one of the following:"
37363 + $echo "If you ever happen to want to link against installed libraries"
37364 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
37365 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37366 + $echo "flag during linking and do at least one of the following:"
37367 if test -n "$shlibpath_var"; then
37368 - echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37369 - echo " during execution"
37370 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37371 + $echo " during execution"
37373 if test -n "$runpath_var"; then
37374 - echo " - add LIBDIR to the \`$runpath_var' environment variable"
37375 - echo " during linking"
37376 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
37377 + $echo " during linking"
37379 if test -n "$hardcode_libdir_flag_spec"; then
37381 eval flag=\"$hardcode_libdir_flag_spec\"
37383 - echo " - use the \`$flag' linker flag"
37384 + $echo " - use the \`$flag' linker flag"
37386 if test -n "$admincmds"; then
37387 - echo " - have your system administrator run these commands:$admincmds"
37388 + $echo " - have your system administrator run these commands:$admincmds"
37390 if test -f /etc/ld.so.conf; then
37391 - echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37392 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37395 - echo "See any operating system documentation about shared libraries for"
37396 - echo "more information, such as the ld(1) and ld.so(8) manual pages."
37397 - echo "----------------------------------------------------------------------"
37400 + $echo "See any operating system documentation about shared libraries for"
37401 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
37402 + $echo "X----------------------------------------------------------------------" | $Xsed
37403 + exit $EXIT_SUCCESS
37406 # libtool execute mode
37407 @@ -4615,7 +6311,7 @@
37408 if test -z "$cmd"; then
37409 $echo "$modename: you must specify a COMMAND" 1>&2
37412 + exit $EXIT_FAILURE
37415 # Handle -dlopen flags immediately.
37416 @@ -4623,18 +6319,18 @@
37417 if test ! -f "$file"; then
37418 $echo "$modename: \`$file' is not a file" 1>&2
37421 + exit $EXIT_FAILURE
37427 # Check to see that this really is a libtool archive.
37428 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37429 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37431 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
37434 + exit $EXIT_FAILURE
37437 # Read the libtool library.
37438 @@ -4661,7 +6357,7 @@
37441 $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
37443 + exit $EXIT_FAILURE
37447 @@ -4701,7 +6397,7 @@
37450 # Do a test to see if this is really a libtool program.
37451 - if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37452 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37453 # If there is no directory component, then add one.
37455 */* | *\\*) . $file ;;
37456 @@ -4724,7 +6420,7 @@
37457 eval "export $shlibpath_var"
37460 - # Restore saved enviroment variables
37461 + # Restore saved environment variables
37462 if test "${save_LC_ALL+set}" = set; then
37463 LC_ALL="$save_LC_ALL"; export LC_ALL
37465 @@ -4741,7 +6437,7 @@
37466 $echo "export $shlibpath_var"
37470 + exit $EXIT_SUCCESS
37474 @@ -4769,24 +6465,25 @@
37475 if test -z "$rm"; then
37476 $echo "$modename: you must specify an RM program" 1>&2
37479 + exit $EXIT_FAILURE
37484 + origobjdir="$objdir"
37485 for file in $files; do
37486 dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
37487 if test "X$dir" = "X$file"; then
37490 + objdir="$origobjdir"
37492 - objdir="$dir/$objdir"
37493 + objdir="$dir/$origobjdir"
37495 name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37496 - test $mode = uninstall && objdir="$dir"
37497 + test "$mode" = uninstall && objdir="$dir"
37499 # Remember objdir for removal later, being careful to avoid duplicates
37500 - if test $mode = clean; then
37501 + if test "$mode" = clean; then
37502 case " $rmdirs " in
37504 *) rmdirs="$rmdirs $objdir" ;;
37505 @@ -4810,7 +6507,7 @@
37508 # Possibly a libtool archive, so verify it.
37509 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37510 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37513 # Delete the libtool libraries and symlinks.
37514 @@ -4818,18 +6515,27 @@
37515 rmfiles="$rmfiles $objdir/$n"
37517 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
37518 - test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37520 - if test $mode = uninstall; then
37523 + case " $library_names " in
37524 + # " " in the beginning catches empty $dlname
37525 + *" $dlname "*) ;;
37526 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
37528 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37531 if test -n "$library_names"; then
37532 # Do each command in the postuninstall commands.
37533 - eval cmds=\"$postuninstall_cmds\"
37534 + cmds=$postuninstall_cmds
37535 save_ifs="$IFS"; IFS='~'
37536 for cmd in $cmds; do
37538 + eval cmd=\"$cmd\"
37541 - if test $? != 0 && test "$rmforce" != yes; then
37542 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37546 @@ -4838,40 +6544,72 @@
37548 if test -n "$old_library"; then
37549 # Do each command in the old_postuninstall commands.
37550 - eval cmds=\"$old_postuninstall_cmds\"
37551 + cmds=$old_postuninstall_cmds
37552 save_ifs="$IFS"; IFS='~'
37553 for cmd in $cmds; do
37555 + eval cmd=\"$cmd\"
37558 - if test $? != 0 && test "$rmforce" != yes; then
37559 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37565 # FIXME: should reinstall the best remaining shared library.
37573 - if test "$build_old_libs" = yes; then
37574 - oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
37575 - rmfiles="$rmfiles $dir/$oldobj"
37576 + # Possibly a libtool object, so verify it.
37577 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37579 + # Read the .lo file
37582 + # Add PIC object to the list of files to remove.
37583 + if test -n "$pic_object" \
37584 + && test "$pic_object" != none; then
37585 + rmfiles="$rmfiles $dir/$pic_object"
37588 + # Add non-PIC object to the list of files to remove.
37589 + if test -n "$non_pic_object" \
37590 + && test "$non_pic_object" != none; then
37591 + rmfiles="$rmfiles $dir/$non_pic_object"
37597 - # Do a test to see if this is a libtool program.
37598 - if test $mode = clean &&
37599 - (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37602 + if test "$mode" = clean ; then
37606 + file=`$echo $file|${SED} 's,.exe$,,'`
37607 + noexename=`$echo $name|${SED} 's,.exe$,,'`
37608 + # $file with .exe has already been added to rmfiles,
37609 + # add $file without .exe
37610 + rmfiles="$rmfiles $file"
37613 + # Do a test to see if this is a libtool program.
37614 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37616 + . $dir/$noexename
37618 - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37619 - if test "$fast_install" = yes && test -n "$relink_command"; then
37620 - rmfiles="$rmfiles $objdir/lt-$name"
37621 + # note $name still contains .exe if it was in $file originally
37622 + # as does the version of $file that was added into $rmfiles
37623 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37624 + if test "$fast_install" = yes && test -n "$relink_command"; then
37625 + rmfiles="$rmfiles $objdir/lt-$name"
37627 + if test "X$noexename" != "X$name" ; then
37628 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
37633 @@ -4879,6 +6617,7 @@
37634 $show "$rm $rmfiles"
37635 $run $rm $rmfiles || exit_status=1
37637 + objdir="$origobjdir"
37639 # Try to remove the ${objdir}s in the directories where we deleted files
37640 for dir in $rmdirs; do
37641 @@ -4894,20 +6633,20 @@
37643 $echo "$modename: you must specify a MODE" 1>&2
37644 $echo "$generic_help" 1>&2
37646 + exit $EXIT_FAILURE
37650 if test -z "$exec_cmd"; then
37651 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37652 $echo "$generic_help" 1>&2
37654 + exit $EXIT_FAILURE
37656 fi # test -z "$show_help"
37658 if test -n "$exec_cmd"; then
37659 eval exec $exec_cmd
37661 + exit $EXIT_FAILURE
37664 # We need to display help for each of the modes.
37665 @@ -4926,6 +6665,7 @@
37666 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
37667 --quiet same as \`--silent'
37668 --silent don't print informational messages
37669 + --tag=TAG use configuration variables from tag TAG
37670 --version print version information
37672 MODE must be one of the following:
37673 @@ -4939,8 +6679,10 @@
37674 uninstall remove libraries from an installed directory
37676 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
37677 -a more detailed description of MODE."
37679 +a more detailed description of MODE.
37681 +Report bugs to <bug-libtool@gnu.org>."
37682 + exit $EXIT_SUCCESS
37686 @@ -5051,6 +6793,9 @@
37687 -no-install link a not-installable executable
37688 -no-undefined declare that a library does not refer to external symbols
37689 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
37690 + -objectlist FILE Use a list of object files found in FILE to specify objects
37691 + -precious-files-regex REGEX
37692 + don't remove output files matching REGEX
37693 -release RELEASE specify package release information
37694 -rpath LIBDIR the created library will eventually be installed in LIBDIR
37695 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
37696 @@ -5092,14 +6837,33 @@
37698 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37701 + exit $EXIT_FAILURE
37707 $echo "Try \`$modename --help' for more information about other modes."
37712 +# The TAGs below are defined such that we never get into a situation
37713 +# in which we disable both kinds of libraries. Given conflicting
37714 +# choices, we go for a static library, that is the most portable,
37715 +# since we can't tell whether shared libraries were disabled because
37716 +# the user asked for that or because the platform doesn't support
37717 +# them. This is particularly important on AIX, because we don't
37718 +# support having both static and shared libraries enabled at the same
37719 +# time on that platform, so we default to a shared-only configuration.
37720 +# If a disable-shared tag is given, we'll fallback to a static-only
37721 +# configuration. But we'll never go from static-only to shared-only.
37723 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
37724 +disable_libs=shared
37725 +# ### END LIBTOOL TAG CONFIG: disable-shared
37727 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
37728 +disable_libs=static
37729 +# ### END LIBTOOL TAG CONFIG: disable-static
37732 # mode:shell-script
37733 Index: linux-atm-2.4.1/m4/Makefile.in
37734 ===================================================================
37735 --- linux-atm-2.4.1.orig/m4/Makefile.in 2007-10-20 21:45:35.726868386 +0200
37736 +++ linux-atm-2.4.1/m4/Makefile.in 2007-10-20 21:45:44.303357132 +0200
37738 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
37739 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
37740 +# @configure_input@
37742 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
37743 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
37744 +# 2003, 2004, 2005 Free Software Foundation, Inc.
37745 # This Makefile.in is free software; the Free Software Foundation
37746 # gives unlimited permission to copy and/or distribute it,
37747 # with or without modifications, as long as this notice is preserved.
37748 @@ -10,195 +12,316 @@
37749 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
37750 # PARTICULAR PURPOSE.
37757 top_srcdir = @top_srcdir@
37760 -exec_prefix = @exec_prefix@
37763 -sbindir = @sbindir@
37764 -libexecdir = @libexecdir@
37765 -datadir = @datadir@
37766 -sysconfdir = @sysconfdir@
37767 -sharedstatedir = @sharedstatedir@
37768 -localstatedir = @localstatedir@
37770 -infodir = @infodir@
37772 -includedir = @includedir@
37773 -oldincludedir = /usr/include
37777 pkgdatadir = $(datadir)/@PACKAGE@
37778 pkglibdir = $(libdir)/@PACKAGE@
37779 pkgincludedir = $(includedir)/@PACKAGE@
37783 -ACLOCAL = @ACLOCAL@
37784 -AUTOCONF = @AUTOCONF@
37785 -AUTOMAKE = @AUTOMAKE@
37786 -AUTOHEADER = @AUTOHEADER@
37788 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
37789 INSTALL = @INSTALL@
37790 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
37791 -INSTALL_DATA = @INSTALL_DATA@
37792 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
37793 -transform = @program_transform_name@
37795 +install_sh_DATA = $(install_sh) -c -m 644
37796 +install_sh_PROGRAM = $(install_sh) -c
37797 +install_sh_SCRIPT = $(install_sh) -c
37798 +INSTALL_HEADER = $(INSTALL_DATA)
37799 +transform = $(program_transform_name)
37803 NORMAL_UNINSTALL = :
37806 -build_alias = @build_alias@
37807 build_triplet = @build@
37808 -host_alias = @host_alias@
37809 host_triplet = @host@
37810 -target_alias = @target_alias@
37811 target_triplet = @target@
37813 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37814 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37815 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
37816 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
37818 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37819 +CONFIG_HEADER = $(top_builddir)/config.h
37820 +CONFIG_CLEAN_FILES =
37823 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
37824 +ACLOCAL = @ACLOCAL@
37825 +AMDEP_FALSE = @AMDEP_FALSE@
37826 +AMDEP_TRUE = @AMDEP_TRUE@
37830 +AUTOCONF = @AUTOCONF@
37831 +AUTOHEADER = @AUTOHEADER@
37832 +AUTOMAKE = @AUTOMAKE@
37835 +CCDEPMODE = @CCDEPMODE@
37838 +CPPFLAGS = @CPPFLAGS@
37841 -DLLTOOL = @DLLTOOL@
37842 +CXXDEPMODE = @CXXDEPMODE@
37843 +CXXFLAGS = @CXXFLAGS@
37844 +CYGPATH_W = @CYGPATH_W@
37855 -GCJFLAGS = @GCJFLAGS@
37856 -HAVE_LIB = @HAVE_LIB@
37859 +INSTALL_DATA = @INSTALL_DATA@
37860 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
37861 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
37862 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
37863 +LDFLAGS = @LDFLAGS@
37867 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
37868 +LIBOBJS = @LIBOBJS@
37870 LIBTOOL = @LIBTOOL@
37871 LIBTOOL_DEPS = @LIBTOOL_DEPS@
37872 LIBVER_AGE = @LIBVER_AGE@
37873 LIBVER_CURRENT = @LIBVER_CURRENT@
37874 LIBVER_REVISION = @LIBVER_REVISION@
37877 +LTLIBOBJS = @LTLIBOBJS@
37878 MAKEINFO = @MAKEINFO@
37879 -OBJDUMP = @OBJDUMP@
37881 PACKAGE = @PACKAGE@
37882 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
37883 +PACKAGE_NAME = @PACKAGE_NAME@
37884 +PACKAGE_STRING = @PACKAGE_STRING@
37885 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
37886 +PACKAGE_VERSION = @PACKAGE_VERSION@
37887 +PATH_SEPARATOR = @PATH_SEPARATOR@
37891 +SET_MAKE = @SET_MAKE@
37894 VERSION = @VERSION@
37896 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37897 -CONFIG_HEADER = ../config.h
37898 -CONFIG_CLEAN_FILES =
37899 -DIST_COMMON = Makefile.am Makefile.in
37902 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
37904 +ac_ct_CC = @ac_ct_CC@
37905 +ac_ct_CXX = @ac_ct_CXX@
37906 +ac_ct_F77 = @ac_ct_F77@
37907 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
37908 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
37909 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
37910 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
37911 +am__include = @am__include@
37912 +am__leading_dot = @am__leading_dot@
37913 +am__quote = @am__quote@
37914 +am__tar = @am__tar@
37915 +am__untar = @am__untar@
37918 +build_alias = @build_alias@
37919 +build_cpu = @build_cpu@
37920 +build_os = @build_os@
37921 +build_vendor = @build_vendor@
37922 +datadir = @datadir@
37923 +datarootdir = @datarootdir@
37926 +exec_prefix = @exec_prefix@
37928 +host_alias = @host_alias@
37929 +host_cpu = @host_cpu@
37930 +host_os = @host_os@
37931 +host_vendor = @host_vendor@
37932 +htmldir = @htmldir@
37933 +includedir = @includedir@
37934 +infodir = @infodir@
37935 +install_sh = @install_sh@
37937 +libexecdir = @libexecdir@
37938 +localedir = @localedir@
37939 +localstatedir = @localstatedir@
37941 +mkdir_p = @mkdir_p@
37942 +oldincludedir = @oldincludedir@
37945 +program_transform_name = @program_transform_name@
37947 +sbindir = @sbindir@
37948 +sharedstatedir = @sharedstatedir@
37949 +sysconfdir = @sysconfdir@
37951 +target_alias = @target_alias@
37952 +target_cpu = @target_cpu@
37953 +target_os = @target_os@
37954 +target_vendor = @target_vendor@
37961 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
37962 - cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile
37963 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
37964 + @for dep in $?; do \
37965 + case '$(am__configure_deps)' in \
37967 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
37972 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
37973 + cd $(top_srcdir) && \
37974 + $(AUTOMAKE) --gnu m4/Makefile
37975 +.PRECIOUS: Makefile
37976 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
37978 + *config.status*) \
37979 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
37981 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
37982 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
37985 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
37986 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37988 +$(top_srcdir)/configure: $(am__configure_deps)
37989 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37990 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
37991 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37993 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
37994 - cd $(top_builddir) \
37995 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
37996 +mostlyclean-libtool:
38000 + -rm -rf .libs _libs
38002 +distclean-libtool:
38004 +uninstall-info-am:
38011 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
38015 distdir: $(DISTFILES)
38016 - here=`cd $(top_builddir) && pwd`; \
38017 - top_distdir=`cd $(top_distdir) && pwd`; \
38018 - distdir=`cd $(distdir) && pwd`; \
38019 - cd $(top_srcdir) \
38020 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu m4/Makefile
38021 - @for file in $(DISTFILES); do \
38023 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38024 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38025 + list='$(DISTFILES)'; for file in $$list; do \
38027 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38028 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38030 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38031 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38032 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38034 + $(mkdir_p) "$(distdir)$$dir"; \
38038 if test -d $$d/$$file; then \
38039 - cp -pr $$d/$$file $(distdir)/$$file; \
38040 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38041 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38043 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38045 test -f $(distdir)/$$file \
38046 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38047 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38048 + || cp -p $$d/$$file $(distdir)/$$file \
38059 -installcheck: installcheck-am
38063 +install: install-am
38064 install-exec: install-exec-am
38067 install-data: install-data-am
38068 +uninstall: uninstall-am
38071 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38072 -install: install-am
38074 -uninstall: uninstall-am
38076 -all-redirect: all-am
38078 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38082 +installcheck: installcheck-am
38084 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38085 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38086 + `test -z '$(STRIP)' || \
38087 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38088 mostlyclean-generic:
38093 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38094 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38095 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38097 maintainer-clean-generic:
38098 -mostlyclean-am: mostlyclean-generic
38099 + @echo "This command is intended for maintainers to use"
38100 + @echo "it deletes files that may require special tools to rebuild."
38103 -mostlyclean: mostlyclean-am
38104 +clean-am: clean-generic clean-libtool mostlyclean-am
38106 -clean-am: clean-generic mostlyclean-am
38107 +distclean: distclean-am
38109 +distclean-am: clean-am distclean-generic distclean-libtool
38114 -distclean-am: distclean-generic clean-am
38118 -distclean: distclean-am
38121 -maintainer-clean-am: maintainer-clean-generic distclean-am
38122 - @echo "This command is intended for maintainers to use;"
38123 - @echo "it deletes files that may require special tools to rebuild."
38132 +install-info: install-info-am
38138 maintainer-clean: maintainer-clean-am
38140 +maintainer-clean-am: distclean-am maintainer-clean-generic
38142 +mostlyclean: mostlyclean-am
38144 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
38154 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
38155 -installcheck-am installcheck install-exec-am install-exec \
38156 -install-data-am install-data install-am install uninstall-am uninstall \
38157 -all-redirect all-am all installdirs mostlyclean-generic \
38158 -distclean-generic clean-generic maintainer-clean-generic clean \
38159 -mostlyclean distclean maintainer-clean
38160 +uninstall-am: uninstall-info-am
38162 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
38163 + distclean distclean-generic distclean-libtool distdir dvi \
38164 + dvi-am html html-am info info-am install install-am \
38165 + install-data install-data-am install-exec install-exec-am \
38166 + install-info install-info-am install-man install-strip \
38167 + installcheck installcheck-am installdirs maintainer-clean \
38168 + maintainer-clean-generic mostlyclean mostlyclean-generic \
38169 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
38170 + uninstall-info-am
38172 # Tell versions [3.59,3.63) of GNU make to not export all variables.
38173 # Otherwise a system limit (for SysV at least) may be exceeded.
38174 Index: linux-atm-2.4.1/Makefile.in
38175 ===================================================================
38176 --- linux-atm-2.4.1.orig/Makefile.in 2007-10-20 21:45:35.730868614 +0200
38177 +++ linux-atm-2.4.1/Makefile.in 2007-10-20 21:45:44.307357360 +0200
38179 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
38180 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
38181 +# @configure_input@
38183 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
38184 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
38185 +# 2003, 2004, 2005 Free Software Foundation, Inc.
38186 # This Makefile.in is free software; the Free Software Foundation
38187 # gives unlimited permission to copy and/or distribute it,
38188 # with or without modifications, as long as this notice is preserved.
38189 @@ -10,153 +12,248 @@
38190 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
38191 # PARTICULAR PURPOSE.
38198 top_srcdir = @top_srcdir@
38201 -exec_prefix = @exec_prefix@
38204 -sbindir = @sbindir@
38205 -libexecdir = @libexecdir@
38206 -datadir = @datadir@
38207 -sysconfdir = @sysconfdir@
38208 -sharedstatedir = @sharedstatedir@
38209 -localstatedir = @localstatedir@
38211 -infodir = @infodir@
38213 -includedir = @includedir@
38214 -oldincludedir = /usr/include
38218 pkgdatadir = $(datadir)/@PACKAGE@
38219 pkglibdir = $(libdir)/@PACKAGE@
38220 pkgincludedir = $(includedir)/@PACKAGE@
38224 -ACLOCAL = @ACLOCAL@
38225 -AUTOCONF = @AUTOCONF@
38226 -AUTOMAKE = @AUTOMAKE@
38227 -AUTOHEADER = @AUTOHEADER@
38229 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
38230 INSTALL = @INSTALL@
38231 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
38232 -INSTALL_DATA = @INSTALL_DATA@
38233 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
38234 -transform = @program_transform_name@
38236 +install_sh_DATA = $(install_sh) -c -m 644
38237 +install_sh_PROGRAM = $(install_sh) -c
38238 +install_sh_SCRIPT = $(install_sh) -c
38239 +INSTALL_HEADER = $(INSTALL_DATA)
38240 +transform = $(program_transform_name)
38244 NORMAL_UNINSTALL = :
38247 -build_alias = @build_alias@
38248 build_triplet = @build@
38249 -host_alias = @host_alias@
38250 host_triplet = @host@
38251 -target_alias = @target_alias@
38252 target_triplet = @target@
38253 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38254 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
38255 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38256 + THANKS acconfig.h config.guess config.sub depcomp install-sh \
38257 + ltmain.sh missing mkinstalldirs
38259 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38260 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
38261 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
38263 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
38264 + configure.lineno configure.status.lineno
38265 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38266 +CONFIG_HEADER = config.h
38267 +CONFIG_CLEAN_FILES =
38270 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
38271 + html-recursive info-recursive install-data-recursive \
38272 + install-exec-recursive install-info-recursive \
38273 + install-recursive installcheck-recursive installdirs-recursive \
38274 + pdf-recursive ps-recursive uninstall-info-recursive \
38275 + uninstall-recursive
38278 +DIST_SUBDIRS = $(SUBDIRS)
38279 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
38280 +distdir = $(PACKAGE)-$(VERSION)
38281 +top_distdir = $(distdir)
38282 +am__remove_distdir = \
38283 + { test ! -d $(distdir) \
38284 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
38285 + && rm -fr $(distdir); }; }
38286 +DIST_ARCHIVES = $(distdir).tar.gz
38288 +distuninstallcheck_listfiles = find . -type f -print
38289 +distcleancheck_listfiles = find . -type f -print
38290 +ACLOCAL = @ACLOCAL@
38291 +AMDEP_FALSE = @AMDEP_FALSE@
38292 +AMDEP_TRUE = @AMDEP_TRUE@
38296 +AUTOCONF = @AUTOCONF@
38297 +AUTOHEADER = @AUTOHEADER@
38298 +AUTOMAKE = @AUTOMAKE@
38301 +CCDEPMODE = @CCDEPMODE@
38304 +CPPFLAGS = @CPPFLAGS@
38307 -DLLTOOL = @DLLTOOL@
38308 +CXXDEPMODE = @CXXDEPMODE@
38309 +CXXFLAGS = @CXXFLAGS@
38310 +CYGPATH_W = @CYGPATH_W@
38321 -GCJFLAGS = @GCJFLAGS@
38322 -HAVE_LIB = @HAVE_LIB@
38325 +INSTALL_DATA = @INSTALL_DATA@
38326 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
38327 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
38328 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
38329 +LDFLAGS = @LDFLAGS@
38333 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
38334 +LIBOBJS = @LIBOBJS@
38336 LIBTOOL = @LIBTOOL@
38337 LIBTOOL_DEPS = @LIBTOOL_DEPS@
38338 LIBVER_AGE = @LIBVER_AGE@
38339 LIBVER_CURRENT = @LIBVER_CURRENT@
38340 LIBVER_REVISION = @LIBVER_REVISION@
38343 +LTLIBOBJS = @LTLIBOBJS@
38344 MAKEINFO = @MAKEINFO@
38345 -OBJDUMP = @OBJDUMP@
38347 PACKAGE = @PACKAGE@
38348 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
38349 +PACKAGE_NAME = @PACKAGE_NAME@
38350 +PACKAGE_STRING = @PACKAGE_STRING@
38351 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
38352 +PACKAGE_VERSION = @PACKAGE_VERSION@
38353 +PATH_SEPARATOR = @PATH_SEPARATOR@
38357 +SET_MAKE = @SET_MAKE@
38360 VERSION = @VERSION@
38364 +ac_ct_CC = @ac_ct_CC@
38365 +ac_ct_CXX = @ac_ct_CXX@
38366 +ac_ct_F77 = @ac_ct_F77@
38367 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
38368 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
38369 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
38370 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
38371 +am__include = @am__include@
38372 +am__leading_dot = @am__leading_dot@
38373 +am__quote = @am__quote@
38374 +am__tar = @am__tar@
38375 +am__untar = @am__untar@
38378 +build_alias = @build_alias@
38379 +build_cpu = @build_cpu@
38380 +build_os = @build_os@
38381 +build_vendor = @build_vendor@
38382 +datadir = @datadir@
38383 +datarootdir = @datarootdir@
38386 +exec_prefix = @exec_prefix@
38388 +host_alias = @host_alias@
38389 +host_cpu = @host_cpu@
38390 +host_os = @host_os@
38391 +host_vendor = @host_vendor@
38392 +htmldir = @htmldir@
38393 +includedir = @includedir@
38394 +infodir = @infodir@
38395 +install_sh = @install_sh@
38397 +libexecdir = @libexecdir@
38398 +localedir = @localedir@
38399 +localstatedir = @localstatedir@
38401 +mkdir_p = @mkdir_p@
38402 +oldincludedir = @oldincludedir@
38405 +program_transform_name = @program_transform_name@
38407 +sbindir = @sbindir@
38408 +sharedstatedir = @sharedstatedir@
38409 +sysconfdir = @sysconfdir@
38411 +target_alias = @target_alias@
38412 +target_cpu = @target_cpu@
38413 +target_os = @target_os@
38414 +target_vendor = @target_vendor@
38415 SUBDIRS = m4 src doc
38417 EXTRA_DIST = COPYING.GPL COPYING.LGPL BUGS
38418 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38419 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38420 -CONFIG_HEADER = config.h
38421 -CONFIG_CLEAN_FILES =
38422 -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
38423 -Makefile.am Makefile.in NEWS THANKS acconfig.h aclocal.m4 config.guess \
38424 -config.h.in config.sub configure configure.in install-sh ltmain.sh \
38425 -missing mkinstalldirs
38428 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
38430 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
38436 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
38437 - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
38439 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
38440 - cd $(top_builddir) \
38441 - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38443 -$(ACLOCAL_M4): configure.in
38444 - cd $(srcdir) && $(ACLOCAL)
38447 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
38448 + @for dep in $?; do \
38449 + case '$(am__configure_deps)' in \
38451 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
38452 + cd $(srcdir) && $(AUTOMAKE) --gnu \
38457 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
38458 + cd $(top_srcdir) && \
38459 + $(AUTOMAKE) --gnu Makefile
38460 +.PRECIOUS: Makefile
38461 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38463 + *config.status*) \
38464 + echo ' $(SHELL) ./config.status'; \
38465 + $(SHELL) ./config.status;; \
38467 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
38468 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
38471 -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38472 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38473 $(SHELL) ./config.status --recheck
38474 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
38476 +$(top_srcdir)/configure: $(am__configure_deps)
38477 cd $(srcdir) && $(AUTOCONF)
38478 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
38479 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
38482 +config.h: stamp-h1
38483 @if test ! -f $@; then \
38485 - $(MAKE) stamp-h; \
38486 + rm -f stamp-h1; \
38487 + $(MAKE) stamp-h1; \
38489 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
38490 - cd $(top_builddir) \
38491 - && CONFIG_FILES= CONFIG_HEADERS=config.h \
38492 - $(SHELL) ./config.status
38493 - @echo timestamp > stamp-h 2> /dev/null
38494 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
38495 - @if test ! -f $@; then \
38496 - rm -f $(srcdir)/stamp-h.in; \
38497 - $(MAKE) $(srcdir)/stamp-h.in; \
38499 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
38501 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
38503 + cd $(top_builddir) && $(SHELL) ./config.status config.h
38504 +$(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
38505 cd $(top_srcdir) && $(AUTOHEADER)
38506 - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
38512 + -rm -f config.h stamp-h1
38515 +mostlyclean-libtool:
38521 + -rm -rf .libs _libs
38523 -maintainer-clean-hdr:
38524 +distclean-libtool:
38526 +uninstall-info-am:
38528 # This directory's subdirectories are mostly independent; you can cd
38529 # into them and run `make' without going through this Makefile.
38530 @@ -164,13 +261,14 @@
38531 # (1) if the variable is set in `config.status', edit `config.status'
38532 # (which will cause the Makefiles to be regenerated when you run `make');
38533 # (2) otherwise, pass the desired values on the `make' command line.
38537 -all-recursive install-data-recursive install-exec-recursive \
38538 -installdirs-recursive install-recursive uninstall-recursive \
38539 -check-recursive installcheck-recursive info-recursive dvi-recursive:
38540 - @set fnord $(MAKEFLAGS); amf=$$2; \
38541 +$(RECURSIVE_TARGETS):
38542 + @failcom='exit 1'; \
38543 + for f in x $$MAKEFLAGS; do \
38545 + *=* | --[!k]*);; \
38546 + *k*) failcom='fail=yes';; \
38550 target=`echo $@ | sed s/-recursive//`; \
38551 list='$(SUBDIRS)'; for subdir in $$list; do \
38552 @@ -182,7 +280,7 @@
38553 local_target="$$target"; \
38555 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38556 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38557 + || eval $$failcom; \
38559 if test "$$dot_seen" = "no"; then \
38560 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
38561 @@ -190,13 +288,24 @@
38563 mostlyclean-recursive clean-recursive distclean-recursive \
38564 maintainer-clean-recursive:
38565 - @set fnord $(MAKEFLAGS); amf=$$2; \
38566 + @failcom='exit 1'; \
38567 + for f in x $$MAKEFLAGS; do \
38569 + *=* | --[!k]*);; \
38570 + *k*) failcom='fail=yes';; \
38574 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
38575 - rev="$$subdir $$rev"; \
38576 - test "$$subdir" != "." || dot_seen=yes; \
38578 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
38579 + *) list='$(SUBDIRS)' ;; \
38581 + rev=''; for subdir in $$list; do \
38582 + if test "$$subdir" = "."; then :; else \
38583 + rev="$$subdir $$rev"; \
38586 - test "$$dot_seen" = "no" && rev=". $$rev"; \
38588 target=`echo $@ | sed s/-recursive//`; \
38589 for subdir in $$rev; do \
38590 echo "Making $$target in $$subdir"; \
38591 @@ -206,183 +315,314 @@
38592 local_target="$$target"; \
38594 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38595 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38596 + || eval $$failcom; \
38597 done && test -z "$$fail"
38599 list='$(SUBDIRS)'; for subdir in $$list; do \
38600 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
38603 + list='$(SUBDIRS)'; for subdir in $$list; do \
38604 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
38609 -ID: $(HEADERS) $(SOURCES) $(LISP)
38610 - list='$(SOURCES) $(HEADERS)'; \
38611 - unique=`for i in $$list; do echo $$i; done | \
38612 - awk ' { files[$$0] = 1; } \
38613 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
38614 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
38615 + unique=`for i in $$list; do \
38616 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38618 + $(AWK) ' { files[$$0] = 1; } \
38619 END { for (i in files) print i; }'`; \
38620 - here=`pwd` && cd $(srcdir) \
38621 - && mkid -f$$here/ID $$unique $(LISP)
38622 + mkid -fID $$unique
38625 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
38626 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38627 + $(TAGS_FILES) $(LISP)
38630 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
38631 + include_option=--etags-include; \
38634 + include_option=--include; \
38637 list='$(SUBDIRS)'; for subdir in $$list; do \
38638 - if test "$$subdir" = .; then :; else \
38639 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
38641 + if test "$$subdir" = .; then :; else \
38642 + test ! -f $$subdir/TAGS || \
38643 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
38646 - list='$(SOURCES) $(HEADERS)'; \
38647 - unique=`for i in $$list; do echo $$i; done | \
38648 - awk ' { files[$$0] = 1; } \
38649 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38650 + unique=`for i in $$list; do \
38651 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38653 + $(AWK) ' { files[$$0] = 1; } \
38654 END { for (i in files) print i; }'`; \
38655 - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
38656 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
38661 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
38662 + test -n "$$unique" || unique=$$empty_fix; \
38663 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
38664 + $$tags $$unique; \
38667 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38668 + $(TAGS_FILES) $(LISP)
38671 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38672 + unique=`for i in $$list; do \
38673 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38675 + $(AWK) ' { files[$$0] = 1; } \
38676 + END { for (i in files) print i; }'`; \
38677 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
38678 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
38682 + here=`$(am__cd) $(top_builddir) && pwd` \
38683 + && cd $(top_srcdir) \
38684 + && gtags -i $(GTAGS_ARGS) $$here
38689 -maintainer-clean-tags:
38690 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
38692 -distdir = $(PACKAGE)-$(VERSION)
38693 -top_distdir = $(distdir)
38695 -# This target untars the dist file and tries a VPATH configuration. Then
38696 -# it guarantees that the distribution is self-contained by making another
38699 - -rm -rf $(distdir)
38700 - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
38701 - mkdir $(distdir)/=build
38702 - mkdir $(distdir)/=inst
38703 - dc_install_base=`cd $(distdir)/=inst && pwd`; \
38704 - cd $(distdir)/=build \
38705 - && ../configure --srcdir=.. --prefix=$$dc_install_base \
38706 - && $(MAKE) $(AM_MAKEFLAGS) \
38707 - && $(MAKE) $(AM_MAKEFLAGS) dvi \
38708 - && $(MAKE) $(AM_MAKEFLAGS) check \
38709 - && $(MAKE) $(AM_MAKEFLAGS) install \
38710 - && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38711 - && $(MAKE) $(AM_MAKEFLAGS) dist
38712 - -rm -rf $(distdir)
38713 - @banner="$(distdir).tar.gz is ready for distribution"; \
38714 - dashes=`echo "$$banner" | sed s/./=/g`; \
38715 - echo "$$dashes"; \
38716 - echo "$$banner"; \
38719 - -chmod -R a+r $(distdir)
38720 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38721 - -rm -rf $(distdir)
38723 - -chmod -R a+r $(distdir)
38724 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38725 - -rm -rf $(distdir)
38726 distdir: $(DISTFILES)
38727 - -rm -rf $(distdir)
38728 + $(am__remove_distdir)
38730 - -chmod 777 $(distdir)
38731 - here=`cd $(top_builddir) && pwd`; \
38732 - top_distdir=`cd $(distdir) && pwd`; \
38733 - distdir=`cd $(distdir) && pwd`; \
38734 - cd $(top_srcdir) \
38735 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
38736 - @for file in $(DISTFILES); do \
38738 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38739 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38740 + list='$(DISTFILES)'; for file in $$list; do \
38742 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38743 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38745 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38746 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38747 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38749 + $(mkdir_p) "$(distdir)$$dir"; \
38753 if test -d $$d/$$file; then \
38754 - cp -pr $$d/$$file $(distdir)/$$file; \
38755 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38756 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38758 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38760 test -f $(distdir)/$$file \
38761 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38762 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38763 + || cp -p $$d/$$file $(distdir)/$$file \
38767 - for subdir in $(SUBDIRS); do \
38768 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
38769 if test "$$subdir" = .; then :; else \
38770 - test -d $(distdir)/$$subdir \
38771 - || mkdir $(distdir)/$$subdir \
38772 + test -d "$(distdir)/$$subdir" \
38773 + || $(mkdir_p) "$(distdir)/$$subdir" \
38775 - chmod 777 $(distdir)/$$subdir; \
38776 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
38777 + distdir=`$(am__cd) $(distdir) && pwd`; \
38778 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
38779 + (cd $$subdir && \
38780 + $(MAKE) $(AM_MAKEFLAGS) \
38781 + top_distdir="$$top_distdir" \
38782 + distdir="$$distdir/$$subdir" \
38788 -info: info-recursive
38790 -dvi: dvi-recursive
38791 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
38792 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
38793 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
38794 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
38795 + || chmod -R a+r $(distdir)
38796 +dist-gzip: distdir
38797 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38798 + $(am__remove_distdir)
38800 +dist-bzip2: distdir
38801 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
38802 + $(am__remove_distdir)
38804 +dist-tarZ: distdir
38805 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
38806 + $(am__remove_distdir)
38808 +dist-shar: distdir
38809 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
38810 + $(am__remove_distdir)
38813 + -rm -f $(distdir).zip
38814 + zip -rq $(distdir).zip $(distdir)
38815 + $(am__remove_distdir)
38817 +dist dist-all: distdir
38818 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38819 + $(am__remove_distdir)
38821 +# This target untars the dist file and tries a VPATH configuration. Then
38822 +# it guarantees that the distribution is self-contained by making another
38825 + case '$(DIST_ARCHIVES)' in \
38827 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
38829 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
38831 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
38833 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
38835 + unzip $(distdir).zip ;;\
38837 + chmod -R a-w $(distdir); chmod a+w $(distdir)
38838 + mkdir $(distdir)/_build
38839 + mkdir $(distdir)/_inst
38840 + chmod a-w $(distdir)
38841 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
38842 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
38843 + && cd $(distdir)/_build \
38844 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
38845 + $(DISTCHECK_CONFIGURE_FLAGS) \
38846 + && $(MAKE) $(AM_MAKEFLAGS) \
38847 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
38848 + && $(MAKE) $(AM_MAKEFLAGS) check \
38849 + && $(MAKE) $(AM_MAKEFLAGS) install \
38850 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38851 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
38852 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
38853 + distuninstallcheck \
38854 + && chmod -R a-w "$$dc_install_base" \
38856 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
38857 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
38858 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
38859 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
38860 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
38861 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
38862 + && rm -rf "$$dc_destdir" \
38863 + && $(MAKE) $(AM_MAKEFLAGS) dist \
38864 + && rm -rf $(DIST_ARCHIVES) \
38865 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
38866 + $(am__remove_distdir)
38867 + @(echo "$(distdir) archives ready for distribution: "; \
38868 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
38869 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
38870 +distuninstallcheck:
38871 + @cd $(distuninstallcheck_dir) \
38872 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
38873 + || { echo "ERROR: files left after uninstall:" ; \
38874 + if test -n "$(DESTDIR)"; then \
38875 + echo " (check DESTDIR support)"; \
38877 + $(distuninstallcheck_listfiles) ; \
38879 +distcleancheck: distclean
38880 + @if test '$(srcdir)' = . ; then \
38881 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
38884 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
38885 + || { echo "ERROR: files left in build directory after distclean:" ; \
38886 + $(distcleancheck_listfiles) ; \
38889 check: check-recursive
38891 -installcheck: installcheck-recursive
38892 -all-recursive-am: config.h
38893 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
38896 +all-am: Makefile config.h
38897 +installdirs: installdirs-recursive
38899 +install: install-recursive
38900 install-exec: install-exec-recursive
38903 install-data: install-data-recursive
38904 +uninstall: uninstall-recursive
38907 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38908 -install: install-recursive
38910 -uninstall: uninstall-recursive
38911 -all-am: Makefile config.h
38912 -all-redirect: all-recursive-am
38914 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38915 -installdirs: installdirs-recursive
38919 +installcheck: installcheck-recursive
38921 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38922 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38923 + `test -z '$(STRIP)' || \
38924 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38925 mostlyclean-generic:
38930 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38931 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38932 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38934 maintainer-clean-generic:
38935 -mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
38936 + @echo "This command is intended for maintainers to use"
38937 + @echo "it deletes files that may require special tools to rebuild."
38938 +clean: clean-recursive
38940 -mostlyclean: mostlyclean-recursive
38941 +clean-am: clean-generic clean-libtool mostlyclean-am
38943 -clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
38944 +distclean: distclean-recursive
38945 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38947 +distclean-am: clean-am distclean-generic distclean-hdr \
38948 + distclean-libtool distclean-tags
38950 -clean: clean-recursive
38951 +dvi: dvi-recursive
38953 -distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
38957 -distclean: distclean-recursive
38958 - -rm -f config.status
38959 +html: html-recursive
38961 -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
38962 - maintainer-clean-generic distclean-am
38963 - @echo "This command is intended for maintainers to use;"
38964 - @echo "it deletes files that may require special tools to rebuild."
38965 +info: info-recursive
38973 +install-info: install-info-recursive
38979 maintainer-clean: maintainer-clean-recursive
38980 - -rm -f config.status
38981 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38982 + -rm -rf $(top_srcdir)/autom4te.cache
38984 +maintainer-clean-am: distclean-am maintainer-clean-generic
38986 +mostlyclean: mostlyclean-recursive
38988 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
38989 -install-data-recursive uninstall-data-recursive install-exec-recursive \
38990 -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
38991 -all-recursive check-recursive installcheck-recursive info-recursive \
38992 -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
38993 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
38994 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
38995 -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
38996 -install-exec-am install-exec install-data-am install-data install-am \
38997 -install uninstall-am uninstall all-redirect all-am all installdirs-am \
38998 -installdirs mostlyclean-generic distclean-generic clean-generic \
38999 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
39000 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
39002 +pdf: pdf-recursive
39010 +uninstall-am: uninstall-info-am
39012 +uninstall-info: uninstall-info-recursive
39014 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
39015 + check-am clean clean-generic clean-libtool clean-recursive \
39016 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
39017 + dist-shar dist-tarZ dist-zip distcheck distclean \
39018 + distclean-generic distclean-hdr distclean-libtool \
39019 + distclean-recursive distclean-tags distcleancheck distdir \
39020 + distuninstallcheck dvi dvi-am html html-am info info-am \
39021 + install install-am install-data install-data-am install-exec \
39022 + install-exec-am install-info install-info-am install-man \
39023 + install-strip installcheck installcheck-am installdirs \
39024 + installdirs-am maintainer-clean maintainer-clean-generic \
39025 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
39026 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
39027 + tags tags-recursive uninstall uninstall-am uninstall-info-am
39030 rpms: dist src/extra/linux-atm.spec
39031 @@ -395,7 +635,6 @@
39036 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39037 # Otherwise a system limit (for SysV at least) may be exceeded.
39039 Index: linux-atm-2.4.1/src/arpd/Makefile.in
39040 ===================================================================
39041 --- linux-atm-2.4.1.orig/src/arpd/Makefile.in 2007-10-20 21:45:35.746869525 +0200
39042 +++ linux-atm-2.4.1/src/arpd/Makefile.in 2007-10-20 21:45:44.311357591 +0200
39044 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39045 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39046 +# @configure_input@
39048 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39049 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39050 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39051 # This Makefile.in is free software; the Free Software Foundation
39052 # gives unlimited permission to copy and/or distribute it,
39053 # with or without modifications, as long as this notice is preserved.
39054 @@ -10,211 +12,307 @@
39055 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39056 # PARTICULAR PURPOSE.
39063 top_srcdir = @top_srcdir@
39066 -exec_prefix = @exec_prefix@
39069 -sbindir = @sbindir@
39070 -libexecdir = @libexecdir@
39071 -datadir = @datadir@
39072 -sysconfdir = @sysconfdir@
39073 -sharedstatedir = @sharedstatedir@
39074 -localstatedir = @localstatedir@
39076 -infodir = @infodir@
39078 -includedir = @includedir@
39079 -oldincludedir = /usr/include
39083 pkgdatadir = $(datadir)/@PACKAGE@
39084 pkglibdir = $(libdir)/@PACKAGE@
39085 pkgincludedir = $(includedir)/@PACKAGE@
39087 top_builddir = ../..
39089 -ACLOCAL = @ACLOCAL@
39090 -AUTOCONF = @AUTOCONF@
39091 -AUTOMAKE = @AUTOMAKE@
39092 -AUTOHEADER = @AUTOHEADER@
39094 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39095 INSTALL = @INSTALL@
39096 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39097 -INSTALL_DATA = @INSTALL_DATA@
39098 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39099 -transform = @program_transform_name@
39101 +install_sh_DATA = $(install_sh) -c -m 644
39102 +install_sh_PROGRAM = $(install_sh) -c
39103 +install_sh_SCRIPT = $(install_sh) -c
39104 +INSTALL_HEADER = $(INSTALL_DATA)
39105 +transform = $(program_transform_name)
39109 NORMAL_UNINSTALL = :
39112 -build_alias = @build_alias@
39113 build_triplet = @build@
39114 -host_alias = @host_alias@
39115 host_triplet = @host@
39116 -target_alias = @target_alias@
39117 target_triplet = @target@
39118 +sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39120 +DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
39121 + $(srcdir)/Makefile.in
39122 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39123 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39124 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39126 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39127 +CONFIG_HEADER = $(top_builddir)/config.h
39128 +CONFIG_CLEAN_FILES =
39129 +am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" \
39130 + "$(DESTDIR)$(includedir)"
39131 +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
39132 +PROGRAMS = $(sbin_PROGRAMS)
39133 +am_atmarp_OBJECTS = atmarp.$(OBJEXT)
39134 +atmarp_OBJECTS = $(am_atmarp_OBJECTS)
39135 +atmarp_LDADD = $(LDADD)
39136 +atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39137 +am_atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39138 + itf.$(OBJEXT) table.$(OBJEXT)
39139 +atmarpd_OBJECTS = $(am_atmarpd_OBJECTS)
39140 +atmarpd_LDADD = $(LDADD)
39141 +atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39142 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
39143 +depcomp = $(SHELL) $(top_srcdir)/depcomp
39144 +am__depfiles_maybe = depfiles
39145 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
39146 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39147 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
39148 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
39149 + $(AM_CFLAGS) $(CFLAGS)
39151 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
39152 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
39153 +SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39154 +DIST_SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39155 +man8dir = $(mandir)/man8
39157 +MANS = $(man_MANS)
39158 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39159 +am__vpath_adj = case $$p in \
39160 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39163 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39164 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39165 +HEADERS = $(include_HEADERS)
39168 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
39169 +ACLOCAL = @ACLOCAL@
39170 +AMDEP_FALSE = @AMDEP_FALSE@
39171 +AMDEP_TRUE = @AMDEP_TRUE@
39175 +AUTOCONF = @AUTOCONF@
39176 +AUTOHEADER = @AUTOHEADER@
39177 +AUTOMAKE = @AUTOMAKE@
39180 +CCDEPMODE = @CCDEPMODE@
39183 +CPPFLAGS = @CPPFLAGS@
39186 -DLLTOOL = @DLLTOOL@
39187 +CXXDEPMODE = @CXXDEPMODE@
39188 +CXXFLAGS = @CXXFLAGS@
39189 +CYGPATH_W = @CYGPATH_W@
39200 -GCJFLAGS = @GCJFLAGS@
39201 -HAVE_LIB = @HAVE_LIB@
39204 +INSTALL_DATA = @INSTALL_DATA@
39205 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
39206 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
39207 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
39208 +LDFLAGS = @LDFLAGS@
39212 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
39213 +LIBOBJS = @LIBOBJS@
39215 LIBTOOL = @LIBTOOL@
39216 LIBTOOL_DEPS = @LIBTOOL_DEPS@
39217 LIBVER_AGE = @LIBVER_AGE@
39218 LIBVER_CURRENT = @LIBVER_CURRENT@
39219 LIBVER_REVISION = @LIBVER_REVISION@
39222 +LTLIBOBJS = @LTLIBOBJS@
39223 MAKEINFO = @MAKEINFO@
39224 -OBJDUMP = @OBJDUMP@
39226 PACKAGE = @PACKAGE@
39227 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
39228 +PACKAGE_NAME = @PACKAGE_NAME@
39229 +PACKAGE_STRING = @PACKAGE_STRING@
39230 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
39231 +PACKAGE_VERSION = @PACKAGE_VERSION@
39232 +PATH_SEPARATOR = @PATH_SEPARATOR@
39236 +SET_MAKE = @SET_MAKE@
39239 VERSION = @VERSION@
39243 +ac_ct_CC = @ac_ct_CC@
39244 +ac_ct_CXX = @ac_ct_CXX@
39245 +ac_ct_F77 = @ac_ct_F77@
39246 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39247 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39248 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
39249 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
39250 +am__include = @am__include@
39251 +am__leading_dot = @am__leading_dot@
39252 +am__quote = @am__quote@
39253 +am__tar = @am__tar@
39254 +am__untar = @am__untar@
39257 +build_alias = @build_alias@
39258 +build_cpu = @build_cpu@
39259 +build_os = @build_os@
39260 +build_vendor = @build_vendor@
39261 +datadir = @datadir@
39262 +datarootdir = @datarootdir@
39265 +exec_prefix = @exec_prefix@
39267 +host_alias = @host_alias@
39268 +host_cpu = @host_cpu@
39269 +host_os = @host_os@
39270 +host_vendor = @host_vendor@
39271 +htmldir = @htmldir@
39272 +includedir = @includedir@
39273 +infodir = @infodir@
39274 +install_sh = @install_sh@
39276 +libexecdir = @libexecdir@
39277 +localedir = @localedir@
39278 +localstatedir = @localstatedir@
39280 +mkdir_p = @mkdir_p@
39281 +oldincludedir = @oldincludedir@
39284 +program_transform_name = @program_transform_name@
39286 +sbindir = @sbindir@
39287 +sharedstatedir = @sharedstatedir@
39288 +sysconfdir = @sysconfdir@
39290 +target_alias = @target_alias@
39291 +target_cpu = @target_cpu@
39292 +target_os = @target_os@
39293 +target_vendor = @target_vendor@
39294 LDADD = $(top_builddir)/src/lib/libatm.la
39296 -sbin_PROGRAMS = atmarp atmarpd
39298 atmarp_SOURCES = atmarp.c atmarp.h atmarpd.h
39299 -atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h table.c table.h atmarp.h
39301 +atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h \
39302 + table.c table.h atmarp.h
39304 include_HEADERS = atmarp.h atmarpd.h
39306 man_MANS = atmarp.8 atmarpd.8
39308 EXTRA_DIST = $(man_MANS)
39309 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39310 -CONFIG_HEADER = ../../config.h
39311 -CONFIG_CLEAN_FILES =
39312 -sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39313 -PROGRAMS = $(sbin_PROGRAMS)
39317 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
39318 -CPPFLAGS = @CPPFLAGS@
39319 -LDFLAGS = @LDFLAGS@
39321 -atmarp_OBJECTS = atmarp.$(OBJEXT)
39322 -atmarp_LDADD = $(LDADD)
39323 -atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39325 -atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39326 -itf.$(OBJEXT) table.$(OBJEXT)
39327 -atmarpd_LDADD = $(LDADD)
39328 -atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39331 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39332 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39334 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
39335 -man8dir = $(mandir)/man8
39336 -MANS = $(man_MANS)
39339 -HEADERS = $(include_HEADERS)
39341 -DIST_COMMON = Makefile.am Makefile.in
39344 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
39348 -DEP_FILES = .deps/arp.P .deps/atmarp.P .deps/atmarpd.P .deps/io.P \
39349 -.deps/itf.P .deps/table.P
39350 -SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39351 -OBJECTS = $(atmarp_OBJECTS) $(atmarpd_OBJECTS)
39355 -.SUFFIXES: .S .c .lo .o .obj .s
39356 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
39357 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile
39359 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
39360 - cd $(top_builddir) \
39361 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
39364 -mostlyclean-sbinPROGRAMS:
39366 -clean-sbinPROGRAMS:
39367 - -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
39369 -distclean-sbinPROGRAMS:
39371 -maintainer-clean-sbinPROGRAMS:
39373 +.SUFFIXES: .c .lo .o .obj
39374 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
39375 + @for dep in $?; do \
39376 + case '$(am__configure_deps)' in \
39378 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
39383 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile'; \
39384 + cd $(top_srcdir) && \
39385 + $(AUTOMAKE) --gnu src/arpd/Makefile
39386 +.PRECIOUS: Makefile
39387 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
39389 + *config.status*) \
39390 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
39392 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
39393 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
39396 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
39397 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39399 +$(top_srcdir)/configure: $(am__configure_deps)
39400 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39401 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
39402 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39403 install-sbinPROGRAMS: $(sbin_PROGRAMS)
39405 - $(mkinstalldirs) $(DESTDIR)$(sbindir)
39406 + test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
39407 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39408 - if test -f $$p; then \
39409 - echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
39410 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39411 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39413 + || test -f $$p1 \
39415 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
39416 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
39417 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
39421 uninstall-sbinPROGRAMS:
39422 @$(NORMAL_UNINSTALL)
39423 - list='$(sbin_PROGRAMS)'; for p in $$list; do \
39424 - rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39425 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39426 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
39427 + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
39428 + rm -f "$(DESTDIR)$(sbindir)/$$f"; \
39431 -# FIXME: We should only use cygpath when building on Windows,
39432 -# and only if it is available.
39434 - $(COMPILE) -c `cygpath -w $<`
39441 +clean-sbinPROGRAMS:
39442 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39443 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39444 + echo " rm -f $$p $$f"; \
39445 + rm -f $$p $$f ; \
39447 +atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39448 + @rm -f atmarp$(EXEEXT)
39449 + $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39450 +atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39451 + @rm -f atmarpd$(EXEEXT)
39452 + $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39454 mostlyclean-compile:
39455 - -rm -f *.o core *.core
39463 -maintainer-clean-compile:
39466 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39467 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arp.Po@am__quote@
39468 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarp.Po@am__quote@
39469 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarpd.Po@am__quote@
39470 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@
39471 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itf.Po@am__quote@
39472 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table.Po@am__quote@
39475 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39476 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39477 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39478 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39479 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
39482 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39484 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
39485 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39486 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39487 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39488 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
39491 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39492 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39493 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
39494 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39495 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
39497 mostlyclean-libtool:
39499 @@ -223,21 +321,14 @@
39500 -rm -rf .libs _libs
39504 -maintainer-clean-libtool:
39506 -atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39507 - @rm -f atmarp$(EXEEXT)
39508 - $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39510 -atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39511 - @rm -f atmarpd$(EXEEXT)
39512 - $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39515 - $(mkinstalldirs) $(DESTDIR)$(man8dir)
39516 - @list='$(man8_MANS)'; \
39517 - l2='$(man_MANS)'; for i in $$l2; do \
39519 +uninstall-info-am:
39520 +install-man8: $(man8_MANS) $(man_MANS)
39521 + @$(NORMAL_INSTALL)
39522 + test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
39523 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39524 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39525 + for i in $$l2; do \
39527 *.8*) list="$$list $$i" ;; \
39529 @@ -246,209 +337,228 @@
39530 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
39531 else file=$$i; fi; \
39532 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39533 + case "$$ext" in \
39537 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39538 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39539 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39540 - echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
39541 - $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
39542 + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
39543 + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
39547 - @list='$(man8_MANS)'; \
39548 - l2='$(man_MANS)'; for i in $$l2; do \
39549 + @$(NORMAL_UNINSTALL)
39550 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39551 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39552 + for i in $$l2; do \
39554 *.8*) list="$$list $$i" ;; \
39557 for i in $$list; do \
39558 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39559 + case "$$ext" in \
39563 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39564 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39565 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39566 - echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
39567 - rm -f $(DESTDIR)$(man8dir)/$$inst; \
39568 + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
39569 + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
39571 -install-man: $(MANS)
39572 - @$(NORMAL_INSTALL)
39573 - $(MAKE) $(AM_MAKEFLAGS) install-man8
39575 - @$(NORMAL_UNINSTALL)
39576 - $(MAKE) $(AM_MAKEFLAGS) uninstall-man8
39578 install-includeHEADERS: $(include_HEADERS)
39580 - $(mkinstalldirs) $(DESTDIR)$(includedir)
39581 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
39582 @list='$(include_HEADERS)'; for p in $$list; do \
39583 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
39584 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
39585 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
39586 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
39587 + f=$(am__strip_dir) \
39588 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
39589 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
39592 uninstall-includeHEADERS:
39593 @$(NORMAL_UNINSTALL)
39594 - list='$(include_HEADERS)'; for p in $$list; do \
39595 - rm -f $(DESTDIR)$(includedir)/$$p; \
39596 + @list='$(include_HEADERS)'; for p in $$list; do \
39597 + f=$(am__strip_dir) \
39598 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
39599 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
39602 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
39603 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39604 + unique=`for i in $$list; do \
39605 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39607 + $(AWK) ' { files[$$0] = 1; } \
39608 + END { for (i in files) print i; }'`; \
39609 + mkid -fID $$unique
39612 -ID: $(HEADERS) $(SOURCES) $(LISP)
39613 - list='$(SOURCES) $(HEADERS)'; \
39614 - unique=`for i in $$list; do echo $$i; done | \
39615 - awk ' { files[$$0] = 1; } \
39616 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39617 + $(TAGS_FILES) $(LISP)
39620 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39621 + unique=`for i in $$list; do \
39622 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39624 + $(AWK) ' { files[$$0] = 1; } \
39625 END { for (i in files) print i; }'`; \
39626 - here=`pwd` && cd $(srcdir) \
39627 - && mkid -f$$here/ID $$unique $(LISP)
39629 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
39630 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
39631 + test -n "$$unique" || unique=$$empty_fix; \
39632 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
39633 + $$tags $$unique; \
39636 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39637 + $(TAGS_FILES) $(LISP)
39640 - list='$(SOURCES) $(HEADERS)'; \
39641 - unique=`for i in $$list; do echo $$i; done | \
39642 - awk ' { files[$$0] = 1; } \
39643 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39644 + unique=`for i in $$list; do \
39645 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39647 + $(AWK) ' { files[$$0] = 1; } \
39648 END { for (i in files) print i; }'`; \
39649 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
39650 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
39655 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
39656 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
39660 + here=`$(am__cd) $(top_builddir) && pwd` \
39661 + && cd $(top_srcdir) \
39662 + && gtags -i $(GTAGS_ARGS) $$here
39667 -maintainer-clean-tags:
39669 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
39672 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
39674 distdir: $(DISTFILES)
39675 - here=`cd $(top_builddir) && pwd`; \
39676 - top_distdir=`cd $(top_distdir) && pwd`; \
39677 - distdir=`cd $(distdir) && pwd`; \
39678 - cd $(top_srcdir) \
39679 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/arpd/Makefile
39680 - @for file in $(DISTFILES); do \
39682 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
39683 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
39684 + list='$(DISTFILES)'; for file in $$list; do \
39686 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
39687 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
39689 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
39690 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
39691 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
39693 + $(mkdir_p) "$(distdir)$$dir"; \
39697 if test -d $$d/$$file; then \
39698 - cp -pr $$d/$$file $(distdir)/$$file; \
39699 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
39700 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
39702 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
39704 test -f $(distdir)/$$file \
39705 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
39706 - || cp -p $$d/$$file $(distdir)/$$file || :; \
39707 + || cp -p $$d/$$file $(distdir)/$$file \
39712 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
39714 --include $(DEP_FILES)
39716 -mostlyclean-depend:
39723 -maintainer-clean-depend:
39726 - @echo '$(COMPILE) -c $<'; \
39727 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39728 - @-cp .deps/$(*F).pp .deps/$(*F).P; \
39729 - tr ' ' '\012' < .deps/$(*F).pp \
39730 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39731 - >> .deps/$(*F).P; \
39732 - rm .deps/$(*F).pp
39735 - @echo '$(LTCOMPILE) -c $<'; \
39736 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39737 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
39738 - < .deps/$(*F).pp > .deps/$(*F).P; \
39739 - tr ' ' '\012' < .deps/$(*F).pp \
39740 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39741 - >> .deps/$(*F).P; \
39742 - rm -f .deps/$(*F).pp
39750 -installcheck: installcheck-am
39751 -install-exec-am: install-sbinPROGRAMS
39752 +all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39754 + for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(includedir)"; do \
39755 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
39757 +install: install-am
39758 install-exec: install-exec-am
39760 -install-data-am: install-man install-includeHEADERS
39761 install-data: install-data-am
39762 +uninstall: uninstall-am
39765 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
39766 -install: install-am
39767 -uninstall-am: uninstall-sbinPROGRAMS uninstall-man \
39768 - uninstall-includeHEADERS
39769 -uninstall: uninstall-am
39770 -all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39771 -all-redirect: all-am
39773 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
39775 - $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 \
39776 - $(DESTDIR)$(includedir)
39779 +installcheck: installcheck-am
39781 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
39782 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
39783 + `test -z '$(STRIP)' || \
39784 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
39785 mostlyclean-generic:
39790 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
39791 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
39792 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
39794 maintainer-clean-generic:
39795 -mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
39796 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
39797 - mostlyclean-generic
39798 + @echo "This command is intended for maintainers to use"
39799 + @echo "it deletes files that may require special tools to rebuild."
39802 -mostlyclean: mostlyclean-am
39803 +clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
39806 -clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
39807 - clean-depend clean-generic mostlyclean-am
39808 +distclean: distclean-am
39809 + -rm -rf ./$(DEPDIR)
39811 +distclean-am: clean-am distclean-compile distclean-generic \
39812 + distclean-libtool distclean-tags
39817 -distclean-am: distclean-sbinPROGRAMS distclean-compile \
39818 - distclean-libtool distclean-tags distclean-depend \
39819 - distclean-generic clean-am
39823 -distclean: distclean-am
39826 -maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
39827 - maintainer-clean-compile maintainer-clean-libtool \
39828 - maintainer-clean-tags maintainer-clean-depend \
39829 - maintainer-clean-generic distclean-am
39830 - @echo "This command is intended for maintainers to use;"
39831 - @echo "it deletes files that may require special tools to rebuild."
39836 +install-data-am: install-includeHEADERS install-man
39838 +install-exec-am: install-sbinPROGRAMS
39840 +install-info: install-info-am
39842 +install-man: install-man8
39846 maintainer-clean: maintainer-clean-am
39847 + -rm -rf ./$(DEPDIR)
39849 +maintainer-clean-am: distclean-am maintainer-clean-generic
39851 +mostlyclean: mostlyclean-am
39853 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
39854 + mostlyclean-libtool
39860 -.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
39861 -clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
39862 -install-sbinPROGRAMS mostlyclean-compile distclean-compile \
39863 -clean-compile maintainer-clean-compile mostlyclean-libtool \
39864 -distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
39865 -uninstall-man8 install-man uninstall-man uninstall-includeHEADERS \
39866 -install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
39867 -maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
39868 -clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
39869 -check-am installcheck-am installcheck install-exec-am install-exec \
39870 -install-data-am install-data install-am install uninstall-am uninstall \
39871 -all-redirect all-am all installdirs mostlyclean-generic \
39872 -distclean-generic clean-generic maintainer-clean-generic clean \
39873 -mostlyclean distclean maintainer-clean
39878 +uninstall-am: uninstall-includeHEADERS uninstall-info-am uninstall-man \
39879 + uninstall-sbinPROGRAMS
39881 +uninstall-man: uninstall-man8
39883 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
39884 + clean-libtool clean-sbinPROGRAMS ctags distclean \
39885 + distclean-compile distclean-generic distclean-libtool \
39886 + distclean-tags distdir dvi dvi-am html html-am info info-am \
39887 + install install-am install-data install-data-am install-exec \
39888 + install-exec-am install-includeHEADERS install-info \
39889 + install-info-am install-man install-man8 install-sbinPROGRAMS \
39890 + install-strip installcheck installcheck-am installdirs \
39891 + maintainer-clean maintainer-clean-generic mostlyclean \
39892 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
39893 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
39894 + uninstall-includeHEADERS uninstall-info-am uninstall-man \
39895 + uninstall-man8 uninstall-sbinPROGRAMS
39897 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39898 # Otherwise a system limit (for SysV at least) may be exceeded.
39899 Index: linux-atm-2.4.1/src/include/Makefile.in
39900 ===================================================================
39901 --- linux-atm-2.4.1.orig/src/include/Makefile.in 2007-10-20 21:45:35.734868844 +0200
39902 +++ linux-atm-2.4.1/src/include/Makefile.in 2007-10-20 21:45:44.315357817 +0200
39904 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39905 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39906 +# @configure_input@
39908 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39909 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39910 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39911 # This Makefile.in is free software; the Free Software Foundation
39912 # gives unlimited permission to copy and/or distribute it,
39913 # with or without modifications, as long as this notice is preserved.
39914 @@ -10,244 +12,396 @@
39915 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39916 # PARTICULAR PURPOSE.
39923 top_srcdir = @top_srcdir@
39926 -exec_prefix = @exec_prefix@
39929 -sbindir = @sbindir@
39930 -libexecdir = @libexecdir@
39931 -datadir = @datadir@
39932 -sysconfdir = @sysconfdir@
39933 -sharedstatedir = @sharedstatedir@
39934 -localstatedir = @localstatedir@
39936 -infodir = @infodir@
39938 -includedir = @includedir@
39939 -oldincludedir = /usr/include
39943 pkgdatadir = $(datadir)/@PACKAGE@
39944 pkglibdir = $(libdir)/@PACKAGE@
39945 pkgincludedir = $(includedir)/@PACKAGE@
39947 top_builddir = ../..
39949 -ACLOCAL = @ACLOCAL@
39950 -AUTOCONF = @AUTOCONF@
39951 -AUTOMAKE = @AUTOMAKE@
39952 -AUTOHEADER = @AUTOHEADER@
39954 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39955 INSTALL = @INSTALL@
39956 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39957 -INSTALL_DATA = @INSTALL_DATA@
39958 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39959 -transform = @program_transform_name@
39961 +install_sh_DATA = $(install_sh) -c -m 644
39962 +install_sh_PROGRAM = $(install_sh) -c
39963 +install_sh_SCRIPT = $(install_sh) -c
39964 +INSTALL_HEADER = $(INSTALL_DATA)
39965 +transform = $(program_transform_name)
39969 NORMAL_UNINSTALL = :
39972 -build_alias = @build_alias@
39973 build_triplet = @build@
39974 -host_alias = @host_alias@
39975 host_triplet = @host@
39976 -target_alias = @target_alias@
39977 target_triplet = @target@
39978 +subdir = src/include
39979 +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
39980 + $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39981 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39982 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39983 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39985 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39986 +CONFIG_HEADER = $(top_builddir)/config.h
39987 +CONFIG_CLEAN_FILES =
39990 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39991 +am__vpath_adj = case $$p in \
39992 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39995 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39996 +am__installdirs = "$(DESTDIR)$(includedir)"
39997 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39998 +HEADERS = $(include_HEADERS) $(noinst_HEADERS)
40001 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40002 +ACLOCAL = @ACLOCAL@
40003 +AMDEP_FALSE = @AMDEP_FALSE@
40004 +AMDEP_TRUE = @AMDEP_TRUE@
40008 +AUTOCONF = @AUTOCONF@
40009 +AUTOHEADER = @AUTOHEADER@
40010 +AUTOMAKE = @AUTOMAKE@
40013 +CCDEPMODE = @CCDEPMODE@
40016 +CPPFLAGS = @CPPFLAGS@
40019 -DLLTOOL = @DLLTOOL@
40020 +CXXDEPMODE = @CXXDEPMODE@
40021 +CXXFLAGS = @CXXFLAGS@
40022 +CYGPATH_W = @CYGPATH_W@
40033 -GCJFLAGS = @GCJFLAGS@
40034 -HAVE_LIB = @HAVE_LIB@
40037 +INSTALL_DATA = @INSTALL_DATA@
40038 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40039 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40040 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40041 +LDFLAGS = @LDFLAGS@
40045 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40046 +LIBOBJS = @LIBOBJS@
40048 LIBTOOL = @LIBTOOL@
40049 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40050 LIBVER_AGE = @LIBVER_AGE@
40051 LIBVER_CURRENT = @LIBVER_CURRENT@
40052 LIBVER_REVISION = @LIBVER_REVISION@
40055 +LTLIBOBJS = @LTLIBOBJS@
40056 MAKEINFO = @MAKEINFO@
40057 -OBJDUMP = @OBJDUMP@
40059 PACKAGE = @PACKAGE@
40060 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40061 +PACKAGE_NAME = @PACKAGE_NAME@
40062 +PACKAGE_STRING = @PACKAGE_STRING@
40063 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40064 +PACKAGE_VERSION = @PACKAGE_VERSION@
40065 +PATH_SEPARATOR = @PATH_SEPARATOR@
40069 +SET_MAKE = @SET_MAKE@
40072 VERSION = @VERSION@
40076 +ac_ct_CC = @ac_ct_CC@
40077 +ac_ct_CXX = @ac_ct_CXX@
40078 +ac_ct_F77 = @ac_ct_F77@
40079 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40080 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40081 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40082 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40083 +am__include = @am__include@
40084 +am__leading_dot = @am__leading_dot@
40085 +am__quote = @am__quote@
40086 +am__tar = @am__tar@
40087 +am__untar = @am__untar@
40090 +build_alias = @build_alias@
40091 +build_cpu = @build_cpu@
40092 +build_os = @build_os@
40093 +build_vendor = @build_vendor@
40094 +datadir = @datadir@
40095 +datarootdir = @datarootdir@
40098 +exec_prefix = @exec_prefix@
40100 +host_alias = @host_alias@
40101 +host_cpu = @host_cpu@
40102 +host_os = @host_os@
40103 +host_vendor = @host_vendor@
40104 +htmldir = @htmldir@
40105 +includedir = @includedir@
40106 +infodir = @infodir@
40107 +install_sh = @install_sh@
40109 +libexecdir = @libexecdir@
40110 +localedir = @localedir@
40111 +localstatedir = @localstatedir@
40113 +mkdir_p = @mkdir_p@
40114 +oldincludedir = @oldincludedir@
40117 +program_transform_name = @program_transform_name@
40119 +sbindir = @sbindir@
40120 +sharedstatedir = @sharedstatedir@
40121 +sysconfdir = @sysconfdir@
40123 +target_alias = @target_alias@
40124 +target_cpu = @target_cpu@
40125 +target_os = @target_os@
40126 +target_vendor = @target_vendor@
40127 include_HEADERS = atm.h atmd.h atmsap.h
40128 noinst_HEADERS = stdint.h
40129 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40130 -CONFIG_HEADER = ../../config.h
40131 -CONFIG_CLEAN_FILES =
40132 -HEADERS = $(include_HEADERS) $(noinst_HEADERS)
40134 -DIST_COMMON = Makefile.am Makefile.in
40138 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40144 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40145 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile
40146 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40147 + @for dep in $?; do \
40148 + case '$(am__configure_deps)' in \
40150 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40155 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \
40156 + cd $(top_srcdir) && \
40157 + $(AUTOMAKE) --gnu src/include/Makefile
40158 +.PRECIOUS: Makefile
40159 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40161 + *config.status*) \
40162 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40164 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40165 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40168 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40169 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40171 +$(top_srcdir)/configure: $(am__configure_deps)
40172 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40173 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40174 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40176 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40177 - cd $(top_builddir) \
40178 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40179 +mostlyclean-libtool:
40183 + -rm -rf .libs _libs
40185 +distclean-libtool:
40187 +uninstall-info-am:
40188 install-includeHEADERS: $(include_HEADERS)
40190 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40191 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
40192 @list='$(include_HEADERS)'; for p in $$list; do \
40193 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
40194 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
40195 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
40196 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
40197 + f=$(am__strip_dir) \
40198 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
40199 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
40202 uninstall-includeHEADERS:
40203 @$(NORMAL_UNINSTALL)
40204 - list='$(include_HEADERS)'; for p in $$list; do \
40205 - rm -f $(DESTDIR)$(includedir)/$$p; \
40206 + @list='$(include_HEADERS)'; for p in $$list; do \
40207 + f=$(am__strip_dir) \
40208 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
40209 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
40212 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40213 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40214 + unique=`for i in $$list; do \
40215 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40217 + $(AWK) ' { files[$$0] = 1; } \
40218 + END { for (i in files) print i; }'`; \
40219 + mkid -fID $$unique
40222 -ID: $(HEADERS) $(SOURCES) $(LISP)
40223 - list='$(SOURCES) $(HEADERS)'; \
40224 - unique=`for i in $$list; do echo $$i; done | \
40225 - awk ' { files[$$0] = 1; } \
40226 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40227 + $(TAGS_FILES) $(LISP)
40230 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40231 + unique=`for i in $$list; do \
40232 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40234 + $(AWK) ' { files[$$0] = 1; } \
40235 END { for (i in files) print i; }'`; \
40236 - here=`pwd` && cd $(srcdir) \
40237 - && mkid -f$$here/ID $$unique $(LISP)
40239 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40240 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40241 + test -n "$$unique" || unique=$$empty_fix; \
40242 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40243 + $$tags $$unique; \
40246 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40247 + $(TAGS_FILES) $(LISP)
40250 - list='$(SOURCES) $(HEADERS)'; \
40251 - unique=`for i in $$list; do echo $$i; done | \
40252 - awk ' { files[$$0] = 1; } \
40253 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40254 + unique=`for i in $$list; do \
40255 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40257 + $(AWK) ' { files[$$0] = 1; } \
40258 END { for (i in files) print i; }'`; \
40259 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40260 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40265 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40266 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40270 + here=`$(am__cd) $(top_builddir) && pwd` \
40271 + && cd $(top_srcdir) \
40272 + && gtags -i $(GTAGS_ARGS) $$here
40277 -maintainer-clean-tags:
40279 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40281 -subdir = src/include
40282 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
40284 distdir: $(DISTFILES)
40285 - here=`cd $(top_builddir) && pwd`; \
40286 - top_distdir=`cd $(top_distdir) && pwd`; \
40287 - distdir=`cd $(distdir) && pwd`; \
40288 - cd $(top_srcdir) \
40289 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/include/Makefile
40290 - @for file in $(DISTFILES); do \
40292 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
40293 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
40294 + list='$(DISTFILES)'; for file in $$list; do \
40296 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
40297 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
40299 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
40300 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
40301 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
40303 + $(mkdir_p) "$(distdir)$$dir"; \
40307 if test -d $$d/$$file; then \
40308 - cp -pr $$d/$$file $(distdir)/$$file; \
40309 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
40310 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
40312 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
40314 test -f $(distdir)/$$file \
40315 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
40316 - || cp -p $$d/$$file $(distdir)/$$file || :; \
40317 + || cp -p $$d/$$file $(distdir)/$$file \
40328 -installcheck: installcheck-am
40330 +all-am: Makefile $(HEADERS)
40332 + for dir in "$(DESTDIR)$(includedir)"; do \
40333 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
40335 +install: install-am
40336 install-exec: install-exec-am
40338 -install-data-am: install-includeHEADERS
40339 install-data: install-data-am
40340 +uninstall: uninstall-am
40343 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
40344 -install: install-am
40345 -uninstall-am: uninstall-includeHEADERS
40346 -uninstall: uninstall-am
40347 -all-am: Makefile $(HEADERS)
40348 -all-redirect: all-am
40350 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
40352 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40355 +installcheck: installcheck-am
40357 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
40358 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
40359 + `test -z '$(STRIP)' || \
40360 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
40361 mostlyclean-generic:
40366 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
40367 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
40368 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
40370 maintainer-clean-generic:
40371 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
40372 + @echo "This command is intended for maintainers to use"
40373 + @echo "it deletes files that may require special tools to rebuild."
40376 -mostlyclean: mostlyclean-am
40377 +clean-am: clean-generic clean-libtool mostlyclean-am
40379 -clean-am: clean-tags clean-generic mostlyclean-am
40380 +distclean: distclean-am
40382 +distclean-am: clean-am distclean-generic distclean-libtool \
40388 -distclean-am: distclean-tags distclean-generic clean-am
40392 -distclean: distclean-am
40395 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
40397 - @echo "This command is intended for maintainers to use;"
40398 - @echo "it deletes files that may require special tools to rebuild."
40403 +install-data-am: install-includeHEADERS
40407 +install-info: install-info-am
40413 maintainer-clean: maintainer-clean-am
40415 +maintainer-clean-am: distclean-am maintainer-clean-generic
40417 +mostlyclean: mostlyclean-am
40419 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
40429 -.PHONY: uninstall-includeHEADERS install-includeHEADERS tags \
40430 -mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
40431 -distdir info-am info dvi-am dvi check check-am installcheck-am \
40432 -installcheck install-exec-am install-exec install-data-am install-data \
40433 -install-am install uninstall-am uninstall all-redirect all-am all \
40434 -installdirs mostlyclean-generic distclean-generic clean-generic \
40435 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
40436 +uninstall-am: uninstall-includeHEADERS uninstall-info-am
40438 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
40439 + clean-libtool ctags distclean distclean-generic \
40440 + distclean-libtool distclean-tags distdir dvi dvi-am html \
40441 + html-am info info-am install install-am install-data \
40442 + install-data-am install-exec install-exec-am \
40443 + install-includeHEADERS install-info install-info-am \
40444 + install-man install-strip installcheck installcheck-am \
40445 + installdirs maintainer-clean maintainer-clean-generic \
40446 + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
40447 + ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS \
40448 + uninstall-info-am
40450 # Tell versions [3.59,3.63) of GNU make to not export all variables.
40451 # Otherwise a system limit (for SysV at least) may be exceeded.
40452 Index: linux-atm-2.4.1/src/lib/Makefile.am
40453 ===================================================================
40454 --- linux-atm-2.4.1.orig/src/lib/Makefile.am 2007-10-20 21:45:34.310787689 +0200
40455 +++ linux-atm-2.4.1/src/lib/Makefile.am 2007-10-20 21:45:44.319358043 +0200
40457 lib_LTLIBRARIES = libatm.la
40459 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40460 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40461 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40465 Index: linux-atm-2.4.1/src/lib/Makefile.in
40466 ===================================================================
40467 --- linux-atm-2.4.1.orig/src/lib/Makefile.in 2007-10-20 21:45:35.738869071 +0200
40468 +++ linux-atm-2.4.1/src/lib/Makefile.in 2007-10-20 21:45:44.323358271 +0200
40470 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
40471 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
40472 +# @configure_input@
40474 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
40475 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
40476 +# 2003, 2004, 2005 Free Software Foundation, Inc.
40477 # This Makefile.in is free software; the Free Software Foundation
40478 # gives unlimited permission to copy and/or distribute it,
40479 # with or without modifications, as long as this notice is preserved.
40480 @@ -10,200 +12,310 @@
40481 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
40482 # PARTICULAR PURPOSE.
40484 -#lib_LTLIBRARIES = libatm.la libatmd.la
40491 top_srcdir = @top_srcdir@
40494 -exec_prefix = @exec_prefix@
40497 -sbindir = @sbindir@
40498 -libexecdir = @libexecdir@
40499 -datadir = @datadir@
40500 -sysconfdir = @sysconfdir@
40501 -sharedstatedir = @sharedstatedir@
40502 -localstatedir = @localstatedir@
40504 -infodir = @infodir@
40506 -includedir = @includedir@
40507 -oldincludedir = /usr/include
40511 pkgdatadir = $(datadir)/@PACKAGE@
40512 pkglibdir = $(libdir)/@PACKAGE@
40513 pkgincludedir = $(includedir)/@PACKAGE@
40515 top_builddir = ../..
40517 -ACLOCAL = @ACLOCAL@
40518 -AUTOCONF = @AUTOCONF@
40519 -AUTOMAKE = @AUTOMAKE@
40520 -AUTOHEADER = @AUTOHEADER@
40522 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40523 INSTALL = @INSTALL@
40524 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
40525 -INSTALL_DATA = @INSTALL_DATA@
40526 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
40527 -transform = @program_transform_name@
40529 +install_sh_DATA = $(install_sh) -c -m 644
40530 +install_sh_PROGRAM = $(install_sh) -c
40531 +install_sh_SCRIPT = $(install_sh) -c
40532 +INSTALL_HEADER = $(INSTALL_DATA)
40533 +transform = $(program_transform_name)
40537 NORMAL_UNINSTALL = :
40540 -build_alias = @build_alias@
40541 build_triplet = @build@
40542 -host_alias = @host_alias@
40543 host_triplet = @host@
40544 -target_alias = @target_alias@
40545 target_triplet = @target@
40547 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40548 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40549 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
40550 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40552 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40553 +CONFIG_HEADER = $(top_builddir)/config.h
40554 +CONFIG_CLEAN_FILES =
40555 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
40556 +am__vpath_adj = case $$p in \
40557 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
40560 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
40561 +am__installdirs = "$(DESTDIR)$(libdir)"
40562 +libLTLIBRARIES_INSTALL = $(INSTALL)
40563 +LTLIBRARIES = $(lib_LTLIBRARIES)
40564 +am_libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40565 + text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo \
40566 + sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo \
40567 + text2ip.lo timer.lo unix.lo
40568 +libatm_la_OBJECTS = $(am_libatm_la_OBJECTS)
40569 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
40570 +depcomp = $(SHELL) $(top_srcdir)/depcomp
40571 +am__depfiles_maybe = depfiles
40572 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
40573 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40574 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
40575 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
40576 + $(AM_CFLAGS) $(CFLAGS)
40578 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
40579 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
40580 +SOURCES = $(libatm_la_SOURCES)
40581 +DIST_SOURCES = $(libatm_la_SOURCES)
40584 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40585 +ACLOCAL = @ACLOCAL@
40586 +AMDEP_FALSE = @AMDEP_FALSE@
40587 +AMDEP_TRUE = @AMDEP_TRUE@
40591 +AUTOCONF = @AUTOCONF@
40592 +AUTOHEADER = @AUTOHEADER@
40593 +AUTOMAKE = @AUTOMAKE@
40596 +CCDEPMODE = @CCDEPMODE@
40599 +CPPFLAGS = @CPPFLAGS@
40602 -DLLTOOL = @DLLTOOL@
40603 +CXXDEPMODE = @CXXDEPMODE@
40604 +CXXFLAGS = @CXXFLAGS@
40605 +CYGPATH_W = @CYGPATH_W@
40616 -GCJFLAGS = @GCJFLAGS@
40617 -HAVE_LIB = @HAVE_LIB@
40620 +INSTALL_DATA = @INSTALL_DATA@
40621 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40622 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40623 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40624 +LDFLAGS = @LDFLAGS@
40628 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40629 +LIBOBJS = @LIBOBJS@
40631 LIBTOOL = @LIBTOOL@
40632 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40633 LIBVER_AGE = @LIBVER_AGE@
40634 LIBVER_CURRENT = @LIBVER_CURRENT@
40635 LIBVER_REVISION = @LIBVER_REVISION@
40638 +LTLIBOBJS = @LTLIBOBJS@
40639 MAKEINFO = @MAKEINFO@
40640 -OBJDUMP = @OBJDUMP@
40642 PACKAGE = @PACKAGE@
40643 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40644 +PACKAGE_NAME = @PACKAGE_NAME@
40645 +PACKAGE_STRING = @PACKAGE_STRING@
40646 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40647 +PACKAGE_VERSION = @PACKAGE_VERSION@
40648 +PATH_SEPARATOR = @PATH_SEPARATOR@
40652 +SET_MAKE = @SET_MAKE@
40655 VERSION = @VERSION@
40658 +ac_ct_CC = @ac_ct_CC@
40659 +ac_ct_CXX = @ac_ct_CXX@
40660 +ac_ct_F77 = @ac_ct_F77@
40661 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40662 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40663 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40664 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40665 +am__include = @am__include@
40666 +am__leading_dot = @am__leading_dot@
40667 +am__quote = @am__quote@
40668 +am__tar = @am__tar@
40669 +am__untar = @am__untar@
40672 +build_alias = @build_alias@
40673 +build_cpu = @build_cpu@
40674 +build_os = @build_os@
40675 +build_vendor = @build_vendor@
40676 +datadir = @datadir@
40677 +datarootdir = @datarootdir@
40680 +exec_prefix = @exec_prefix@
40682 +host_alias = @host_alias@
40683 +host_cpu = @host_cpu@
40684 +host_os = @host_os@
40685 +host_vendor = @host_vendor@
40686 +htmldir = @htmldir@
40687 +includedir = @includedir@
40688 +infodir = @infodir@
40689 +install_sh = @install_sh@
40691 +libexecdir = @libexecdir@
40692 +localedir = @localedir@
40693 +localstatedir = @localstatedir@
40695 +mkdir_p = @mkdir_p@
40696 +oldincludedir = @oldincludedir@
40699 +program_transform_name = @program_transform_name@
40701 +sbindir = @sbindir@
40702 +sharedstatedir = @sharedstatedir@
40703 +sysconfdir = @sysconfdir@
40705 +target_alias = @target_alias@
40706 +target_cpu = @target_cpu@
40707 +target_os = @target_os@
40708 +target_vendor = @target_vendor@
40710 +#lib_LTLIBRARIES = libatm.la libatmd.la
40711 lib_LTLIBRARIES = libatm.la
40713 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40714 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40716 -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
40717 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40718 +libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
40719 + qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c \
40720 + misc.c atmres.h ans.c \
40721 + common.c diag.c kptr.c text2ip.c timer.c unix.c
40723 libatm_la_LIBADD = -lresolv
40724 -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
40726 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40727 -CONFIG_HEADER = ../../config.h
40728 -CONFIG_CLEAN_FILES =
40729 -LTLIBRARIES = $(lib_LTLIBRARIES)
40732 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
40733 -CPPFLAGS = @CPPFLAGS@
40735 -libatm_la_LDFLAGS =
40736 -libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40737 -text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo \
40738 -misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo
40740 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40741 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40743 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
40744 -DIST_COMMON = Makefile.am Makefile.in
40746 +libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
40747 + $(top_builddir)/src/include/atmsap.h \
40748 + $(top_builddir)/src/include/stdint.h \
40749 + $(top_builddir)/src/include/atmd.h
40751 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40756 -DEP_FILES = .deps/ans.P .deps/atm2text.P .deps/atmequal.P \
40757 -.deps/common.P .deps/diag.P .deps/kptr.P .deps/misc.P .deps/qos2text.P \
40758 -.deps/qosequal.P .deps/sap2text.P .deps/sapequal.P .deps/sdu2cell.P \
40759 -.deps/text2atm.P .deps/text2ip.P .deps/text2qos.P .deps/text2sap.P \
40760 -.deps/timer.P .deps/unix.P
40761 -SOURCES = $(libatm_la_SOURCES)
40762 -OBJECTS = $(libatm_la_OBJECTS)
40766 -.SUFFIXES: .S .c .lo .o .obj .s
40767 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40768 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile
40770 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40771 - cd $(top_builddir) \
40772 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40775 -mostlyclean-libLTLIBRARIES:
40777 -clean-libLTLIBRARIES:
40778 - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40780 -distclean-libLTLIBRARIES:
40782 -maintainer-clean-libLTLIBRARIES:
40784 +.SUFFIXES: .c .lo .o .obj
40785 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40786 + @for dep in $?; do \
40787 + case '$(am__configure_deps)' in \
40789 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40794 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile'; \
40795 + cd $(top_srcdir) && \
40796 + $(AUTOMAKE) --gnu src/lib/Makefile
40797 +.PRECIOUS: Makefile
40798 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40800 + *config.status*) \
40801 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40803 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40804 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40807 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40808 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40810 +$(top_srcdir)/configure: $(am__configure_deps)
40811 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40812 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40813 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40814 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
40816 - $(mkinstalldirs) $(DESTDIR)$(libdir)
40817 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
40818 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40819 if test -f $$p; then \
40820 - echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
40821 - $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
40822 + f=$(am__strip_dir) \
40823 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
40824 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
40828 uninstall-libLTLIBRARIES:
40829 @$(NORMAL_UNINSTALL)
40830 - list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40831 - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
40832 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40833 + p=$(am__strip_dir) \
40834 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
40835 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
40838 -# FIXME: We should only use cygpath when building on Windows,
40839 -# and only if it is available.
40841 - $(COMPILE) -c `cygpath -w $<`
40848 +clean-libLTLIBRARIES:
40849 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40850 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40851 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
40852 + test "$$dir" != "$$p" || dir=.; \
40853 + echo "rm -f \"$${dir}/so_locations\""; \
40854 + rm -f "$${dir}/so_locations"; \
40856 +libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40857 + $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40859 mostlyclean-compile:
40860 - -rm -f *.o core *.core
40868 -maintainer-clean-compile:
40871 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40872 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ans.Plo@am__quote@
40873 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atm2text.Plo@am__quote@
40874 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmequal.Plo@am__quote@
40875 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
40876 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diag.Plo@am__quote@
40877 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kptr.Plo@am__quote@
40878 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
40879 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qos2text.Plo@am__quote@
40880 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qosequal.Plo@am__quote@
40881 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sap2text.Plo@am__quote@
40882 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sapequal.Plo@am__quote@
40883 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sdu2cell.Plo@am__quote@
40884 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2atm.Plo@am__quote@
40885 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2ip.Plo@am__quote@
40886 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2qos.Plo@am__quote@
40887 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2sap.Plo@am__quote@
40888 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Plo@am__quote@
40889 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unix.Plo@am__quote@
40892 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40893 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40894 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40895 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40896 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
40899 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40901 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
40902 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40903 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40904 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40905 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
40908 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40909 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40910 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
40911 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40912 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
40914 mostlyclean-libtool:
40916 @@ -212,169 +324,178 @@
40917 -rm -rf .libs _libs
40921 +uninstall-info-am:
40923 -maintainer-clean-libtool:
40925 -libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40926 - $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40928 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40929 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40930 + unique=`for i in $$list; do \
40931 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40933 + $(AWK) ' { files[$$0] = 1; } \
40934 + END { for (i in files) print i; }'`; \
40935 + mkid -fID $$unique
40938 -ID: $(HEADERS) $(SOURCES) $(LISP)
40939 - list='$(SOURCES) $(HEADERS)'; \
40940 - unique=`for i in $$list; do echo $$i; done | \
40941 - awk ' { files[$$0] = 1; } \
40942 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40943 + $(TAGS_FILES) $(LISP)
40946 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40947 + unique=`for i in $$list; do \
40948 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40950 + $(AWK) ' { files[$$0] = 1; } \
40951 END { for (i in files) print i; }'`; \
40952 - here=`pwd` && cd $(srcdir) \
40953 - && mkid -f$$here/ID $$unique $(LISP)
40955 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40956 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40957 + test -n "$$unique" || unique=$$empty_fix; \
40958 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40959 + $$tags $$unique; \
40962 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40963 + $(TAGS_FILES) $(LISP)
40966 - list='$(SOURCES) $(HEADERS)'; \
40967 - unique=`for i in $$list; do echo $$i; done | \
40968 - awk ' { files[$$0] = 1; } \
40969 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40970 + unique=`for i in $$list; do \
40971 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40973 + $(AWK) ' { files[$$0] = 1; } \
40974 END { for (i in files) print i; }'`; \
40975 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40976 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40981 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40982 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40986 + here=`$(am__cd) $(top_builddir) && pwd` \
40987 + && cd $(top_srcdir) \
40988 + && gtags -i $(GTAGS_ARGS) $$here
40993 -maintainer-clean-tags:
40995 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40998 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41000 distdir: $(DISTFILES)
41001 - here=`cd $(top_builddir) && pwd`; \
41002 - top_distdir=`cd $(top_distdir) && pwd`; \
41003 - distdir=`cd $(distdir) && pwd`; \
41004 - cd $(top_srcdir) \
41005 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/lib/Makefile
41006 - @for file in $(DISTFILES); do \
41008 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41009 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41010 + list='$(DISTFILES)'; for file in $$list; do \
41012 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41013 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41015 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41016 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41017 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41019 + $(mkdir_p) "$(distdir)$$dir"; \
41023 if test -d $$d/$$file; then \
41024 - cp -pr $$d/$$file $(distdir)/$$file; \
41025 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41026 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41028 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41030 test -f $(distdir)/$$file \
41031 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41032 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41033 + || cp -p $$d/$$file $(distdir)/$$file \
41038 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
41040 --include $(DEP_FILES)
41042 -mostlyclean-depend:
41049 -maintainer-clean-depend:
41052 - @echo '$(COMPILE) -c $<'; \
41053 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41054 - @-cp .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 .deps/$(*F).pp
41061 - @echo '$(LTCOMPILE) -c $<'; \
41062 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41063 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
41064 - < .deps/$(*F).pp > .deps/$(*F).P; \
41065 - tr ' ' '\012' < .deps/$(*F).pp \
41066 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41067 - >> .deps/$(*F).P; \
41068 - rm -f .deps/$(*F).pp
41076 -installcheck: installcheck-am
41077 -install-exec-am: install-libLTLIBRARIES
41078 +all-am: Makefile $(LTLIBRARIES)
41080 + for dir in "$(DESTDIR)$(libdir)"; do \
41081 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
41083 +install: install-am
41084 install-exec: install-exec-am
41087 install-data: install-data-am
41088 +uninstall: uninstall-am
41091 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41092 -install: install-am
41093 -uninstall-am: uninstall-libLTLIBRARIES
41094 -uninstall: uninstall-am
41095 -all-am: Makefile $(LTLIBRARIES)
41096 -all-redirect: all-am
41098 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41100 - $(mkinstalldirs) $(DESTDIR)$(libdir)
41103 +installcheck: installcheck-am
41105 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41106 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41107 + `test -z '$(STRIP)' || \
41108 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41109 mostlyclean-generic:
41114 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41115 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41116 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41118 maintainer-clean-generic:
41119 -mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
41120 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
41121 - mostlyclean-generic
41122 + @echo "This command is intended for maintainers to use"
41123 + @echo "it deletes files that may require special tools to rebuild."
41126 -mostlyclean: mostlyclean-am
41127 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
41130 -clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
41131 - clean-depend clean-generic mostlyclean-am
41132 +distclean: distclean-am
41133 + -rm -rf ./$(DEPDIR)
41135 +distclean-am: clean-am distclean-compile distclean-generic \
41136 + distclean-libtool distclean-tags
41141 -distclean-am: distclean-libLTLIBRARIES distclean-compile \
41142 - distclean-libtool distclean-tags distclean-depend \
41143 - distclean-generic clean-am
41147 -distclean: distclean-am
41150 -maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
41151 - maintainer-clean-compile maintainer-clean-libtool \
41152 - maintainer-clean-tags maintainer-clean-depend \
41153 - maintainer-clean-generic distclean-am
41154 - @echo "This command is intended for maintainers to use;"
41155 - @echo "it deletes files that may require special tools to rebuild."
41162 +install-exec-am: install-libLTLIBRARIES
41164 +install-info: install-info-am
41170 maintainer-clean: maintainer-clean-am
41171 + -rm -rf ./$(DEPDIR)
41173 +maintainer-clean-am: distclean-am maintainer-clean-generic
41175 +mostlyclean: mostlyclean-am
41177 -.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
41178 -clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
41179 -uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
41180 -distclean-compile clean-compile maintainer-clean-compile \
41181 -mostlyclean-libtool distclean-libtool clean-libtool \
41182 -maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
41183 -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
41184 -distclean-depend clean-depend maintainer-clean-depend info-am info \
41185 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41186 -install-exec install-data-am install-data install-am install \
41187 -uninstall-am uninstall all-redirect all-am all installdirs \
41188 -mostlyclean-generic distclean-generic clean-generic \
41189 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41190 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
41191 + mostlyclean-libtool
41201 +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
41203 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
41204 + clean-libLTLIBRARIES clean-libtool ctags distclean \
41205 + distclean-compile distclean-generic distclean-libtool \
41206 + distclean-tags distdir dvi dvi-am html html-am info info-am \
41207 + install install-am install-data install-data-am install-exec \
41208 + install-exec-am install-info install-info-am \
41209 + install-libLTLIBRARIES install-man install-strip installcheck \
41210 + installcheck-am installdirs maintainer-clean \
41211 + maintainer-clean-generic mostlyclean mostlyclean-compile \
41212 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
41213 + tags uninstall uninstall-am uninstall-info-am \
41214 + uninstall-libLTLIBRARIES
41217 #libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
41218 @@ -389,7 +510,6 @@
41219 #libatmd_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
41220 # $(top_builddir)/src/include/atmd.h \
41221 # $(top_builddir)/src/include/stdint.h
41223 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41224 # Otherwise a system limit (for SysV at least) may be exceeded.
41226 Index: linux-atm-2.4.1/src/Makefile.in
41227 ===================================================================
41228 --- linux-atm-2.4.1.orig/src/Makefile.in 2007-10-20 21:45:35.786871805 +0200
41229 +++ linux-atm-2.4.1/src/Makefile.in 2007-10-20 21:45:44.327358500 +0200
41231 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41232 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
41233 +# @configure_input@
41235 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41236 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
41237 +# 2003, 2004, 2005 Free Software Foundation, Inc.
41238 # This Makefile.in is free software; the Free Software Foundation
41239 # gives unlimited permission to copy and/or distribute it,
41240 # with or without modifications, as long as this notice is preserved.
41241 @@ -10,112 +12,209 @@
41242 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
41243 # PARTICULAR PURPOSE.
41250 top_srcdir = @top_srcdir@
41253 -exec_prefix = @exec_prefix@
41256 -sbindir = @sbindir@
41257 -libexecdir = @libexecdir@
41258 -datadir = @datadir@
41259 -sysconfdir = @sysconfdir@
41260 -sharedstatedir = @sharedstatedir@
41261 -localstatedir = @localstatedir@
41263 -infodir = @infodir@
41265 -includedir = @includedir@
41266 -oldincludedir = /usr/include
41270 pkgdatadir = $(datadir)/@PACKAGE@
41271 pkglibdir = $(libdir)/@PACKAGE@
41272 pkgincludedir = $(includedir)/@PACKAGE@
41276 -ACLOCAL = @ACLOCAL@
41277 -AUTOCONF = @AUTOCONF@
41278 -AUTOMAKE = @AUTOMAKE@
41279 -AUTOHEADER = @AUTOHEADER@
41281 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41282 INSTALL = @INSTALL@
41283 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
41284 -INSTALL_DATA = @INSTALL_DATA@
41285 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
41286 -transform = @program_transform_name@
41288 +install_sh_DATA = $(install_sh) -c -m 644
41289 +install_sh_PROGRAM = $(install_sh) -c
41290 +install_sh_SCRIPT = $(install_sh) -c
41291 +INSTALL_HEADER = $(INSTALL_DATA)
41292 +transform = $(program_transform_name)
41296 NORMAL_UNINSTALL = :
41299 -build_alias = @build_alias@
41300 build_triplet = @build@
41301 -host_alias = @host_alias@
41302 host_triplet = @host@
41303 -target_alias = @target_alias@
41304 target_triplet = @target@
41306 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41307 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41308 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
41309 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41311 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41312 +CONFIG_HEADER = $(top_builddir)/config.h
41313 +CONFIG_CLEAN_FILES =
41316 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
41317 + html-recursive info-recursive install-data-recursive \
41318 + install-exec-recursive install-info-recursive \
41319 + install-recursive installcheck-recursive installdirs-recursive \
41320 + pdf-recursive ps-recursive uninstall-info-recursive \
41321 + uninstall-recursive
41324 +DIST_SUBDIRS = $(SUBDIRS)
41325 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
41326 +ACLOCAL = @ACLOCAL@
41327 +AMDEP_FALSE = @AMDEP_FALSE@
41328 +AMDEP_TRUE = @AMDEP_TRUE@
41332 +AUTOCONF = @AUTOCONF@
41333 +AUTOHEADER = @AUTOHEADER@
41334 +AUTOMAKE = @AUTOMAKE@
41337 +CCDEPMODE = @CCDEPMODE@
41340 +CPPFLAGS = @CPPFLAGS@
41343 -DLLTOOL = @DLLTOOL@
41344 +CXXDEPMODE = @CXXDEPMODE@
41345 +CXXFLAGS = @CXXFLAGS@
41346 +CYGPATH_W = @CYGPATH_W@
41357 -GCJFLAGS = @GCJFLAGS@
41358 -HAVE_LIB = @HAVE_LIB@
41361 +INSTALL_DATA = @INSTALL_DATA@
41362 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
41363 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
41364 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
41365 +LDFLAGS = @LDFLAGS@
41369 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
41370 +LIBOBJS = @LIBOBJS@
41372 LIBTOOL = @LIBTOOL@
41373 LIBTOOL_DEPS = @LIBTOOL_DEPS@
41374 LIBVER_AGE = @LIBVER_AGE@
41375 LIBVER_CURRENT = @LIBVER_CURRENT@
41376 LIBVER_REVISION = @LIBVER_REVISION@
41379 +LTLIBOBJS = @LTLIBOBJS@
41380 MAKEINFO = @MAKEINFO@
41381 -OBJDUMP = @OBJDUMP@
41383 PACKAGE = @PACKAGE@
41384 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
41385 +PACKAGE_NAME = @PACKAGE_NAME@
41386 +PACKAGE_STRING = @PACKAGE_STRING@
41387 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
41388 +PACKAGE_VERSION = @PACKAGE_VERSION@
41389 +PATH_SEPARATOR = @PATH_SEPARATOR@
41393 +SET_MAKE = @SET_MAKE@
41396 VERSION = @VERSION@
41400 +ac_ct_CC = @ac_ct_CC@
41401 +ac_ct_CXX = @ac_ct_CXX@
41402 +ac_ct_F77 = @ac_ct_F77@
41403 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
41404 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
41405 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
41406 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
41407 +am__include = @am__include@
41408 +am__leading_dot = @am__leading_dot@
41409 +am__quote = @am__quote@
41410 +am__tar = @am__tar@
41411 +am__untar = @am__untar@
41414 +build_alias = @build_alias@
41415 +build_cpu = @build_cpu@
41416 +build_os = @build_os@
41417 +build_vendor = @build_vendor@
41418 +datadir = @datadir@
41419 +datarootdir = @datarootdir@
41422 +exec_prefix = @exec_prefix@
41424 +host_alias = @host_alias@
41425 +host_cpu = @host_cpu@
41426 +host_os = @host_os@
41427 +host_vendor = @host_vendor@
41428 +htmldir = @htmldir@
41429 +includedir = @includedir@
41430 +infodir = @infodir@
41431 +install_sh = @install_sh@
41433 +libexecdir = @libexecdir@
41434 +localedir = @localedir@
41435 +localstatedir = @localstatedir@
41437 +mkdir_p = @mkdir_p@
41438 +oldincludedir = @oldincludedir@
41441 +program_transform_name = @program_transform_name@
41443 +sbindir = @sbindir@
41444 +sharedstatedir = @sharedstatedir@
41445 +sysconfdir = @sysconfdir@
41447 +target_alias = @target_alias@
41448 +target_cpu = @target_cpu@
41449 +target_os = @target_os@
41450 +target_vendor = @target_vendor@
41451 SUBDIRS = include lib arpd
41452 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41453 -CONFIG_HEADER = ../config.h
41454 -CONFIG_CLEAN_FILES =
41455 -DIST_COMMON = Makefile.am Makefile.in
41457 +all: all-recursive
41459 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41465 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41466 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
41467 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
41468 + @for dep in $?; do \
41469 + case '$(am__configure_deps)' in \
41471 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
41476 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
41477 + cd $(top_srcdir) && \
41478 + $(AUTOMAKE) --gnu src/Makefile
41479 +.PRECIOUS: Makefile
41480 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41482 + *config.status*) \
41483 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
41485 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
41486 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
41489 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
41490 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41492 +$(top_srcdir)/configure: $(am__configure_deps)
41493 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41494 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
41495 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41497 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41498 - cd $(top_builddir) \
41499 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41500 +mostlyclean-libtool:
41504 + -rm -rf .libs _libs
41506 +distclean-libtool:
41508 +uninstall-info-am:
41510 # This directory's subdirectories are mostly independent; you can cd
41511 # into them and run `make' without going through this Makefile.
41512 @@ -123,13 +222,14 @@
41513 # (1) if the variable is set in `config.status', edit `config.status'
41514 # (which will cause the Makefiles to be regenerated when you run `make');
41515 # (2) otherwise, pass the desired values on the `make' command line.
41519 -all-recursive install-data-recursive install-exec-recursive \
41520 -installdirs-recursive install-recursive uninstall-recursive \
41521 -check-recursive installcheck-recursive info-recursive dvi-recursive:
41522 - @set fnord $(MAKEFLAGS); amf=$$2; \
41523 +$(RECURSIVE_TARGETS):
41524 + @failcom='exit 1'; \
41525 + for f in x $$MAKEFLAGS; do \
41527 + *=* | --[!k]*);; \
41528 + *k*) failcom='fail=yes';; \
41532 target=`echo $@ | sed s/-recursive//`; \
41533 list='$(SUBDIRS)'; for subdir in $$list; do \
41534 @@ -141,7 +241,7 @@
41535 local_target="$$target"; \
41537 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41538 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41539 + || eval $$failcom; \
41541 if test "$$dot_seen" = "no"; then \
41542 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
41543 @@ -149,13 +249,24 @@
41545 mostlyclean-recursive clean-recursive distclean-recursive \
41546 maintainer-clean-recursive:
41547 - @set fnord $(MAKEFLAGS); amf=$$2; \
41548 + @failcom='exit 1'; \
41549 + for f in x $$MAKEFLAGS; do \
41551 + *=* | --[!k]*);; \
41552 + *k*) failcom='fail=yes';; \
41556 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
41557 - rev="$$subdir $$rev"; \
41558 - test "$$subdir" != "." || dot_seen=yes; \
41560 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
41561 + *) list='$(SUBDIRS)' ;; \
41563 + rev=''; for subdir in $$list; do \
41564 + if test "$$subdir" = "."; then :; else \
41565 + rev="$$subdir $$rev"; \
41568 - test "$$dot_seen" = "no" && rev=". $$rev"; \
41570 target=`echo $@ | sed s/-recursive//`; \
41571 for subdir in $$rev; do \
41572 echo "Making $$target in $$subdir"; \
41573 @@ -165,146 +276,210 @@
41574 local_target="$$target"; \
41576 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41577 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41578 + || eval $$failcom; \
41579 done && test -z "$$fail"
41581 list='$(SUBDIRS)'; for subdir in $$list; do \
41582 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
41585 + list='$(SUBDIRS)'; for subdir in $$list; do \
41586 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
41591 -ID: $(HEADERS) $(SOURCES) $(LISP)
41592 - list='$(SOURCES) $(HEADERS)'; \
41593 - unique=`for i in $$list; do echo $$i; done | \
41594 - awk ' { files[$$0] = 1; } \
41595 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
41596 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41597 + unique=`for i in $$list; do \
41598 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41600 + $(AWK) ' { files[$$0] = 1; } \
41601 END { for (i in files) print i; }'`; \
41602 - here=`pwd` && cd $(srcdir) \
41603 - && mkid -f$$here/ID $$unique $(LISP)
41604 + mkid -fID $$unique
41607 -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
41608 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41609 + $(TAGS_FILES) $(LISP)
41612 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
41613 + include_option=--etags-include; \
41616 + include_option=--include; \
41619 list='$(SUBDIRS)'; for subdir in $$list; do \
41620 - if test "$$subdir" = .; then :; else \
41621 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
41623 + if test "$$subdir" = .; then :; else \
41624 + test ! -f $$subdir/TAGS || \
41625 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
41628 - list='$(SOURCES) $(HEADERS)'; \
41629 - unique=`for i in $$list; do echo $$i; done | \
41630 - awk ' { files[$$0] = 1; } \
41631 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41632 + unique=`for i in $$list; do \
41633 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41635 + $(AWK) ' { files[$$0] = 1; } \
41636 END { for (i in files) print i; }'`; \
41637 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
41638 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
41643 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
41644 + test -n "$$unique" || unique=$$empty_fix; \
41645 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
41646 + $$tags $$unique; \
41649 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41650 + $(TAGS_FILES) $(LISP)
41653 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41654 + unique=`for i in $$list; do \
41655 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41657 + $(AWK) ' { files[$$0] = 1; } \
41658 + END { for (i in files) print i; }'`; \
41659 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
41660 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
41664 + here=`$(am__cd) $(top_builddir) && pwd` \
41665 + && cd $(top_srcdir) \
41666 + && gtags -i $(GTAGS_ARGS) $$here
41671 -maintainer-clean-tags:
41673 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
41676 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41678 distdir: $(DISTFILES)
41679 - here=`cd $(top_builddir) && pwd`; \
41680 - top_distdir=`cd $(top_distdir) && pwd`; \
41681 - distdir=`cd $(distdir) && pwd`; \
41682 - cd $(top_srcdir) \
41683 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
41684 - @for file in $(DISTFILES); do \
41686 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41687 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41688 + list='$(DISTFILES)'; for file in $$list; do \
41690 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41691 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41693 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41694 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41695 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41697 + $(mkdir_p) "$(distdir)$$dir"; \
41701 if test -d $$d/$$file; then \
41702 - cp -pr $$d/$$file $(distdir)/$$file; \
41703 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41704 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41706 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41708 test -f $(distdir)/$$file \
41709 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41710 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41711 + || cp -p $$d/$$file $(distdir)/$$file \
41715 - for subdir in $(SUBDIRS); do \
41716 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
41717 if test "$$subdir" = .; then :; else \
41718 - test -d $(distdir)/$$subdir \
41719 - || mkdir $(distdir)/$$subdir \
41720 + test -d "$(distdir)/$$subdir" \
41721 + || $(mkdir_p) "$(distdir)/$$subdir" \
41723 - chmod 777 $(distdir)/$$subdir; \
41724 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
41725 + distdir=`$(am__cd) $(distdir) && pwd`; \
41726 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
41727 + (cd $$subdir && \
41728 + $(MAKE) $(AM_MAKEFLAGS) \
41729 + top_distdir="$$top_distdir" \
41730 + distdir="$$distdir/$$subdir" \
41736 -info: info-recursive
41738 -dvi: dvi-recursive
41740 check: check-recursive
41742 -installcheck: installcheck-recursive
41745 +installdirs: installdirs-recursive
41747 +install: install-recursive
41748 install-exec: install-exec-recursive
41751 install-data: install-data-recursive
41752 +uninstall: uninstall-recursive
41755 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41756 -install: install-recursive
41758 -uninstall: uninstall-recursive
41760 -all-redirect: all-recursive
41762 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41763 -installdirs: installdirs-recursive
41767 +installcheck: installcheck-recursive
41769 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41770 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41771 + `test -z '$(STRIP)' || \
41772 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41773 mostlyclean-generic:
41778 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41779 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41780 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41782 maintainer-clean-generic:
41783 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
41784 + @echo "This command is intended for maintainers to use"
41785 + @echo "it deletes files that may require special tools to rebuild."
41786 +clean: clean-recursive
41788 -mostlyclean: mostlyclean-recursive
41789 +clean-am: clean-generic clean-libtool mostlyclean-am
41791 -clean-am: clean-tags clean-generic mostlyclean-am
41792 +distclean: distclean-recursive
41794 +distclean-am: clean-am distclean-generic distclean-libtool \
41797 -clean: clean-recursive
41798 +dvi: dvi-recursive
41800 -distclean-am: distclean-tags distclean-generic clean-am
41804 -distclean: distclean-recursive
41805 +html: html-recursive
41807 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
41809 - @echo "This command is intended for maintainers to use;"
41810 - @echo "it deletes files that may require special tools to rebuild."
41811 +info: info-recursive
41819 +install-info: install-info-recursive
41825 maintainer-clean: maintainer-clean-recursive
41827 +maintainer-clean-am: distclean-am maintainer-clean-generic
41829 +mostlyclean: mostlyclean-recursive
41831 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
41833 +pdf: pdf-recursive
41841 +uninstall-am: uninstall-info-am
41843 -.PHONY: install-data-recursive uninstall-data-recursive \
41844 -install-exec-recursive uninstall-exec-recursive installdirs-recursive \
41845 -uninstalldirs-recursive all-recursive check-recursive \
41846 -installcheck-recursive info-recursive dvi-recursive \
41847 -mostlyclean-recursive distclean-recursive clean-recursive \
41848 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
41849 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
41850 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41851 -install-exec install-data-am install-data install-am install \
41852 -uninstall-am uninstall all-redirect all-am all installdirs-am \
41853 -installdirs mostlyclean-generic distclean-generic clean-generic \
41854 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41855 +uninstall-info: uninstall-info-recursive
41857 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
41858 + clean clean-generic clean-libtool clean-recursive ctags \
41859 + ctags-recursive distclean distclean-generic distclean-libtool \
41860 + distclean-recursive distclean-tags distdir dvi dvi-am html \
41861 + html-am info info-am install install-am install-data \
41862 + install-data-am install-exec install-exec-am install-info \
41863 + install-info-am install-man install-strip installcheck \
41864 + installcheck-am installdirs installdirs-am maintainer-clean \
41865 + maintainer-clean-generic maintainer-clean-recursive \
41866 + mostlyclean mostlyclean-generic mostlyclean-libtool \
41867 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
41868 + uninstall uninstall-am uninstall-info-am
41870 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41871 # Otherwise a system limit (for SysV at least) may be exceeded.