1 diff -urN linux-atm.old/aclocal.m4 linux-atm.dev/aclocal.m4
2 --- linux-atm.old/aclocal.m4 2005-08-23 01:12:10.833789000 +0200
3 +++ linux-atm.dev/aclocal.m4 2005-08-23 01:12:44.813623720 +0200
5 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6 dnl PARTICULAR PURPOSE.
8 +# lib-prefix.m4 serial 4 (gettext-0.14.2)
9 +dnl Copyright (C) 2001-2005 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 From Bruno Haible.
16 +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
17 +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
18 +dnl require excessive bracketing.
19 +ifdef([AC_HELP_STRING],
20 +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
21 +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
23 +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
24 +dnl to access previously installed libraries. The basic assumption is that
25 +dnl a user will want packages to use other packages he previously installed
26 +dnl with the same --prefix option.
27 +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
28 +dnl libraries, but is otherwise very convenient.
29 +AC_DEFUN([AC_LIB_PREFIX],
31 + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
32 + AC_REQUIRE([AC_PROG_CC])
33 + AC_REQUIRE([AC_CANONICAL_HOST])
34 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
35 + dnl By default, look in $includedir and $libdir.
37 + AC_LIB_WITH_FINAL_PREFIX([
38 + eval additional_includedir=\"$includedir\"
39 + eval additional_libdir=\"$libdir\"
41 + AC_LIB_ARG_WITH([lib-prefix],
42 +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
43 + --without-lib-prefix don't search for libraries in includedir and libdir],
45 + if test "X$withval" = "Xno"; then
48 + if test "X$withval" = "X"; then
49 + AC_LIB_WITH_FINAL_PREFIX([
50 + eval additional_includedir=\"$includedir\"
51 + eval additional_libdir=\"$libdir\"
54 + additional_includedir="$withval/include"
55 + additional_libdir="$withval/lib"
59 + if test $use_additional = yes; then
60 + dnl Potentially add $additional_includedir to $CPPFLAGS.
61 + dnl But don't add it
62 + dnl 1. if it's the standard /usr/include,
63 + dnl 2. if it's already present in $CPPFLAGS,
64 + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
65 + dnl 4. if it doesn't exist as a directory.
66 + if test "X$additional_includedir" != "X/usr/include"; then
68 + for x in $CPPFLAGS; do
69 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
70 + if test "X$x" = "X-I$additional_includedir"; then
75 + if test -z "$haveit"; then
76 + if test "X$additional_includedir" = "X/usr/local/include"; then
77 + if test -n "$GCC"; then
79 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
83 + if test -z "$haveit"; then
84 + if test -d "$additional_includedir"; then
85 + dnl Really add $additional_includedir to $CPPFLAGS.
86 + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
91 + dnl Potentially add $additional_libdir to $LDFLAGS.
92 + dnl But don't add it
93 + dnl 1. if it's the standard /usr/lib,
94 + dnl 2. if it's already present in $LDFLAGS,
95 + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
96 + dnl 4. if it doesn't exist as a directory.
97 + if test "X$additional_libdir" != "X/usr/lib"; then
99 + for x in $LDFLAGS; do
100 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
101 + if test "X$x" = "X-L$additional_libdir"; then
106 + if test -z "$haveit"; then
107 + if test "X$additional_libdir" = "X/usr/local/lib"; then
108 + if test -n "$GCC"; then
110 + linux*) haveit=yes;;
114 + if test -z "$haveit"; then
115 + if test -d "$additional_libdir"; then
116 + dnl Really add $additional_libdir to $LDFLAGS.
117 + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
125 +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
126 +dnl acl_final_exec_prefix, containing the values to which $prefix and
127 +dnl $exec_prefix will expand at the end of the configure script.
128 +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
130 + dnl Unfortunately, prefix and exec_prefix get only finally determined
131 + dnl at the end of configure.
132 + if test "X$prefix" = "XNONE"; then
133 + acl_final_prefix="$ac_default_prefix"
135 + acl_final_prefix="$prefix"
137 + if test "X$exec_prefix" = "XNONE"; then
138 + acl_final_exec_prefix='${prefix}'
140 + acl_final_exec_prefix="$exec_prefix"
142 + acl_save_prefix="$prefix"
143 + prefix="$acl_final_prefix"
144 + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
145 + prefix="$acl_save_prefix"
148 +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
149 +dnl variables prefix and exec_prefix bound to the values they will have
150 +dnl at the end of the configure script.
151 +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
153 + acl_save_prefix="$prefix"
154 + prefix="$acl_final_prefix"
155 + acl_save_exec_prefix="$exec_prefix"
156 + exec_prefix="$acl_final_exec_prefix"
158 + exec_prefix="$acl_save_exec_prefix"
159 + prefix="$acl_save_prefix"
162 +# lib-link.m4 serial 6 (gettext-0.14.3)
163 +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
164 +dnl This file is free software; the Free Software Foundation
165 +dnl gives unlimited permission to copy and/or distribute it,
166 +dnl with or without modifications, as long as this notice is preserved.
168 +dnl From Bruno Haible.
172 +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
173 +dnl the libraries corresponding to explicit and implicit dependencies.
174 +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
175 +dnl augments the CPPFLAGS variable.
176 +AC_DEFUN([AC_LIB_LINKFLAGS],
178 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
179 + AC_REQUIRE([AC_LIB_RPATH])
180 + define([Name],[translit([$1],[./-], [___])])
181 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
182 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
183 + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
184 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
185 + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
186 + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
187 + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
189 + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
190 + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
191 + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
192 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
193 + AC_SUBST([LIB]NAME)
194 + AC_SUBST([LTLIB]NAME)
195 + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
196 + dnl results of this search when this library appears as a dependency.
202 +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
203 +dnl searches for libname and the libraries corresponding to explicit and
204 +dnl implicit dependencies, together with the specified include files and
205 +dnl the ability to compile and link the specified testcode. If found, it
206 +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
207 +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
208 +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
209 +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
210 +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
212 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
213 + AC_REQUIRE([AC_LIB_RPATH])
214 + define([Name],[translit([$1],[./-], [___])])
215 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
216 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
218 + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
220 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
222 + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
223 + dnl because if the user has installed lib[]Name and not disabled its use
224 + dnl via --without-lib[]Name-prefix, he wants to use it.
225 + ac_save_CPPFLAGS="$CPPFLAGS"
226 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
228 + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
229 + ac_save_LIBS="$LIBS"
230 + LIBS="$LIBS $LIB[]NAME"
231 + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
232 + LIBS="$ac_save_LIBS"
234 + if test "$ac_cv_lib[]Name" = yes; then
236 + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
237 + AC_MSG_CHECKING([how to link with lib[]$1])
238 + AC_MSG_RESULT([$LIB[]NAME])
241 + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
242 + dnl $INC[]NAME either.
243 + CPPFLAGS="$ac_save_CPPFLAGS"
247 + AC_SUBST([HAVE_LIB]NAME)
248 + AC_SUBST([LIB]NAME)
249 + AC_SUBST([LTLIB]NAME)
254 +dnl Determine the platform dependent parameters needed to use rpath:
255 +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
256 +dnl hardcode_direct, hardcode_minus_L.
257 +AC_DEFUN([AC_LIB_RPATH],
259 + dnl Tell automake >= 1.10 to complain if config.rpath is missing.
260 + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
261 + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
262 + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
263 + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
264 + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
265 + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
266 + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
267 + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
269 + rm -f ./conftest.sh
273 + libext="$acl_cv_libext"
274 + shlibext="$acl_cv_shlibext"
275 + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
276 + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
277 + hardcode_direct="$acl_cv_hardcode_direct"
278 + hardcode_minus_L="$acl_cv_hardcode_minus_L"
279 + dnl Determine whether the user wants rpath handling at all.
280 + AC_ARG_ENABLE(rpath,
281 + [ --disable-rpath do not hardcode runtime library paths],
282 + :, enable_rpath=yes)
285 +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
286 +dnl the libraries corresponding to explicit and implicit dependencies.
287 +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
288 +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
290 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
291 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
292 + dnl By default, look in $includedir and $libdir.
294 + AC_LIB_WITH_FINAL_PREFIX([
295 + eval additional_includedir=\"$includedir\"
296 + eval additional_libdir=\"$libdir\"
298 + AC_LIB_ARG_WITH([lib$1-prefix],
299 +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
300 + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
302 + if test "X$withval" = "Xno"; then
305 + if test "X$withval" = "X"; then
306 + AC_LIB_WITH_FINAL_PREFIX([
307 + eval additional_includedir=\"$includedir\"
308 + eval additional_libdir=\"$libdir\"
311 + additional_includedir="$withval/include"
312 + additional_libdir="$withval/lib"
316 + dnl Search the library and its dependencies in $additional_libdir and
317 + dnl $LDFLAGS. Using breadth-first-seach.
323 + names_already_handled=
324 + names_next_round='$1 $2'
325 + while test -n "$names_next_round"; do
326 + names_this_round="$names_next_round"
328 + for name in $names_this_round; do
330 + for n in $names_already_handled; do
331 + if test "$n" = "$name"; then
332 + already_handled=yes
336 + if test -z "$already_handled"; then
337 + names_already_handled="$names_already_handled $name"
338 + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
339 + dnl or AC_LIB_HAVE_LINKFLAGS call.
340 + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
341 + eval value=\"\$HAVE_LIB$uppername\"
342 + if test -n "$value"; then
343 + if test "$value" = yes; then
344 + eval value=\"\$LIB$uppername\"
345 + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
346 + eval value=\"\$LTLIB$uppername\"
347 + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
349 + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
350 + dnl that this library doesn't exist. So just drop it.
354 + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
355 + dnl and the already constructed $LIBNAME/$LTLIBNAME.
360 + if test $use_additional = yes; then
361 + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
362 + found_dir="$additional_libdir"
363 + found_so="$additional_libdir/lib$name.$shlibext"
364 + if test -f "$additional_libdir/lib$name.la"; then
365 + found_la="$additional_libdir/lib$name.la"
368 + if test -f "$additional_libdir/lib$name.$libext"; then
369 + found_dir="$additional_libdir"
370 + found_a="$additional_libdir/lib$name.$libext"
371 + if test -f "$additional_libdir/lib$name.la"; then
372 + found_la="$additional_libdir/lib$name.la"
377 + if test "X$found_dir" = "X"; then
378 + for x in $LDFLAGS $LTLIB[]NAME; do
379 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
382 + dir=`echo "X$x" | sed -e 's/^X-L//'`
383 + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
385 + found_so="$dir/lib$name.$shlibext"
386 + if test -f "$dir/lib$name.la"; then
387 + found_la="$dir/lib$name.la"
390 + if test -f "$dir/lib$name.$libext"; then
392 + found_a="$dir/lib$name.$libext"
393 + if test -f "$dir/lib$name.la"; then
394 + found_la="$dir/lib$name.la"
400 + if test "X$found_dir" != "X"; then
405 + if test "X$found_dir" != "X"; then
406 + dnl Found the library.
407 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
408 + if test "X$found_so" != "X"; then
409 + dnl Linking with a shared library. We attempt to hardcode its
410 + dnl directory into the executable's runpath, unless it's the
411 + dnl standard /usr/lib.
412 + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
413 + dnl No hardcoding is needed.
414 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
416 + dnl Use an explicit option to hardcode DIR into the resulting
418 + dnl Potentially add DIR to ltrpathdirs.
419 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
421 + for x in $ltrpathdirs; do
422 + if test "X$x" = "X$found_dir"; then
427 + if test -z "$haveit"; then
428 + ltrpathdirs="$ltrpathdirs $found_dir"
430 + dnl The hardcoding into $LIBNAME is system dependent.
431 + if test "$hardcode_direct" = yes; then
432 + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
433 + dnl resulting binary.
434 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
436 + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
437 + dnl Use an explicit option to hardcode DIR into the resulting
439 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
440 + dnl Potentially add DIR to rpathdirs.
441 + dnl The rpathdirs will be appended to $LIBNAME at the end.
443 + for x in $rpathdirs; do
444 + if test "X$x" = "X$found_dir"; then
449 + if test -z "$haveit"; then
450 + rpathdirs="$rpathdirs $found_dir"
453 + dnl Rely on "-L$found_dir".
454 + dnl But don't add it if it's already contained in the LDFLAGS
455 + dnl or the already constructed $LIBNAME
457 + for x in $LDFLAGS $LIB[]NAME; do
458 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
459 + if test "X$x" = "X-L$found_dir"; then
464 + if test -z "$haveit"; then
465 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
467 + if test "$hardcode_minus_L" != no; then
468 + dnl FIXME: Not sure whether we should use
469 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
471 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
473 + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
474 + dnl here, because this doesn't fit in flags passed to the
475 + dnl compiler. So give up. No hardcoding. This affects only
476 + dnl very old systems.
477 + dnl FIXME: Not sure whether we should use
478 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
480 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
486 + if test "X$found_a" != "X"; then
487 + dnl Linking with a static library.
488 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
490 + dnl We shouldn't come here, but anyway it's good to have a
492 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
495 + dnl Assume the include files are nearby.
496 + additional_includedir=
497 + case "$found_dir" in
499 + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
500 + additional_includedir="$basedir/include"
503 + if test "X$additional_includedir" != "X"; then
504 + dnl Potentially add $additional_includedir to $INCNAME.
505 + dnl But don't add it
506 + dnl 1. if it's the standard /usr/include,
507 + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
508 + dnl 3. if it's already present in $CPPFLAGS or the already
509 + dnl constructed $INCNAME,
510 + dnl 4. if it doesn't exist as a directory.
511 + if test "X$additional_includedir" != "X/usr/include"; then
513 + if test "X$additional_includedir" = "X/usr/local/include"; then
514 + if test -n "$GCC"; then
516 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
520 + if test -z "$haveit"; then
521 + for x in $CPPFLAGS $INC[]NAME; do
522 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
523 + if test "X$x" = "X-I$additional_includedir"; then
528 + if test -z "$haveit"; then
529 + if test -d "$additional_includedir"; then
530 + dnl Really add $additional_includedir to $INCNAME.
531 + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
537 + dnl Look for dependencies.
538 + if test -n "$found_la"; then
539 + dnl Read the .la file. It defines the variables
540 + dnl dlname, library_names, old_library, dependency_libs, current,
541 + dnl age, revision, installed, dlopen, dlpreopen, libdir.
542 + save_libdir="$libdir"
543 + case "$found_la" in
544 + */* | *\\*) . "$found_la" ;;
545 + *) . "./$found_la" ;;
547 + libdir="$save_libdir"
548 + dnl We use only dependency_libs.
549 + for dep in $dependency_libs; do
552 + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
553 + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
554 + dnl But don't add it
555 + dnl 1. if it's the standard /usr/lib,
556 + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
557 + dnl 3. if it's already present in $LDFLAGS or the already
558 + dnl constructed $LIBNAME,
559 + dnl 4. if it doesn't exist as a directory.
560 + if test "X$additional_libdir" != "X/usr/lib"; then
562 + if test "X$additional_libdir" = "X/usr/local/lib"; then
563 + if test -n "$GCC"; then
565 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
569 + if test -z "$haveit"; then
571 + for x in $LDFLAGS $LIB[]NAME; do
572 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
573 + if test "X$x" = "X-L$additional_libdir"; then
578 + if test -z "$haveit"; then
579 + if test -d "$additional_libdir"; then
580 + dnl Really add $additional_libdir to $LIBNAME.
581 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
585 + for x in $LDFLAGS $LTLIB[]NAME; do
586 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
587 + if test "X$x" = "X-L$additional_libdir"; then
592 + if test -z "$haveit"; then
593 + if test -d "$additional_libdir"; then
594 + dnl Really add $additional_libdir to $LTLIBNAME.
595 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
602 + dir=`echo "X$dep" | sed -e 's/^X-R//'`
603 + if test "$enable_rpath" != no; then
604 + dnl Potentially add DIR to rpathdirs.
605 + dnl The rpathdirs will be appended to $LIBNAME at the end.
607 + for x in $rpathdirs; do
608 + if test "X$x" = "X$dir"; then
613 + if test -z "$haveit"; then
614 + rpathdirs="$rpathdirs $dir"
616 + dnl Potentially add DIR to ltrpathdirs.
617 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
619 + for x in $ltrpathdirs; do
620 + if test "X$x" = "X$dir"; then
625 + if test -z "$haveit"; then
626 + ltrpathdirs="$ltrpathdirs $dir"
631 + dnl Handle this in the next round.
632 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
635 + dnl Handle this in the next round. Throw away the .la's
636 + dnl directory; it is already contained in a preceding -L
638 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
641 + dnl Most likely an immediate library name.
642 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
643 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
649 + dnl Didn't find the library; assume it is in the system directories
650 + dnl known to the linker and runtime loader. (All the system
651 + dnl directories known to the linker should also be known to the
652 + dnl runtime loader, otherwise the system is severely misconfigured.)
653 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
654 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
660 + if test "X$rpathdirs" != "X"; then
661 + if test -n "$hardcode_libdir_separator"; then
662 + dnl Weird platform: only the last -rpath option counts, the user must
663 + dnl pass all path elements in one option. We can arrange that for a
664 + dnl single library, but not when more than one $LIBNAMEs are used.
666 + for found_dir in $rpathdirs; do
667 + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
669 + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
670 + acl_save_libdir="$libdir"
672 + eval flag=\"$hardcode_libdir_flag_spec\"
673 + libdir="$acl_save_libdir"
674 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
676 + dnl The -rpath options are cumulative.
677 + for found_dir in $rpathdirs; do
678 + acl_save_libdir="$libdir"
679 + libdir="$found_dir"
680 + eval flag=\"$hardcode_libdir_flag_spec\"
681 + libdir="$acl_save_libdir"
682 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
686 + if test "X$ltrpathdirs" != "X"; then
687 + dnl When using libtool, the option that works for both libraries and
688 + dnl executables is -R. The -R options are cumulative.
689 + for found_dir in $ltrpathdirs; do
690 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
695 +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
696 +dnl unless already present in VAR.
697 +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
698 +dnl contains two or three consecutive elements that belong together.
699 +AC_DEFUN([AC_LIB_APPENDTOVAR],
701 + for element in [$2]; do
704 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
705 + if test "X$x" = "X$element"; then
710 + if test -z "$haveit"; then
711 + [$1]="${[$1]}${[$1]:+ }$element"
716 +# lib-ld.m4 serial 3 (gettext-0.13)
717 +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
718 +dnl This file is free software; the Free Software Foundation
719 +dnl gives unlimited permission to copy and/or distribute it,
720 +dnl with or without modifications, as long as this notice is preserved.
722 +dnl Subroutines of libtool.m4,
723 +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
724 +dnl with libtool.m4.
726 +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
727 +AC_DEFUN([AC_LIB_PROG_LD_GNU],
728 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
729 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
730 +case `$LD -v 2>&1 </dev/null` in
731 +*GNU* | *'with BFD'*)
732 + acl_cv_prog_gnu_ld=yes ;;
734 + acl_cv_prog_gnu_ld=no ;;
736 +with_gnu_ld=$acl_cv_prog_gnu_ld
739 +dnl From libtool-1.4. Sets the variable LD.
740 +AC_DEFUN([AC_LIB_PROG_LD],
741 +[AC_ARG_WITH(gnu-ld,
742 +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
743 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
744 +AC_REQUIRE([AC_PROG_CC])dnl
745 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
746 +# Prepare PATH_SEPARATOR.
747 +# The user is always right.
748 +if test "${PATH_SEPARATOR+set}" != set; then
749 + echo "#! /bin/sh" >conf$$.sh
750 + echo "exit 0" >>conf$$.sh
752 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
760 +if test "$GCC" = yes; then
761 + # Check if gcc -print-prog-name=ld gives a path.
762 + AC_MSG_CHECKING([for ld used by GCC])
765 + # gcc leaves a trailing carriage return which upsets mingw
766 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
768 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
771 + # Accept absolute paths.
772 + [[\\/]* | [A-Za-z]:[\\/]*)]
773 + [re_direlt='/[^/][^/]*/\.\./']
774 + # Canonicalize the path of ld
775 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
776 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
777 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
779 + test -z "$LD" && LD="$ac_prog"
782 + # If it fails, then pretend we aren't using GCC.
786 + # If it is relative, then search for the first ld in PATH.
787 + with_gnu_ld=unknown
790 +elif test "$with_gnu_ld" = yes; then
791 + AC_MSG_CHECKING([for GNU ld])
793 + AC_MSG_CHECKING([for non-GNU ld])
795 +AC_CACHE_VAL(acl_cv_path_LD,
796 +[if test -z "$LD"; then
797 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
798 + for ac_dir in $PATH; do
799 + test -z "$ac_dir" && ac_dir=.
800 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
801 + acl_cv_path_LD="$ac_dir/$ac_prog"
802 + # Check to see if the program is GNU ld. I'd rather use --version,
803 + # but apparently some GNU ld's only accept -v.
804 + # Break only if it was the GNU/non-GNU ld that we prefer.
805 + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
806 + *GNU* | *'with BFD'*)
807 + test "$with_gnu_ld" != no && break ;;
809 + test "$with_gnu_ld" != yes && break ;;
815 + acl_cv_path_LD="$LD" # Let the user override the test with a path.
817 +LD="$acl_cv_path_LD"
818 +if test -n "$LD"; then
823 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
827 # Like AC_CONFIG_HEADER, but automatically create stamp file.
829 AC_DEFUN([AM_CONFIG_HEADER],
830 @@ -164,12 +983,64 @@
834 -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
835 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
837 -# serial 46 AC_PROG_LIBTOOL
838 +# serial 47 AC_PROG_LIBTOOL
839 +# Debian $Rev: 214 $
842 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
843 +# -----------------------------------------------------------
844 +# If this macro is not defined by Autoconf, define it here.
845 +m4_ifdef([AC_PROVIDE_IFELSE],
847 + [m4_define([AC_PROVIDE_IFELSE],
848 + [m4_ifdef([AC_PROVIDE_$1],
854 AC_DEFUN([AC_PROG_LIBTOOL],
855 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
856 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
857 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
858 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
860 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
862 +dnl And a similar setup for Fortran 77 support
863 + AC_PROVIDE_IFELSE([AC_PROG_F77],
865 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
868 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
869 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
870 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
871 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
873 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
875 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
877 + [ifdef([AC_PROG_GCJ],
878 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
879 + ifdef([A][M_PROG_GCJ],
880 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
881 + ifdef([LT_AC_PROG_GCJ],
882 + [define([LT_AC_PROG_GCJ],
883 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
884 +])])# AC_PROG_LIBTOOL
889 +AC_DEFUN([_AC_PROG_LIBTOOL],
890 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
891 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
892 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
893 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
895 # This can be used to rebuild libtool when needed
896 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
897 @@ -180,10 +1051,13 @@
899 # Prevent multiple expansion
900 define([AC_PROG_LIBTOOL], [])
902 +])# _AC_PROG_LIBTOOL
907 AC_DEFUN([AC_LIBTOOL_SETUP],
910 AC_REQUIRE([AC_ENABLE_SHARED])dnl
911 AC_REQUIRE([AC_ENABLE_STATIC])dnl
912 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
913 @@ -193,15 +1067,103 @@
914 AC_REQUIRE([AC_PROG_LD])dnl
915 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
916 AC_REQUIRE([AC_PROG_NM])dnl
917 -AC_REQUIRE([LT_AC_PROG_SED])dnl
919 AC_REQUIRE([AC_PROG_LN_S])dnl
920 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
921 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
922 AC_REQUIRE([AC_OBJEXT])dnl
923 AC_REQUIRE([AC_EXEEXT])dnl
926 +AC_LIBTOOL_SYS_MAX_CMD_LEN
927 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
930 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
931 _LT_AC_PROG_ECHO_BACKSLASH
935 + # AIX sometimes has problems with the GCC collect2 program. For some
936 + # reason, if we set the COLLECT_NAMES environment variable, the problems
937 + # vanish in a puff of smoke.
938 + if test "X${COLLECT_NAMES+set}" != Xset; then
940 + export COLLECT_NAMES
945 +# Sed substitution that helps us do robust quoting. It backslashifies
946 +# metacharacters that are still active within double-quoted strings.
947 +Xsed='sed -e s/^X//'
948 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
950 +# Same as above, but do not quote variable references.
951 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
953 +# Sed substitution to delay expansion of an escaped shell variable in a
954 +# double_quote_subst'ed string.
955 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
957 +# Sed substitution to avoid accidental globbing in evaled expressions
958 +no_glob_subst='s/\*/\\\*/g'
964 +default_ofile=libtool
965 +can_build_shared=yes
967 +# All known linkers require a `.a' archive for static linking (except M$VC,
968 +# which needs '.lib').
970 +ltmain="$ac_aux_dir/ltmain.sh"
971 +ofile="$default_ofile"
972 +with_gnu_ld="$lt_cv_prog_gnu_ld"
974 +AC_CHECK_TOOL(AR, ar, false)
975 +AC_CHECK_TOOL(RANLIB, ranlib, :)
976 +AC_CHECK_TOOL(STRIP, strip, :)
979 +old_CFLAGS="$CFLAGS"
981 +# Set sane defaults for various variables
982 +test -z "$AR" && AR=ar
983 +test -z "$AR_FLAGS" && AR_FLAGS=cru
984 +test -z "$AS" && AS=as
985 +test -z "$CC" && CC=cc
986 +test -z "$LTCC" && LTCC=$CC
987 +test -z "$DLLTOOL" && DLLTOOL=dlltool
988 +test -z "$LD" && LD=ld
989 +test -z "$LN_S" && LN_S="ln -s"
990 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
991 +test -z "$NM" && NM=nm
992 +test -z "$SED" && SED=sed
993 +test -z "$OBJDUMP" && OBJDUMP=objdump
994 +test -z "$RANLIB" && RANLIB=:
995 +test -z "$STRIP" && STRIP=:
996 +test -z "$ac_objext" && ac_objext=o
998 +# Determine commands to create old-style static archives.
999 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1000 +old_postinstall_cmds='chmod 644 $oldlib'
1001 +old_postuninstall_cmds=
1003 +if test -n "$RANLIB"; then
1006 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1009 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1012 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1015 # Only perform the check for file, if the check method requires it
1016 case $deplibs_check_method in
1018 @@ -211,327 +1173,78 @@
1022 -AC_CHECK_TOOL(RANLIB, ranlib, :)
1023 -AC_CHECK_TOOL(STRIP, strip, :)
1025 -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1026 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
1027 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1028 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1029 enable_win32_dll=yes, enable_win32_dll=no)
1031 -AC_ARG_ENABLE(libtool-lock,
1032 - [ --disable-libtool-lock avoid locking (might break parallel builds)])
1033 +AC_ARG_ENABLE([libtool-lock],
1034 + [AC_HELP_STRING([--disable-libtool-lock],
1035 + [avoid locking (might break parallel builds)])])
1036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1038 -# Some flags need to be propagated to the compiler or linker for good
1042 - # Find out which ABI we are using.
1043 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1044 - if AC_TRY_EVAL(ac_compile); then
1045 - case `/usr/bin/file conftest.$ac_objext` in
1050 - LD="${LD-ld} -n32"
1060 + [AC_HELP_STRING([--with-pic],
1061 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1062 + [pic_mode="$withval"],
1063 + [pic_mode=default])
1064 +test -z "$pic_mode" && pic_mode=default
1067 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1068 - SAVE_CFLAGS="$CFLAGS"
1069 - CFLAGS="$CFLAGS -belf"
1070 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1073 - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1075 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1076 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1077 - CFLAGS="$SAVE_CFLAGS"
1080 +# Use C for the default configuration in the libtool script
1082 +AC_LIBTOOL_LANG_C_CONFIG
1084 +])# AC_LIBTOOL_SETUP
1086 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
1087 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1088 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1089 - AC_CHECK_TOOL(AS, as, false)
1090 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
1092 - # recent cygwin and mingw systems supply a stub DllMain which the user
1093 - # can override, but on older systems we have to supply one
1094 - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
1096 - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
1097 - DllMain (0, 0, 0);],
1098 - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
1101 - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
1102 - # old mingw systems require "-dll" to link a DLL, while more recent ones
1104 - SAVE_CFLAGS="$CFLAGS"
1105 - CFLAGS="$CFLAGS -mdll"
1106 - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
1107 - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
1108 - CFLAGS="$SAVE_CFLAGS" ;;
1109 - *-*-cygwin* | *-*-pw32*)
1110 - # cygwin systems need to pass --dll to the linker, and not link
1111 - # crt.o which will require a WinMain@16 definition.
1112 - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
1117 +# _LT_AC_SYS_COMPILER
1118 +# -------------------
1119 +AC_DEFUN([_LT_AC_SYS_COMPILER],
1120 +[AC_REQUIRE([AC_PROG_CC])dnl
1122 -_LT_AC_LTCONFIG_HACK
1123 +# If no C compiler was specified, use CC.
1128 -# AC_LIBTOOL_HEADER_ASSERT
1129 -# ------------------------
1130 -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
1131 -[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
1132 - [lt_cv_func_assert_works],
1135 - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
1136 - case `$CC --version 2>/dev/null` in
1137 - [[12]].*) lt_cv_func_assert_works=no ;;
1138 - *) lt_cv_func_assert_works=yes ;;
1144 -if test "x$lt_cv_func_assert_works" = xyes; then
1145 - AC_CHECK_HEADERS(assert.h)
1147 -])# AC_LIBTOOL_HEADER_ASSERT
1149 -# _LT_AC_CHECK_DLFCN
1150 -# --------------------
1151 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
1152 -[AC_CHECK_HEADERS(dlfcn.h)
1153 -])# _LT_AC_CHECK_DLFCN
1155 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1156 -# ---------------------------------
1157 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
1158 -[AC_REQUIRE([AC_CANONICAL_HOST])
1159 -AC_REQUIRE([AC_PROG_NM])
1160 -AC_REQUIRE([AC_OBJEXT])
1161 -# Check for command to grab the raw symbol name followed by C symbol from nm.
1162 -AC_MSG_CHECKING([command to parse $NM output])
1163 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
1165 -# These are sane defaults that work on at least a few old systems.
1166 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
1168 -# Character class describing NM global symbol codes.
1169 -symcode='[[BCDEGRST]]'
1171 -# Regexp to match symbols that can be accessed directly from C.
1172 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
1174 -# Transform the above into a raw symbol and a C symbol.
1175 -symxfrm='\1 \2\3 \3'
1177 -# Transform an extracted symbol line into a proper C declaration
1178 -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
1180 -# Transform an extracted symbol line into symbol name and symbol address
1181 -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'"
1183 -# Define system-specific variables.
1186 - symcode='[[BCDT]]'
1188 -cygwin* | mingw* | pw32*)
1189 - symcode='[[ABCDGISTW]]'
1191 -hpux*) # Its linker distinguishes data from code symbols
1192 - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1193 - 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'"
1195 -irix* | nonstopux*)
1196 - symcode='[[BCDEGRST]]'
1199 - symcode='[[BCDEGQRST]]'
1205 - symcode='[[DFNSTU]]'
1209 -# Handle CRLF in mingw tool chain
1213 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1217 -# If we're using GNU nm, then use its standard symbol codes.
1218 -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
1219 - symcode='[[ABCDGISTW]]'
1222 -# Try without a prefix undercore, then with it.
1223 -for ac_symprfx in "" "_"; do
1225 - # Write the raw and C identifiers.
1226 -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
1228 - # Check to see that the pipe works correctly.
1231 - cat > conftest.$ac_ext <<EOF
1236 -void nm_test_func(){}
1240 -int main(){nm_test_var='a';nm_test_func();return(0);}
1243 - if AC_TRY_EVAL(ac_compile); then
1244 - # Now try to grab the symbols.
1246 - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
1247 - # Try sorting and uniquifying the output.
1248 - if sort "$nlist" | uniq > "$nlist"T; then
1249 - mv -f "$nlist"T "$nlist"
1254 - # Make sure that we snagged all the symbols we need.
1255 - if egrep ' nm_test_var$' "$nlist" >/dev/null; then
1256 - if egrep ' nm_test_func$' "$nlist" >/dev/null; then
1257 - cat <<EOF > conftest.$ac_ext
1263 - # Now generate the symbol file.
1264 - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
1266 - cat <<EOF >> conftest.$ac_ext
1267 -#if defined (__STDC__) && __STDC__
1268 -# define lt_ptr void *
1270 -# define lt_ptr char *
1274 -/* The mapping between symbol names and symbols. */
1279 -lt_preloaded_symbols[[]] =
1282 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
1283 - cat <<\EOF >> conftest.$ac_ext
1286 +# Allow CC to be a program name with arguments.
1288 +])# _LT_AC_SYS_COMPILER
1294 - # Now try linking the two files.
1295 - mv conftest.$ac_objext conftstm.$ac_objext
1297 - save_CFLAGS="$CFLAGS"
1298 - LIBS="conftstm.$ac_objext"
1299 - CFLAGS="$CFLAGS$no_builtin_flag"
1300 - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
1304 - CFLAGS="$save_CFLAGS"
1306 - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
1309 - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
1312 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
1315 - echo "$progname: failed program was:" >&AC_FD_CC
1316 - cat conftest.$ac_ext >&5
1318 - rm -f conftest* conftst*
1320 - # Do not use the global_symbol_pipe unless it works.
1321 - if test "$pipe_works" = yes; then
1324 - lt_cv_sys_global_symbol_pipe=
1328 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
1329 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
1330 - global_symbol_to_cdecl=
1331 - global_symbol_to_c_name_address=
1333 - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
1334 - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
1336 -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
1338 - AC_MSG_RESULT(failed)
1342 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1343 +# _LT_AC_SYS_LIBPATH_AIX
1344 +# ----------------------
1345 +# Links a minimal program and checks the executable
1346 +# for the system default hardcoded library path. In most cases,
1347 +# this is /usr/lib:/lib, but when the MPI compilers are used
1348 +# the location of the communication and MPI libs are included too.
1349 +# If we don't find anything, use the default library path according
1350 +# to the aix ld manual.
1351 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1352 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1353 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1355 +# Check for a 64-bit object if we didn't find anything.
1356 +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; }
1358 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1359 +])# _LT_AC_SYS_LIBPATH_AIX
1362 +# _LT_AC_SHELL_INIT(ARG)
1363 +# ----------------------
1364 +AC_DEFUN([_LT_AC_SHELL_INIT],
1365 +[ifdef([AC_DIVERSION_NOTICE],
1366 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1367 + [AC_DIVERT_PUSH(NOTICE)])
1370 +])# _LT_AC_SHELL_INIT
1372 -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1373 -# ---------------------------------
1374 -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
1375 -[# Find the correct PATH separator. Usually this is `:', but
1376 -# DJGPP uses `;' like DOS.
1377 -if test "X${PATH_SEPARATOR+set}" != Xset; then
1378 - UNAME=${UNAME-`uname 2>/dev/null`}
1380 - *-DOS) lt_cv_sys_path_separator=';' ;;
1381 - *) lt_cv_sys_path_separator=':' ;;
1383 - PATH_SEPARATOR=$lt_cv_sys_path_separator
1385 -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1387 # _LT_AC_PROG_ECHO_BACKSLASH
1388 # --------------------------
1389 # Add some code to the start of the generated configure script which
1390 # will find an echo command which doesn't interpret backslashes.
1391 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1392 -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1393 - [AC_DIVERT_PUSH(NOTICE)])
1394 -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1396 +[_LT_AC_SHELL_INIT([
1397 # Check that we are running under the correct shell.
1398 SHELL=${CONFIG_SHELL-/bin/sh}
1400 @@ -549,7 +1262,7 @@
1401 elif test "X[$]1" = X--fallback-echo; then
1402 # Avoid inline document here, it may be left over
1404 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
1405 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1406 # Yippee, $echo works!
1409 @@ -561,7 +1274,7 @@
1410 # used as fallback echo
1418 @@ -595,8 +1308,9 @@
1420 # So, first we look for a working echo in the user's PATH.
1422 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1423 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1424 for dir in $PATH /usr/ucb; do
1425 + IFS="$lt_save_ifs"
1426 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1427 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1428 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1429 @@ -605,7 +1319,7 @@
1434 + IFS="$lt_save_ifs"
1436 if test "X$echo" = Xecho; then
1437 # We didn't find a better echo, so look for alternatives.
1438 @@ -678,47 +1392,328 @@
1443 -])# _LT_AC_PROG_ECHO_BACKSLASH
1444 +])])# _LT_AC_PROG_ECHO_BACKSLASH
1446 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1447 -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1448 -# ------------------------------------------------------------------
1449 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1450 -[if test "$cross_compiling" = yes; then :
1453 - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1454 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1455 - lt_status=$lt_dlunknown
1456 - cat > conftest.$ac_ext <<EOF
1457 -[#line __oline__ "configure"
1458 -#include "confdefs.h"
1465 +AC_DEFUN([_LT_AC_LOCK],
1466 +[AC_ARG_ENABLE([libtool-lock],
1467 + [AC_HELP_STRING([--disable-libtool-lock],
1468 + [avoid locking (might break parallel builds)])])
1469 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1472 +# Some flags need to be propagated to the compiler or linker for good
1476 + # Find out which ABI we are using.
1477 + echo 'int i;' > conftest.$ac_ext
1478 + if AC_TRY_EVAL(ac_compile); then
1479 + case `/usr/bin/file conftest.$ac_objext` in
1481 + HPUX_IA64_MODE="32"
1484 + HPUX_IA64_MODE="64"
1491 + # Find out which ABI we are using.
1492 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1493 + if AC_TRY_EVAL(ac_compile); then
1494 + if test "$lt_cv_prog_gnu_ld" = yes; then
1495 + case `/usr/bin/file conftest.$ac_objext` in
1497 + LD="${LD-ld} -melf32bsmip"
1500 + LD="${LD-ld} -melf32bmipn32"
1503 + LD="${LD-ld} -melf64bmip"
1507 + case `/usr/bin/file conftest.$ac_objext` in
1512 + LD="${LD-ld} -n32"
1524 -# define LT_DLGLOBAL RTLD_GLOBAL
1527 -# define LT_DLGLOBAL DL_GLOBAL
1529 -# define LT_DLGLOBAL 0
1532 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1533 + # Find out which ABI we are using.
1534 + echo 'int i;' > conftest.$ac_ext
1535 + if AC_TRY_EVAL(ac_compile); then
1536 + case "`/usr/bin/file conftest.o`" in
1540 + LD="${LD-ld} -m elf_i386"
1542 + ppc64-*linux*|powerpc64-*linux*)
1543 + LD="${LD-ld} -m elf32ppclinux"
1546 + LD="${LD-ld} -m elf_s390"
1549 + LD="${LD-ld} -m elf32_sparc"
1556 + LD="${LD-ld} -m elf_x86_64"
1558 + ppc*-*linux*|powerpc*-*linux*)
1559 + LD="${LD-ld} -m elf64ppc"
1562 + LD="${LD-ld} -m elf64_s390"
1565 + LD="${LD-ld} -m elf64_sparc"
1574 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1575 - find out it does not work in some platform. */
1576 -#ifndef LT_DLLAZY_OR_NOW
1578 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1581 -# define LT_DLLAZY_OR_NOW DL_LAZY
1583 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1584 + SAVE_CFLAGS="$CFLAGS"
1585 + CFLAGS="$CFLAGS -belf"
1586 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1588 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1590 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1591 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1592 + CFLAGS="$SAVE_CFLAGS"
1595 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1596 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1597 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1598 + AC_CHECK_TOOL(AS, as, false)
1599 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
1604 +need_locks="$enable_libtool_lock"
1609 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1610 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1611 +# ----------------------------------------------------------------
1612 +# Check whether the given compiler option works
1613 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1614 +[AC_REQUIRE([LT_AC_PROG_SED])
1615 +AC_CACHE_CHECK([$1], [$2],
1617 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1618 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1619 + lt_compiler_flag="$3"
1620 + # Insert the option either (1) after the last *FLAGS variable, or
1621 + # (2) before a word containing "conftest.", or (3) at the end.
1622 + # Note that $ac_compile itself does not contain backslashes and begins
1623 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1624 + # The option is referenced via a variable to avoid confusing sed.
1625 + lt_compile=`echo "$ac_compile" | $SED \
1626 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1627 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1628 + -e 's:$: $lt_compiler_flag:'`
1629 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1630 + (eval "$lt_compile" 2>conftest.err)
1632 + cat conftest.err >&AS_MESSAGE_LOG_FD
1633 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1634 + if (exit $ac_status) && test -s "$ac_outfile"; then
1635 + # The compiler can only warn and ignore the option if not recognized
1636 + # So say no if there are warnings
1637 + if test ! -s conftest.err; then
1644 +if test x"[$]$2" = xyes; then
1645 + ifelse([$5], , :, [$5])
1647 + ifelse([$6], , :, [$6])
1649 +])# AC_LIBTOOL_COMPILER_OPTION
1652 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1653 +# [ACTION-SUCCESS], [ACTION-FAILURE])
1654 +# ------------------------------------------------------------
1655 +# Check whether the given compiler option works
1656 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1657 +[AC_CACHE_CHECK([$1], [$2],
1659 + save_LDFLAGS="$LDFLAGS"
1660 + LDFLAGS="$LDFLAGS $3"
1661 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
1662 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1663 + # The compiler can only warn and ignore the option if not recognized
1664 + # So say no if there are warnings
1665 + if test -s conftest.err; then
1666 + # Append any errors to the config.log.
1667 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
1673 + LDFLAGS="$save_LDFLAGS"
1676 +if test x"[$]$2" = xyes; then
1677 + ifelse([$4], , :, [$4])
1679 + ifelse([$5], , :, [$5])
1681 +])# AC_LIBTOOL_LINKER_OPTION
1684 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
1685 +# --------------------------
1686 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
1687 +[# find the maximum length of command line arguments
1688 +AC_MSG_CHECKING([the maximum length of command line arguments])
1689 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1695 + # On DJGPP, this test can blow up pretty badly due to problems in libc
1696 + # (any single argument exceeding 2000 bytes causes a buffer overrun
1697 + # during glob expansion). Even if it were fixed, the result of this
1698 + # check would be larger than it should be.
1699 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
1703 + # Under GNU Hurd, this test is not required because there is
1704 + # no limit to the length of command line arguments.
1705 + # Libtool will interpret -1 as no limit whatsoever
1706 + lt_cv_sys_max_cmd_len=-1;
1710 + # On Win9x/ME, this test blows up -- it succeeds, but takes
1711 + # about 5 minutes as the teststring grows exponentially.
1712 + # Worse, since 9x/ME are not pre-emptively multitasking,
1713 + # you end up with a "frozen" computer, even though with patience
1714 + # the test eventually succeeds (with a max line length of 256k).
1715 + # Instead, let's just punt: use the minimum linelength reported by
1716 + # all of the supported platforms: 8192 (on NT/2K/XP).
1717 + lt_cv_sys_max_cmd_len=8192;
1721 + # On AmigaOS with pdksh, this test takes hours, literally.
1722 + # So we just punt and use a minimum line length of 8192.
1723 + lt_cv_sys_max_cmd_len=8192;
1727 + # If test is not a shell built-in, we'll probably end up computing a
1728 + # maximum length that is only half of the actual maximum length, but
1730 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1731 + = "XX$teststring") >/dev/null 2>&1 &&
1732 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1733 + lt_cv_sys_max_cmd_len=$new_result &&
1734 + test $i != 17 # 1/2 MB should be enough
1737 + teststring=$teststring$teststring
1740 + # Add a significant safety factor because C++ compilers can tack on massive
1741 + # amounts of additional arguments before passing them to the linker.
1742 + # It appears as though 1/2 is a usable value.
1743 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1747 +if test -n $lt_cv_sys_max_cmd_len ; then
1748 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1750 + AC_MSG_RESULT(none)
1752 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1755 +# _LT_AC_CHECK_DLFCN
1756 +# --------------------
1757 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
1758 +[AC_CHECK_HEADERS(dlfcn.h)dnl
1759 +])# _LT_AC_CHECK_DLFCN
1762 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1763 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1764 +# ------------------------------------------------------------------
1765 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1766 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1767 +if test "$cross_compiling" = yes; then :
1770 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1771 + lt_status=$lt_dlunknown
1772 + cat > conftest.$ac_ext <<EOF
1773 +[#line __oline__ "configure"
1774 +#include "confdefs.h"
1783 +# define LT_DLGLOBAL RTLD_GLOBAL
1786 +# define LT_DLGLOBAL DL_GLOBAL
1788 +# define LT_DLGLOBAL 0
1792 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1793 + find out it does not work in some platform. */
1794 +#ifndef LT_DLLAZY_OR_NOW
1796 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
1799 +# define LT_DLLAZY_OR_NOW DL_LAZY
1802 # define LT_DLLAZY_OR_NOW RTLD_NOW
1803 @@ -769,10 +1764,12 @@
1805 ])# _LT_AC_TRY_DLOPEN_SELF
1808 # AC_LIBTOOL_DLOPEN_SELF
1809 # -------------------
1810 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1811 -[if test "x$enable_dlopen" != xyes; then
1812 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1813 +if test "x$enable_dlopen" != xyes; then
1814 enable_dlopen=unknown
1815 enable_dlopen_self=unknown
1816 enable_dlopen_self_static=unknown
1817 @@ -787,24 +1784,39 @@
1818 lt_cv_dlopen_self=yes
1821 - cygwin* | mingw* | pw32*)
1823 lt_cv_dlopen="LoadLibrary"
1828 + lt_cv_dlopen="dlopen"
1829 + lt_cv_dlopen_libs=
1833 + # if libdl is installed we need to link against it
1834 + AC_CHECK_LIB([dl], [dlopen],
1835 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1836 + lt_cv_dlopen="dyld"
1837 + lt_cv_dlopen_libs=
1838 + lt_cv_dlopen_self=yes
1843 AC_CHECK_FUNC([shl_load],
1844 - [lt_cv_dlopen="shl_load"],
1845 + [lt_cv_dlopen="shl_load"],
1846 [AC_CHECK_LIB([dld], [shl_load],
1847 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1848 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1849 [AC_CHECK_FUNC([dlopen],
1850 [lt_cv_dlopen="dlopen"],
1851 [AC_CHECK_LIB([dl], [dlopen],
1852 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1853 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1854 [AC_CHECK_LIB([svld], [dlopen],
1855 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1856 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1857 [AC_CHECK_LIB([dld], [dld_link],
1858 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1859 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1863 @@ -822,7 +1834,6 @@
1864 case $lt_cv_dlopen in
1866 save_CPPFLAGS="$CPPFLAGS"
1867 - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1868 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1870 save_LDFLAGS="$LDFLAGS"
1871 @@ -866,707 +1877,1838 @@
1873 ])# AC_LIBTOOL_DLOPEN_SELF
1875 -AC_DEFUN([_LT_AC_LTCONFIG_HACK],
1876 -[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
1877 -# Sed substitution that helps us do robust quoting. It backslashifies
1878 -# metacharacters that are still active within double-quoted strings.
1879 -Xsed='sed -e s/^X//'
1880 -sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
1882 -# Same as above, but do not quote variable references.
1883 -double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
1885 -# Sed substitution to delay expansion of an escaped shell variable in a
1886 -# double_quote_subst'ed string.
1887 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1891 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1892 +# ---------------------------------
1893 +# Check to see if options -c and -o are simultaneously supported by compiler
1894 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1895 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1896 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1897 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1898 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1899 + $rm -r conftest 2>/dev/null
1903 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1905 + lt_compiler_flag="-o out/conftest2.$ac_objext"
1906 + # Insert the option either (1) after the last *FLAGS variable, or
1907 + # (2) before a word containing "conftest.", or (3) at the end.
1908 + # Note that $ac_compile itself does not contain backslashes and begins
1909 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1910 + lt_compile=`echo "$ac_compile" | $SED \
1911 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1912 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1913 + -e 's:$: $lt_compiler_flag:'`
1914 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1915 + (eval "$lt_compile" 2>out/conftest.err)
1917 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
1918 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1919 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
1921 + # The compiler can only warn and ignore the option if not recognized
1922 + # So say no if there are warnings
1923 + if test ! -s out/conftest.err; then
1924 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1929 + # SGI C++ compiler will create directory out/ii_files/ for
1930 + # template instantiation
1931 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1932 + $rm out/* && rmdir out
1937 +])# AC_LIBTOOL_PROG_CC_C_O
1939 -# Global variables:
1940 -default_ofile=libtool
1941 -can_build_shared=yes
1943 -# All known linkers require a `.a' archive for static linking (except M$VC,
1944 -# which needs '.lib').
1946 -ltmain="$ac_aux_dir/ltmain.sh"
1947 -ofile="$default_ofile"
1948 -with_gnu_ld="$lt_cv_prog_gnu_ld"
1949 -need_locks="$enable_libtool_lock"
1950 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1951 +# -----------------------------------------
1952 +# Check to see if we can do hard links to lock some files if needed
1953 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1954 +[AC_REQUIRE([_LT_AC_LOCK])dnl
1957 -old_CFLAGS="$CFLAGS"
1958 +hard_links="nottested"
1959 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1960 + # do not overwrite the value of need_locks provided by the user
1961 + AC_MSG_CHECKING([if we can lock with hard links])
1964 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1966 + ln conftest.a conftest.b 2>&5 || hard_links=no
1967 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1968 + AC_MSG_RESULT([$hard_links])
1969 + if test "$hard_links" = no; then
1970 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1976 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1978 -# Set sane defaults for various variables
1979 -test -z "$AR" && AR=ar
1980 -test -z "$AR_FLAGS" && AR_FLAGS=cru
1981 -test -z "$AS" && AS=as
1982 -test -z "$CC" && CC=cc
1983 -test -z "$DLLTOOL" && DLLTOOL=dlltool
1984 -test -z "$LD" && LD=ld
1985 -test -z "$LN_S" && LN_S="ln -s"
1986 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
1987 -test -z "$NM" && NM=nm
1988 -test -z "$OBJDUMP" && OBJDUMP=objdump
1989 -test -z "$RANLIB" && RANLIB=:
1990 -test -z "$STRIP" && STRIP=:
1991 -test -z "$ac_objext" && ac_objext=o
1993 -if test x"$host" != x"$build"; then
1994 - ac_tool_prefix=${host_alias}-
1995 +# AC_LIBTOOL_OBJDIR
1996 +# -----------------
1997 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
1998 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1999 +[rm -f .libs 2>/dev/null
2000 +mkdir .libs 2>/dev/null
2001 +if test -d .libs; then
2002 + lt_cv_objdir=.libs
2005 + # MS-DOS does not allow filenames that begin with a dot.
2006 + lt_cv_objdir=_libs
2008 +rmdir .libs 2>/dev/null])
2009 +objdir=$lt_cv_objdir
2010 +])# AC_LIBTOOL_OBJDIR
2012 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
2015 -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
2020 - # AIX sometimes has problems with the GCC collect2 program. For some
2021 - # reason, if we set the COLLECT_NAMES environment variable, the problems
2022 - # vanish in a puff of smoke.
2023 - if test "X${COLLECT_NAMES+set}" != Xset; then
2025 - export COLLECT_NAMES
2026 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2027 +# ----------------------------------------------
2028 +# Check hardcoding attributes.
2029 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2030 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
2031 +_LT_AC_TAGVAR(hardcode_action, $1)=
2032 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2033 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
2034 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
2036 + # We can hardcode non-existant directories.
2037 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2038 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
2039 + # have to relink, otherwise we might link with an installed library
2040 + # when we should be linking with a yet-to-be-installed one
2041 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2042 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2043 + # Linking always hardcodes the temporary library directory.
2044 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
2046 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
2047 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2052 + # We cannot hardcode anything, or else we can only hardcode existing
2054 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2056 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2058 -# Determine commands to create old-style static archives.
2059 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
2060 -old_postinstall_cmds='chmod 644 $oldlib'
2061 -old_postuninstall_cmds=
2062 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2063 + # Fast installation is not supported
2064 + enable_fast_install=no
2065 +elif test "$shlibpath_overrides_runpath" = yes ||
2066 + test "$enable_shared" = no; then
2067 + # Fast installation is not necessary
2068 + enable_fast_install=needless
2070 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2072 -if test -n "$RANLIB"; then
2074 +# AC_LIBTOOL_SYS_LIB_STRIP
2075 +# ------------------------
2076 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2079 +AC_MSG_CHECKING([whether stripping libraries is possible])
2080 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2081 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2082 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2083 + AC_MSG_RESULT([yes])
2085 +# FIXME - insert some real tests, host_os isn't really good enough
2088 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
2091 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
2093 + if test -n "$STRIP" ; then
2094 + striplib="$STRIP -x"
2095 + AC_MSG_RESULT([yes])
2097 + AC_MSG_RESULT([no])
2101 + AC_MSG_RESULT([no])
2104 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2106 +])# AC_LIBTOOL_SYS_LIB_STRIP
2108 -# Allow CC to be a program name with arguments.
2112 -AC_MSG_CHECKING([for objdir])
2113 -rm -f .libs 2>/dev/null
2114 -mkdir .libs 2>/dev/null
2115 -if test -d .libs; then
2117 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2118 +# -----------------------------
2119 +# PORTME Fill in your ld.so characteristics
2120 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2121 +[AC_MSG_CHECKING([dynamic linker characteristics])
2122 +library_names_spec=
2123 +libname_spec='lib$name'
2127 +postuninstall_cmds=
2131 +shlibpath_overrides_runpath=unknown
2133 +dynamic_linker="$host_os ld.so"
2134 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
2135 +if test "$GCC" = yes; then
2136 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2137 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
2138 + # if the path contains ";" then we assume it to be the separator
2139 + # otherwise default to the standard path separator (i.e. ":") - it is
2140 + # assumed that no part of a normal pathname contains ";" but that should
2141 + # okay in the real world where ";" in dirpaths is itself problematic.
2142 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2144 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2147 - # MS-DOS does not allow filenames that begin with a dot.
2149 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2151 -rmdir .libs 2>/dev/null
2152 -AC_MSG_RESULT($objdir)
2154 +need_lib_prefix=unknown
2155 +hardcode_into_libs=no
2158 -[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
2159 -pic_mode="$withval", pic_mode=default)
2160 -test -z "$pic_mode" && pic_mode=default
2161 +# when you set need_version to no, make sure it does not cause -set_version
2162 +# flags to be left without arguments
2163 +need_version=unknown
2165 -# We assume here that the value for lt_cv_prog_cc_pic will not be cached
2166 -# in isolation, and that seeing it set (from the cache) indicates that
2167 -# the associated values are set (in the cache) correctly too.
2168 -AC_MSG_CHECKING([for $compiler option to produce PIC])
2169 -AC_CACHE_VAL(lt_cv_prog_cc_pic,
2170 -[ lt_cv_prog_cc_pic=
2171 - lt_cv_prog_cc_shlib=
2173 - lt_cv_prog_cc_static=
2174 - lt_cv_prog_cc_no_builtin=
2175 - lt_cv_prog_cc_can_build_shared=$can_build_shared
2178 + version_type=linux
2179 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2180 + shlibpath_var=LIBPATH
2182 - if test "$GCC" = yes; then
2183 - lt_cv_prog_cc_wl='-Wl,'
2184 - lt_cv_prog_cc_static='-static'
2185 + # AIX 3 has no versioning support, so we append a major version to the name.
2186 + soname_spec='${libname}${release}${shared_ext}$major'
2191 - # Below there is a dirty hack to force normal static linking with -ldl
2192 - # The problem is because libdl dynamically linked with both libc and
2193 - # libC (AIX C++ library), which obviously doesn't included in libraries
2194 - # list by gcc. This cause undefined symbols with -static flags.
2195 - # This hack allows C programs to be linked with "-static -ldl", but
2196 - # not sure about C++ programs.
2197 - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
2200 - # FIXME: we need at least 68020 code to build shared libraries, but
2201 - # adding the `-m68020' flag to GCC prevents building anything better,
2203 - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
2205 - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2206 - # PIC is the default for these OSes.
2208 - darwin* | rhapsody*)
2209 - # PIC is the default on this platform
2210 - # Common symbols not allowed in MH_DYLIB files
2211 - lt_cv_prog_cc_pic='-fno-common'
2213 - cygwin* | mingw* | pw32* | os2*)
2214 - # This hack is so that the source file can tell whether it is being
2215 - # built for inclusion in a dll (and should export symbols for example).
2216 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
2219 - if test -d /usr/nec; then
2220 - lt_cv_prog_cc_pic=-Kconform_pic
2224 - lt_cv_prog_cc_pic='-fPIC'
2228 + version_type=linux
2229 + need_lib_prefix=no
2231 + hardcode_into_libs=yes
2232 + if test "$host_cpu" = ia64; then
2233 + # AIX 5 supports IA64
2234 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2235 + shlibpath_var=LD_LIBRARY_PATH
2237 - # PORTME Check for PIC flags for the system compiler.
2238 + # With GCC up to 2.95.x, collect2 would create an import file
2239 + # for dependence libraries. The import file would start with
2240 + # the line `#! .'. This would cause the generated library to
2241 + # depend on `.', always an invalid library. This was fixed in
2242 + # development snapshots of GCC prior to 3.0.
2244 - aix3* | aix4* | aix5*)
2245 - lt_cv_prog_cc_wl='-Wl,'
2246 - # All AIX code is PIC.
2247 - if test "$host_cpu" = ia64; then
2248 - # AIX 5 now supports IA64 processor
2249 - lt_cv_prog_cc_static='-Bstatic'
2250 + aix4 | aix4.[[01]] | aix4.[[01]].*)
2251 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2253 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2256 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
2257 + can_build_shared=no
2261 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2262 + # soname into executable. Probably we can add versioning support to
2263 + # collect2, so additional links can be useful in future.
2264 + if test "$aix_use_runtimelinking" = yes; then
2265 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2266 + # instead of lib<name>.a to let people know that these are not
2267 + # typical AIX shared libraries.
2268 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2270 + # We preserve .a as extension for shared libraries through AIX4.2
2271 + # and later when we are not doing run time linking.
2272 + library_names_spec='${libname}${release}.a $libname.a'
2273 + soname_spec='${libname}${release}${shared_ext}$major'
2275 + shlibpath_var=LIBPATH
2279 - hpux9* | hpux10* | hpux11*)
2280 - # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
2281 - lt_cv_prog_cc_wl='-Wl,'
2282 - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
2283 - lt_cv_prog_cc_pic='+Z'
2286 - irix5* | irix6* | nonstopux*)
2287 - lt_cv_prog_cc_wl='-Wl,'
2288 - lt_cv_prog_cc_static='-non_shared'
2289 - # PIC (with -KPIC) is the default.
2292 - cygwin* | mingw* | pw32* | os2*)
2293 - # This hack is so that the source file can tell whether it is being
2294 - # built for inclusion in a dll (and should export symbols for example).
2295 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
2299 - lt_cv_prog_cc_pic='-KPIC'
2300 - lt_cv_prog_cc_static='-Bstatic'
2303 - osf3* | osf4* | osf5*)
2304 - # All OSF/1 code is PIC.
2305 - lt_cv_prog_cc_wl='-Wl,'
2306 - lt_cv_prog_cc_static='-non_shared'
2309 + library_names_spec='$libname.ixlibrary $libname.a'
2310 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
2311 + 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'
2315 - lt_cv_prog_cc_pic='-Kpic'
2316 - lt_cv_prog_cc_static='-dn'
2317 - lt_cv_prog_cc_shlib='-belf'
2320 + library_names_spec='${libname}${shared_ext}'
2321 + dynamic_linker="$host_os ld.so"
2322 + shlibpath_var=LIBRARY_PATH
2326 - lt_cv_prog_cc_pic='-KPIC'
2327 - lt_cv_prog_cc_static='-Bstatic'
2328 - lt_cv_prog_cc_wl='-Wl,'
2331 + version_type=linux
2333 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2334 + soname_spec='${libname}${release}${shared_ext}$major'
2335 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2336 + shlibpath_var=LD_LIBRARY_PATH
2337 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2338 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2339 + # the default ld.so.conf also contains /usr/contrib/lib and
2340 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2341 + # libtool to hard-code these into programs
2345 - lt_cv_prog_cc_pic='-PIC'
2346 - lt_cv_prog_cc_static='-Bstatic'
2347 - lt_cv_prog_cc_wl='-Qoption ld '
2349 +cygwin* | mingw* | pw32*)
2350 + version_type=windows
2351 + shrext_cmds=".dll"
2353 + need_lib_prefix=no
2355 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2356 - lt_cv_prog_cc_pic='-KPIC'
2357 - lt_cv_prog_cc_static='-Bstatic'
2358 - lt_cv_prog_cc_wl='-Wl,'
2360 + case $GCC,$host_os in
2361 + yes,cygwin* | yes,mingw* | yes,pw32*)
2362 + library_names_spec='$libname.dll.a'
2363 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
2364 + postinstall_cmds='base_file=`basename \${file}`~
2365 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
2366 + dldir=$destdir/`dirname \$dlpath`~
2367 + test -d \$dldir || mkdir -p \$dldir~
2368 + $install_prog $dir/$dlname \$dldir/$dlname'
2369 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2370 + dlpath=$dir/\$dldll~
2372 + shlibpath_overrides_runpath=yes
2375 - lt_cv_prog_cc_pic='-pic'
2376 - lt_cv_prog_cc_static='-Bstatic'
2379 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2380 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2381 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2385 - if test -d /usr/nec ;then
2386 - lt_cv_prog_cc_pic='-Kconform_pic'
2387 - lt_cv_prog_cc_static='-Bstatic'
2389 + # MinGW DLLs use traditional 'lib' prefix
2390 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2391 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2392 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
2393 + # It is most probably a Windows format PATH printed by
2394 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
2395 + # path with ; separators, and with drive letters. We can handle the
2396 + # drive letters (cygwin fileutils understands them), so leave them,
2397 + # especially as we might pass files found there to a mingw objdump,
2398 + # which wouldn't understand a cygwinified path. Ahh.
2399 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2401 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2406 - lt_cv_prog_cc_can_build_shared=no
2408 + # pw32 DLLs use 'pw' prefix rather than 'lib'
2409 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
2414 -if test -z "$lt_cv_prog_cc_pic"; then
2415 - AC_MSG_RESULT([none])
2417 - AC_MSG_RESULT([$lt_cv_prog_cc_pic])
2419 - # Check to make sure the pic_flag actually works.
2420 - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
2421 - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
2422 - save_CFLAGS="$CFLAGS"
2423 - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2424 - AC_TRY_COMPILE([], [], [dnl
2426 - hpux9* | hpux10* | hpux11*)
2427 - # On HP-UX, both CC and GCC only warn that PIC is supported... then
2428 - # they create non-PIC objects. So, if there were any warnings, we
2429 - # assume that PIC is not supported.
2430 - if test -s conftest.err; then
2431 - lt_cv_prog_cc_pic_works=no
2433 - lt_cv_prog_cc_pic_works=yes
2437 - lt_cv_prog_cc_pic_works=yes
2441 - lt_cv_prog_cc_pic_works=no
2443 - CFLAGS="$save_CFLAGS"
2446 - if test "X$lt_cv_prog_cc_pic_works" = Xno; then
2447 - lt_cv_prog_cc_pic=
2448 - lt_cv_prog_cc_can_build_shared=no
2450 - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
2453 - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
2456 -# Check for any special shared library compilation flags.
2457 -if test -n "$lt_cv_prog_cc_shlib"; then
2458 - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
2459 - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
2461 - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
2462 - lt_cv_prog_cc_can_build_shared=no
2466 -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
2467 -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
2468 - lt_cv_prog_cc_static_works=no
2469 - save_LDFLAGS="$LDFLAGS"
2470 - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
2471 - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
2472 - LDFLAGS="$save_LDFLAGS"
2475 -# Belt *and* braces to stop my trousers falling down:
2476 -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
2477 -AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
2479 -pic_flag="$lt_cv_prog_cc_pic"
2480 -special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
2481 -wl="$lt_cv_prog_cc_wl"
2482 -link_static_flag="$lt_cv_prog_cc_static"
2483 -no_builtin_flag="$lt_cv_prog_cc_no_builtin"
2484 -can_build_shared="$lt_cv_prog_cc_can_build_shared"
2487 -# Check to see if options -o and -c are simultaneously supported by compiler
2488 -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
2489 -AC_CACHE_VAL([lt_cv_compiler_c_o], [
2490 -$rm -r conftest 2>/dev/null
2493 -echo "int some_variable = 0;" > conftest.$ac_ext
2495 -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
2496 -# that will create temporary files in the current directory regardless of
2497 -# the output directory. Thus, making CWD read-only will cause this test
2498 -# to fail, enabling locking or at least warning the user not to do parallel
2501 -save_CFLAGS="$CFLAGS"
2502 -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
2504 -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
2505 - # The compiler can only warn and ignore the option if not recognized
2506 - # So say no if there are warnings
2507 - if test -s out/conftest.err; then
2508 - lt_cv_compiler_c_o=no
2510 - lt_cv_compiler_c_o=yes
2513 - # Append any errors to the config.log.
2514 - cat out/conftest.err 1>&AC_FD_CC
2515 - lt_cv_compiler_c_o=no
2517 -CFLAGS="$save_CFLAGS"
2519 -$rm conftest* out/*
2523 -$rm -r conftest 2>/dev/null
2525 -compiler_c_o=$lt_cv_compiler_c_o
2526 -AC_MSG_RESULT([$compiler_c_o])
2528 -if test x"$compiler_c_o" = x"yes"; then
2529 - # Check to see if we can write to a .lo
2530 - AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
2531 - AC_CACHE_VAL([lt_cv_compiler_o_lo], [
2532 - lt_cv_compiler_o_lo=no
2533 - save_CFLAGS="$CFLAGS"
2534 - CFLAGS="$CFLAGS -c -o conftest.lo"
2535 - save_objext="$ac_objext"
2537 - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
2538 - # The compiler can only warn and ignore the option if not recognized
2539 - # So say no if there are warnings
2540 - if test -s conftest.err; then
2541 - lt_cv_compiler_o_lo=no
2543 - lt_cv_compiler_o_lo=yes
2546 - ac_objext="$save_objext"
2547 - CFLAGS="$save_CFLAGS"
2549 - compiler_o_lo=$lt_cv_compiler_o_lo
2550 - AC_MSG_RESULT([$compiler_o_lo])
2555 -# Check to see if we can do hard links to lock some files if needed
2556 -hard_links="nottested"
2557 -if test "$compiler_c_o" = no && test "$need_locks" != no; then
2558 - # do not overwrite the value of need_locks provided by the user
2559 - AC_MSG_CHECKING([if we can lock with hard links])
2562 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
2564 - ln conftest.a conftest.b 2>&5 || hard_links=no
2565 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
2566 - AC_MSG_RESULT([$hard_links])
2567 - if test "$hard_links" = no; then
2568 - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
2576 -if test "$GCC" = yes; then
2577 - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
2578 - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
2579 - echo "int some_variable = 0;" > conftest.$ac_ext
2580 - save_CFLAGS="$CFLAGS"
2581 - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
2582 - compiler_rtti_exceptions=no
2583 - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
2584 - # The compiler can only warn and ignore the option if not recognized
2585 - # So say no if there are warnings
2586 - if test -s conftest.err; then
2587 - compiler_rtti_exceptions=no
2589 - compiler_rtti_exceptions=yes
2592 - CFLAGS="$save_CFLAGS"
2593 - AC_MSG_RESULT([$compiler_rtti_exceptions])
2595 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2598 + dynamic_linker='Win32 ld.exe'
2599 + # FIXME: first we should search . and the directory the executable is in
2600 + shlibpath_var=PATH
2603 - if test "$compiler_rtti_exceptions" = "yes"; then
2604 - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
2605 +darwin* | rhapsody*)
2606 + dynamic_linker="$host_os dyld"
2607 + version_type=darwin
2608 + need_lib_prefix=no
2610 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2611 + soname_spec='${libname}${release}${major}$shared_ext'
2612 + shlibpath_overrides_runpath=yes
2613 + shlibpath_var=DYLD_LIBRARY_PATH
2614 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
2615 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2616 + if test "$GCC" = yes; then
2617 + 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"`
2619 - no_builtin_flag=' -fno-builtin'
2620 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2624 -# See if the linker supports building shared libraries.
2625 -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
2627 -allow_undefined_flag=
2629 -need_lib_prefix=unknown
2630 -need_version=unknown
2631 -# when you set need_version to no, make sure it does not cause -set_version
2632 -# flags to be left without arguments
2634 -archive_expsym_cmds=
2635 -old_archive_from_new_cmds=
2636 -old_archive_from_expsyms_cmds=
2637 -export_dynamic_flag_spec=
2638 -whole_archive_flag_spec=
2639 -thread_safe_flag_spec=
2640 -hardcode_into_libs=no
2641 -hardcode_libdir_flag_spec=
2642 -hardcode_libdir_separator=
2644 -hardcode_minus_L=no
2645 -hardcode_shlibpath_var=unsupported
2647 -link_all_deplibs=unknown
2648 -always_export_symbols=no
2649 -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
2650 -# include_expsyms should be a list of space-separated symbols to be *always*
2651 -# included in the symbol list
2653 -# exclude_expsyms can be an egrep regular expression of symbols to exclude
2654 -# it will be wrapped by ` (' and `)$', so one must not match beginning or
2655 -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
2656 -# as well as any symbol that contains `d'.
2657 -exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
2658 -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
2659 -# platforms (ab)use it in PIC code, but their linkers get confused if
2660 -# the symbol is explicitly referenced. Since portable code cannot
2661 -# rely on this symbol name, it's probably fine to never include it in
2662 -# preloaded symbol tables.
2663 -extract_expsyms_cmds=
2664 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2668 -cygwin* | mingw* | pw32*)
2669 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
2670 - # When not using gcc, we currently assume that we are using
2671 - # Microsoft Visual C++.
2672 - if test "$GCC" != yes; then
2676 + version_type=linux
2677 + need_lib_prefix=no
2679 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2680 + soname_spec='${libname}${release}${shared_ext}$major'
2681 + shlibpath_var=LD_LIBRARY_PATH
2692 -if test "$with_gnu_ld" = yes; then
2693 - # If archive_cmds runs LD, not CC, wlarc should be empty
2696 + version_type=linux
2697 + need_lib_prefix=no
2699 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2700 + soname_spec='${libname}${release}${shared_ext}$major'
2701 + shlibpath_var=LD_LIBRARY_PATH
2702 + shlibpath_overrides_runpath=no
2703 + hardcode_into_libs=yes
2704 + dynamic_linker='GNU ld.so'
2707 - # See if GNU ld supports shared libraries.
2709 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
2710 + version_type=freebsd-$objformat
2711 + case $version_type in
2713 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2715 + need_lib_prefix=no
2718 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2722 + shlibpath_var=LD_LIBRARY_PATH
2724 - aix3* | aix4* | aix5*)
2725 - # On AIX, the GNU linker is very broken
2726 - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
2730 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
2731 -*** to be unable to reliably create shared libraries on AIX.
2732 -*** Therefore, libtool is disabling shared libraries support. If you
2733 -*** really care for shared libraries, you may want to modify your PATH
2734 -*** so that a non-GNU linker is found, and then restart.
2738 + shlibpath_overrides_runpath=yes
2742 - 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)'
2743 - hardcode_libdir_flag_spec='-L$libdir'
2744 - hardcode_minus_L=yes
2746 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
2747 - # that the semantics of dynamic libraries on AmigaOS, at least up
2748 - # to version 4, is to share data among multiple programs linked
2749 - # with the same dynamic library. Since this doesn't match the
2750 - # behavior of shared libraries on other platforms, we can use
2753 + freebsd3.[01]* | freebsdelf3.[01]*)
2754 + shlibpath_overrides_runpath=yes
2755 + hardcode_into_libs=yes
2759 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
2760 - allow_undefined_flag=unsupported
2761 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2762 - # support --undefined. This deserves some investigation. FIXME
2763 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2768 + shlibpath_overrides_runpath=no
2769 + hardcode_into_libs=yes
2774 - cygwin* | mingw* | pw32*)
2775 - # hardcode_libdir_flag_spec is actually meaningless, as there is
2776 - # no search path for DLLs.
2777 - hardcode_libdir_flag_spec='-L$libdir'
2778 - allow_undefined_flag=unsupported
2779 - always_export_symbols=yes
2781 - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
2782 - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
2783 - test -f $output_objdir/impgen.exe || (cd $output_objdir && \
2784 - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
2785 - else $CC -o impgen impgen.c ; fi)~
2786 - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
2788 - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
2790 - # cygwin and mingw dlls have different entry points and sets of symbols
2792 - # FIXME: what about values for MSVC?
2793 - dll_entry=__cygwin_dll_entry@12
2794 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
2798 - dll_entry=_DllMainCRTStartup@12
2799 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
2803 - # mingw and cygwin differ, and it's simplest to just exclude the union
2804 - # of the two symbol sets.
2805 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
2807 - # recent cygwin and mingw systems supply a stub DllMain which the user
2808 - # can override, but on older systems we have to supply one (in ltdll.c)
2809 - if test "x$lt_cv_need_dllmain" = "xyes"; then
2810 - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
2811 - 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~
2812 - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
2818 - # Extract the symbol export list from an `--export-all' def file,
2819 - # then regenerate the def file from the symbol export list, so that
2820 - # the compiled dll only exports the symbol export list.
2821 - # Be careful not to strip the DATA tag left be newer dlltools.
2822 - export_symbols_cmds="$ltdll_cmds"'
2823 - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
2824 - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
2826 - # If the export-symbols file already is a .def file (1st line
2827 - # is EXPORTS), use it as is.
2828 - # If DATA tags from a recent dlltool are present, honour them!
2829 - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
2830 - cp $export_symbols $output_objdir/$soname-def;
2832 - echo EXPORTS > $output_objdir/$soname-def;
2834 - cat $export_symbols | while read symbol; do
2835 - set dummy \$symbol;
2837 - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
2838 - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
2839 - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
2841 - _lt_hint=`expr 1 + \$_lt_hint`;
2845 - $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~
2846 - $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~
2847 - $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~
2848 - $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~
2849 - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
2851 + version_type=linux
2852 + need_lib_prefix=no
2854 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2855 + soname_spec='${libname}${release}${shared_ext}$major'
2856 + shlibpath_var=LD_LIBRARY_PATH
2857 + hardcode_into_libs=yes
2860 +hpux9* | hpux10* | hpux11*)
2861 + # Give a soname corresponding to the major version so that dld.sl refuses to
2862 + # link against other versions.
2863 + version_type=sunos
2864 + need_lib_prefix=no
2866 + case "$host_cpu" in
2869 + hardcode_into_libs=yes
2870 + dynamic_linker="$host_os dld.so"
2871 + shlibpath_var=LD_LIBRARY_PATH
2872 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2873 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2874 + soname_spec='${libname}${release}${shared_ext}$major'
2875 + if test "X$HPUX_IA64_MODE" = X32; then
2876 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2878 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2880 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2884 + hardcode_into_libs=yes
2885 + dynamic_linker="$host_os dld.sl"
2886 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2887 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2888 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2889 + soname_spec='${libname}${release}${shared_ext}$major'
2890 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2891 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2895 + dynamic_linker="$host_os dld.sl"
2896 + shlibpath_var=SHLIB_PATH
2897 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2898 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2899 + soname_spec='${libname}${release}${shared_ext}$major'
2902 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
2903 + postinstall_cmds='chmod 555 $lib'
2906 +irix5* | irix6* | nonstopux*)
2908 + nonstopux*) version_type=nonstopux ;;
2910 + if test "$lt_cv_prog_gnu_ld" = yes; then
2911 + version_type=linux
2916 + need_lib_prefix=no
2918 + soname_spec='${libname}${release}${shared_ext}$major'
2919 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2921 + irix5* | nonstopux*)
2922 + libsuff= shlibsuff=
2925 + case $LD in # libtool.m4 will add one of these switches to LD
2926 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2927 + libsuff= shlibsuff= libmagic=32-bit;;
2928 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2929 + libsuff=32 shlibsuff=N32 libmagic=N32;;
2930 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2931 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
2932 + *) libsuff= shlibsuff= libmagic=never-match;;
2936 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2937 + shlibpath_overrides_runpath=no
2938 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2939 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2940 + hardcode_into_libs=yes
2943 +# No shared lib support for Linux oldld, aout, or coff.
2944 +linux*oldld* | linux*aout* | linux*coff*)
2948 +# This must be Linux ELF.
2950 + version_type=linux
2951 + need_lib_prefix=no
2953 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2954 + soname_spec='${libname}${release}${shared_ext}$major'
2955 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2956 + shlibpath_var=LD_LIBRARY_PATH
2957 + shlibpath_overrides_runpath=no
2958 + # This implies no fast_install, which is unacceptable.
2959 + # Some rework will be needed to allow for fast_install
2960 + # before this can be enabled.
2961 + hardcode_into_libs=yes
2963 + # Append ld.so.conf contents to the search path
2964 + if test -f /etc/ld.so.conf; then
2965 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
2966 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2969 + # We used to test for /lib/ld.so.1 and disable shared libraries on
2970 + # powerpc, because MkLinux only supported shared libraries with the
2971 + # GNU dynamic linker. Since this was broken with cross compilers,
2972 + # most powerpc-linux boxes support dynamic linking these days and
2973 + # people can always --disable-shared, the test was removed, and we
2974 + # assume the GNU/Linux dynamic linker is in use.
2975 + dynamic_linker='GNU/Linux ld.so'
2979 + version_type=linux
2980 + need_lib_prefix=no
2982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2983 + soname_spec='${libname}${release}${shared_ext}$major'
2984 + shlibpath_var=LD_LIBRARY_PATH
2985 + shlibpath_overrides_runpath=no
2986 + hardcode_into_libs=yes
2987 + dynamic_linker='NetBSD ld.elf_so'
2991 + version_type=linux
2992 + need_lib_prefix=no
2994 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2995 + soname_spec='${libname}${release}${shared_ext}$major'
2996 + shlibpath_var=LD_LIBRARY_PATH
2997 + shlibpath_overrides_runpath=no
2998 + hardcode_into_libs=yes
2999 + dynamic_linker='GNU ld.so'
3003 + version_type=sunos
3004 + need_lib_prefix=no
3006 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3007 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3008 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3009 + dynamic_linker='NetBSD (a.out) ld.so'
3011 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3012 + soname_spec='${libname}${release}${shared_ext}$major'
3013 + dynamic_linker='NetBSD ld.elf_so'
3015 + shlibpath_var=LD_LIBRARY_PATH
3016 + shlibpath_overrides_runpath=yes
3017 + hardcode_into_libs=yes
3021 + version_type=linux
3022 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3023 + shlibpath_var=LD_LIBRARY_PATH
3024 + shlibpath_overrides_runpath=yes
3028 + version_type=linux
3029 + need_lib_prefix=no
3031 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3032 + soname_spec='${libname}${release}${shared_ext}$major'
3033 + shlibpath_var=LD_LIBRARY_PATH
3034 + shlibpath_overrides_runpath=yes
3038 + version_type=sunos
3039 + need_lib_prefix=no
3041 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3042 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3043 + shlibpath_var=LD_LIBRARY_PATH
3044 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3046 + openbsd2.[[89]] | openbsd2.[[89]].*)
3047 + shlibpath_overrides_runpath=no
3050 + shlibpath_overrides_runpath=yes
3054 + shlibpath_overrides_runpath=yes
3059 + libname_spec='$name'
3060 + shrext_cmds=".dll"
3061 + need_lib_prefix=no
3062 + library_names_spec='$libname${shared_ext} $libname.a'
3063 + dynamic_linker='OS/2 ld.exe'
3064 + shlibpath_var=LIBPATH
3067 +osf3* | osf4* | osf5*)
3069 + need_lib_prefix=no
3071 + soname_spec='${libname}${release}${shared_ext}$major'
3072 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3073 + shlibpath_var=LD_LIBRARY_PATH
3074 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3075 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3080 + soname_spec='${libname}${release}${shared_ext}$major'
3081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3082 + shlibpath_var=LD_LIBRARY_PATH
3086 + version_type=linux
3087 + need_lib_prefix=no
3089 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3090 + soname_spec='${libname}${release}${shared_ext}$major'
3091 + shlibpath_var=LD_LIBRARY_PATH
3092 + shlibpath_overrides_runpath=yes
3093 + hardcode_into_libs=yes
3094 + # ldd complains unless libraries are executable
3095 + postinstall_cmds='chmod +x $lib'
3099 + version_type=sunos
3100 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3101 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3102 + shlibpath_var=LD_LIBRARY_PATH
3103 + shlibpath_overrides_runpath=yes
3104 + if test "$with_gnu_ld" = yes; then
3105 + need_lib_prefix=no
3110 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3111 + version_type=linux
3112 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3113 + soname_spec='${libname}${release}${shared_ext}$major'
3114 + shlibpath_var=LD_LIBRARY_PATH
3115 + case $host_vendor in
3117 + shlibpath_overrides_runpath=no
3118 + need_lib_prefix=no
3119 + export_dynamic_flag_spec='${wl}-Blargedynsym'
3120 + runpath_var=LD_RUN_PATH
3123 + need_lib_prefix=no
3126 + need_lib_prefix=no
3128 + shlibpath_overrides_runpath=no
3129 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3135 + if test -d /usr/nec ;then
3136 + version_type=linux
3137 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
3138 + soname_spec='$libname${shared_ext}.$major'
3139 + shlibpath_var=LD_LIBRARY_PATH
3144 + version_type=linux
3145 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3146 + soname_spec='${libname}${release}${shared_ext}$major'
3147 + shlibpath_var=LD_LIBRARY_PATH
3154 +AC_MSG_RESULT([$dynamic_linker])
3155 +test "$dynamic_linker" = no && can_build_shared=no
3156 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3161 +AC_DEFUN([_LT_AC_TAGCONFIG],
3162 +[AC_ARG_WITH([tags],
3163 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
3164 + [include additional configurations @<:@automatic@:>@])],
3165 + [tagnames="$withval"])
3167 +if test -f "$ltmain" && test -n "$tagnames"; then
3168 + if test ! -f "${ofile}"; then
3169 + AC_MSG_WARN([output file `$ofile' does not exist])
3172 + if test -z "$LTCC"; then
3173 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
3174 + if test -z "$LTCC"; then
3175 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
3177 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
3181 + # Extract list of available tagged configurations in $ofile.
3182 + # Note that this assumes the entire list is on one line.
3183 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
3185 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3186 + for tagname in $tagnames; do
3187 + IFS="$lt_save_ifs"
3188 + # Check whether tagname contains only valid characters
3189 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
3191 + *) AC_MSG_ERROR([invalid tag name: $tagname])
3195 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
3197 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
3200 + # Update the list of available tags.
3201 + if test -n "$tagname"; then
3202 + echo appending configuration tag \"$tagname\" to $ofile
3206 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
3207 + AC_LIBTOOL_LANG_CXX_CONFIG
3214 + if test -n "$F77" && test "X$F77" != "Xno"; then
3215 + AC_LIBTOOL_LANG_F77_CONFIG
3222 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
3223 + AC_LIBTOOL_LANG_GCJ_CONFIG
3230 + AC_LIBTOOL_LANG_RC_CONFIG
3234 + AC_MSG_ERROR([Unsupported tag name: $tagname])
3238 + # Append the new tag name to the list of available tags.
3239 + if test -n "$tagname" ; then
3240 + available_tags="$available_tags $tagname"
3244 + IFS="$lt_save_ifs"
3246 + # Now substitute the updated list of available tags.
3247 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
3248 + mv "${ofile}T" "$ofile"
3252 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
3255 +])# _LT_AC_TAGCONFIG
3258 +# AC_LIBTOOL_DLOPEN
3259 +# -----------------
3260 +# enable checks for dlopen support
3261 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
3262 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
3263 +])# AC_LIBTOOL_DLOPEN
3266 +# AC_LIBTOOL_WIN32_DLL
3267 +# --------------------
3268 +# declare package support for building win32 dll's
3269 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
3270 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
3271 +])# AC_LIBTOOL_WIN32_DLL
3274 +# AC_ENABLE_SHARED([DEFAULT])
3275 +# ---------------------------
3276 +# implement the --enable-shared flag
3277 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3278 +AC_DEFUN([AC_ENABLE_SHARED],
3279 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
3280 +AC_ARG_ENABLE([shared],
3281 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
3282 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
3283 + [p=${PACKAGE-default}
3284 + case $enableval in
3285 + yes) enable_shared=yes ;;
3286 + no) enable_shared=no ;;
3289 + # Look at the argument we got. We use all the common list separators.
3290 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3291 + for pkg in $enableval; do
3292 + IFS="$lt_save_ifs"
3293 + if test "X$pkg" = "X$p"; then
3297 + IFS="$lt_save_ifs"
3300 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
3301 +])# AC_ENABLE_SHARED
3304 +# AC_DISABLE_SHARED
3305 +# -----------------
3306 +#- set the default shared flag to --disable-shared
3307 +AC_DEFUN([AC_DISABLE_SHARED],
3308 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3309 +AC_ENABLE_SHARED(no)
3310 +])# AC_DISABLE_SHARED
3313 +# AC_ENABLE_STATIC([DEFAULT])
3314 +# ---------------------------
3315 +# implement the --enable-static flag
3316 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3317 +AC_DEFUN([AC_ENABLE_STATIC],
3318 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
3319 +AC_ARG_ENABLE([static],
3320 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
3321 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
3322 + [p=${PACKAGE-default}
3323 + case $enableval in
3324 + yes) enable_static=yes ;;
3325 + no) enable_static=no ;;
3328 + # Look at the argument we got. We use all the common list separators.
3329 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3330 + for pkg in $enableval; do
3331 + IFS="$lt_save_ifs"
3332 + if test "X$pkg" = "X$p"; then
3336 + IFS="$lt_save_ifs"
3339 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
3340 +])# AC_ENABLE_STATIC
3343 +# AC_DISABLE_STATIC
3344 +# -----------------
3345 +# set the default static flag to --disable-static
3346 +AC_DEFUN([AC_DISABLE_STATIC],
3347 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3348 +AC_ENABLE_STATIC(no)
3349 +])# AC_DISABLE_STATIC
3352 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
3353 +# ---------------------------------
3354 +# implement the --enable-fast-install flag
3355 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3356 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
3357 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
3358 +AC_ARG_ENABLE([fast-install],
3359 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
3360 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
3361 + [p=${PACKAGE-default}
3362 + case $enableval in
3363 + yes) enable_fast_install=yes ;;
3364 + no) enable_fast_install=no ;;
3366 + enable_fast_install=no
3367 + # Look at the argument we got. We use all the common list separators.
3368 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3369 + for pkg in $enableval; do
3370 + IFS="$lt_save_ifs"
3371 + if test "X$pkg" = "X$p"; then
3372 + enable_fast_install=yes
3375 + IFS="$lt_save_ifs"
3378 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
3379 +])# AC_ENABLE_FAST_INSTALL
3382 +# AC_DISABLE_FAST_INSTALL
3383 +# -----------------------
3384 +# set the default to --disable-fast-install
3385 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
3386 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3387 +AC_ENABLE_FAST_INSTALL(no)
3388 +])# AC_DISABLE_FAST_INSTALL
3391 +# AC_LIBTOOL_PICMODE([MODE])
3392 +# --------------------------
3393 +# implement the --with-pic flag
3394 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3395 +AC_DEFUN([AC_LIBTOOL_PICMODE],
3396 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3397 +pic_mode=ifelse($#,1,$1,default)
3398 +])# AC_LIBTOOL_PICMODE
3403 +# This is predefined starting with Autoconf 2.54, so this conditional
3404 +# definition can be removed once we require Autoconf 2.54 or later.
3405 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
3406 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
3407 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3408 + then ac_cv_prog_egrep='grep -E'
3409 + else ac_cv_prog_egrep='egrep'
3411 + EGREP=$ac_cv_prog_egrep
3416 +# AC_PATH_TOOL_PREFIX
3417 +# -------------------
3418 +# find a file program which can recognise shared library
3419 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
3420 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3421 +AC_MSG_CHECKING([for $1])
3422 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3423 +[case $MAGIC_CMD in
3424 +[[\\/*] | ?:[\\/]*])
3425 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3428 + lt_save_MAGIC_CMD="$MAGIC_CMD"
3429 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3430 +dnl $ac_dummy forces splitting on constant user-supplied paths.
3431 +dnl POSIX.2 word splitting is done only on the output of word expansions,
3432 +dnl not every word. This closes a longstanding sh security hole.
3433 + ac_dummy="ifelse([$2], , $PATH, [$2])"
3434 + for ac_dir in $ac_dummy; do
3435 + IFS="$lt_save_ifs"
3436 + test -z "$ac_dir" && ac_dir=.
3437 + if test -f $ac_dir/$1; then
3438 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3439 + if test -n "$file_magic_test_file"; then
3440 + case $deplibs_check_method in
3442 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3443 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3444 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3445 + $EGREP "$file_magic_regex" > /dev/null; then
3450 +*** Warning: the command libtool uses to detect shared libraries,
3451 +*** $file_magic_cmd, produces output that libtool cannot recognize.
3452 +*** The result is that libtool may fail to recognize shared libraries
3453 +*** as such. This will affect the creation of libtool libraries that
3454 +*** depend on shared libraries, but programs linked with such libtool
3455 +*** libraries will work regardless of this problem. Nevertheless, you
3456 +*** may want to report the problem to your system manager and/or to
3457 +*** bug-libtool@gnu.org
3466 + IFS="$lt_save_ifs"
3467 + MAGIC_CMD="$lt_save_MAGIC_CMD"
3470 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3471 +if test -n "$MAGIC_CMD"; then
3472 + AC_MSG_RESULT($MAGIC_CMD)
3476 +])# AC_PATH_TOOL_PREFIX
3481 +# find a file program which can recognise a shared library
3482 +AC_DEFUN([AC_PATH_MAGIC],
3483 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3484 +if test -z "$lt_cv_path_MAGIC_CMD"; then
3485 + if test -n "$ac_tool_prefix"; then
3486 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3496 +# find the pathname to the GNU or non-GNU linker
3497 +AC_DEFUN([AC_PROG_LD],
3498 +[AC_ARG_WITH([gnu-ld],
3499 + [AC_HELP_STRING([--with-gnu-ld],
3500 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3501 + [test "$withval" = no || with_gnu_ld=yes],
3503 +AC_REQUIRE([LT_AC_PROG_SED])dnl
3504 +AC_REQUIRE([AC_PROG_CC])dnl
3505 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
3506 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3508 +if test "$GCC" = yes; then
3509 + # Check if gcc -print-prog-name=ld gives a path.
3510 + AC_MSG_CHECKING([for ld used by $CC])
3513 + # gcc leaves a trailing carriage return which upsets mingw
3514 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3516 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3519 + # Accept absolute paths.
3520 + [[\\/]]* | ?:[[\\/]]*)
3521 + re_direlt='/[[^/]][[^/]]*/\.\./'
3522 + # Canonicalize the pathname of ld
3523 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3524 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3525 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3527 + test -z "$LD" && LD="$ac_prog"
3530 + # If it fails, then pretend we aren't using GCC.
3534 + # If it is relative, then search for the first ld in PATH.
3535 + with_gnu_ld=unknown
3538 +elif test "$with_gnu_ld" = yes; then
3539 + AC_MSG_CHECKING([for GNU ld])
3541 + AC_MSG_CHECKING([for non-GNU ld])
3543 +AC_CACHE_VAL(lt_cv_path_LD,
3544 +[if test -z "$LD"; then
3545 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3546 + for ac_dir in $PATH; do
3547 + IFS="$lt_save_ifs"
3548 + test -z "$ac_dir" && ac_dir=.
3549 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3550 + lt_cv_path_LD="$ac_dir/$ac_prog"
3551 + # Check to see if the program is GNU ld. I'd rather use --version,
3552 + # but apparently some GNU ld's only accept -v.
3553 + # Break only if it was the GNU/non-GNU ld that we prefer.
3554 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3555 + *GNU* | *'with BFD'*)
3556 + test "$with_gnu_ld" != no && break
3559 + test "$with_gnu_ld" != yes && break
3564 + IFS="$lt_save_ifs"
3566 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
3568 +LD="$lt_cv_path_LD"
3569 +if test -n "$LD"; then
3570 + AC_MSG_RESULT($LD)
3574 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3581 +AC_DEFUN([AC_PROG_LD_GNU],
3582 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3583 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3584 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3585 +case `$LD -v 2>&1 </dev/null` in
3586 +*GNU* | *'with BFD'*)
3587 + lt_cv_prog_gnu_ld=yes
3590 + lt_cv_prog_gnu_ld=no
3593 +with_gnu_ld=$lt_cv_prog_gnu_ld
3597 +# AC_PROG_LD_RELOAD_FLAG
3598 +# ----------------------
3599 +# find reload flag for linker
3600 +# -- PORTME Some linkers may need a different reload flag.
3601 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3602 +[AC_CACHE_CHECK([for $LD option to reload object files],
3603 + lt_cv_ld_reload_flag,
3604 + [lt_cv_ld_reload_flag='-r'])
3605 +reload_flag=$lt_cv_ld_reload_flag
3606 +case $reload_flag in
3608 +*) reload_flag=" $reload_flag" ;;
3610 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
3611 +])# AC_PROG_LD_RELOAD_FLAG
3614 +# AC_DEPLIBS_CHECK_METHOD
3615 +# -----------------------
3616 +# how to check for library dependencies
3617 +# -- PORTME fill in with the dynamic library characteristics
3618 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3619 +[AC_CACHE_CHECK([how to recognise dependent libraries],
3620 +lt_cv_deplibs_check_method,
3621 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
3622 +lt_cv_file_magic_test_file=
3623 +lt_cv_deplibs_check_method='unknown'
3624 +# Need to set the preceding variable on all platforms that support
3625 +# interlibrary dependencies.
3626 +# 'none' -- dependencies not supported.
3627 +# `unknown' -- same as none, but documents that we really don't know.
3628 +# 'pass_all' -- all dependencies passed with no checks.
3629 +# 'test_compile' -- check by making test program.
3630 +# 'file_magic [[regex]]' -- check by looking for files in library path
3631 +# which responds to the $file_magic_cmd with a given extended regex.
3632 +# If you have `file' or equivalent on your system and you're not sure
3633 +# whether `pass_all' will *always* work, you probably want this one.
3637 + lt_cv_deplibs_check_method=pass_all
3641 + lt_cv_deplibs_check_method=pass_all
3645 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3646 + lt_cv_file_magic_cmd='/usr/bin/file -L'
3647 + lt_cv_file_magic_test_file=/shlib/libc.so
3651 + # func_win32_libid is a shell function defined in ltmain.sh
3652 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3653 + lt_cv_file_magic_cmd='func_win32_libid'
3657 + # Base MSYS/MinGW do not provide the 'file' command needed by
3658 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3659 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3660 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3663 +darwin* | rhapsody*)
3664 + lt_cv_deplibs_check_method=pass_all
3667 +freebsd* | kfreebsd*-gnu)
3668 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3671 + # Not sure whether the presence of OpenBSD here was a mistake.
3672 + # Let's accept both of them until this is cleared up.
3673 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
3674 + lt_cv_file_magic_cmd=/usr/bin/file
3675 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3679 + lt_cv_deplibs_check_method=pass_all
3684 + lt_cv_deplibs_check_method=pass_all
3687 +hpux10.20* | hpux11*)
3688 + lt_cv_file_magic_cmd=/usr/bin/file
3689 + case "$host_cpu" in
3691 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3692 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3695 + [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]']
3696 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3699 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3700 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
3705 +irix5* | irix6* | nonstopux*)
3707 + *-32|*"-32 ") libmagic=32-bit;;
3708 + *-n32|*"-n32 ") libmagic=N32;;
3709 + *-64|*"-64 ") libmagic=64-bit;;
3710 + *) libmagic=never-match;;
3712 + lt_cv_deplibs_check_method=pass_all
3715 +# This must be Linux ELF.
3717 + lt_cv_deplibs_check_method=pass_all
3720 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3721 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3722 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3724 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3729 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3730 + lt_cv_file_magic_cmd=/usr/bin/file
3731 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
3735 + lt_cv_deplibs_check_method=unknown
3739 + lt_cv_file_magic_cmd=/usr/bin/file
3740 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3741 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3742 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
3744 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3748 +osf3* | osf4* | osf5*)
3749 + lt_cv_deplibs_check_method=pass_all
3753 + lt_cv_deplibs_check_method=pass_all
3757 + lt_cv_deplibs_check_method=pass_all
3760 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3761 + case $host_vendor in
3763 + 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]]'
3764 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3767 + lt_cv_deplibs_check_method=pass_all
3770 + lt_cv_file_magic_cmd='/bin/file'
3771 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3774 + lt_cv_file_magic_cmd='/bin/file'
3775 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3776 + lt_cv_file_magic_test_file=/lib/libc.so
3779 + lt_cv_deplibs_check_method=pass_all
3784 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3785 + lt_cv_deplibs_check_method=pass_all
3789 +file_magic_cmd=$lt_cv_file_magic_cmd
3790 +deplibs_check_method=$lt_cv_deplibs_check_method
3791 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
3792 +])# AC_DEPLIBS_CHECK_METHOD
3795 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3796 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3799 - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3800 - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3804 +# find the pathname to a BSD-compatible name lister
3805 +AC_DEFUN([AC_PROG_NM],
3806 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3807 +[if test -n "$NM"; then
3808 + # Let the user override the test.
3809 + lt_cv_path_NM="$NM"
3811 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3812 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3813 + IFS="$lt_save_ifs"
3814 + test -z "$ac_dir" && ac_dir=.
3815 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3816 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3817 + # Check to see if the nm accepts a BSD-compat flag.
3818 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3819 + # nm: unknown option "B" ignored
3820 + # Tru64's nm complains that /dev/null is an invalid object file
3821 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3822 + */dev/null* | *'Invalid file or object type'*)
3823 + lt_cv_path_NM="$tmp_nm -B"
3827 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3829 + lt_cv_path_NM="$tmp_nm -p"
3833 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3834 + continue # so that we can try to find one that supports BSD flags
3841 + IFS="$lt_save_ifs"
3842 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3844 +NM="$lt_cv_path_NM"
3847 - solaris* | sysv5*)
3848 - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
3852 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
3853 -*** create shared libraries on Solaris systems. Therefore, libtool
3854 -*** is disabling shared libraries support. We urge you to upgrade GNU
3855 -*** binutils to release 2.9.1 or newer. Another option is to modify
3856 -*** your PATH or compiler configuration so that the native linker is
3857 -*** used, and then restart.
3860 +# check for math library
3861 +AC_DEFUN([AC_CHECK_LIBM],
3862 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3865 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3866 + # These system don't have libm, or don't need it
3869 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3870 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3873 + AC_CHECK_LIB(m, cos, LIBM="-lm")
3879 - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3880 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3881 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3888 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3890 - hardcode_direct=yes
3891 - hardcode_shlibpath_var=no
3893 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3894 +# -----------------------------------
3895 +# sets LIBLTDL to the link flags for the libltdl convenience library and
3896 +# LTDLINCL to the include flags for the libltdl header and adds
3897 +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
3898 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3899 +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
3900 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
3901 +# '${top_srcdir}/' (note the single quotes!). If your package is not
3902 +# flat and you're not using automake, define top_builddir and
3903 +# top_srcdir appropriately in the Makefiles.
3904 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3905 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3906 + case $enable_ltdl_convenience in
3907 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3908 + "") enable_ltdl_convenience=yes
3909 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3911 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3912 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3913 + # For backwards non-gettext consistent compatibility...
3914 + INCLTDL="$LTDLINCL"
3915 +])# AC_LIBLTDL_CONVENIENCE
3918 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3919 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3920 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3925 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3926 +# -----------------------------------
3927 +# sets LIBLTDL to the link flags for the libltdl installable library and
3928 +# LTDLINCL to the include flags for the libltdl header and adds
3929 +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
3930 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3931 +# DIRECTORY is not provided and an installed libltdl is not found, it is
3932 +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
3933 +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
3934 +# quotes!). If your package is not flat and you're not using automake,
3935 +# define top_builddir and top_srcdir appropriately in the Makefiles.
3936 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3937 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3938 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3939 + AC_CHECK_LIB(ltdl, lt_dlinit,
3940 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3941 + [if test x"$enable_ltdl_install" = xno; then
3942 + AC_MSG_WARN([libltdl not installed, but installation disabled])
3944 + enable_ltdl_install=yes
3947 + if test x"$enable_ltdl_install" = x"yes"; then
3948 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
3949 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3950 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3952 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3956 + # For backwards non-gettext consistent compatibility...
3957 + INCLTDL="$LTDLINCL"
3958 +])# AC_LIBLTDL_INSTALLABLE
3963 +# enable support for C++ libraries
3964 +AC_DEFUN([AC_LIBTOOL_CXX],
3965 +[AC_REQUIRE([_LT_AC_LANG_CXX])
3971 +AC_DEFUN([_LT_AC_LANG_CXX],
3972 +[AC_REQUIRE([AC_PROG_CXX])
3973 +AC_REQUIRE([AC_PROG_CXXCPP])
3974 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3975 +])# _LT_AC_LANG_CXX
3980 +# enable support for Fortran 77 libraries
3981 +AC_DEFUN([AC_LIBTOOL_F77],
3982 +[AC_REQUIRE([_LT_AC_LANG_F77])
3988 +AC_DEFUN([_LT_AC_LANG_F77],
3989 +[AC_REQUIRE([AC_PROG_F77])
3990 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3991 +])# _LT_AC_LANG_F77
3996 +# enable support for GCJ libraries
3997 +AC_DEFUN([AC_LIBTOOL_GCJ],
3998 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
4004 +AC_DEFUN([_LT_AC_LANG_GCJ],
4005 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
4006 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
4007 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
4008 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
4009 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
4010 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
4011 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
4012 +])# _LT_AC_LANG_GCJ
4017 +# enable support for Windows resource files
4018 +AC_DEFUN([AC_LIBTOOL_RC],
4019 +[AC_REQUIRE([LT_AC_PROG_RC])
4020 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
4024 +# AC_LIBTOOL_LANG_C_CONFIG
4025 +# ------------------------
4026 +# Ensure that the configuration vars for the C compiler are
4027 +# suitably defined. Those variables are subsequently used by
4028 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4029 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
4030 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
4034 +# Source file extension for C test sources.
4037 +# Object file extension for compiled C test sources.
4039 +_LT_AC_TAGVAR(objext, $1)=$objext
4041 +# Code to be used in simple compile tests
4042 +lt_simple_compile_test_code="int some_variable = 0;\n"
4044 +# Code to be used in simple link tests
4045 +lt_simple_link_test_code='int main(){return(0);}\n'
4047 +_LT_AC_SYS_COMPILER
4050 +# Check for any special shared library compilation flags.
4052 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
4053 +if test "$GCC" = no; then
4056 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
4060 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
4061 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
4062 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
4064 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
4065 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
4069 - if test "$ld_shlibs" = yes; then
4070 - runpath_var=LD_RUN_PATH
4071 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
4072 - export_dynamic_flag_spec='${wl}--export-dynamic'
4074 - cygwin* | mingw* | pw32*)
4075 - # dlltool doesn't understand --whole-archive et. al.
4076 - whole_archive_flag_spec=
4079 +# Check to make sure the static flag actually works.
4081 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
4082 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
4083 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
4085 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
4088 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4089 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4090 +AC_LIBTOOL_PROG_CC_C_O($1)
4091 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4092 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4093 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4094 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4095 +AC_LIBTOOL_SYS_LIB_STRIP
4096 +AC_LIBTOOL_DLOPEN_SELF($1)
4098 +# Report which librarie types wil actually be built
4099 +AC_MSG_CHECKING([if libtool supports shared libraries])
4100 +AC_MSG_RESULT([$can_build_shared])
4102 +AC_MSG_CHECKING([whether to build shared libraries])
4103 +test "$can_build_shared" = "no" && enable_shared=no
4105 +# On AIX, shared libraries and static libraries use the same namespace, and
4106 +# are all built from PIC.
4109 + test "$enable_shared" = yes && enable_static=no
4110 + if test -n "$RANLIB"; then
4111 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4112 + postinstall_cmds='$RANLIB $lib'
4117 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4118 + test "$enable_shared" = yes && enable_static=no
4121 + darwin* | rhapsody*)
4122 + if test "$GCC" = yes; then
4123 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4124 + case "$host_os" in
4125 + rhapsody* | darwin1.[[012]])
4126 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
4129 - # ancient GNU ld didn't support --whole-archive et. al.
4130 - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
4131 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4132 + *) # Darwin 1.3 on
4133 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4134 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4136 - whole_archive_flag_spec=
4137 + case ${MACOSX_DEPLOYMENT_TARGET} in
4139 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4142 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
4148 + output_verbose_link_cmd='echo'
4149 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
4150 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4151 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
4152 + _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}'
4153 + _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}'
4154 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4155 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4156 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4157 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
4158 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4160 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4164 +AC_MSG_RESULT([$enable_shared])
4166 +AC_MSG_CHECKING([whether to build static libraries])
4167 +# Make sure either enable_shared or enable_static is yes.
4168 +test "$enable_shared" = yes || enable_static=yes
4169 +AC_MSG_RESULT([$enable_static])
4171 +AC_LIBTOOL_CONFIG($1)
4175 +])# AC_LIBTOOL_LANG_C_CONFIG
4178 +# AC_LIBTOOL_LANG_CXX_CONFIG
4179 +# --------------------------
4180 +# Ensure that the configuration vars for the C compiler are
4181 +# suitably defined. Those variables are subsequently used by
4182 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4183 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
4184 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
4186 +AC_REQUIRE([AC_PROG_CXX])
4187 +AC_REQUIRE([AC_PROG_CXXCPP])
4189 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4190 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4191 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4192 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4193 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4194 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4195 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4196 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4197 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4198 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4199 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4200 +_LT_AC_TAGVAR(module_cmds, $1)=
4201 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4202 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4203 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4204 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4205 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4206 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4208 +# Dependencies to place before and after the object being linked:
4209 +_LT_AC_TAGVAR(predep_objects, $1)=
4210 +_LT_AC_TAGVAR(postdep_objects, $1)=
4211 +_LT_AC_TAGVAR(predeps, $1)=
4212 +_LT_AC_TAGVAR(postdeps, $1)=
4213 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
4215 +# Source file extension for C++ test sources.
4218 +# Object file extension for compiled C++ test sources.
4220 +_LT_AC_TAGVAR(objext, $1)=$objext
4222 +# Code to be used in simple compile tests
4223 +lt_simple_compile_test_code="int some_variable = 0;\n"
4225 +# Code to be used in simple link tests
4226 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
4228 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4229 +_LT_AC_SYS_COMPILER
4231 +# Allow CC to be a program name with arguments.
4236 +lt_save_with_gnu_ld=$with_gnu_ld
4237 +lt_save_path_LD=$lt_cv_path_LD
4238 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
4239 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
4241 - # PORTME fill in a description of your system's linker (not GNU ld)
4244 - allow_undefined_flag=unsupported
4245 - always_export_symbols=yes
4246 - 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'
4247 - # Note: this linker hardcodes the directories in LIBPATH if there
4248 - # are no directories specified by -L.
4249 - hardcode_minus_L=yes
4250 - if test "$GCC" = yes && test -z "$link_static_flag"; then
4251 - # Neither direct hardcoding nor static linking is supported with a
4252 - # broken collect2.
4253 - hardcode_direct=unsupported
4254 + unset lt_cv_prog_gnu_ld
4256 +if test -n "${lt_cv_path_LDCXX+set}"; then
4257 + lt_cv_path_LD=$lt_cv_path_LDCXX
4259 + unset lt_cv_path_LD
4261 +test -z "${LDCXX+set}" || LD=$LDCXX
4264 +_LT_AC_TAGVAR(compiler, $1)=$CC
4265 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
4267 +# We don't want -fno-exception wen compiling C++ code, so set the
4268 +# no_builtin_flag separately
4269 +if test "$GXX" = yes; then
4270 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4272 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4275 +if test "$GXX" = yes; then
4276 + # Set up default GNU C++ configuration
4280 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
4281 + # archiving commands below assume that GNU ld is being used.
4282 + if test "$with_gnu_ld" = yes; then
4283 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4284 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4286 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4287 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4289 + # If archive_cmds runs LD, not CC, wlarc should be empty
4290 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
4291 + # investigate it a little bit more. (MM)
4294 + # ancient GNU ld didn't support --whole-archive et. al.
4295 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
4296 + grep 'no-whole-archive' > /dev/null; then
4297 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4299 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4306 + # A generic and very simple default shared library creation
4307 + # command for GNU C++ for the case where it uses the native
4308 + # linker, instead of GNU ld. If possible, this setting should
4309 + # overridden to take advantage of the native linker features on
4310 + # the platform it is being used on.
4311 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4314 + # Commands to make compiler produce verbose output that lists
4315 + # what "hidden" libraries, object files and flags are used when
4316 + # linking a shared library.
4317 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4325 +# PORTME: fill in a description of your system's C++ link characteristics
4326 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4327 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
4330 + # FIXME: insert proper C++ library support
4331 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4334 if test "$host_cpu" = ia64; then
4335 # On IA64, the linker does run time linking by default, so we don't
4336 @@ -1586,7 +3728,7 @@
4338 aix_use_runtimelinking=yes
4345 @@ -1601,34 +3743,39 @@
4346 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4347 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4349 - hardcode_direct=yes
4351 - hardcode_libdir_separator=':'
4352 - if test "$GCC" = yes; then
4353 - case $host_os in aix4.[[012]]|aix4.[[012]].*)
4354 + _LT_AC_TAGVAR(archive_cmds, $1)=''
4355 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4356 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4357 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4359 + if test "$GXX" = yes; then
4360 + case $host_os in aix4.[012]|aix4.[012].*)
4361 + # We only want to do this on AIX 4.2 and lower, the check
4362 + # below for broken collect2 doesn't work under 4.3+
4363 collect2name=`${CC} -print-prog-name=collect2`
4364 if test -f "$collect2name" && \
4365 - strings "$collect2name" | grep resolve_lib_name >/dev/null
4366 + strings "$collect2name" | grep resolve_lib_name >/dev/null
4368 # We have reworked collect2
4369 - hardcode_direct=yes
4370 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4372 # We have old collect2
4373 - hardcode_direct=unsupported
4374 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4375 # It fails to find uninstalled libraries when the uninstalled
4376 # path is not listed in the libpath. Setting hardcode_minus_L
4377 # to unsupported forces relinking
4378 - hardcode_minus_L=yes
4379 - hardcode_libdir_flag_spec='-L$libdir'
4380 - hardcode_libdir_separator=
4381 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4382 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4383 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4387 shared_flag='-shared'
4390 if test "$host_cpu" = ia64; then
4391 - shared_flag='${wl}-G'
4392 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4393 + # chokes on -Wl,-G. The following line is correct:
4396 if test "$aix_use_runtimelinking" = yes; then
4397 shared_flag='${wl}-G'
4398 @@ -1638,833 +3785,867 @@
4402 - # It seems that -bexpall can do strange things, so it is better to
4403 - # generate a list of symbols to export.
4404 - always_export_symbols=yes
4405 + # It seems that -bexpall does not export symbols beginning with
4406 + # underscore (_), so it is better to generate a list of symbols to export.
4407 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4408 if test "$aix_use_runtimelinking" = yes; then
4409 # Warning - without using the other runtime loading flags (-brtl),
4410 # -berok will link without error, but may produce a broken library.
4411 - allow_undefined_flag='-berok'
4412 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
4413 - 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"
4415 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4416 + # Determine the default libpath from the value encoded in an empty executable.
4417 + _LT_AC_SYS_LIBPATH_AIX
4418 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4420 + _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"
4422 if test "$host_cpu" = ia64; then
4423 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
4424 - allow_undefined_flag="-z nodefs"
4425 - 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"
4426 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4427 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4428 + _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"
4430 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
4431 + # Determine the default libpath from the value encoded in an empty executable.
4432 + _LT_AC_SYS_LIBPATH_AIX
4433 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4434 # Warning - without using the other run time loading flags,
4435 # -berok will link without error, but may produce a broken library.
4436 - allow_undefined_flag='${wl}-berok'
4437 - # This is a bit strange, but is similar to how AIX traditionally builds
4438 - # it's shared libraries.
4439 - 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'
4440 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4441 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4442 + # -bexpall does not export symbols beginning with underscore (_)
4443 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4444 + # Exported symbols can be pulled into shared objects from archives
4445 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4446 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4447 + # This is similar to how AIX traditionally builds it's shared libraries.
4448 + _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'
4454 - 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)'
4455 - hardcode_libdir_flag_spec='-L$libdir'
4456 - hardcode_minus_L=yes
4457 - # see comment about different semantics on the GNU ld section
4460 + case $cc_basename in
4462 + # FIXME: insert proper C++ library support
4463 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4468 cygwin* | mingw* | pw32*)
4469 - # When not using gcc, we currently assume that we are using
4470 - # Microsoft Visual C++.
4471 - # hardcode_libdir_flag_spec is actually meaningless, as there is
4472 - # no search path for DLLs.
4473 - hardcode_libdir_flag_spec=' '
4474 - allow_undefined_flag=unsupported
4475 - # Tell ltmain to make .lib files, not .a files.
4477 - # FIXME: Setting linknames here is a bad hack.
4478 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
4479 - # The linker will automatically build a .lib file if we build a DLL.
4480 - old_archive_from_new_cmds='true'
4481 - # FIXME: Should let the user specify the lib program.
4482 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
4483 - fix_srcfile_path='`cygpath -w "$srcfile"`'
4485 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4486 + # as there is no search path for DLLs.
4487 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4488 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4489 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4490 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4492 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4493 + _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'
4494 + # If the export-symbols file already is a .def file (1st line
4495 + # is EXPORTS), use it as is; otherwise, prepend...
4496 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4497 + cp $export_symbols $output_objdir/$soname.def;
4499 + echo EXPORTS > $output_objdir/$soname.def;
4500 + cat $export_symbols >> $output_objdir/$soname.def;
4502 + $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'
4504 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4508 darwin* | rhapsody*)
4509 + if test "$GXX" = yes; then
4510 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4512 rhapsody* | darwin1.[[012]])
4513 - allow_undefined_flag='-undefined suppress'
4514 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
4517 - allow_undefined_flag='-flat_namespace -undefined suppress'
4520 - # FIXME: Relying on posixy $() will cause problems for
4521 - # cross-compilation, but unfortunately the echo tests do not
4522 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
4523 - # `"' quotes if we put them in here... so don't!
4524 - 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)'
4525 - # We need to add '_' to the symbols in $export_symbols first
4526 - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
4527 - hardcode_direct=yes
4528 - hardcode_shlibpath_var=no
4529 - whole_archive_flag_spec='-all_load $convenience'
4536 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4537 - # support. Future versions do this automatically, but an explicit c++rt0.o
4538 - # does not break anything, and helps significantly (at the cost of a little
4541 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
4542 - hardcode_libdir_flag_spec='-R$libdir'
4543 - hardcode_direct=yes
4544 - hardcode_shlibpath_var=no
4547 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4549 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4550 - hardcode_direct=yes
4551 - hardcode_minus_L=yes
4552 - hardcode_shlibpath_var=no
4555 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4557 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
4558 - hardcode_libdir_flag_spec='-R$libdir'
4559 - hardcode_direct=yes
4560 - hardcode_shlibpath_var=no
4563 - hpux9* | hpux10* | hpux11*)
4565 - 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' ;;
4566 - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
4568 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
4569 - hardcode_libdir_separator=:
4570 - hardcode_direct=yes
4571 - hardcode_minus_L=yes # Not in the search PATH, but as the default
4572 - # location of the library.
4573 - export_dynamic_flag_spec='${wl}-E'
4576 - irix5* | irix6* | nonstopux*)
4577 - if test "$GCC" = yes; then
4578 - 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'
4579 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4581 - 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'
4582 - hardcode_libdir_flag_spec='-rpath $libdir'
4584 - hardcode_libdir_separator=:
4585 - link_all_deplibs=yes
4589 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4590 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4592 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
4594 - hardcode_libdir_flag_spec='-R$libdir'
4595 - hardcode_direct=yes
4596 - hardcode_shlibpath_var=no
4600 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4601 - hardcode_direct=yes
4602 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4603 - hardcode_libdir_separator=:
4604 - hardcode_shlibpath_var=no
4608 - hardcode_direct=yes
4609 - hardcode_shlibpath_var=no
4610 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4611 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4612 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4613 - export_dynamic_flag_spec='${wl}-E'
4615 - case "$host_os" in
4616 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4617 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4618 - hardcode_libdir_flag_spec='-R$libdir'
4621 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4622 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4625 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4626 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4628 + case ${MACOSX_DEPLOYMENT_TARGET} in
4630 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4633 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
4639 + lt_int_apple_cc_single_mod=no
4640 + output_verbose_link_cmd='echo'
4641 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
4642 + lt_int_apple_cc_single_mod=yes
4647 - hardcode_libdir_flag_spec='-L$libdir'
4648 - hardcode_minus_L=yes
4649 - allow_undefined_flag=unsupported
4650 - 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'
4651 - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
4655 - if test "$GCC" = yes; then
4656 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4657 - 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'
4658 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4659 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4661 - allow_undefined_flag=' -expect_unresolved \*'
4662 - 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'
4663 + _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'
4665 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4666 - hardcode_libdir_separator=:
4668 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4670 - osf4* | osf5*) # as osf3* with the addition of -msym flag
4671 - if test "$GCC" = yes; then
4672 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4673 - 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'
4674 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4675 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
4676 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4677 + _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}'
4679 - allow_undefined_flag=' -expect_unresolved \*'
4680 - 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'
4681 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
4682 - $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'
4684 - #Both c and cxx compiler support -rpath directly
4685 - hardcode_libdir_flag_spec='-rpath $libdir'
4686 + _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}'
4688 - hardcode_libdir_separator=:
4692 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4693 - hardcode_shlibpath_var=no
4694 - runpath_var=LD_RUN_PATH
4695 - hardcode_runpath_var=yes
4696 - export_dynamic_flag_spec='${wl}-Bexport'
4697 + _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}'
4698 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4699 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4700 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4701 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
4702 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4704 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4709 - # gcc --version < 3.0 without binutils cannot create self contained
4710 - # shared libraries reliably, requiring libgcc.a to resolve some of
4711 - # the object symbols generated in some cases. Libraries that use
4712 - # assert need libgcc.a to resolve __eprintf, for example. Linking
4713 - # a copy of libgcc.a into every shared library to guarantee resolving
4714 - # such symbols causes other problems: According to Tim Van Holder
4715 - # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
4716 - # (to the application) exception stack for one thing.
4717 - no_undefined_flag=' -z defs'
4718 - if test "$GCC" = yes; then
4719 - case `$CC --version 2>/dev/null` in
4723 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
4724 -*** create self contained shared libraries on Solaris systems, without
4725 -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
4726 -*** -no-undefined support, which will at least allow you to build shared
4727 -*** libraries. However, you may find that when you link such libraries
4728 -*** into an application without using GCC, you have to manually add
4729 -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
4730 -*** upgrade to a newer version of GCC. Another option is to rebuild your
4731 -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
4734 - no_undefined_flag=
4736 + case $cc_basename in
4738 + # FIXME: insert proper C++ library support
4739 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4742 + # Green Hills C++ Compiler
4743 + # FIXME: insert proper C++ library support
4744 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4747 + # FIXME: insert proper C++ library support
4748 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4752 - # $CC -shared without GNU ld will not create a library from C++
4753 - # object files and a static libstdc++, better avoid it by now
4754 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4755 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4756 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4757 - hardcode_libdir_flag_spec='-R$libdir'
4758 - hardcode_shlibpath_var=no
4760 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4761 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4762 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
4764 - link_all_deplibs=yes
4768 - if test "x$host_vendor" = xsequent; then
4769 - # Use $CC to link under sequent, because it throws in some extra .o
4770 - # files that make .init and .fini sections work.
4771 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
4773 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
4775 - hardcode_libdir_flag_spec='-L$libdir'
4776 - hardcode_direct=yes
4777 - hardcode_minus_L=yes
4778 - hardcode_shlibpath_var=no
4780 + # C++ shared libraries reported to be fairly broken before switch to ELF
4781 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4784 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4786 + freebsd* | kfreebsd*-gnu)
4787 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4789 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4794 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4795 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4796 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4797 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4798 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4799 + # but as the default
4800 + # location of the library.
4802 + case $cc_basename in
4804 + # FIXME: insert proper C++ library support
4805 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4808 + _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'
4809 + # Commands to make compiler produce verbose output that lists
4810 + # what "hidden" libraries, object files and flags are used when
4811 + # linking a shared library.
4813 + # There doesn't appear to be a way to prevent this compiler from
4814 + # explicitly linking system object files so we need to strip them
4815 + # from the output so that they don't get included in the library
4817 + 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'
4820 + if test "$GXX" = yes; then
4821 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4823 + # FIXME: insert proper C++ library support
4824 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4831 - case $host_vendor in
4833 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4834 - hardcode_direct=yes # is this really true???
4836 + if test $with_gnu_ld = no; then
4837 + case "$host_cpu" in
4839 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4840 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4841 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4844 - ## LD is ld it makes a PLAMLIB
4845 - ## CC just makes a GrossModule.
4846 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4847 - reload_cmds='$CC -r -o $output$reload_objs'
4848 - hardcode_direct=no
4850 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4853 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4854 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
4856 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4857 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4858 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4862 + case "$host_cpu" in
4864 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4865 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4868 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4869 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4870 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4871 + # but as the default
4872 + # location of the library.
4875 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4876 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4877 + # but as the default
4878 + # location of the library.
4881 - runpath_var='LD_RUN_PATH'
4882 - hardcode_shlibpath_var=no
4886 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4887 - hardcode_shlibpath_var=no
4888 - export_dynamic_flag_spec='-Bexport'
4892 - no_undefined_flag=' -z text'
4893 - # $CC -shared without GNU ld will not create a library from C++
4894 - # object files and a static libstdc++, better avoid it by now
4895 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4896 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4897 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4898 - hardcode_libdir_flag_spec=
4899 - hardcode_shlibpath_var=no
4900 - runpath_var='LD_RUN_PATH'
4904 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4905 - hardcode_libdir_flag_spec='-L$libdir'
4906 - hardcode_shlibpath_var=no
4907 + case $cc_basename in
4909 + # FIXME: insert proper C++ library support
4910 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4913 + case "$host_cpu" in
4915 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4918 + _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'
4921 + # Commands to make compiler produce verbose output that lists
4922 + # what "hidden" libraries, object files and flags are used when
4923 + # linking a shared library.
4925 + # There doesn't appear to be a way to prevent this compiler from
4926 + # explicitly linking system object files so we need to strip them
4927 + # from the output so that they don't get included in the library
4929 + 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'
4932 + if test "$GXX" = yes; then
4933 + if test $with_gnu_ld = no; then
4934 + case "$host_cpu" in
4936 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4939 + _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'
4944 + # FIXME: insert proper C++ library support
4945 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4952 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4953 - hardcode_libdir_flag_spec='-L$libdir'
4954 - hardcode_shlibpath_var=no
4956 + case $cc_basename in
4959 + _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'
4961 + # Archives containing C++ object files must be created using
4962 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4963 + # necessary to make sure instantiated templates are included
4965 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4968 + if test "$GXX" = yes; then
4969 + if test "$with_gnu_ld" = no; then
4970 + _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'
4972 + _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'
4975 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4978 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4979 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4983 - if test -d /usr/nec; then
4984 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4985 - hardcode_shlibpath_var=no
4986 - runpath_var=LD_RUN_PATH
4987 - hardcode_runpath_var=yes
4991 + case $cc_basename in
4993 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4995 + # KCC will only create a shared library if the output file
4996 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4997 + # to its proper name (with version) after linking.
4998 + _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'
4999 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
5000 + # Commands to make compiler produce verbose output that lists
5001 + # what "hidden" libraries, object files and flags are used when
5002 + # linking a shared library.
5004 + # There doesn't appear to be a way to prevent this compiler from
5005 + # explicitly linking system object files so we need to strip them
5006 + # from the output so that they don't get included in the library
5008 + 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'
5010 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
5011 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5013 + # Archives containing C++ object files must be created using
5014 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5015 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5020 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5021 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5022 + _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'
5023 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5024 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5025 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5029 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5030 + _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'
5032 + runpath_var=LD_RUN_PATH
5033 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5034 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5036 + # Commands to make compiler produce verbose output that lists
5037 + # what "hidden" libraries, object files and flags are used when
5038 + # linking a shared library.
5040 + # There doesn't appear to be a way to prevent this compiler from
5041 + # explicitly linking system object files so we need to strip them
5042 + # from the output so that they don't get included in the library
5044 + 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'
5050 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5051 - hardcode_direct=yes
5052 - hardcode_minus_L=no
5053 - hardcode_shlibpath_var=no
5054 - hardcode_runpath_var=yes
5055 - runpath_var=LD_RUN_PATH
5057 + # FIXME: insert proper C++ library support
5058 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5061 + # FIXME: insert proper C++ library support
5062 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5065 + case $cc_basename in
5067 + # FIXME: insert proper C++ library support
5068 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5071 + # FIXME: insert proper C++ library support
5072 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5077 - sysv5uw7* | unixware7*)
5078 - no_undefined_flag='${wl}-z ${wl}text'
5079 - if test "$GCC" = yes; then
5080 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5082 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5083 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5084 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5085 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
5087 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5088 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5089 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5091 - runpath_var='LD_RUN_PATH'
5092 - hardcode_shlibpath_var=no
5097 + # Workaround some broken pre-1.5 toolchains
5098 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
5102 -AC_MSG_RESULT([$ld_shlibs])
5103 -test "$ld_shlibs" = no && can_build_shared=no
5105 -# Check hardcoding attributes.
5106 -AC_MSG_CHECKING([how to hardcode library paths into programs])
5108 -if test -n "$hardcode_libdir_flag_spec" || \
5109 - test -n "$runpath_var"; then
5111 - # We can hardcode non-existant directories.
5112 - if test "$hardcode_direct" != no &&
5113 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5114 - # have to relink, otherwise we might link with an installed library
5115 - # when we should be linking with a yet-to-be-installed one
5116 - ## test "$hardcode_shlibpath_var" != no &&
5117 - test "$hardcode_minus_L" != no; then
5118 - # Linking always hardcodes the temporary library directory.
5119 - hardcode_action=relink
5121 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5122 - hardcode_action=immediate
5125 - # We cannot hardcode anything, or else we can only hardcode existing
5127 - hardcode_action=unsupported
5129 -AC_MSG_RESULT([$hardcode_action])
5133 -AC_MSG_CHECKING([whether stripping libraries is possible])
5134 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5135 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5136 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5137 - AC_MSG_RESULT([yes])
5139 - AC_MSG_RESULT([no])
5142 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
5143 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
5145 -# PORTME Fill in your ld.so characteristics
5146 -AC_MSG_CHECKING([dynamic linker characteristics])
5147 -library_names_spec=
5148 -libname_spec='lib$name'
5151 -postuninstall_cmds=
5155 -shlibpath_overrides_runpath=unknown
5157 -dynamic_linker="$host_os ld.so"
5158 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5159 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5163 - version_type=linux
5164 - library_names_spec='${libname}${release}.so$versuffix $libname.a'
5165 - shlibpath_var=LIBPATH
5167 + case $cc_basename in
5169 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5171 + # KCC will only create a shared library if the output file
5172 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5173 + # to its proper name (with version) after linking.
5174 + _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'
5176 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5177 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5179 + # Archives containing C++ object files must be created using
5180 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5181 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5183 - # AIX has no versioning support, so we append a major version to the name.
5184 - soname_spec='${libname}${release}.so$major'
5188 + # Rational C++ 2.4.1
5189 + # FIXME: insert proper C++ library support
5190 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5193 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5194 + _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'
5196 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5197 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5199 + # Commands to make compiler produce verbose output that lists
5200 + # what "hidden" libraries, object files and flags are used when
5201 + # linking a shared library.
5203 + # There doesn't appear to be a way to prevent this compiler from
5204 + # explicitly linking system object files so we need to strip them
5205 + # from the output so that they don't get included in the library
5207 + 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'
5210 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5211 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5212 + _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'
5214 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5215 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5217 + # Commands to make compiler produce verbose output that lists
5218 + # what "hidden" libraries, object files and flags are used when
5219 + # linking a shared library.
5220 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5223 - version_type=linux
5224 - need_lib_prefix=no
5226 - hardcode_into_libs=yes
5227 - if test "$host_cpu" = ia64; then
5228 - # AIX 5 supports IA64
5229 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
5230 - shlibpath_var=LD_LIBRARY_PATH
5232 - # With GCC up to 2.95.x, collect2 would create an import file
5233 - # for dependence libraries. The import file would start with
5234 - # the line `#! .'. This would cause the generated library to
5235 - # depend on `.', always an invalid library. This was fixed in
5236 - # development snapshots of GCC prior to 3.0.
5238 - aix4 | aix4.[[01]] | aix4.[[01]].*)
5239 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5241 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5244 - can_build_shared=no
5245 + # FIXME: insert proper C++ library support
5246 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5250 - # AIX (on Power*) has no versioning support, so currently we can
5251 - # not hardcode correct soname into executable. Probably we can
5252 - # add versioning support to collect2, so additional links can
5253 - # be useful in future.
5254 - if test "$aix_use_runtimelinking" = yes; then
5255 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5256 - # instead of lib<name>.a to let people know that these are not
5257 - # typical AIX shared libraries.
5258 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5260 - # We preserve .a as extension for shared libraries through AIX4.2
5261 - # and later when we are not doing run time linking.
5262 - library_names_spec='${libname}${release}.a $libname.a'
5263 - soname_spec='${libname}${release}.so$major'
5265 - shlibpath_var=LIBPATH
5267 - hardcode_into_libs=yes
5271 - library_names_spec='$libname.ixlibrary $libname.a'
5272 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5273 - 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'
5277 - library_names_spec='${libname}.so'
5278 - dynamic_linker="$host_os ld.so"
5279 - shlibpath_var=LIBRARY_PATH
5283 - version_type=linux
5285 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5286 - soname_spec='${libname}${release}.so$major'
5287 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5288 - shlibpath_var=LD_LIBRARY_PATH
5289 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5290 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5291 - export_dynamic_flag_spec=-rdynamic
5292 - # the default ld.so.conf also contains /usr/contrib/lib and
5293 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5294 - # libtool to hard-code these into programs
5297 -cygwin* | mingw* | pw32*)
5298 - version_type=windows
5300 - need_lib_prefix=no
5301 - case $GCC,$host_os in
5303 - library_names_spec='$libname.dll.a'
5304 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
5305 - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
5306 - dldir=$destdir/`dirname \$dlpath`~
5307 - test -d \$dldir || mkdir -p \$dldir~
5308 - $install_prog .libs/$dlname \$dldir/$dlname'
5309 - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
5310 - dlpath=$dir/\$dldll~
5314 - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
5315 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
5318 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
5321 - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
5324 - dynamic_linker='Win32 ld.exe'
5325 - # FIXME: first we should search . and the directory the executable is in
5326 - shlibpath_var=PATH
5329 -darwin* | rhapsody*)
5330 - dynamic_linker="$host_os dyld"
5331 - version_type=darwin
5332 - need_lib_prefix=no
5334 - # FIXME: Relying on posixy $() will cause problems for
5335 - # cross-compilation, but unfortunately the echo tests do not
5336 - # yet detect zsh echo's removal of \ escapes.
5337 - 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)'
5338 - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
5339 - shlibpath_overrides_runpath=yes
5340 - shlibpath_var=DYLD_LIBRARY_PATH
5348 - version_type=linux
5349 - need_lib_prefix=no
5351 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5352 - soname_spec='${libname}${release}.so$major'
5353 - shlibpath_var=LD_LIBRARY_PATH
5354 - shlibpath_overrides_runpath=no
5355 - hardcode_into_libs=yes
5356 - dynamic_linker='GNU/FreeBSD ld.so'
5359 + case $cc_basename in
5361 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5363 + # KCC will only create a shared library if the output file
5364 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5365 + # to its proper name (with version) after linking.
5366 + _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'
5368 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5369 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5371 + # Archives containing C++ object files must be created using
5372 + # the KAI C++ compiler.
5373 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
5376 + # Rational C++ 2.4.1
5377 + # FIXME: insert proper C++ library support
5378 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5381 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5382 + _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'
5383 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
5384 + echo "-hidden">> $lib.exp~
5385 + $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~
5388 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5389 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5391 + # Commands to make compiler produce verbose output that lists
5392 + # what "hidden" libraries, object files and flags are used when
5393 + # linking a shared library.
5395 + # There doesn't appear to be a way to prevent this compiler from
5396 + # explicitly linking system object files so we need to strip them
5397 + # from the output so that they don't get included in the library
5399 + 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'
5402 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5403 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5404 + _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'
5406 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5407 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5409 + # Commands to make compiler produce verbose output that lists
5410 + # what "hidden" libraries, object files and flags are used when
5411 + # linking a shared library.
5412 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5415 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
5416 - version_type=freebsd-$objformat
5417 - case $version_type in
5419 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
5421 - need_lib_prefix=no
5424 - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
5428 - shlibpath_var=LD_LIBRARY_PATH
5431 - shlibpath_overrides_runpath=yes
5433 + # FIXME: insert proper C++ library support
5434 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5440 - shlibpath_overrides_runpath=no
5441 - hardcode_into_libs=yes
5443 + # FIXME: insert proper C++ library support
5444 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5447 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5448 + case $cc_basename in
5450 + # FIXME: insert proper C++ library support
5451 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5454 + # FIXME: insert proper C++ library support
5455 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5462 + case $cc_basename in
5465 + # FIXME: insert proper C++ library support
5466 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5470 + # FIXME: insert proper C++ library support
5471 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5474 + # FIXME: insert proper C++ library support
5475 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5480 + case $cc_basename in
5482 + # Sun C++ 4.2, 5.x and Centerline C++
5483 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5484 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5485 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5486 + $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'
5488 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5489 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5491 + solaris2.[0-5] | solaris2.[0-5].*) ;;
5493 + # The C++ compiler is used as linker so we must use $wl
5494 + # flag to pass the commands to the underlying system
5496 + # Supported since Solaris 2.6 (maybe 2.5.1?)
5497 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5500 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5503 - version_type=linux
5504 - need_lib_prefix=no
5506 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
5507 - soname_spec='${libname}${release}.so$major'
5508 - shlibpath_var=LD_LIBRARY_PATH
5509 - hardcode_into_libs=yes
5511 + # Commands to make compiler produce verbose output that lists
5512 + # what "hidden" libraries, object files and flags are used when
5513 + # linking a shared library.
5515 + # There doesn't appear to be a way to prevent this compiler from
5516 + # explicitly linking system object files so we need to strip them
5517 + # from the output so that they don't get included in the library
5519 + 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'
5521 + # Archives containing C++ object files must be created using
5522 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
5523 + # necessary to make sure instantiated templates are included
5525 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5528 + # Green Hills C++ Compiler
5529 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5531 -hpux9* | hpux10* | hpux11*)
5532 - # Give a soname corresponding to the major version so that dld.sl refuses to
5533 - # link against other versions.
5534 - dynamic_linker="$host_os dld.sl"
5535 - version_type=sunos
5536 - need_lib_prefix=no
5538 - shlibpath_var=SHLIB_PATH
5539 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5540 - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
5541 - soname_spec='${libname}${release}.sl$major'
5542 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5543 - postinstall_cmds='chmod 555 $lib'
5545 + # The C++ compiler must be used to create the archive.
5546 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
5549 + # GNU C++ compiler with Solaris linker
5550 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5551 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
5552 + if $CC --version | grep -v '^2\.7' > /dev/null; then
5553 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5554 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5555 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5557 + # Commands to make compiler produce verbose output that lists
5558 + # what "hidden" libraries, object files and flags are used when
5559 + # linking a shared library.
5560 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5562 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
5564 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5565 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5566 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5568 + # Commands to make compiler produce verbose output that lists
5569 + # what "hidden" libraries, object files and flags are used when
5570 + # linking a shared library.
5571 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5574 -irix5* | irix6* | nonstopux*)
5576 - nonstopux*) version_type=nonstopux ;;
5577 - *) version_type=irix ;;
5579 - need_lib_prefix=no
5581 - soname_spec='${libname}${release}.so$major'
5582 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
5584 - irix5* | nonstopux*)
5585 - libsuff= shlibsuff=
5586 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
5592 - case $LD in # libtool.m4 will add one of these switches to LD
5593 - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
5594 - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
5595 - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
5596 - *) libsuff= shlibsuff= libmagic=never-match;;
5597 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5598 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5601 + case $cc_basename in
5603 + # NonStop-UX NCC 3.20
5604 + # FIXME: insert proper C++ library support
5605 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5608 + # FIXME: insert proper C++ library support
5609 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5614 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5615 - shlibpath_overrides_runpath=no
5616 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5617 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5620 -# No shared lib support for Linux oldld, aout, or coff.
5621 -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
5625 + # FIXME: insert proper C++ library support
5626 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5629 + # FIXME: insert proper C++ library support
5630 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5633 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5634 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5636 -# This must be Linux ELF.
5638 - version_type=linux
5639 - need_lib_prefix=no
5641 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5642 - soname_spec='${libname}${release}.so$major'
5643 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5644 - shlibpath_var=LD_LIBRARY_PATH
5645 - shlibpath_overrides_runpath=no
5646 - # This implies no fast_install, which is unacceptable.
5647 - # Some rework will be needed to allow for fast_install
5648 - # before this can be enabled.
5649 - hardcode_into_libs=yes
5650 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
5651 +_LT_AC_TAGVAR(LD, $1)="$LD"
5653 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5654 - # powerpc, because MkLinux only supported shared libraries with the
5655 - # GNU dynamic linker. Since this was broken with cross compilers,
5656 - # most powerpc-linux boxes support dynamic linking these days and
5657 - # people can always --disable-shared, the test was removed, and we
5658 - # assume the GNU/Linux dynamic linker is in use.
5659 - dynamic_linker='GNU/Linux ld.so'
5661 +AC_LIBTOOL_POSTDEP_PREDEP($1)
5662 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5663 +AC_LIBTOOL_PROG_CC_C_O($1)
5664 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5665 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5666 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5667 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5668 +AC_LIBTOOL_SYS_LIB_STRIP
5669 +AC_LIBTOOL_DLOPEN_SELF($1)
5671 +AC_LIBTOOL_CONFIG($1)
5678 +with_gnu_ldcxx=$with_gnu_ld
5679 +with_gnu_ld=$lt_save_with_gnu_ld
5680 +lt_cv_path_LDCXX=$lt_cv_path_LD
5681 +lt_cv_path_LD=$lt_save_path_LD
5682 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
5683 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
5684 +])# AC_LIBTOOL_LANG_CXX_CONFIG
5687 - version_type=sunos
5688 - need_lib_prefix=no
5690 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5691 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5692 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5693 - dynamic_linker='NetBSD (a.out) ld.so'
5695 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
5696 - soname_spec='${libname}${release}.so$major'
5697 - dynamic_linker='NetBSD ld.elf_so'
5699 - shlibpath_var=LD_LIBRARY_PATH
5700 - shlibpath_overrides_runpath=yes
5701 - hardcode_into_libs=yes
5703 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
5704 +# ------------------------
5705 +# Figure out "hidden" library dependencies from verbose
5706 +# compiler output when linking a shared library.
5707 +# Parse the compiler output and extract the necessary
5708 +# objects, libraries and library flags.
5709 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
5710 +dnl we can't use the lt_simple_compile_test_code here,
5711 +dnl because it contains code intended for an executable,
5712 +dnl not a library. It's possible we should let each
5713 +dnl tag define a new lt_????_link_test_code variable,
5714 +dnl but it's only used here...
5715 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
5717 +void foo (void) { a = 0; }
5719 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
5723 + Foo (void) { a = 0; }
5728 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
5736 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
5739 + public void bar (void) {
5745 +dnl Parse the compiler output and extract the necessary
5746 +dnl objects, libraries and library flags.
5747 +if AC_TRY_EVAL(ac_compile); then
5748 + # Parse the compiler output and extract the necessary
5749 + # objects, libraries and library flags.
5751 + # Sentinel used to keep track of whether or not we are before
5752 + # the conftest object file.
5753 + pre_test_object_deps_done=no
5755 + # The `*' in the case matches for architectures that use `case' in
5756 + # $output_verbose_cmd can trigger glob expansion during the loop
5757 + # eval without this substitution.
5758 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
5760 + for p in `eval $output_verbose_link_cmd`; do
5764 + # Some compilers place space between "-{L,R}" and the path.
5765 + # Remove the space.
5766 + if test $p = "-L" \
5767 + || test $p = "-R"; then
5774 + if test "$pre_test_object_deps_done" = no; then
5777 + # Internal compiler library paths should come after those
5778 + # provided the user. The postdeps already come after the
5779 + # user supplied libs so there is no need to process them.
5780 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
5781 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
5783 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
5786 + # The "-l" case would never come before the object being
5787 + # linked, so don't bother handling this case.
5790 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
5791 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
5793 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
5799 + # This assumes that the test object file only shows up
5800 + # once in the compiler output.
5801 + if test "$p" = "conftest.$objext"; then
5802 + pre_test_object_deps_done=yes
5806 + if test "$pre_test_object_deps_done" = no; then
5807 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
5808 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
5810 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
5813 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
5814 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
5816 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
5822 - version_type=linux
5823 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5824 - shlibpath_var=LD_LIBRARY_PATH
5825 - shlibpath_overrides_runpath=yes
5827 + *) ;; # Ignore the rest.
5830 - version_type=sunos
5831 - need_lib_prefix=no
5833 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5834 - case "$host_os" in
5835 - openbsd2.[[89]] | openbsd2.[[89]].*)
5836 - shlibpath_overrides_runpath=no
5839 - shlibpath_overrides_runpath=yes
5843 - shlibpath_overrides_runpath=yes
5845 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5846 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5847 - shlibpath_var=LD_LIBRARY_PATH
5851 - libname_spec='$name'
5852 - need_lib_prefix=no
5853 - library_names_spec='$libname.dll $libname.a'
5854 - dynamic_linker='OS/2 ld.exe'
5855 - shlibpath_var=LIBPATH
5858 -osf3* | osf4* | osf5*)
5861 - need_lib_prefix=no
5862 - soname_spec='${libname}${release}.so$major'
5863 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5864 - shlibpath_var=LD_LIBRARY_PATH
5865 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5866 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5867 - hardcode_into_libs=yes
5873 - soname_spec='${libname}${release}.so$major'
5874 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5875 - shlibpath_var=LD_LIBRARY_PATH
5880 + echo "libtool.m4: error: problem compiling $1 test program"
5884 - version_type=linux
5885 - need_lib_prefix=no
5887 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5888 - soname_spec='${libname}${release}.so$major'
5889 - shlibpath_var=LD_LIBRARY_PATH
5890 - shlibpath_overrides_runpath=yes
5891 - hardcode_into_libs=yes
5892 - # ldd complains unless libraries are executable
5893 - postinstall_cmds='chmod +x $lib'
5895 +$rm -f confest.$objext
5898 - version_type=sunos
5899 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5900 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5901 - shlibpath_var=LD_LIBRARY_PATH
5902 - shlibpath_overrides_runpath=yes
5903 - if test "$with_gnu_ld" = yes; then
5904 - need_lib_prefix=no
5908 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
5909 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
5911 +])# AC_LIBTOOL_POSTDEP_PREDEP
5913 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5914 - version_type=linux
5915 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5916 - soname_spec='${libname}${release}.so$major'
5917 - shlibpath_var=LD_LIBRARY_PATH
5918 - case $host_vendor in
5920 - shlibpath_overrides_runpath=no
5921 - need_lib_prefix=no
5922 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5923 - runpath_var=LD_RUN_PATH
5926 - need_lib_prefix=no
5929 - need_lib_prefix=no
5931 - shlibpath_overrides_runpath=no
5932 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5936 +# AC_LIBTOOL_LANG_F77_CONFIG
5937 +# ------------------------
5938 +# Ensure that the configuration vars for the C compiler are
5939 +# suitably defined. Those variables are subsequently used by
5940 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5941 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
5942 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
5943 +[AC_REQUIRE([AC_PROG_F77])
5944 +AC_LANG_PUSH(Fortran 77)
5946 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5947 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5948 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
5949 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5950 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5951 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
5952 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5953 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5954 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5955 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5956 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5957 +_LT_AC_TAGVAR(module_cmds, $1)=
5958 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5959 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5960 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5961 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
5962 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5963 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5965 +# Source file extension for f77 test sources.
5968 +# Object file extension for compiled f77 test sources.
5970 +_LT_AC_TAGVAR(objext, $1)=$objext
5973 - version_type=linux
5974 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5975 - soname_spec='${libname}${release}.so$major'
5976 - shlibpath_var=LD_LIBRARY_PATH
5978 +# Code to be used in simple compile tests
5979 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
5982 - version_type=linux
5983 - need_lib_prefix=no
5985 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5986 - soname_spec='${libname}${release}.so$major'
5987 - shlibpath_var=LD_LIBRARY_PATH
5989 +# Code to be used in simple link tests
5990 +lt_simple_link_test_code=" program t\n end\n"
5993 - if test -d /usr/nec ;then
5994 - version_type=linux
5995 - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
5996 - soname_spec='$libname.so.$major'
5997 - shlibpath_var=LD_LIBRARY_PATH
6000 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6001 +_LT_AC_SYS_COMPILER
6007 -AC_MSG_RESULT([$dynamic_linker])
6008 -test "$dynamic_linker" = no && can_build_shared=no
6009 +# Allow CC to be a program name with arguments.
6013 +_LT_AC_TAGVAR(compiler, $1)=$CC
6014 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6016 -# Report the final consequences.
6017 AC_MSG_CHECKING([if libtool supports shared libraries])
6018 AC_MSG_RESULT([$can_build_shared])
6020 @@ -2481,125 +4662,206 @@
6021 postinstall_cmds='$RANLIB $lib'
6025 + test "$enable_shared" = yes && enable_static=no
6028 +AC_MSG_RESULT([$enable_shared])
6030 +AC_MSG_CHECKING([whether to build static libraries])
6031 +# Make sure either enable_shared or enable_static is yes.
6032 +test "$enable_shared" = yes || enable_static=yes
6033 +AC_MSG_RESULT([$enable_static])
6035 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6037 +_LT_AC_TAGVAR(GCC, $1)="$G77"
6038 +_LT_AC_TAGVAR(LD, $1)="$LD"
6040 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6041 +AC_LIBTOOL_PROG_CC_C_O($1)
6042 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6043 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6044 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6045 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6046 +AC_LIBTOOL_SYS_LIB_STRIP
6049 +AC_LIBTOOL_CONFIG($1)
6053 +])# AC_LIBTOOL_LANG_F77_CONFIG
6056 +# AC_LIBTOOL_LANG_GCJ_CONFIG
6057 +# --------------------------
6058 +# Ensure that the configuration vars for the C compiler are
6059 +# suitably defined. Those variables are subsequently used by
6060 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6061 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
6062 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
6065 +# Source file extension for Java test sources.
6068 +# Object file extension for compiled Java test sources.
6070 +_LT_AC_TAGVAR(objext, $1)=$objext
6072 +# Code to be used in simple compile tests
6073 +lt_simple_compile_test_code="class foo {}\n"
6075 +# Code to be used in simple link tests
6076 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
6078 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6079 +_LT_AC_SYS_COMPILER
6081 +# Allow CC to be a program name with arguments.
6085 +_LT_AC_TAGVAR(compiler, $1)=$CC
6087 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
6088 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6090 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
6091 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6092 +AC_LIBTOOL_PROG_CC_C_O($1)
6093 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6094 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6095 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6096 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6097 +AC_LIBTOOL_SYS_LIB_STRIP
6098 +AC_LIBTOOL_DLOPEN_SELF($1)
6100 +AC_LIBTOOL_CONFIG($1)
6104 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
6107 +# AC_LIBTOOL_LANG_RC_CONFIG
6108 +# --------------------------
6109 +# Ensure that the configuration vars for the Windows resource compiler are
6110 +# suitably defined. Those variables are subsequently used by
6111 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6112 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
6113 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
6116 +# Source file extension for RC test sources.
6119 +# Object file extension for compiled RC test sources.
6121 +_LT_AC_TAGVAR(objext, $1)=$objext
6124 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6125 - test "$enable_shared" = yes && enable_static=no
6129 -AC_MSG_RESULT([$enable_shared])
6130 +# Code to be used in simple compile tests
6131 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
6133 -AC_MSG_CHECKING([whether to build static libraries])
6134 -# Make sure either enable_shared or enable_static is yes.
6135 -test "$enable_shared" = yes || enable_static=yes
6136 -AC_MSG_RESULT([$enable_static])
6137 +# Code to be used in simple link tests
6138 +lt_simple_link_test_code="$lt_simple_compile_test_code"
6140 -if test "$hardcode_action" = relink; then
6141 - # Fast installation is not supported
6142 - enable_fast_install=no
6143 -elif test "$shlibpath_overrides_runpath" = yes ||
6144 - test "$enable_shared" = no; then
6145 - # Fast installation is not necessary
6146 - enable_fast_install=needless
6148 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6149 +_LT_AC_SYS_COMPILER
6151 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6152 -if test "$GCC" = yes; then
6153 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6155 +# Allow CC to be a program name with arguments.
6159 +_LT_AC_TAGVAR(compiler, $1)=$CC
6160 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
6162 -AC_LIBTOOL_DLOPEN_SELF
6163 +AC_LIBTOOL_CONFIG($1)
6167 +])# AC_LIBTOOL_LANG_RC_CONFIG
6169 -if test "$enable_shared" = yes && test "$GCC" = yes; then
6170 - case $archive_cmds in
6172 - # FIXME: we may have to deal with multi-command sequences.
6175 - # Test whether the compiler implicitly links with -lc since on some
6176 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6177 - # to ld, don't add -lc before -lgcc.
6178 - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6179 - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
6181 - echo 'static int dummy;' > conftest.$ac_ext
6183 - if AC_TRY_EVAL(ac_compile); then
6186 - libobjs=conftest.$ac_objext
6188 - wl=$lt_cv_prog_cc_wl
6194 - save_allow_undefined_flag=$allow_undefined_flag
6195 - allow_undefined_flag=
6196 - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6198 - lt_cv_archive_cmds_need_lc=no
6200 - lt_cv_archive_cmds_need_lc=yes
6202 - allow_undefined_flag=$save_allow_undefined_flag
6204 - cat conftest.err 1>&5
6206 - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
6210 -need_lc=${lt_cv_archive_cmds_need_lc-yes}
6212 -# The second clause should only fire when bootstrapping the
6213 +# AC_LIBTOOL_CONFIG([TAGNAME])
6214 +# ----------------------------
6215 +# If TAGNAME is not passed, then create an initial libtool script
6216 +# with a default configuration from the untagged config vars. Otherwise
6217 +# add code to config.status for appending the configuration named by
6218 +# TAGNAME from the matching tagged config vars.
6219 +AC_DEFUN([AC_LIBTOOL_CONFIG],
6220 +[# The else clause should only fire when bootstrapping the
6221 # libtool distribution, otherwise you forgot to ship ltmain.sh
6222 # with your package, and you will get complaints that there are
6223 # no rules to generate ltmain.sh.
6224 if test -f "$ltmain"; then
6227 - # If there is no Makefile yet, we rely on a make rule to execute
6228 - # `config.status --recheck' to rerun these tests and create the
6229 - # libtool script then.
6230 - test -f Makefile && make "$ltmain"
6233 -if test -f "$ltmain"; then
6234 - trap "$rm \"${ofile}T\"; exit 1" 1 2 15
6235 - $rm -f "${ofile}T"
6237 - echo creating $ofile
6239 + # See if we are running on zsh, and set the options which allow our commands through
6240 + # without removal of \ escapes.
6241 + if test -n "${ZSH_VERSION+set}" ; then
6242 + setopt NO_GLOB_SUBST
6244 # Now quote all the things that may contain metacharacters while being
6245 # careful not to overquote the AC_SUBSTed values. We take copies of the
6246 # variables and quote the copies for generation of the libtool script.
6247 - for var in echo old_CC old_CFLAGS SED \
6248 - AR AR_FLAGS CC LD LN_S NM SHELL \
6249 - reload_flag reload_cmds wl \
6250 - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
6251 - thread_safe_flag_spec whole_archive_flag_spec libname_spec \
6252 - library_names_spec soname_spec \
6253 - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
6254 - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
6255 - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
6256 - old_striplib striplib file_magic_cmd export_symbols_cmds \
6257 - deplibs_check_method allow_undefined_flag no_undefined_flag \
6258 - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
6259 - global_symbol_to_c_name_address \
6260 - hardcode_libdir_flag_spec hardcode_libdir_separator \
6261 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6263 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6264 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6265 + deplibs_check_method reload_flag reload_cmds need_locks \
6266 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6267 + lt_cv_sys_global_symbol_to_c_name_address \
6268 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6269 - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
6270 + old_postinstall_cmds old_postuninstall_cmds \
6271 + _LT_AC_TAGVAR(compiler, $1) \
6272 + _LT_AC_TAGVAR(CC, $1) \
6273 + _LT_AC_TAGVAR(LD, $1) \
6274 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
6275 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
6276 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
6277 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
6278 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
6279 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
6280 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
6281 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
6282 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
6283 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
6284 + _LT_AC_TAGVAR(predep_objects, $1) \
6285 + _LT_AC_TAGVAR(postdep_objects, $1) \
6286 + _LT_AC_TAGVAR(predeps, $1) \
6287 + _LT_AC_TAGVAR(postdeps, $1) \
6288 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
6289 + _LT_AC_TAGVAR(archive_cmds, $1) \
6290 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
6291 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
6292 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
6293 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
6294 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
6295 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
6296 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
6297 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
6298 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
6299 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
6300 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
6301 + _LT_AC_TAGVAR(module_cmds, $1) \
6302 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
6303 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
6304 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
6305 + _LT_AC_TAGVAR(include_expsyms, $1); do
6308 - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
6309 - old_postinstall_cmds | old_postuninstall_cmds | \
6310 - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
6311 - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
6312 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
6313 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
6314 + _LT_AC_TAGVAR(archive_cmds, $1) | \
6315 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
6316 + _LT_AC_TAGVAR(module_cmds, $1) | \
6317 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
6318 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
6319 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
6320 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6321 postinstall_cmds | postuninstall_cmds | \
6322 - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6323 + old_postinstall_cmds | old_postuninstall_cmds | \
6324 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6325 # Double-quote double-evaled strings.
6326 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6328 @@ -2609,14 +4871,31 @@
6332 - cat <<__EOF__ > "${ofile}T"
6335 + *'\[$]0 --fallback-echo"')
6336 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
6340 -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6342 + [cfgfile="${ofile}T"
6343 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
6345 + AC_MSG_NOTICE([creating $ofile])],
6346 + [cfgfile="$ofile"])
6348 + cat <<__EOF__ >> "$cfgfile"
6352 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6353 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6354 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
6356 -# Copyright (C) 1996-2000 Free Software Foundation, Inc.
6357 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
6358 +# Free Software Foundation, Inc.
6360 +# This file is part of GNU Libtool:
6361 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6363 # This program is free software; you can redistribute it and/or modify
6364 @@ -2638,17 +4917,21 @@
6365 # configuration script generated by Autoconf, you may include it under
6366 # the same distribution terms that you use for the rest of that program.
6368 -# A sed that does not truncate output.
6369 +# A sed program that does not truncate output.
6372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
6373 -Xsed="${SED} -e s/^X//"
6374 +Xsed="$SED -e s/^X//"
6376 # The HP-UX ksh and POSIX shell print the target directory to stdout
6378 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
6380 -# ### BEGIN LIBTOOL CONFIG
6381 +# The names of the tagged configurations supported by this script.
6384 +# ### BEGIN LIBTOOL CONFIG],
6385 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
6387 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6389 @@ -2662,7 +4945,10 @@
6390 build_old_libs=$enable_static
6392 # Whether or not to add -lc for building shared libraries.
6393 -build_libtool_need_lc=$need_lc
6394 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
6396 +# Whether or not to disallow shared libs when runtime libs are static
6397 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
6399 # Whether or not to optimize for fast installation.
6400 fast_install=$enable_fast_install
6401 @@ -2678,14 +4964,20 @@
6403 AR_FLAGS=$lt_AR_FLAGS
6405 -# The default C compiler.
6410 +# A language-specific compiler.
6411 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
6413 # Is the compiler the GNU C compiler?
6415 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
6420 # The linker used to build libraries.
6422 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
6424 # Whether we need hard or soft links.
6426 @@ -2694,7 +4986,7 @@
6429 # A symbol stripping program
6433 # Used to examine libraries when file_magic_cmd begins "file"
6434 MAGIC_CMD=$MAGIC_CMD
6435 @@ -2716,7 +5008,7 @@
6436 reload_cmds=$lt_reload_cmds
6438 # How to pass a linker flag through the compiler.
6440 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6442 # Object file suffix (normally "o").
6444 @@ -2724,18 +5016,21 @@
6445 # Old archive suffix (normally "a").
6448 +# Shared library suffix (normally ".so").
6449 +shrext_cmds='$shrext_cmds'
6451 # Executable file suffix (normally "").
6454 # Additional compiler flags for building library objects.
6455 -pic_flag=$lt_pic_flag
6456 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6459 -# Does compiler simultaneously support -c and -o options?
6460 -compiler_c_o=$lt_compiler_c_o
6461 +# What is the maximum length of a command?
6462 +max_cmd_len=$lt_cv_sys_max_cmd_len
6464 -# Can we write directly to a .lo ?
6465 -compiler_o_lo=$lt_compiler_o_lo
6466 +# Does compiler simultaneously support -c and -o options?
6467 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
6469 # Must we lock files when doing compilation ?
6470 need_locks=$lt_need_locks
6471 @@ -2756,946 +5051,1770 @@
6472 dlopen_self_static=$enable_dlopen_self_static
6474 # Compiler flag to prevent dynamic linking.
6475 -link_static_flag=$lt_link_static_flag
6476 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
6478 # Compiler flag to turn off builtin functions.
6479 -no_builtin_flag=$lt_no_builtin_flag
6480 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
6482 # Compiler flag to allow reflexive dlopens.
6483 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
6484 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
6486 # Compiler flag to generate shared objects directly from archives.
6487 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
6488 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
6490 # Compiler flag to generate thread-safe objects.
6491 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
6492 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
6494 +# Library versioning type.
6495 +version_type=$version_type
6497 +# Format of library name prefix.
6498 +libname_spec=$lt_libname_spec
6500 +# List of archive names. First name is the real one, the rest are links.
6501 +# The last name is the one that the linker finds with -lNAME.
6502 +library_names_spec=$lt_library_names_spec
6504 +# The coded name of the library, if different from the real name.
6505 +soname_spec=$lt_soname_spec
6507 +# Commands used to build and install an old-style archive.
6509 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
6510 +old_postinstall_cmds=$lt_old_postinstall_cmds
6511 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6513 +# Create an old-style archive from a shared archive.
6514 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
6516 +# Create a temporary old-style archive to link instead of a shared archive.
6517 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
6519 +# Commands used to build and install a shared archive.
6520 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
6521 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
6522 +postinstall_cmds=$lt_postinstall_cmds
6523 +postuninstall_cmds=$lt_postuninstall_cmds
6525 +# Commands used to build a loadable module (assumed same as above if empty)
6526 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
6527 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
6529 +# Commands to strip libraries.
6530 +old_striplib=$lt_old_striplib
6531 +striplib=$lt_striplib
6533 +# Dependencies to place before the objects being linked to create a
6535 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
6537 +# Dependencies to place after the objects being linked to create a
6539 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
6541 +# Dependencies to place before the objects being linked to create a
6543 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
6545 +# Dependencies to place after the objects being linked to create a
6547 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
6549 +# The library search path used internally by the compiler when linking
6550 +# a shared library.
6551 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
6553 +# Method to check whether dependent libraries are shared objects.
6554 +deplibs_check_method=$lt_deplibs_check_method
6556 +# Command to use when deplibs_check_method == file_magic.
6557 +file_magic_cmd=$lt_file_magic_cmd
6559 +# Flag that allows shared libraries with undefined symbols to be built.
6560 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
6562 +# Flag that forces no undefined symbols.
6563 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
6565 +# Commands used to finish a libtool library installation in a directory.
6566 +finish_cmds=$lt_finish_cmds
6568 +# Same as above, but a single script fragment to be evaled but not shown.
6569 +finish_eval=$lt_finish_eval
6571 +# Take the output of nm and produce a listing of raw symbols and C names.
6572 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6574 +# Transform the output of nm in a proper C declaration
6575 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6577 +# Transform the output of nm in a C name address pair
6578 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6580 +# This is the shared library runtime path variable.
6581 +runpath_var=$runpath_var
6583 +# This is the shared library path variable.
6584 +shlibpath_var=$shlibpath_var
6586 +# Is shlibpath searched before the hard-coded library search path?
6587 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6589 +# How to hardcode a shared library path into an executable.
6590 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
6592 +# Whether we should hardcode library paths into libraries.
6593 +hardcode_into_libs=$hardcode_into_libs
6595 +# Flag to hardcode \$libdir into a binary during linking.
6596 +# This must work even if \$libdir does not exist.
6597 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6599 +# If ld is used when linking, flag to hardcode \$libdir into
6600 +# a binary during linking. This must work even if \$libdir does
6602 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
6604 +# Whether we need a single -rpath flag with a separated argument.
6605 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
6607 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6608 +# resulting binary.
6609 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
6611 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6612 +# resulting binary.
6613 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
6615 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6616 +# the resulting binary.
6617 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
6619 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6620 +# and all subsequent libraries and executables linked against it.
6621 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
6623 +# Variables whose values should be saved in libtool wrapper scripts and
6624 +# restored at relink time.
6625 +variables_saved_for_relink="$variables_saved_for_relink"
6627 +# Whether libtool must link a program against all its dependency libraries.
6628 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
6630 +# Compile-time system search path for libraries
6631 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6633 +# Run-time system search path for libraries
6634 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6636 +# Fix the shell variable \$srcfile for the compiler.
6637 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
6639 +# Set to yes if exported symbols are required.
6640 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
6642 +# The commands to list exported symbols.
6643 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
6645 +# The commands to extract the exported symbol list from a shared archive.
6646 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6648 +# Symbols that should not be listed in the preloaded symbols.
6649 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
6651 +# Symbols that must always be exported.
6652 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
6655 +[# ### END LIBTOOL CONFIG],
6656 +[# ### END LIBTOOL TAG CONFIG: $tagname])
6663 + cat <<\EOF >> "$cfgfile"
6665 +# AIX sometimes has problems with the GCC collect2 program. For some
6666 +# reason, if we set the COLLECT_NAMES environment variable, the problems
6667 +# vanish in a puff of smoke.
6668 +if test "X${COLLECT_NAMES+set}" != Xset; then
6670 + export COLLECT_NAMES
6676 + # We use sed instead of cat because bash on DJGPP gets confused if
6677 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
6678 + # text mode, it properly converts lines to CR/LF. This bash problem
6679 + # is reportedly fixed, but why not run on old versions too?
6680 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6682 + mv -f "$cfgfile" "$ofile" || \
6683 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6687 + # If there is no Makefile yet, we rely on a make rule to execute
6688 + # `config.status --recheck' to rerun these tests and create the
6689 + # libtool script then.
6690 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6691 + if test -f "$ltmain_in"; then
6692 + test -f Makefile && make "$ltmain"
6695 +])# AC_LIBTOOL_CONFIG
6698 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
6699 +# -------------------------------------------
6700 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
6701 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
6703 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6705 +if test "$GCC" = yes; then
6706 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6708 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6709 + lt_cv_prog_compiler_rtti_exceptions,
6710 + [-fno-rtti -fno-exceptions], [],
6711 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6713 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
6716 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6717 +# ---------------------------------
6718 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6719 +[AC_REQUIRE([AC_CANONICAL_HOST])
6720 +AC_REQUIRE([AC_PROG_NM])
6721 +AC_REQUIRE([AC_OBJEXT])
6722 +# Check for command to grab the raw symbol name followed by C symbol from nm.
6723 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6724 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6726 +# These are sane defaults that work on at least a few old systems.
6727 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6729 +# Character class describing NM global symbol codes.
6730 +symcode='[[BCDEGRST]]'
6732 +# Regexp to match symbols that can be accessed directly from C.
6733 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6735 +# Transform the above into a raw symbol and a C symbol.
6736 +symxfrm='\1 \2\3 \3'
6738 +# Transform an extracted symbol line into a proper C declaration
6739 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6741 +# Transform an extracted symbol line into symbol name and symbol address
6742 +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'"
6744 +# Define system-specific variables.
6747 + symcode='[[BCDT]]'
6749 +cygwin* | mingw* | pw32*)
6750 + symcode='[[ABCDGISTW]]'
6752 +hpux*) # Its linker distinguishes data from code symbols
6753 + if test "$host_cpu" = ia64; then
6754 + symcode='[[ABCDEGRST]]'
6756 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6757 + 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'"
6759 +irix* | nonstopux*)
6760 + symcode='[[BCDEGRST]]'
6763 + symcode='[[BCDEGQRST]]'
6766 + symcode='[[BDRT]]'
6769 + symcode='[[DFNSTU]]'
6773 +# Handle CRLF in mingw tool chain
6777 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6781 -# Library versioning type.
6782 -version_type=$version_type
6783 +# If we're using GNU nm, then use its standard symbol codes.
6784 +case `$NM -V 2>&1` in
6785 +*GNU* | *'with BFD'*)
6786 + symcode='[[ABCDGIRSTW]]' ;;
6789 -# Format of library name prefix.
6790 -libname_spec=$lt_libname_spec
6791 +# Try without a prefix undercore, then with it.
6792 +for ac_symprfx in "" "_"; do
6794 -# List of archive names. First name is the real one, the rest are links.
6795 -# The last name is the one that the linker finds with -lNAME.
6796 -library_names_spec=$lt_library_names_spec
6797 + # Write the raw and C identifiers.
6798 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6800 -# The coded name of the library, if different from the real name.
6801 -soname_spec=$lt_soname_spec
6802 + # Check to see that the pipe works correctly.
6805 -# Commands used to build and install an old-style archive.
6807 -old_archive_cmds=$lt_old_archive_cmds
6808 -old_postinstall_cmds=$lt_old_postinstall_cmds
6809 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6811 + cat > conftest.$ac_ext <<EOF
6816 +void nm_test_func(){}
6820 +int main(){nm_test_var='a';nm_test_func();return(0);}
6823 -# Create an old-style archive from a shared archive.
6824 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
6825 + if AC_TRY_EVAL(ac_compile); then
6826 + # Now try to grab the symbols.
6828 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
6829 + # Try sorting and uniquifying the output.
6830 + if sort "$nlist" | uniq > "$nlist"T; then
6831 + mv -f "$nlist"T "$nlist"
6836 -# Create a temporary old-style archive to link instead of a shared archive.
6837 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
6838 + # Make sure that we snagged all the symbols we need.
6839 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
6840 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
6841 + cat <<EOF > conftest.$ac_ext
6846 -# Commands used to build and install a shared archive.
6847 -archive_cmds=$lt_archive_cmds
6848 -archive_expsym_cmds=$lt_archive_expsym_cmds
6849 -postinstall_cmds=$lt_postinstall_cmds
6850 -postuninstall_cmds=$lt_postuninstall_cmds
6852 + # Now generate the symbol file.
6853 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6855 -# Commands to strip libraries.
6856 -old_striplib=$lt_old_striplib
6857 -striplib=$lt_striplib
6858 + cat <<EOF >> conftest.$ac_ext
6859 +#if defined (__STDC__) && __STDC__
6860 +# define lt_ptr_t void *
6862 +# define lt_ptr_t char *
6866 -# Method to check whether dependent libraries are shared objects.
6867 -deplibs_check_method=$lt_deplibs_check_method
6868 +/* The mapping between symbol names and symbols. */
6873 +lt_preloaded_symbols[[]] =
6876 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6877 + cat <<\EOF >> conftest.$ac_ext
6881 -# Command to use when deplibs_check_method == file_magic.
6882 -file_magic_cmd=$lt_file_magic_cmd
6887 + # Now try linking the two files.
6888 + mv conftest.$ac_objext conftstm.$ac_objext
6889 + lt_save_LIBS="$LIBS"
6890 + lt_save_CFLAGS="$CFLAGS"
6891 + LIBS="conftstm.$ac_objext"
6892 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
6893 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
6896 + LIBS="$lt_save_LIBS"
6897 + CFLAGS="$lt_save_CFLAGS"
6899 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
6902 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
6905 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
6908 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
6909 + cat conftest.$ac_ext >&5
6911 + rm -f conftest* conftst*
6913 -# Flag that allows shared libraries with undefined symbols to be built.
6914 -allow_undefined_flag=$lt_allow_undefined_flag
6915 + # Do not use the global_symbol_pipe unless it works.
6916 + if test "$pipe_works" = yes; then
6919 + lt_cv_sys_global_symbol_pipe=
6923 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
6924 + lt_cv_sys_global_symbol_to_cdecl=
6926 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6927 + AC_MSG_RESULT(failed)
6931 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6933 -# Flag that forces no undefined symbols.
6934 -no_undefined_flag=$lt_no_undefined_flag
6936 -# Commands used to finish a libtool library installation in a directory.
6937 -finish_cmds=$lt_finish_cmds
6938 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
6939 +# ---------------------------------------
6940 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
6941 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
6942 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6943 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
6945 -# Same as above, but a single script fragment to be evaled but not shown.
6946 -finish_eval=$lt_finish_eval
6947 +AC_MSG_CHECKING([for $compiler option to produce PIC])
6948 + ifelse([$1],[CXX],[
6949 + # C++ specific cases for pic, static, wl, etc.
6950 + if test "$GXX" = yes; then
6951 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6952 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6954 -# Take the output of nm and produce a listing of raw symbols and C names.
6955 -global_symbol_pipe=$lt_global_symbol_pipe
6958 + # All AIX code is PIC.
6959 + if test "$host_cpu" = ia64; then
6960 + # AIX 5 now supports IA64 processor
6961 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6965 + # FIXME: we need at least 68020 code to build shared libraries, but
6966 + # adding the `-m68020' flag to GCC prevents building anything better,
6968 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6970 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6971 + # PIC is the default for these OSes.
6973 + mingw* | os2* | pw32*)
6974 + # This hack is so that the source file can tell whether it is being
6975 + # built for inclusion in a dll (and should export symbols for example).
6976 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6978 + darwin* | rhapsody*)
6979 + # PIC is the default on this platform
6980 + # Common symbols not allowed in MH_DYLIB files
6981 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6984 + # DJGPP does not support shared libraries at all
6985 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6988 + if test -d /usr/nec; then
6989 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6993 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6994 + # not for PA HP-UX.
6995 + case "$host_cpu" in
6999 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7004 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7010 + # All AIX code is PIC.
7011 + if test "$host_cpu" = ia64; then
7012 + # AIX 5 now supports IA64 processor
7013 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7015 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7019 + case $cc_basename in
7021 + # Green Hills C++ Compiler
7022 + # _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"
7027 + case $cc_basename in
7029 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7032 + # Green Hills C++ Compiler
7033 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7039 + freebsd* | kfreebsd*-gnu)
7040 + # FreeBSD uses GNU C++
7042 + hpux9* | hpux10* | hpux11*)
7043 + case $cc_basename in
7045 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7046 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7047 + if test "$host_cpu" != ia64; then
7048 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7052 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7053 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7054 + case "$host_cpu" in
7059 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7067 + irix5* | irix6* | nonstopux*)
7068 + case $cc_basename in
7070 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7071 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7072 + # CC pic flag -KPIC is the default.
7079 + case $cc_basename in
7081 + # KAI C++ Compiler
7082 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7083 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7087 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7088 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7089 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7093 + # Make sure the PIC flag is empty. It appears that all Alpha
7094 + # Linux and Compaq Tru64 Unix objects are PIC.
7095 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7096 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7107 + case $cc_basename in
7109 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
7115 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7117 + osf3* | osf4* | osf5*)
7118 + case $cc_basename in
7120 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7123 + # Rational C++ 2.4.1
7124 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7127 + # Digital/Compaq C++
7128 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7129 + # Make sure the PIC flag is empty. It appears that all Alpha
7130 + # Linux and Compaq Tru64 Unix objects are PIC.
7131 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7132 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7141 + case $cc_basename in
7143 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7150 + case $cc_basename in
7152 + # Sun C++ 4.2, 5.x and Centerline C++
7153 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7154 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7155 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7158 + # Green Hills C++ Compiler
7159 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7166 + case $cc_basename in
7169 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7170 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7174 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7181 + case $cc_basename in
7183 + # NonStop-UX NCC 3.20
7184 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7195 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7201 + if test "$GCC" = yes; then
7202 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7203 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7205 -# Transform the output of nm in a proper C declaration
7206 -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7209 + # All AIX code is PIC.
7210 + if test "$host_cpu" = ia64; then
7211 + # AIX 5 now supports IA64 processor
7212 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7216 -# Transform the output of nm in a C name address pair
7217 -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7219 + # FIXME: we need at least 68020 code to build shared libraries, but
7220 + # adding the `-m68020' flag to GCC prevents building anything better,
7222 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7225 -# This is the shared library runtime path variable.
7226 -runpath_var=$runpath_var
7227 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7228 + # PIC is the default for these OSes.
7231 -# This is the shared library path variable.
7232 -shlibpath_var=$shlibpath_var
7233 + mingw* | pw32* | os2*)
7234 + # This hack is so that the source file can tell whether it is being
7235 + # built for inclusion in a dll (and should export symbols for example).
7236 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7239 -# Is shlibpath searched before the hard-coded library search path?
7240 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7241 + darwin* | rhapsody*)
7242 + # PIC is the default on this platform
7243 + # Common symbols not allowed in MH_DYLIB files
7244 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7247 -# How to hardcode a shared library path into an executable.
7248 -hardcode_action=$hardcode_action
7250 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7251 + # on systems that don't support them.
7252 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7256 -# Whether we should hardcode library paths into libraries.
7257 -hardcode_into_libs=$hardcode_into_libs
7259 + if test -d /usr/nec; then
7260 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7264 -# Flag to hardcode \$libdir into a binary during linking.
7265 -# This must work even if \$libdir does not exist.
7266 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7268 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7269 + # not for PA HP-UX.
7270 + case "$host_cpu" in
7275 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7280 -# Whether we need a single -rpath flag with a separated argument.
7281 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
7283 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7287 + # PORTME Check for flag to pass linker flags through the system compiler.
7290 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7291 + if test "$host_cpu" = ia64; then
7292 + # AIX 5 now supports IA64 processor
7293 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7295 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7299 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
7300 -# resulting binary.
7301 -hardcode_direct=$hardcode_direct
7302 + mingw* | pw32* | os2*)
7303 + # This hack is so that the source file can tell whether it is being
7304 + # built for inclusion in a dll (and should export symbols for example).
7305 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7308 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7309 -# resulting binary.
7310 -hardcode_minus_L=$hardcode_minus_L
7311 + hpux9* | hpux10* | hpux11*)
7312 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7313 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7314 + # not for PA HP-UX.
7315 + case "$host_cpu" in
7320 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7323 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7324 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
7327 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7328 -# the resulting binary.
7329 -hardcode_shlibpath_var=$hardcode_shlibpath_var
7330 + irix5* | irix6* | nonstopux*)
7331 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7332 + # PIC (with -KPIC) is the default.
7333 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7336 -# Variables whose values should be saved in libtool wrapper scripts and
7337 -# restored at relink time.
7338 -variables_saved_for_relink="$variables_saved_for_relink"
7340 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7341 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7344 -# Whether libtool must link a program against all its dependency libraries.
7345 -link_all_deplibs=$link_all_deplibs
7349 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7350 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7351 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7354 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7355 + # All Alpha code is PIC.
7356 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7361 -# Compile-time system search path for libraries
7362 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7363 + osf3* | osf4* | osf5*)
7364 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7365 + # All OSF/1 code is PIC.
7366 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7369 -# Run-time system search path for libraries
7370 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7372 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
7373 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
7376 -# Fix the shell variable \$srcfile for the compiler.
7377 -fix_srcfile_path="$fix_srcfile_path"
7379 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7380 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7381 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7384 -# Set to yes if exported symbols are required.
7385 -always_export_symbols=$always_export_symbols
7387 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7388 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7389 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7392 -# The commands to list exported symbols.
7393 -export_symbols_cmds=$lt_export_symbols_cmds
7394 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7395 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7396 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7397 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7400 -# The commands to extract the exported symbol list from a shared archive.
7401 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
7403 + if test -d /usr/nec ;then
7404 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
7405 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7409 -# Symbols that should not be listed in the preloaded symbols.
7410 -exclude_expsyms=$lt_exclude_expsyms
7412 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7413 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7416 -# Symbols that must always be exported.
7417 -include_expsyms=$lt_include_expsyms
7419 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7424 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
7426 -# ### END LIBTOOL CONFIG
7428 +# Check to make sure the PIC flag actually works.
7430 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
7431 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
7432 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
7433 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
7434 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
7436 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
7438 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7439 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
7442 + # For platforms which do not support PIC, -DPIC is meaningless:
7444 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7447 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
7454 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
7455 +# ------------------------------------
7456 +# See if the linker supports building shared libraries.
7457 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
7458 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7459 +ifelse([$1],[CXX],[
7460 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7463 - cat <<\EOF >> "${ofile}T"
7465 -# AIX sometimes has problems with the GCC collect2 program. For some
7466 -# reason, if we set the COLLECT_NAMES environment variable, the problems
7467 -# vanish in a puff of smoke.
7468 -if test "X${COLLECT_NAMES+set}" != Xset; then
7470 - export COLLECT_NAMES
7474 + # If we're using GNU nm, then we don't want the "-C" option.
7475 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7476 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7477 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7479 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7483 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
7486 + _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'
7489 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7492 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7497 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7498 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7499 + _LT_AC_TAGVAR(archive_cmds, $1)=
7500 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7501 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
7502 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
7503 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7504 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7505 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
7506 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7507 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7508 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7509 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7510 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7511 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7512 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7513 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
7514 + _LT_AC_TAGVAR(module_cmds, $1)=
7515 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
7516 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7517 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7518 + # include_expsyms should be a list of space-separated symbols to be *always*
7519 + # included in the symbol list
7520 + _LT_AC_TAGVAR(include_expsyms, $1)=
7521 + # exclude_expsyms can be an extended regexp of symbols to exclude
7522 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7523 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7524 + # as well as any symbol that contains `d'.
7525 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
7526 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7527 + # platforms (ab)use it in PIC code, but their linkers get confused if
7528 + # the symbol is explicitly referenced. Since portable code cannot
7529 + # rely on this symbol name, it's probably fine to never include it in
7530 + # preloaded symbol tables.
7531 + extract_expsyms_cmds=
7534 - cygwin* | mingw* | pw32* | os2*)
7535 - cat <<'EOF' >> "${ofile}T"
7536 - # This is a source program that is used to create dlls on Windows
7537 - # Don't remove nor modify the starting and closing comments
7538 -# /* ltdll.c starts here */
7539 -# #define WIN32_LEAN_AND_MEAN
7540 -# #include <windows.h>
7541 -# #undef WIN32_LEAN_AND_MEAN
7542 -# #include <stdio.h>
7544 -# #ifndef __CYGWIN__
7545 -# # ifdef __CYGWIN32__
7546 -# # define __CYGWIN__ __CYGWIN32__
7550 -# #ifdef __cplusplus
7553 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7554 -# #ifdef __cplusplus
7558 -# #ifdef __CYGWIN__
7559 -# #include <cygwin/cygwin_dll.h>
7560 -# DECLARE_CYGWIN_DLL( DllMain );
7562 -# HINSTANCE __hDllInstance_base;
7565 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7567 -# __hDllInstance_base = hInst;
7570 -# /* ltdll.c ends here */
7571 - # This is a source program that is used to create import libraries
7572 - # on Windows for dlls which lack them. Don't remove nor modify the
7573 - # starting and closing comments
7574 -# /* impgen.c starts here */
7575 -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7577 -# This file is part of GNU libtool.
7579 -# This program is free software; you can redistribute it and/or modify
7580 -# it under the terms of the GNU General Public License as published by
7581 -# the Free Software Foundation; either version 2 of the License, or
7582 -# (at your option) any later version.
7584 -# This program is distributed in the hope that it will be useful,
7585 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
7586 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7587 -# GNU General Public License for more details.
7589 -# You should have received a copy of the GNU General Public License
7590 -# along with this program; if not, write to the Free Software
7591 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7594 -# #include <stdio.h> /* for printf() */
7595 -# #include <unistd.h> /* for open(), lseek(), read() */
7596 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
7597 -# #include <string.h> /* for strdup() */
7599 -# /* O_BINARY isn't required (or even defined sometimes) under Unix */
7601 -# #define O_BINARY 0
7604 -# static unsigned int
7605 -# pe_get16 (fd, offset)
7609 -# unsigned char b[2];
7610 -# lseek (fd, offset, SEEK_SET);
7612 -# return b[0] + (b[1]<<8);
7615 -# static unsigned int
7616 -# pe_get32 (fd, offset)
7620 -# unsigned char b[4];
7621 -# lseek (fd, offset, SEEK_SET);
7623 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7626 -# static unsigned int
7630 -# unsigned char *b = ptr;
7631 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7635 -# main (argc, argv)
7640 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
7641 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
7642 -# unsigned long name_rvas, nexp;
7643 -# unsigned char *expdata, *erva;
7644 -# char *filename, *dll_name;
7646 -# filename = argv[1];
7648 -# dll = open(filename, O_RDONLY|O_BINARY);
7652 -# dll_name = filename;
7654 -# for (i=0; filename[i]; i++)
7655 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
7656 -# dll_name = filename + i +1;
7658 -# pe_header_offset = pe_get32 (dll, 0x3c);
7659 -# opthdr_ofs = pe_header_offset + 4 + 20;
7660 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
7662 -# if (num_entries < 1) /* no exports */
7665 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
7666 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
7667 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
7668 -# secptr = (pe_header_offset + 4 + 20 +
7669 -# pe_get16 (dll, pe_header_offset + 4 + 16));
7672 -# for (i = 0; i < nsections; i++)
7675 -# unsigned long secptr1 = secptr + 40 * i;
7676 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
7677 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
7678 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
7679 -# lseek(dll, secptr1, SEEK_SET);
7680 -# read(dll, sname, 8);
7681 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
7683 -# expptr = fptr + (export_rva - vaddr);
7684 -# if (export_rva + export_size > vaddr + vsize)
7685 -# export_size = vsize - (export_rva - vaddr);
7690 -# expdata = (unsigned char*)malloc(export_size);
7691 -# lseek (dll, expptr, SEEK_SET);
7692 -# read (dll, expdata, export_size);
7693 -# erva = expdata - export_rva;
7695 -# nexp = pe_as32 (expdata+24);
7696 -# name_rvas = pe_as32 (expdata+32);
7698 -# printf ("EXPORTS\n");
7699 -# for (i = 0; i<nexp; i++)
7701 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
7702 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
7707 -# /* impgen.c ends here */
7710 + cygwin* | mingw* | pw32*)
7711 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7712 + # When not using gcc, we currently assume that we are using
7713 + # Microsoft Visual C++.
7714 + if test "$GCC" != yes; then
7723 - # We use sed instead of cat because bash on DJGPP gets confused if
7724 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
7725 - # text mode, it properly converts lines to CR/LF. This bash problem
7726 - # is reportedly fixed, but why not run on old versions too?
7727 - sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
7728 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7729 + if test "$with_gnu_ld" = yes; then
7730 + # If archive_cmds runs LD, not CC, wlarc should be empty
7733 - mv -f "${ofile}T" "$ofile" || \
7734 - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
7737 + # See if GNU ld supports shared libraries.
7739 + aix3* | aix4* | aix5*)
7740 + # On AIX/PPC, the GNU linker is very broken
7741 + if test "$host_cpu" != ia64; then
7742 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7745 -])# _LT_AC_LTCONFIG_HACK
7746 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7747 +*** to be unable to reliably create shared libraries on AIX.
7748 +*** Therefore, libtool is disabling shared libraries support. If you
7749 +*** really care for shared libraries, you may want to modify your PATH
7750 +*** so that a non-GNU linker is found, and then restart.
7752 -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
7753 -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
7758 -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
7759 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
7761 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7762 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7763 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7765 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7766 + # that the semantics of dynamic libraries on AmigaOS, at least up
7767 + # to version 4, is to share data among multiple programs linked
7768 + # with the same dynamic library. Since this doesn't match the
7769 + # behavior of shared libraries on other platforms, we can't use
7771 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7774 -# AC_ENABLE_SHARED - implement the --enable-shared flag
7775 -# Usage: AC_ENABLE_SHARED[(DEFAULT)]
7776 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7778 -AC_DEFUN([AC_ENABLE_SHARED],
7779 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
7780 -AC_ARG_ENABLE(shared,
7781 -changequote(<<, >>)dnl
7782 -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
7783 -changequote([, ])dnl
7784 -[p=${PACKAGE-default}
7786 -yes) enable_shared=yes ;;
7787 -no) enable_shared=no ;;
7790 - # Look at the argument we got. We use all the common list separators.
7791 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7792 - for pkg in $enableval; do
7793 - if test "X$pkg" = "X$p"; then
7797 - IFS="$ac_save_ifs"
7800 -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
7803 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7804 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7805 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7806 + # support --undefined. This deserves some investigation. FIXME
7807 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7809 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7813 -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
7814 -AC_DEFUN([AC_DISABLE_SHARED],
7815 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7816 -AC_ENABLE_SHARED(no)])
7817 + cygwin* | mingw* | pw32*)
7818 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7819 + # as there is no search path for DLLs.
7820 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7821 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7822 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7823 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7824 + _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'
7826 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7827 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7828 + # If the export-symbols file already is a .def file (1st line
7829 + # is EXPORTS), use it as is; otherwise, prepend...
7830 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7831 + cp $export_symbols $output_objdir/$soname.def;
7833 + echo EXPORTS > $output_objdir/$soname.def;
7834 + cat $export_symbols >> $output_objdir/$soname.def;
7836 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7842 -# AC_ENABLE_STATIC - implement the --enable-static flag
7843 -# Usage: AC_ENABLE_STATIC[(DEFAULT)]
7844 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7846 -AC_DEFUN([AC_ENABLE_STATIC],
7847 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
7848 -AC_ARG_ENABLE(static,
7849 -changequote(<<, >>)dnl
7850 -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
7851 -changequote([, ])dnl
7852 -[p=${PACKAGE-default}
7854 -yes) enable_static=yes ;;
7855 -no) enable_static=no ;;
7858 - # Look at the argument we got. We use all the common list separators.
7859 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7860 - for pkg in $enableval; do
7861 - if test "X$pkg" = "X$p"; then
7865 - IFS="$ac_save_ifs"
7868 -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
7870 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7871 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7872 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7875 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7876 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7880 -# AC_DISABLE_STATIC - set the default static flag to --disable-static
7881 -AC_DEFUN([AC_DISABLE_STATIC],
7882 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7883 -AC_ENABLE_STATIC(no)])
7884 + solaris* | sysv5*)
7885 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7886 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7889 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7890 +*** create shared libraries on Solaris systems. Therefore, libtool
7891 +*** is disabling shared libraries support. We urge you to upgrade GNU
7892 +*** binutils to release 2.9.1 or newer. Another option is to modify
7893 +*** your PATH or compiler configuration so that the native linker is
7894 +*** used, and then restart.
7897 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7898 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7899 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7901 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7905 -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
7906 -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
7907 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7909 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
7910 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
7911 -AC_ARG_ENABLE(fast-install,
7912 -changequote(<<, >>)dnl
7913 -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
7914 -changequote([, ])dnl
7915 -[p=${PACKAGE-default}
7917 -yes) enable_fast_install=yes ;;
7918 -no) enable_fast_install=no ;;
7920 - enable_fast_install=no
7921 - # Look at the argument we got. We use all the common list separators.
7922 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7923 - for pkg in $enableval; do
7924 - if test "X$pkg" = "X$p"; then
7925 - enable_fast_install=yes
7927 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7929 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7930 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7934 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7935 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7936 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
7937 + supports_anon_versioning=no
7938 + case `$LD -v 2>/dev/null` in
7939 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
7940 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7941 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7942 + *\ 2.11.*) ;; # other 2.11 versions
7943 + *) supports_anon_versioning=yes ;;
7945 + if test $supports_anon_versioning = yes; then
7946 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7947 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7948 +$echo "local: *; };" >> $output_objdir/$libname.ver~
7949 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7951 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
7953 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7955 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7958 - IFS="$ac_save_ifs"
7961 -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
7965 -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
7966 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
7967 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7968 -AC_ENABLE_FAST_INSTALL(no)])
7970 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7972 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7974 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7979 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
7980 + runpath_var=LD_RUN_PATH
7981 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7982 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7983 + # ancient GNU ld didn't support --whole-archive et. al.
7984 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7985 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7987 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7991 + # PORTME fill in a description of your system's linker (not GNU ld)
7994 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7995 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7996 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7997 + # Note: this linker hardcodes the directories in LIBPATH if there
7998 + # are no directories specified by -L.
7999 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8000 + if test "$GCC" = yes && test -z "$link_static_flag"; then
8001 + # Neither direct hardcoding nor static linking is supported with a
8002 + # broken collect2.
8003 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
8008 + if test "$host_cpu" = ia64; then
8009 + # On IA64, the linker does run time linking by default, so we don't
8010 + # have to do anything special.
8011 + aix_use_runtimelinking=no
8012 + exp_sym_flag='-Bexport'
8015 + # If we're using GNU nm, then we don't want the "-C" option.
8016 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
8017 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8018 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
8020 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
8022 + aix_use_runtimelinking=no
8024 -# AC_LIBTOOL_PICMODE - implement the --with-pic flag
8025 -# Usage: AC_LIBTOOL_PICMODE[(MODE)]
8026 -# Where MODE is either `yes' or `no'. If omitted, it defaults to
8028 -AC_DEFUN([AC_LIBTOOL_PICMODE],
8029 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8030 -pic_mode=ifelse($#,1,$1,default)])
8031 + # Test if we are trying to use run time linking or normal
8032 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8033 + # need to do runtime linking.
8034 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
8035 + for ld_flag in $LDFLAGS; do
8036 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8037 + aix_use_runtimelinking=yes
8043 + exp_sym_flag='-bexport'
8044 + no_entry_flag='-bnoentry'
8047 -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
8048 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
8049 -[AC_MSG_CHECKING([for $1])
8050 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
8051 -[case $MAGIC_CMD in
8053 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8056 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
8059 - ac_save_MAGIC_CMD="$MAGIC_CMD"
8060 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8061 -dnl $ac_dummy forces splitting on constant user-supplied paths.
8062 -dnl POSIX.2 word splitting is done only on the output of word expansions,
8063 -dnl not every word. This closes a longstanding sh security hole.
8064 - ac_dummy="ifelse([$2], , $PATH, [$2])"
8065 - for ac_dir in $ac_dummy; do
8066 - test -z "$ac_dir" && ac_dir=.
8067 - if test -f $ac_dir/$1; then
8068 - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
8069 - if test -n "$file_magic_test_file"; then
8070 - case $deplibs_check_method in
8072 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8073 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8074 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8075 - egrep "$file_magic_regex" > /dev/null; then
8077 + # When large executables or shared objects are built, AIX ld can
8078 + # have problems creating the table of contents. If linking a library
8079 + # or program results in "error TOC overflow" add -mminimal-toc to
8080 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8081 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8083 + _LT_AC_TAGVAR(archive_cmds, $1)=''
8084 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8085 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8086 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8088 + if test "$GCC" = yes; then
8089 + case $host_os in aix4.[012]|aix4.[012].*)
8090 + # We only want to do this on AIX 4.2 and lower, the check
8091 + # below for broken collect2 doesn't work under 4.3+
8092 + collect2name=`${CC} -print-prog-name=collect2`
8093 + if test -f "$collect2name" && \
8094 + strings "$collect2name" | grep resolve_lib_name >/dev/null
8096 + # We have reworked collect2
8097 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8101 -*** Warning: the command libtool uses to detect shared libraries,
8102 -*** $file_magic_cmd, produces output that libtool cannot recognize.
8103 -*** The result is that libtool may fail to recognize shared libraries
8104 -*** as such. This will affect the creation of libtool libraries that
8105 -*** depend on shared libraries, but programs linked with such libtool
8106 -*** libraries will work regardless of this problem. Nevertheless, you
8107 -*** may want to report the problem to your system manager and/or to
8108 -*** bug-libtool@gnu.org
8112 + # We have old collect2
8113 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
8114 + # It fails to find uninstalled libraries when the uninstalled
8115 + # path is not listed in the libpath. Setting hardcode_minus_L
8116 + # to unsupported forces relinking
8117 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8118 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8119 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
8122 + shared_flag='-shared'
8125 + if test "$host_cpu" = ia64; then
8126 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8127 + # chokes on -Wl,-G. The following line is correct:
8130 + if test "$aix_use_runtimelinking" = yes; then
8131 + shared_flag='${wl}-G'
8133 + shared_flag='${wl}-bM:SRE'
8140 - IFS="$ac_save_ifs"
8141 - MAGIC_CMD="$ac_save_MAGIC_CMD"
8144 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8145 -if test -n "$MAGIC_CMD"; then
8146 - AC_MSG_RESULT($MAGIC_CMD)
8152 + # It seems that -bexpall does not export symbols beginning with
8153 + # underscore (_), so it is better to generate a list of symbols to export.
8154 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
8155 + if test "$aix_use_runtimelinking" = yes; then
8156 + # Warning - without using the other runtime loading flags (-brtl),
8157 + # -berok will link without error, but may produce a broken library.
8158 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
8159 + # Determine the default libpath from the value encoded in an empty executable.
8160 + _LT_AC_SYS_LIBPATH_AIX
8161 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8162 + _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"
8164 + if test "$host_cpu" = ia64; then
8165 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
8166 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
8167 + _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"
8169 + # Determine the default libpath from the value encoded in an empty executable.
8170 + _LT_AC_SYS_LIBPATH_AIX
8171 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8172 + # Warning - without using the other run time loading flags,
8173 + # -berok will link without error, but may produce a broken library.
8174 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
8175 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
8176 + # -bexpall does not export symbols beginning with underscore (_)
8177 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
8178 + # Exported symbols can be pulled into shared objects from archives
8179 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
8180 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8181 + # This is similar to how AIX traditionally builds it's shared libraries.
8182 + _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'
8187 -# AC_PATH_MAGIC - find a file program which can recognise a shared library
8188 -AC_DEFUN([AC_PATH_MAGIC],
8189 -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
8190 -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
8191 -if test -z "$lt_cv_path_MAGIC_CMD"; then
8192 - if test -n "$ac_tool_prefix"; then
8193 - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
8200 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8201 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8202 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8203 + # see comment about different semantics on the GNU ld section
8204 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8208 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
8211 -# AC_PROG_LD - find the path to the GNU or non-GNU linker
8212 -AC_DEFUN([AC_PROG_LD],
8213 -[AC_ARG_WITH(gnu-ld,
8214 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
8215 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
8216 -AC_REQUIRE([AC_PROG_CC])dnl
8217 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
8218 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
8219 -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
8221 -if test "$GCC" = yes; then
8222 - # Check if gcc -print-prog-name=ld gives a path.
8223 - AC_MSG_CHECKING([for ld used by GCC])
8226 - # gcc leaves a trailing carriage return which upsets mingw
8227 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8229 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8232 - # Accept absolute paths.
8233 - [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
8234 - re_direlt='/[[^/]][[^/]]*/\.\./'
8235 - # Canonicalize the path of ld
8236 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8237 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8238 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8240 - test -z "$LD" && LD="$ac_prog"
8241 + cygwin* | mingw* | pw32*)
8242 + # When not using gcc, we currently assume that we are using
8243 + # Microsoft Visual C++.
8244 + # hardcode_libdir_flag_spec is actually meaningless, as there is
8245 + # no search path for DLLs.
8246 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
8247 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8248 + # Tell ltmain to make .lib files, not .a files.
8250 + # Tell ltmain to make .dll files, not .so files.
8251 + shrext_cmds=".dll"
8252 + # FIXME: Setting linknames here is a bad hack.
8253 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8254 + # The linker will automatically build a .lib file if we build a DLL.
8255 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
8256 + # FIXME: Should let the user specify the lib program.
8257 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
8258 + fix_srcfile_path='`cygpath -w "$srcfile"`'
8259 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
8262 - # If it fails, then pretend we aren't using GCC.
8266 - # If it is relative, then search for the first ld in PATH.
8267 - with_gnu_ld=unknown
8270 -elif test "$with_gnu_ld" = yes; then
8271 - AC_MSG_CHECKING([for GNU ld])
8273 - AC_MSG_CHECKING([for non-GNU ld])
8275 -AC_CACHE_VAL(lt_cv_path_LD,
8276 -[if test -z "$LD"; then
8277 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8278 - for ac_dir in $PATH; do
8279 - test -z "$ac_dir" && ac_dir=.
8280 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8281 - lt_cv_path_LD="$ac_dir/$ac_prog"
8282 - # Check to see if the program is GNU ld. I'd rather use --version,
8283 - # but apparently some GNU ld's only accept -v.
8284 - # Break only if it was the GNU/non-GNU ld that we prefer.
8285 - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
8286 - test "$with_gnu_ld" != no && break
8288 + darwin* | rhapsody*)
8289 + if test "$GXX" = yes ; then
8290 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8291 + case "$host_os" in
8292 + rhapsody* | darwin1.[[012]])
8293 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
8295 + *) # Darwin 1.3 on
8296 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8297 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8299 - test "$with_gnu_ld" != yes && break
8300 + case ${MACOSX_DEPLOYMENT_TARGET} in
8302 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8305 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
8311 + lt_int_apple_cc_single_mod=no
8312 + output_verbose_link_cmd='echo'
8313 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8314 + lt_int_apple_cc_single_mod=yes
8316 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8317 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8319 + _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'
8321 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8322 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8323 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8324 + _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}'
8326 + _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}'
8328 + _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}'
8329 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8330 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
8331 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
8332 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
8333 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8335 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8338 - IFS="$ac_save_ifs"
8340 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
8342 -LD="$lt_cv_path_LD"
8343 -if test -n "$LD"; then
8344 - AC_MSG_RESULT($LD)
8348 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
8354 -AC_DEFUN([AC_PROG_LD_GNU],
8355 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
8356 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
8357 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8358 - lt_cv_prog_gnu_ld=yes
8360 - lt_cv_prog_gnu_ld=no
8362 -with_gnu_ld=$lt_cv_prog_gnu_ld
8365 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8366 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8367 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8370 -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
8371 -# -- PORTME Some linkers may need a different reload flag.
8372 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
8373 -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
8374 -[lt_cv_ld_reload_flag='-r'])
8375 -reload_flag=$lt_cv_ld_reload_flag
8376 -test -n "$reload_flag" && reload_flag=" $reload_flag"
8379 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8382 -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
8383 -# -- PORTME fill in with the dynamic library characteristics
8384 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
8385 -[AC_CACHE_CHECK([how to recognise dependent libraries],
8386 -lt_cv_deplibs_check_method,
8387 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
8388 -lt_cv_file_magic_test_file=
8389 -lt_cv_deplibs_check_method='unknown'
8390 -# Need to set the preceding variable on all platforms that support
8391 -# interlibrary dependencies.
8392 -# 'none' -- dependencies not supported.
8393 -# `unknown' -- same as none, but documents that we really don't know.
8394 -# 'pass_all' -- all dependencies passed with no checks.
8395 -# 'test_compile' -- check by making test program.
8396 -# 'file_magic [[regex]]' -- check by looking for files in library path
8397 -# which responds to the $file_magic_cmd with a given egrep regex.
8398 -# If you have `file' or equivalent on your system and you're not sure
8399 -# whether `pass_all' will *always* work, you probably want this one.
8400 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8401 + # support. Future versions do this automatically, but an explicit c++rt0.o
8402 + # does not break anything, and helps significantly (at the cost of a little
8405 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8406 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8407 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8408 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8413 - lt_cv_deplibs_check_method=pass_all
8415 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8417 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8418 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8419 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8420 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8424 - lt_cv_deplibs_check_method=pass_all
8426 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8427 + freebsd* | kfreebsd*-gnu)
8428 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8429 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8430 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8431 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8435 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
8436 - lt_cv_file_magic_cmd='/usr/bin/file -L'
8437 - lt_cv_file_magic_test_file=/shlib/libc.so
8440 + if test "$GCC" = yes; then
8441 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8443 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8445 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8446 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8447 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8449 + # hardcode_minus_L: Not really in the search PATH,
8450 + # but as the default location of the library.
8451 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8452 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8455 -cygwin* | mingw* | pw32*)
8456 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8457 - lt_cv_file_magic_cmd='$OBJDUMP -f'
8459 + hpux10* | hpux11*)
8460 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8461 + case "$host_cpu" in
8463 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8470 + case "$host_cpu" in
8472 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8475 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8479 + if test "$with_gnu_ld" = no; then
8480 + case "$host_cpu" in
8482 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8483 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
8484 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8485 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8486 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8489 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8490 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8491 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8493 + # hardcode_minus_L: Not really in the search PATH,
8494 + # but as the default location of the library.
8495 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8498 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8499 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8500 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8501 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8503 + # hardcode_minus_L: Not really in the search PATH,
8504 + # but as the default location of the library.
8505 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8511 -darwin* | rhapsody*)
8512 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8513 - lt_cv_file_magic_cmd='/usr/bin/file -L'
8514 - case "$host_os" in
8515 - rhapsody* | darwin1.[[012]])
8516 - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
8518 - *) # Darwin 1.3 on
8519 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8523 + irix5* | irix6* | nonstopux*)
8524 + if test "$GCC" = yes; then
8525 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8527 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8528 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8530 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8531 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8532 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8536 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8539 - # Not sure whether the presence of OpenBSD here was a mistake.
8540 - # Let's accept both of them until this is cleared up.
8541 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
8542 - lt_cv_file_magic_cmd=/usr/bin/file
8543 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8544 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8545 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8546 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8548 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8550 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8551 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8552 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8556 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8557 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8558 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8559 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8560 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8564 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8565 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8566 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8567 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8568 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8569 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8572 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8573 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8574 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8577 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8578 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8585 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8586 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8587 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8588 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8589 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8593 + if test "$GCC" = yes; then
8594 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8595 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8597 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8598 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8600 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8601 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8605 - lt_cv_deplibs_check_method=pass_all
8610 - lt_cv_deplibs_check_method=pass_all
8612 + osf4* | osf5*) # as osf3* with the addition of -msym flag
8613 + if test "$GCC" = yes; then
8614 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8615 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8616 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8618 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8619 + _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'
8620 + _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~
8621 + $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'
8623 -hpux10.20*|hpux11*)
8624 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
8625 - lt_cv_file_magic_cmd=/usr/bin/file
8626 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
8628 + # Both c and cxx compiler support -rpath directly
8629 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8631 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8634 -irix5* | irix6* | nonstopux*)
8636 - irix5* | nonstopux*)
8637 - # this will be overridden with pass_all, but let us keep it just in case
8638 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8642 - *-32|*"-32 ") libmagic=32-bit;;
8643 - *-n32|*"-n32 ") libmagic=N32;;
8644 - *-64|*"-64 ") libmagic=64-bit;;
8645 - *) libmagic=never-match;;
8647 - # this will be overridden with pass_all, but let us keep it just in case
8648 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
8651 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8652 - lt_cv_deplibs_check_method=pass_all
8655 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8656 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8657 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8658 + runpath_var=LD_RUN_PATH
8659 + hardcode_runpath_var=yes
8662 -# This must be Linux ELF.
8665 - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
8666 - lt_cv_deplibs_check_method=pass_all ;;
8668 - # glibc up to 2.1.1 does not perform some relocations on ARM
8669 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
8671 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8674 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8675 + if test "$GCC" = yes; then
8676 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8678 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8680 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8681 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8682 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8684 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8685 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8687 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8688 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8689 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
8691 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8695 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8696 - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
8698 - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
8702 + if test "x$host_vendor" = xsequent; then
8703 + # Use $CC to link under sequent, because it throws in some extra .o
8704 + # files that make .init and .fini sections work.
8705 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8707 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8709 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8710 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8711 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8712 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8716 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
8717 - lt_cv_file_magic_cmd=/usr/bin/file
8718 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
8721 + case $host_vendor in
8723 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
8727 + ## LD is ld it makes a PLAMLIB
8728 + ## CC just makes a GrossModule.
8729 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8730 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
8731 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8734 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
8738 + runpath_var='LD_RUN_PATH'
8739 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8743 - lt_cv_file_magic_cmd=/usr/bin/file
8744 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8745 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8746 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
8748 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8752 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8753 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8754 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
8757 -osf3* | osf4* | osf5*)
8758 - # this will be overridden with pass_all, but let us keep it just in case
8759 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8760 - lt_cv_file_magic_test_file=/shlib/libc.so
8761 - lt_cv_deplibs_check_method=pass_all
8764 + if test -d /usr/nec; then
8765 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8766 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8767 + runpath_var=LD_RUN_PATH
8768 + hardcode_runpath_var=yes
8769 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
8774 - lt_cv_deplibs_check_method=pass_all
8777 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8778 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8779 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
8780 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8781 + hardcode_runpath_var=yes
8782 + runpath_var=LD_RUN_PATH
8786 - lt_cv_deplibs_check_method=pass_all
8787 - lt_cv_file_magic_test_file=/lib/libc.so
8789 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
8790 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
8791 + if test "$GCC" = yes; then
8792 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8794 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8796 + runpath_var='LD_RUN_PATH'
8797 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8800 -sysv5uw[[78]]* | sysv4*uw2*)
8801 - lt_cv_deplibs_check_method=pass_all
8804 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8805 + # $CC -shared without GNU ld will not create a library from C++
8806 + # object files and a static libstdc++, better avoid it by now
8807 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8809 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8810 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
8811 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8812 + runpath_var='LD_RUN_PATH'
8815 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8816 - case $host_vendor in
8818 - 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]]'
8819 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8822 - lt_cv_deplibs_check_method=pass_all
8825 - lt_cv_file_magic_cmd='/bin/file'
8826 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
8829 - lt_cv_file_magic_cmd='/bin/file'
8830 - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
8831 - lt_cv_file_magic_test_file=/lib/libc.so
8834 - lt_cv_deplibs_check_method=pass_all
8840 -file_magic_cmd=$lt_cv_file_magic_cmd
8841 -deplibs_check_method=$lt_cv_deplibs_check_method
8843 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8844 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8845 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8849 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8854 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8855 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8857 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8858 +if test "$GCC" = yes; then
8859 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8862 -# AC_PROG_NM - find the path to a BSD-compatible name lister
8863 -AC_DEFUN([AC_PROG_NM],
8864 -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
8865 -AC_MSG_CHECKING([for BSD-compatible nm])
8866 -AC_CACHE_VAL(lt_cv_path_NM,
8867 -[if test -n "$NM"; then
8868 - # Let the user override the test.
8869 - lt_cv_path_NM="$NM"
8871 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8872 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8873 - test -z "$ac_dir" && ac_dir=.
8874 - tmp_nm=$ac_dir/${ac_tool_prefix}nm
8875 - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
8876 - # Check to see if the nm accepts a BSD-compat flag.
8877 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8878 - # nm: unknown option "B" ignored
8879 - # Tru64's nm complains that /dev/null is an invalid object file
8880 - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
8881 - lt_cv_path_NM="$tmp_nm -B"
8883 - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
8884 - lt_cv_path_NM="$tmp_nm -p"
8887 +# Do we need to explicitly link libc?
8889 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8891 + # Assume -lc should be added
8892 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8894 + if test "$enable_shared" = yes && test "$GCC" = yes; then
8895 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
8897 + # FIXME: we may have to deal with multi-command sequences.
8900 + # Test whether the compiler implicitly links with -lc since on some
8901 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
8902 + # to ld, don't add -lc before -lgcc.
8903 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8905 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8907 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8910 + libobjs=conftest.$ac_objext
8912 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8918 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8919 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8920 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8922 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8924 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8926 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8928 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8929 - continue # so that we can try to find one that supports BSD flags
8930 + cat conftest.err 1>&5
8934 - IFS="$ac_save_ifs"
8935 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8937 -NM="$lt_cv_path_NM"
8938 -AC_MSG_RESULT([$NM])
8941 -# AC_CHECK_LIBM - check for math library
8942 -AC_DEFUN([AC_CHECK_LIBM],
8943 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
8946 -*-*-beos* | *-*-cygwin* | *-*-pw32*)
8947 - # These system don't have libm
8950 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
8951 - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
8954 - AC_CHECK_LIB(m, main, LIBM="-lm")
8956 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8963 +])# AC_LIBTOOL_PROG_LD_SHLIBS
8965 -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
8966 -# the libltdl convenience library and LTDLINCL to the include flags for
8967 -# the libltdl header and adds --enable-ltdl-convenience to the
8968 -# configure arguments. Note that LIBLTDL and LTDLINCL are not
8969 -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
8970 -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
8971 -# with '${top_builddir}/' and LTDLINCL will be prefixed with
8972 -# '${top_srcdir}/' (note the single quotes!). If your package is not
8973 -# flat and you're not using automake, define top_builddir and
8974 -# top_srcdir appropriately in the Makefiles.
8975 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
8976 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8977 - case $enable_ltdl_convenience in
8978 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
8979 - "") enable_ltdl_convenience=yes
8980 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
8982 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
8983 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
8984 - # For backwards non-gettext consistent compatibility...
8985 - INCLTDL="$LTDLINCL"
8988 -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
8989 -# the libltdl installable library and LTDLINCL to the include flags for
8990 -# the libltdl header and adds --enable-ltdl-install to the configure
8991 -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
8992 -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
8993 -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
8994 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
8995 -# with '${top_srcdir}/' (note the single quotes!). If your package is
8996 -# not flat and you're not using automake, define top_builddir and
8997 -# top_srcdir appropriately in the Makefiles.
8998 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
8999 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
9000 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
9001 - AC_CHECK_LIB(ltdl, main,
9002 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
9003 - [if test x"$enable_ltdl_install" = xno; then
9004 - AC_MSG_WARN([libltdl not installed, but installation disabled])
9006 - enable_ltdl_install=yes
9009 - if test x"$enable_ltdl_install" = x"yes"; then
9010 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
9011 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
9012 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
9014 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
9018 - # For backwards non-gettext consistent compatibility...
9019 - INCLTDL="$LTDLINCL"
9021 +# _LT_AC_FILE_LTDLL_C
9022 +# -------------------
9023 +# Be careful that the start marker always follows a newline.
9024 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
9025 +# /* ltdll.c starts here */
9026 +# #define WIN32_LEAN_AND_MEAN
9027 +# #include <windows.h>
9028 +# #undef WIN32_LEAN_AND_MEAN
9029 +# #include <stdio.h>
9031 +# #ifndef __CYGWIN__
9032 +# # ifdef __CYGWIN32__
9033 +# # define __CYGWIN__ __CYGWIN32__
9037 +# #ifdef __cplusplus
9040 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
9041 +# #ifdef __cplusplus
9045 +# #ifdef __CYGWIN__
9046 +# #include <cygwin/cygwin_dll.h>
9047 +# DECLARE_CYGWIN_DLL( DllMain );
9049 +# HINSTANCE __hDllInstance_base;
9052 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
9054 +# __hDllInstance_base = hInst;
9057 +# /* ltdll.c ends here */
9058 +])# _LT_AC_FILE_LTDLL_C
9061 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
9062 +# ---------------------------------
9063 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
9067 AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
9068 @@ -3709,6 +6828,16 @@
9069 # This is just to silence aclocal about the macro not being used
9070 ifelse([AC_DISABLE_FAST_INSTALL])
9072 +AC_DEFUN([LT_AC_PROG_GCJ],
9073 +[AC_CHECK_TOOL(GCJ, gcj, no)
9074 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
9075 + AC_SUBST(GCJFLAGS)
9078 +AC_DEFUN([LT_AC_PROG_RC],
9079 +[AC_CHECK_TOOL(RC, windres, no)
9082 # NOTE: This macro has been submitted for inclusion into #
9083 # GNU Autoconf as AC_PROG_SED. When it is available in #
9084 # a released version of Autoconf we should remove this #
9085 @@ -3722,79 +6851,51 @@
9086 AC_CACHE_VAL(lt_cv_path_SED,
9087 [# Loop through the user's path and test for sed and gsed.
9088 # Then use that list of sed's as ones to test for truncation.
9089 -as_executable_p="test -f"
9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094 test -z "$as_dir" && as_dir=.
9095 - for ac_prog in sed gsed; do
9096 + for lt_ac_prog in sed gsed; do
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9099 - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
9100 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9101 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9107 - # Create a temporary directory, and hook for its removal unless debugging.
9110 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9111 - trap '{ (exit 1); exit 1; }' 1 2 13 15
9114 -# Create a (secure) tmp directory for tmp files.
9117 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
9118 - test -n "$tmp" && test -d "$tmp"
9121 - tmp=$TMPDIR/sed$$-$RANDOM
9122 - (umask 077 && mkdir $tmp)
9125 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9126 - { (exit 1); exit 1; }
9130 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris
9131 - # along with /bin/sed that truncates output.
9132 - for _sed in $_sed_list /usr/xpg4/bin/sed; do
9133 - test ! -f ${_sed} && break
9134 - cat /dev/null > "$tmp/sed.in"
9136 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
9137 - # Check for GNU sed and select it if it is found.
9138 - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
9139 - lt_cv_path_SED=${_sed}
9143 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9144 +# along with /bin/sed that truncates output.
9145 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9146 + test ! -f $lt_ac_sed && break
9147 + cat /dev/null > conftest.in
9149 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9150 + # Check for GNU sed and select it if it is found.
9151 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9152 + lt_cv_path_SED=$lt_ac_sed
9156 + cat conftest.in conftest.in >conftest.tmp
9157 + mv conftest.tmp conftest.in
9158 + cp conftest.in conftest.nl
9159 + echo >>conftest.nl
9160 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9161 + cmp -s conftest.out conftest.nl || break
9162 + # 10000 chars as input seems more than enough
9163 + test $lt_ac_count -gt 10 && break
9164 + lt_ac_count=`expr $lt_ac_count + 1`
9165 + if test $lt_ac_count -gt $lt_ac_max; then
9166 + lt_ac_max=$lt_ac_count
9167 + lt_cv_path_SED=$lt_ac_sed
9170 - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
9171 - mv "$tmp/sed.tmp" "$tmp/sed.in"
9172 - cp "$tmp/sed.in" "$tmp/sed.nl"
9173 - echo >>"$tmp/sed.nl"
9174 - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
9175 - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
9176 - # 40000 chars as input seems more than enough
9177 - test $_count -gt 10 && break
9178 - _count=`expr $_count + 1`
9179 - if test $_count -gt $_max; then
9181 - lt_cv_path_SED=$_sed
9187 +SED=$lt_cv_path_SED
9189 -if test "X$SED" != "X"; then
9190 - lt_cv_path_SED=$SED
9192 - SED=$lt_cv_path_SED
9194 AC_MSG_RESULT([$SED])
9197 diff -urN linux-atm.old/autom4te.cache/output.0 linux-atm.dev/autom4te.cache/output.0
9198 --- linux-atm.old/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
9199 +++ linux-atm.dev/autom4te.cache/output.0 2005-08-23 01:12:40.958209832 +0200
9202 +@%:@ Guess values for system-dependent variables and create Makefiles.
9203 +@%:@ Generated by GNU Autoconf 2.59.
9205 +@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
9206 +@%:@ This configure script is free software; the Free Software Foundation
9207 +@%:@ gives unlimited permission to copy, distribute and modify it.
9208 +## --------------------- ##
9209 +## M4sh Initialization. ##
9210 +## --------------------- ##
9212 +# Be Bourne compatible
9213 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9216 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9217 + # is contrary to our usage. Disable this feature.
9218 + alias -g '${1+"$@"}'='"$@"'
9219 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9222 +DUALCASE=1; export DUALCASE # for MKS sh
9224 +# Support unset when possible.
9225 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9232 +# Work around bugs in pre-3.0 UWIN ksh.
9233 +$as_unset ENV MAIL MAILPATH
9240 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9241 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9242 + LC_TELEPHONE LC_TIME
9244 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9245 + eval $as_var=C; export $as_var
9251 +# Required to use basename.
9252 +if expr a : '\(a\)' >/dev/null 2>&1; then
9258 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9259 + as_basename=basename
9265 +# Name of the executable.
9266 +as_me=`$as_basename "$0" ||
9267 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9268 + X"$0" : 'X\(//\)$' \| \
9269 + X"$0" : 'X\(/\)$' \| \
9270 + . : '\(.\)' 2>/dev/null ||
9272 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9273 + /^X\/\(\/\/\)$/{ s//\1/; q; }
9274 + /^X\/\(\/\).*/{ s//\1/; q; }
9278 +# PATH needs CR, and LINENO needs CR and PATH.
9279 +# Avoid depending upon Character Ranges.
9280 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9281 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9282 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9283 +as_cr_digits='0123456789'
9284 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9286 +# The user is always right.
9287 +if test "${PATH_SEPARATOR+set}" != set; then
9288 + echo "#! /bin/sh" >conf$$.sh
9289 + echo "exit 0" >>conf$$.sh
9290 + chmod +x conf$$.sh
9291 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9292 + PATH_SEPARATOR=';'
9300 + as_lineno_1=$LINENO
9301 + as_lineno_2=$LINENO
9302 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9303 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9304 + test "x$as_lineno_3" = "x$as_lineno_2" || {
9305 + # Find who we are. Look in the path if we contain no path at all
9306 + # relative or not.
9308 + *[\\/]* ) as_myself=$0 ;;
9309 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 +for as_dir in $PATH
9313 + test -z "$as_dir" && as_dir=.
9314 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9319 + # We did not find ourselves, most probably we were run as `sh COMMAND'
9320 + # in which case we are not to be found in the path.
9321 + if test "x$as_myself" = x; then
9324 + if test ! -f "$as_myself"; then
9325 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
9326 + { (exit 1); exit 1; }; }
9328 + case $CONFIG_SHELL in
9330 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9334 + test -z "$as_dir" && as_dir=.
9335 + for as_base in sh bash ksh sh5; do
9338 + if ("$as_dir/$as_base" -c '
9339 + as_lineno_1=$LINENO
9340 + as_lineno_2=$LINENO
9341 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9342 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9343 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9344 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9345 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9346 + CONFIG_SHELL=$as_dir/$as_base
9347 + export CONFIG_SHELL
9348 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9356 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9357 + # uniformly replaced by the line number. The first 'sed' inserts a
9358 + # line-number line before each line; the second 'sed' does the real
9359 + # work. The second script uses 'N' to pair each line-number line
9360 + # with the numbered line, and appends trailing '-' during
9361 + # substitution so that $LINENO is not a special case at line end.
9362 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9363 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9364 + sed '=' <$as_myself |
9369 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9372 + s,^['$as_cr_digits']*\n,,
9373 + ' >$as_me.lineno &&
9374 + chmod +x $as_me.lineno ||
9375 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9376 + { (exit 1); exit 1; }; }
9378 + # Don't try to exec as it changes $[0], causing all sort of problems
9379 + # (the dirname of $[0] is not the place where we might find the
9380 + # original and so on. Autoconf is especially sensible to this).
9382 + # Exit status is that of the last command.
9387 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9388 + *c*,-n*) ECHO_N= ECHO_C='
9390 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9391 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9394 +if expr a : '\(a\)' >/dev/null 2>&1; then
9400 +rm -f conf$$ conf$$.exe conf$$.file
9402 +if ln -s conf$$.file conf$$ 2>/dev/null; then
9403 + # We could just check for DJGPP; but this test a) works b) is more generic
9404 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9405 + if test -f conf$$.exe; then
9406 + # Don't use ln at all; we don't have any links
9411 +elif ln conf$$.file conf$$ 2>/dev/null; then
9416 +rm -f conf$$ conf$$.exe conf$$.file
9418 +if mkdir -p . 2>/dev/null; then
9421 + test -d ./-p && rmdir ./-p
9425 +as_executable_p="test -f"
9427 +# Sed expression to map a string onto a valid CPP name.
9428 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9430 +# Sed expression to map a string onto a valid variable name.
9431 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9435 +# We need space, tab and new line, in precisely that order.
9444 +# Find the correct PATH separator. Usually this is `:', but
9445 +# DJGPP uses `;' like DOS.
9446 +if test "X${PATH_SEPARATOR+set}" != Xset; then
9447 + UNAME=${UNAME-`uname 2>/dev/null`}
9449 + *-DOS) lt_cv_sys_path_separator=';' ;;
9450 + *) lt_cv_sys_path_separator=':' ;;
9452 + PATH_SEPARATOR=$lt_cv_sys_path_separator
9456 +# Check that we are running under the correct shell.
9457 +SHELL=${CONFIG_SHELL-/bin/sh}
9461 + # Remove one level of quotation (which was required for Make).
9462 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
9467 +if test "X$1" = X--no-reexec; then
9468 + # Discard the --no-reexec flag, and continue.
9470 +elif test "X$1" = X--fallback-echo; then
9471 + # Avoid inline document here, it may be left over
9473 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
9474 + # Yippee, $echo works!
9477 + # Restart under the correct shell.
9478 + exec $SHELL "$0" --no-reexec ${1+"$@"}
9481 +if test "X$1" = X--fallback-echo; then
9482 + # used as fallback echo
9490 +# The HP-UX ksh and POSIX shell print the target directory to stdout
9491 +# if CDPATH is set.
9492 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9494 +if test -z "$ECHO"; then
9495 +if test "X${echo_test_string+set}" != Xset; then
9496 +# find a string as large as possible, as long as the shell can cope with it
9497 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
9498 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
9499 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
9500 + echo_test_string="`eval $cmd`" &&
9501 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
9508 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9509 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9510 + test "X$echo_testing_string" = "X$echo_test_string"; then
9513 + # The Solaris, AIX, and Digital Unix default echo programs unquote
9514 + # backslashes. This makes it impossible to quote backslashes using
9515 + # echo "$something" | sed 's/\\/\\\\/g'
9517 + # So, first we look for a working echo in the user's PATH.
9519 + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9520 + for dir in $PATH /usr/ucb; do
9521 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
9522 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
9523 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
9524 + test "X$echo_testing_string" = "X$echo_test_string"; then
9531 + if test "X$echo" = Xecho; then
9532 + # We didn't find a better echo, so look for alternatives.
9533 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
9534 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
9535 + test "X$echo_testing_string" = "X$echo_test_string"; then
9536 + # This shell has a builtin print -r that does the trick.
9538 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
9539 + test "X$CONFIG_SHELL" != X/bin/ksh; then
9540 + # If we have ksh, try running configure again with it.
9541 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
9542 + export ORIGINAL_CONFIG_SHELL
9543 + CONFIG_SHELL=/bin/ksh
9544 + export CONFIG_SHELL
9545 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
9547 + # Try using printf.
9548 + echo='printf %s\n'
9549 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9550 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9551 + test "X$echo_testing_string" = "X$echo_test_string"; then
9552 + # Cool, printf works
9554 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9555 + test "X$echo_testing_string" = 'X\t' &&
9556 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9557 + test "X$echo_testing_string" = "X$echo_test_string"; then
9558 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
9559 + export CONFIG_SHELL
9560 + SHELL="$CONFIG_SHELL"
9562 + echo="$CONFIG_SHELL $0 --fallback-echo"
9563 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9564 + test "X$echo_testing_string" = 'X\t' &&
9565 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9566 + test "X$echo_testing_string" = "X$echo_test_string"; then
9567 + echo="$CONFIG_SHELL $0 --fallback-echo"
9569 + # maybe with a smaller string...
9572 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
9573 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
9580 + if test "$prev" != 'sed 50q "$0"'; then
9581 + echo_test_string=`eval $prev`
9582 + export echo_test_string
9583 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
9585 + # Oops. We lost completely, so just stick with echo.
9594 +# Copy echo and quote the copy suitably for passing to libtool from
9595 +# the Makefile, instead of quoting the original, which is used later.
9597 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
9598 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
9603 +# Name of the host.
9604 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9605 +# so uname gets run too.
9606 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9613 +ac_default_prefix=/usr/local
9614 +ac_config_libobj_dir=.
9619 +SHELL=${CONFIG_SHELL-/bin/sh}
9621 +# Maximum number of lines to put in a shell here document.
9622 +# This variable seems obsolete. It should probably be removed, and
9623 +# only ac_max_sed_lines should be used.
9624 +: ${ac_max_here_lines=38}
9626 +# Identity of this package.
9633 +ac_unique_file="src/include/atm.h"
9634 +# Factoring default headers for most tests.
9635 +ac_includes_default="\
9637 +#if HAVE_SYS_TYPES_H
9638 +# include <sys/types.h>
9640 +#if HAVE_SYS_STAT_H
9641 +# include <sys/stat.h>
9644 +# include <stdlib.h>
9645 +# include <stddef.h>
9648 +# include <stdlib.h>
9652 +# if !STDC_HEADERS && HAVE_MEMORY_H
9653 +# include <memory.h>
9655 +# include <string.h>
9658 +# include <strings.h>
9660 +#if HAVE_INTTYPES_H
9661 +# include <inttypes.h>
9664 +# include <stdint.h>
9668 +# include <unistd.h>
9671 +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 LIB@&t@OBJS LTLIBOBJS'
9674 +# Initialize some variables set by options.
9676 +ac_init_version=false
9677 +# The variables have the same names as the options, with
9678 +# dashes changed to underlines.
9679 +cache_file=/dev/null
9684 +program_prefix=NONE
9685 +program_suffix=NONE
9686 +program_transform_name=s,x,x,
9694 +# Installation directory options.
9695 +# These are left unexpanded so users can "make install exec_prefix=/foo"
9696 +# and all the variables that are supposed to be based on exec_prefix
9697 +# by default will actually change.
9698 +# Use braces instead of parens because sh, perl, etc. also accept them.
9699 +bindir='${exec_prefix}/bin'
9700 +sbindir='${exec_prefix}/sbin'
9701 +libexecdir='${exec_prefix}/libexec'
9702 +datadir='${prefix}/share'
9703 +sysconfdir='${prefix}/etc'
9704 +sharedstatedir='${prefix}/com'
9705 +localstatedir='${prefix}/var'
9706 +libdir='${exec_prefix}/lib'
9707 +includedir='${prefix}/include'
9708 +oldincludedir='/usr/include'
9709 +infodir='${prefix}/info'
9710 +mandir='${prefix}/man'
9715 + # If the previous option needs an argument, assign it.
9716 + if test -n "$ac_prev"; then
9717 + eval "$ac_prev=\$ac_option"
9722 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
9724 + # Accept the important Cygnus configure options, so we can diagnose typos.
9726 + case $ac_option in
9728 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
9730 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
9731 + bindir=$ac_optarg ;;
9733 + -build | --build | --buil | --bui | --bu)
9734 + ac_prev=build_alias ;;
9735 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
9736 + build_alias=$ac_optarg ;;
9738 + -cache-file | --cache-file | --cache-fil | --cache-fi \
9739 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9740 + ac_prev=cache_file ;;
9741 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9742 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
9743 + cache_file=$ac_optarg ;;
9745 + --config-cache | -C)
9746 + cache_file=config.cache ;;
9748 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
9749 + ac_prev=datadir ;;
9750 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
9752 + datadir=$ac_optarg ;;
9754 + -disable-* | --disable-*)
9755 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
9756 + # Reject names that are not valid shell variable names.
9757 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9758 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9759 + { (exit 1); exit 1; }; }
9760 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9761 + eval "enable_$ac_feature=no" ;;
9763 + -enable-* | --enable-*)
9764 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
9765 + # Reject names that are not valid shell variable names.
9766 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9767 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9768 + { (exit 1); exit 1; }; }
9769 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9770 + case $ac_option in
9771 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9772 + *) ac_optarg=yes ;;
9774 + eval "enable_$ac_feature='$ac_optarg'" ;;
9776 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9777 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9778 + | --exec | --exe | --ex)
9779 + ac_prev=exec_prefix ;;
9780 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9781 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9782 + | --exec=* | --exe=* | --ex=*)
9783 + exec_prefix=$ac_optarg ;;
9785 + -gas | --gas | --ga | --g)
9786 + # Obsolete; use --with-gas.
9789 + -help | --help | --hel | --he | -h)
9790 + ac_init_help=long ;;
9791 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9792 + ac_init_help=recursive ;;
9793 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9794 + ac_init_help=short ;;
9796 + -host | --host | --hos | --ho)
9797 + ac_prev=host_alias ;;
9798 + -host=* | --host=* | --hos=* | --ho=*)
9799 + host_alias=$ac_optarg ;;
9801 + -includedir | --includedir | --includedi | --included | --include \
9802 + | --includ | --inclu | --incl | --inc)
9803 + ac_prev=includedir ;;
9804 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9805 + | --includ=* | --inclu=* | --incl=* | --inc=*)
9806 + includedir=$ac_optarg ;;
9808 + -infodir | --infodir | --infodi | --infod | --info | --inf)
9809 + ac_prev=infodir ;;
9810 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9811 + infodir=$ac_optarg ;;
9813 + -libdir | --libdir | --libdi | --libd)
9815 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
9816 + libdir=$ac_optarg ;;
9818 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9819 + | --libexe | --libex | --libe)
9820 + ac_prev=libexecdir ;;
9821 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9822 + | --libexe=* | --libex=* | --libe=*)
9823 + libexecdir=$ac_optarg ;;
9825 + -localstatedir | --localstatedir | --localstatedi | --localstated \
9826 + | --localstate | --localstat | --localsta | --localst \
9827 + | --locals | --local | --loca | --loc | --lo)
9828 + ac_prev=localstatedir ;;
9829 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9830 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
9831 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
9832 + localstatedir=$ac_optarg ;;
9834 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9836 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9837 + mandir=$ac_optarg ;;
9839 + -nfp | --nfp | --nf)
9840 + # Obsolete; use --without-fp.
9843 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9844 + | --no-cr | --no-c | -n)
9847 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9848 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9849 + no_recursion=yes ;;
9851 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9852 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9853 + | --oldin | --oldi | --old | --ol | --o)
9854 + ac_prev=oldincludedir ;;
9855 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9856 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9857 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9858 + oldincludedir=$ac_optarg ;;
9860 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9862 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9863 + prefix=$ac_optarg ;;
9865 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
9866 + | --program-pre | --program-pr | --program-p)
9867 + ac_prev=program_prefix ;;
9868 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
9869 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9870 + program_prefix=$ac_optarg ;;
9872 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
9873 + | --program-suf | --program-su | --program-s)
9874 + ac_prev=program_suffix ;;
9875 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
9876 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9877 + program_suffix=$ac_optarg ;;
9879 + -program-transform-name | --program-transform-name \
9880 + | --program-transform-nam | --program-transform-na \
9881 + | --program-transform-n | --program-transform- \
9882 + | --program-transform | --program-transfor \
9883 + | --program-transfo | --program-transf \
9884 + | --program-trans | --program-tran \
9885 + | --progr-tra | --program-tr | --program-t)
9886 + ac_prev=program_transform_name ;;
9887 + -program-transform-name=* | --program-transform-name=* \
9888 + | --program-transform-nam=* | --program-transform-na=* \
9889 + | --program-transform-n=* | --program-transform-=* \
9890 + | --program-transform=* | --program-transfor=* \
9891 + | --program-transfo=* | --program-transf=* \
9892 + | --program-trans=* | --program-tran=* \
9893 + | --progr-tra=* | --program-tr=* | --program-t=*)
9894 + program_transform_name=$ac_optarg ;;
9896 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9897 + | -silent | --silent | --silen | --sile | --sil)
9900 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9901 + ac_prev=sbindir ;;
9902 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9903 + | --sbi=* | --sb=*)
9904 + sbindir=$ac_optarg ;;
9906 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
9907 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9908 + | --sharedst | --shareds | --shared | --share | --shar \
9910 + ac_prev=sharedstatedir ;;
9911 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9912 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9913 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9914 + | --sha=* | --sh=*)
9915 + sharedstatedir=$ac_optarg ;;
9917 + -site | --site | --sit)
9919 + -site=* | --site=* | --sit=*)
9920 + site=$ac_optarg ;;
9922 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9924 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9925 + srcdir=$ac_optarg ;;
9927 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
9928 + | --syscon | --sysco | --sysc | --sys | --sy)
9929 + ac_prev=sysconfdir ;;
9930 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
9931 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
9932 + sysconfdir=$ac_optarg ;;
9934 + -target | --target | --targe | --targ | --tar | --ta | --t)
9935 + ac_prev=target_alias ;;
9936 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
9937 + target_alias=$ac_optarg ;;
9939 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
9942 + -version | --version | --versio | --versi | --vers | -V)
9943 + ac_init_version=: ;;
9945 + -with-* | --with-*)
9946 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9947 + # Reject names that are not valid shell variable names.
9948 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9949 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9950 + { (exit 1); exit 1; }; }
9951 + ac_package=`echo $ac_package| sed 's/-/_/g'`
9952 + case $ac_option in
9953 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9954 + *) ac_optarg=yes ;;
9956 + eval "with_$ac_package='$ac_optarg'" ;;
9958 + -without-* | --without-*)
9959 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
9960 + # Reject names that are not valid shell variable names.
9961 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9962 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9963 + { (exit 1); exit 1; }; }
9964 + ac_package=`echo $ac_package | sed 's/-/_/g'`
9965 + eval "with_$ac_package=no" ;;
9968 + # Obsolete; use --with-x.
9971 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
9972 + | --x-incl | --x-inc | --x-in | --x-i)
9973 + ac_prev=x_includes ;;
9974 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
9975 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
9976 + x_includes=$ac_optarg ;;
9978 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
9979 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
9980 + ac_prev=x_libraries ;;
9981 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
9982 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
9983 + x_libraries=$ac_optarg ;;
9985 + -*) { echo "$as_me: error: unrecognized option: $ac_option
9986 +Try \`$0 --help' for more information." >&2
9987 + { (exit 1); exit 1; }; }
9991 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
9992 + # Reject names that are not valid shell variable names.
9993 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
9994 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
9995 + { (exit 1); exit 1; }; }
9996 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
9997 + eval "$ac_envvar='$ac_optarg'"
9998 + export $ac_envvar ;;
10001 + # FIXME: should be removed in autoconf 3.0.
10002 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10003 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10004 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10005 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10011 +if test -n "$ac_prev"; then
10012 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10013 + { echo "$as_me: error: missing argument to $ac_option" >&2
10014 + { (exit 1); exit 1; }; }
10017 +# Be sure to have absolute paths.
10018 +for ac_var in exec_prefix prefix
10020 + eval ac_val=$`echo $ac_var`
10022 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
10023 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10024 + { (exit 1); exit 1; }; };;
10028 +# Be sure to have absolute paths.
10029 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
10030 + localstatedir libdir includedir oldincludedir infodir mandir
10032 + eval ac_val=$`echo $ac_var`
10034 + [\\/$]* | ?:[\\/]* ) ;;
10035 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10036 + { (exit 1); exit 1; }; };;
10040 +# There might be people who depend on the old broken behavior: `$host'
10041 +# used to hold the argument of --host etc.
10042 +# FIXME: To remove some day.
10043 +build=$build_alias
10045 +target=$target_alias
10047 +# FIXME: To remove some day.
10048 +if test "x$host_alias" != x; then
10049 + if test "x$build_alias" = x; then
10050 + cross_compiling=maybe
10051 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10052 + If a cross compiler is detected then cross compile mode will be used." >&2
10053 + elif test "x$build_alias" != "x$host_alias"; then
10054 + cross_compiling=yes
10059 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
10061 +test "$silent" = yes && exec 6>/dev/null
10064 +# Find the source files, if location was not specified.
10065 +if test -z "$srcdir"; then
10066 + ac_srcdir_defaulted=yes
10067 + # Try the directory containing this script, then its parent.
10068 + ac_confdir=`(dirname "$0") 2>/dev/null ||
10069 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10070 + X"$0" : 'X\(//\)[^/]' \| \
10071 + X"$0" : 'X\(//\)$' \| \
10072 + X"$0" : 'X\(/\)' \| \
10073 + . : '\(.\)' 2>/dev/null ||
10075 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10076 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10077 + /^X\(\/\/\)$/{ s//\1/; q; }
10078 + /^X\(\/\).*/{ s//\1/; q; }
10080 + srcdir=$ac_confdir
10081 + if test ! -r $srcdir/$ac_unique_file; then
10085 + ac_srcdir_defaulted=no
10087 +if test ! -r $srcdir/$ac_unique_file; then
10088 + if test "$ac_srcdir_defaulted" = yes; then
10089 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
10090 + { (exit 1); exit 1; }; }
10092 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10093 + { (exit 1); exit 1; }; }
10096 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
10097 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
10098 + { (exit 1); exit 1; }; }
10099 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
10100 +ac_env_build_alias_set=${build_alias+set}
10101 +ac_env_build_alias_value=$build_alias
10102 +ac_cv_env_build_alias_set=${build_alias+set}
10103 +ac_cv_env_build_alias_value=$build_alias
10104 +ac_env_host_alias_set=${host_alias+set}
10105 +ac_env_host_alias_value=$host_alias
10106 +ac_cv_env_host_alias_set=${host_alias+set}
10107 +ac_cv_env_host_alias_value=$host_alias
10108 +ac_env_target_alias_set=${target_alias+set}
10109 +ac_env_target_alias_value=$target_alias
10110 +ac_cv_env_target_alias_set=${target_alias+set}
10111 +ac_cv_env_target_alias_value=$target_alias
10112 +ac_env_CC_set=${CC+set}
10113 +ac_env_CC_value=$CC
10114 +ac_cv_env_CC_set=${CC+set}
10115 +ac_cv_env_CC_value=$CC
10116 +ac_env_CFLAGS_set=${CFLAGS+set}
10117 +ac_env_CFLAGS_value=$CFLAGS
10118 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
10119 +ac_cv_env_CFLAGS_value=$CFLAGS
10120 +ac_env_LDFLAGS_set=${LDFLAGS+set}
10121 +ac_env_LDFLAGS_value=$LDFLAGS
10122 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
10123 +ac_cv_env_LDFLAGS_value=$LDFLAGS
10124 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
10125 +ac_env_CPPFLAGS_value=$CPPFLAGS
10126 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
10127 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
10128 +ac_env_CPP_set=${CPP+set}
10129 +ac_env_CPP_value=$CPP
10130 +ac_cv_env_CPP_set=${CPP+set}
10131 +ac_cv_env_CPP_value=$CPP
10134 +# Report the --help message.
10136 +if test "$ac_init_help" = "long"; then
10137 + # Omit some internal or obsolete options to make the list less imposing.
10138 + # This message is too long to be a string in the A/UX 3.1 sh.
10140 +\`configure' configures this package to adapt to many kinds of systems.
10142 +Usage: $0 [OPTION]... [VAR=VALUE]...
10144 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
10145 +VAR=VALUE. See below for descriptions of some of the useful variables.
10147 +Defaults for the options are specified in brackets.
10150 + -h, --help display this help and exit
10151 + --help=short display options specific to this package
10152 + --help=recursive display the short help of all the included packages
10153 + -V, --version display version information and exit
10154 + -q, --quiet, --silent do not print \`checking...' messages
10155 + --cache-file=FILE cache test results in FILE [disabled]
10156 + -C, --config-cache alias for \`--cache-file=config.cache'
10157 + -n, --no-create do not create output files
10158 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
10163 +Installation directories:
10164 + --prefix=PREFIX install architecture-independent files in PREFIX
10165 + [$ac_default_prefix]
10166 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10169 +By default, \`make install' will install all the files in
10170 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10171 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
10172 +for instance \`--prefix=\$HOME'.
10174 +For better control, use the options below.
10176 +Fine tuning of the installation directories:
10177 + --bindir=DIR user executables [EPREFIX/bin]
10178 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10179 + --libexecdir=DIR program executables [EPREFIX/libexec]
10180 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
10181 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10182 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10183 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10184 + --libdir=DIR object code libraries [EPREFIX/lib]
10185 + --includedir=DIR C header files [PREFIX/include]
10186 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10187 + --infodir=DIR info documentation [PREFIX/info]
10188 + --mandir=DIR man documentation [PREFIX/man]
10194 + --program-prefix=PREFIX prepend PREFIX to installed program names
10195 + --program-suffix=SUFFIX append SUFFIX to installed program names
10196 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
10199 + --build=BUILD configure for building on BUILD [guessed]
10200 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
10201 + --target=TARGET configure for building compilers for TARGET [HOST]
10205 +if test -n "$ac_init_help"; then
10209 +Optional Features:
10210 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10211 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10212 + --enable-shared=PKGS build shared libraries default=yes
10213 + --enable-static=PKGS build static libraries default=yes
10214 + --enable-fast-install=PKGS optimize for fast installation default=yes
10215 + --disable-libtool-lock avoid locking (might break parallel builds)
10216 + --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)
10217 + --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)
10218 + --enable-cisco Enable work around for point-to-multipoint signaling bug in Cisco LS100 or LS7010 switches
10219 + --enable-thomflex Some versions of the Thomson Thomflex 5000 won't do any signaling before they get a RESTART. Enable sending of a RESTART whenever SAAL comes up.
10220 + --enable-mpoa_1_1 Enable proposed MPOA 1.1 features
10221 + --enable-mpr Enable memory debugging (if MPR is installed)
10223 +Optional Packages:
10224 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
10225 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
10226 + --with-gnu-ld assume the C compiler uses GNU ld default=no
10227 + --with-pic try to use only PIC/non-PIC objects default=use both
10228 + --with-uni=VERSION UNI version to use (3.0,3.1,4.0) default=dynamic
10230 +Some influential environment variables:
10231 + CC C compiler command
10232 + CFLAGS C compiler flags
10233 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10234 + nonstandard directory <lib dir>
10235 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
10236 + headers in a nonstandard directory <include dir>
10237 + CPP C preprocessor
10239 +Use these variables to override the choices made by `configure' or to help
10240 +it to find libraries and programs with nonstandard names/locations.
10245 +if test "$ac_init_help" = "recursive"; then
10246 + # If there are subdirs, report their specific --help.
10248 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10249 + test -d $ac_dir || continue
10252 +if test "$ac_dir" != .; then
10253 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10254 + # A "../" for each directory in $ac_dir_suffix.
10255 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10257 + ac_dir_suffix= ac_top_builddir=
10261 + .) # No --srcdir option. We are building in place.
10263 + if test -z "$ac_top_builddir"; then
10266 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10268 + [\\/]* | ?:[\\/]* ) # Absolute path.
10269 + ac_srcdir=$srcdir$ac_dir_suffix;
10270 + ac_top_srcdir=$srcdir ;;
10271 + *) # Relative path.
10272 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10273 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
10276 +# Do not use `cd foo && pwd` to compute absolute paths, because
10277 +# the directories may not exist.
10279 +.) ac_abs_builddir="$ac_dir";;
10281 + case "$ac_dir" in
10282 + .) ac_abs_builddir=`pwd`;;
10283 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10284 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
10287 +case $ac_abs_builddir in
10288 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
10290 + case ${ac_top_builddir}. in
10291 + .) ac_abs_top_builddir=$ac_abs_builddir;;
10292 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10293 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10296 +case $ac_abs_builddir in
10297 +.) ac_abs_srcdir=$ac_srcdir;;
10299 + case $ac_srcdir in
10300 + .) ac_abs_srcdir=$ac_abs_builddir;;
10301 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10302 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10305 +case $ac_abs_builddir in
10306 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
10308 + case $ac_top_srcdir in
10309 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
10310 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10311 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10316 + # Check for guested configure; otherwise get Cygnus style configure.
10317 + if test -f $ac_srcdir/configure.gnu; then
10319 + $SHELL $ac_srcdir/configure.gnu --help=recursive
10320 + elif test -f $ac_srcdir/configure; then
10322 + $SHELL $ac_srcdir/configure --help=recursive
10323 + elif test -f $ac_srcdir/configure.ac ||
10324 + test -f $ac_srcdir/configure.in; then
10326 + $ac_configure --help
10328 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
10334 +test -n "$ac_init_help" && exit 0
10335 +if $ac_init_version; then
10338 +Copyright (C) 2003 Free Software Foundation, Inc.
10339 +This configure script is free software; the Free Software Foundation
10340 +gives unlimited permission to copy, distribute and modify it.
10346 +This file contains any messages produced by compilers while
10347 +running configure, to aid debugging if configure makes a mistake.
10349 +It was created by $as_me, which was
10350 +generated by GNU Autoconf 2.59. Invocation command line was
10357 +@%:@@%:@ --------- @%:@@%:@
10358 +@%:@@%:@ Platform. @%:@@%:@
10359 +@%:@@%:@ --------- @%:@@%:@
10361 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
10362 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
10363 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
10364 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
10365 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
10367 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
10368 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
10370 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10371 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10372 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
10373 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
10374 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10375 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10376 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10380 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 +for as_dir in $PATH
10384 + test -z "$as_dir" && as_dir=.
10385 + echo "PATH: $as_dir"
10393 +@%:@@%:@ ----------- @%:@@%:@
10394 +@%:@@%:@ Core tests. @%:@@%:@
10395 +@%:@@%:@ ----------- @%:@@%:@
10400 +# Keep a trace of the command line.
10401 +# Strip out --no-create and --no-recursion so they do not pile up.
10402 +# Strip out --silent because we don't want to record it for future runs.
10403 +# Also quote any args containing shell meta-characters.
10404 +# Make two passes to allow for proper duplicate-argument suppression.
10405 +ac_configure_args=
10406 +ac_configure_args0=
10407 +ac_configure_args1=
10409 +ac_must_keep_next=false
10410 +for ac_pass in 1 2
10415 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10416 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10417 + | -silent | --silent | --silen | --sile | --sil)
10419 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10420 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10423 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10425 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10426 + if test $ac_must_keep_next = true; then
10427 + ac_must_keep_next=false # Got value, back to normal.
10430 + *=* | --config-cache | -C | -disable-* | --disable-* \
10431 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10432 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10433 + | -with-* | --with-* | -without-* | --without-* | --x)
10434 + case "$ac_configure_args0 " in
10435 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10438 + -* ) ac_must_keep_next=true ;;
10441 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10442 + # Get rid of the leading space.
10448 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10449 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10451 +# When interrupted or exit'd, cleanup temporary files, and complete
10452 +# config.log. We remove comments because anyway the quotes in there
10453 +# would cause problems or look ugly.
10454 +# WARNING: Be sure not to use single quotes in there, as some shells,
10455 +# such as our DU 5.0 friend, will then `close' the trap.
10456 +trap 'exit_status=$?
10457 + # Save into config.log some information that might help in debugging.
10462 +@%:@@%:@ ---------------- @%:@@%:@
10463 +@%:@@%:@ Cache variables. @%:@@%:@
10464 +@%:@@%:@ ---------------- @%:@@%:@
10467 + # The following way of writing the cache mishandles newlines in values,
10470 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
10473 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
10474 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
10478 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10485 +@%:@@%:@ ----------------- @%:@@%:@
10486 +@%:@@%:@ Output variables. @%:@@%:@
10487 +@%:@@%:@ ----------------- @%:@@%:@
10490 + for ac_var in $ac_subst_vars
10492 + eval ac_val=$`echo $ac_var`
10493 + echo "$ac_var='"'"'$ac_val'"'"'"
10497 + if test -n "$ac_subst_files"; then
10499 +@%:@@%:@ ------------- @%:@@%:@
10500 +@%:@@%:@ Output files. @%:@@%:@
10501 +@%:@@%:@ ------------- @%:@@%:@
10504 + for ac_var in $ac_subst_files
10506 + eval ac_val=$`echo $ac_var`
10507 + echo "$ac_var='"'"'$ac_val'"'"'"
10512 + if test -s confdefs.h; then
10514 +@%:@@%:@ ----------- @%:@@%:@
10515 +@%:@@%:@ confdefs.h. @%:@@%:@
10516 +@%:@@%:@ ----------- @%:@@%:@
10519 + sed "/^$/d" confdefs.h | sort
10522 + test "$ac_signal" != 0 &&
10523 + echo "$as_me: caught signal $ac_signal"
10524 + echo "$as_me: exit $exit_status"
10526 + rm -f core *.core &&
10527 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
10528 + exit $exit_status
10530 +for ac_signal in 1 2 13 15; do
10531 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10535 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
10536 +rm -rf conftest* confdefs.h
10537 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
10540 +# Predefined preprocessor variables.
10542 +cat >>confdefs.h <<_ACEOF
10543 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
10547 +cat >>confdefs.h <<_ACEOF
10548 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
10552 +cat >>confdefs.h <<_ACEOF
10553 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
10557 +cat >>confdefs.h <<_ACEOF
10558 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
10562 +cat >>confdefs.h <<_ACEOF
10563 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
10567 +# Let the site file select an alternate cache file if it wants to.
10568 +# Prefer explicitly selected file to automatically selected ones.
10569 +if test -z "$CONFIG_SITE"; then
10570 + if test "x$prefix" != xNONE; then
10571 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
10573 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
10576 +for ac_site_file in $CONFIG_SITE; do
10577 + if test -r "$ac_site_file"; then
10578 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
10579 +echo "$as_me: loading site script $ac_site_file" >&6;}
10580 + sed 's/^/| /' "$ac_site_file" >&5
10581 + . "$ac_site_file"
10585 +if test -r "$cache_file"; then
10586 + # Some versions of bash will fail to source /dev/null (special
10587 + # files actually), so we avoid doing that.
10588 + if test -f "$cache_file"; then
10589 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
10590 +echo "$as_me: loading cache $cache_file" >&6;}
10591 + case $cache_file in
10592 + [\\/]* | ?:[\\/]* ) . $cache_file;;
10593 + *) . ./$cache_file;;
10597 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
10598 +echo "$as_me: creating cache $cache_file" >&6;}
10602 +# Check that the precious variables saved in the cache have kept the same
10604 +ac_cache_corrupted=false
10605 +for ac_var in `(set) 2>&1 |
10606 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
10607 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
10608 + eval ac_new_set=\$ac_env_${ac_var}_set
10609 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
10610 + eval ac_new_val="\$ac_env_${ac_var}_value"
10611 + case $ac_old_set,$ac_new_set in
10613 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
10614 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
10615 + ac_cache_corrupted=: ;;
10617 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
10618 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
10619 + ac_cache_corrupted=: ;;
10622 + if test "x$ac_old_val" != "x$ac_new_val"; then
10623 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
10624 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
10625 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
10626 +echo "$as_me: former value: $ac_old_val" >&2;}
10627 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
10628 +echo "$as_me: current value: $ac_new_val" >&2;}
10629 + ac_cache_corrupted=:
10632 + # Pass precious variables to config.status.
10633 + if test "$ac_new_set" = set; then
10634 + case $ac_new_val in
10635 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10636 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
10637 + *) ac_arg=$ac_var=$ac_new_val ;;
10639 + case " $ac_configure_args " in
10640 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
10641 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
10645 +if $ac_cache_corrupted; then
10646 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
10647 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
10648 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
10649 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
10650 + { (exit 1); exit 1; }; }
10654 +ac_cpp='$CPP $CPPFLAGS'
10655 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10678 + ac_config_headers="$ac_config_headers config.h"
10680 + ac_config_commands="$ac_config_commands default-1"
10684 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
10685 + if test -f $ac_dir/install-sh; then
10686 + ac_aux_dir=$ac_dir
10687 + ac_install_sh="$ac_aux_dir/install-sh -c"
10689 + elif test -f $ac_dir/install.sh; then
10690 + ac_aux_dir=$ac_dir
10691 + ac_install_sh="$ac_aux_dir/install.sh -c"
10693 + elif test -f $ac_dir/shtool; then
10694 + ac_aux_dir=$ac_dir
10695 + ac_install_sh="$ac_aux_dir/shtool install -c"
10699 +if test -z "$ac_aux_dir"; then
10700 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
10701 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
10702 + { (exit 1); exit 1; }; }
10704 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
10705 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
10706 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
10708 +# Make sure we can run config.sub.
10709 +$ac_config_sub sun4 >/dev/null 2>&1 ||
10710 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
10711 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
10712 + { (exit 1); exit 1; }; }
10714 +echo "$as_me:$LINENO: checking build system type" >&5
10715 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
10716 +if test "${ac_cv_build+set}" = set; then
10717 + echo $ECHO_N "(cached) $ECHO_C" >&6
10719 + ac_cv_build_alias=$build_alias
10720 +test -z "$ac_cv_build_alias" &&
10721 + ac_cv_build_alias=`$ac_config_guess`
10722 +test -z "$ac_cv_build_alias" &&
10723 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
10724 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
10725 + { (exit 1); exit 1; }; }
10726 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
10727 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
10728 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
10729 + { (exit 1); exit 1; }; }
10732 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
10733 +echo "${ECHO_T}$ac_cv_build" >&6
10734 +build=$ac_cv_build
10735 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
10736 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
10737 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
10740 +echo "$as_me:$LINENO: checking host system type" >&5
10741 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
10742 +if test "${ac_cv_host+set}" = set; then
10743 + echo $ECHO_N "(cached) $ECHO_C" >&6
10745 + ac_cv_host_alias=$host_alias
10746 +test -z "$ac_cv_host_alias" &&
10747 + ac_cv_host_alias=$ac_cv_build_alias
10748 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
10749 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
10750 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
10751 + { (exit 1); exit 1; }; }
10754 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
10755 +echo "${ECHO_T}$ac_cv_host" >&6
10757 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
10758 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
10759 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
10762 +echo "$as_me:$LINENO: checking target system type" >&5
10763 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
10764 +if test "${ac_cv_target+set}" = set; then
10765 + echo $ECHO_N "(cached) $ECHO_C" >&6
10767 + ac_cv_target_alias=$target_alias
10768 +test "x$ac_cv_target_alias" = "x" &&
10769 + ac_cv_target_alias=$ac_cv_host_alias
10770 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
10771 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
10772 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
10773 + { (exit 1); exit 1; }; }
10776 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
10777 +echo "${ECHO_T}$ac_cv_target" >&6
10778 +target=$ac_cv_target
10779 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
10780 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
10781 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
10784 +# The aliases save the names the user supplied, while $host etc.
10785 +# will get canonicalized.
10786 +test -n "$target_alias" &&
10787 + test "$program_prefix$program_suffix$program_transform_name" = \
10788 + NONENONEs,x,x, &&
10789 + program_prefix=${target_alias}-
10791 +am__api_version="1.4"
10792 +# Find a good install program. We prefer a C program (faster),
10793 +# so one script is as good as another. But avoid the broken or
10794 +# incompatible versions:
10795 +# SysV /etc/install, /usr/sbin/install
10796 +# SunOS /usr/etc/install
10797 +# IRIX /sbin/install
10798 +# AIX /bin/install
10799 +# AmigaOS /C/install, which installs bootblocks on floppy discs
10800 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10801 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
10802 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10803 +# OS/2's system install, which has a completely different semantic
10804 +# ./install, which can be erroneously created by make from ./install.sh.
10805 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10806 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10807 +if test -z "$INSTALL"; then
10808 +if test "${ac_cv_path_install+set}" = set; then
10809 + echo $ECHO_N "(cached) $ECHO_C" >&6
10811 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10812 +for as_dir in $PATH
10815 + test -z "$as_dir" && as_dir=.
10816 + # Account for people who put trailing slashes in PATH elements.
10818 + ./ | .// | /cC/* | \
10819 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10820 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10823 + # OSF1 and SCO ODT 3.0 have their own names for install.
10824 + # Don't use installbsd from OSF since it installs stuff as root
10826 + for ac_prog in ginstall scoinst install; do
10827 + for ac_exec_ext in '' $ac_executable_extensions; do
10828 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10829 + if test $ac_prog = install &&
10830 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10831 + # AIX install. It has an incompatible calling convention.
10833 + elif test $ac_prog = install &&
10834 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10835 + # program-specific install script used by HP pwplus--don't use.
10838 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10850 + if test "${ac_cv_path_install+set}" = set; then
10851 + INSTALL=$ac_cv_path_install
10853 + # As a last resort, use the slow shell script. We don't cache a
10854 + # path for INSTALL within a source directory, because that will
10855 + # break other packages using the cache if that directory is
10856 + # removed, or if the path is relative.
10857 + INSTALL=$ac_install_sh
10860 +echo "$as_me:$LINENO: result: $INSTALL" >&5
10861 +echo "${ECHO_T}$INSTALL" >&6
10863 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10864 +# It thinks the first close brace ends the variable substitution.
10865 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10867 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10869 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10871 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
10872 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
10875 +echo timestamp > conftestfile
10876 +# Do `set' in a subshell so we don't clobber the current shell's
10877 +# arguments. Must try -L first in case configure is actually a
10878 +# symlink; some systems play weird games with the mod time of symlinks
10879 +# (eg FreeBSD returns the mod time of the symlink's containing
10882 + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
10883 + if test "$*" = "X"; then
10884 + # -L didn't work.
10885 + set X `ls -t $srcdir/configure conftestfile`
10887 + if test "$*" != "X $srcdir/configure conftestfile" \
10888 + && test "$*" != "X conftestfile $srcdir/configure"; then
10890 + # If neither matched, then we have a broken ls. This can happen
10891 + # if, for instance, CONFIG_SHELL is bash and it inherits a
10892 + # broken ls alias from the environment. This has actually
10893 + # happened. Such a system could not be considered "sane".
10894 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
10895 +alias in your environment" >&5
10896 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
10897 +alias in your environment" >&2;}
10898 + { (exit 1); exit 1; }; }
10901 + test "$2" = conftestfile
10907 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
10908 +Check your system clock" >&5
10909 +echo "$as_me: error: newly created file is older than distributed files!
10910 +Check your system clock" >&2;}
10911 + { (exit 1); exit 1; }; }
10914 +echo "$as_me:$LINENO: result: yes" >&5
10915 +echo "${ECHO_T}yes" >&6
10916 +test "$program_prefix" != NONE &&
10917 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
10918 +# Use a double $ so make ignores it.
10919 +test "$program_suffix" != NONE &&
10920 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
10921 +# Double any \ or $. echo might interpret backslashes.
10922 +# By default was `s,x,x', remove it if useless.
10923 +cat <<\_ACEOF >conftest.sed
10924 +s/[\\$]/&&/g;s/;s,x,x,$//
10926 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
10929 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10930 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
10931 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
10932 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
10933 + echo $ECHO_N "(cached) $ECHO_C" >&6
10935 + cat >conftest.make <<\_ACEOF
10937 + @echo 'ac_maketemp="$(MAKE)"'
10939 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10940 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
10941 +if test -n "$ac_maketemp"; then
10942 + eval ac_cv_prog_make_${ac_make}_set=yes
10944 + eval ac_cv_prog_make_${ac_make}_set=no
10946 +rm -f conftest.make
10948 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
10949 + echo "$as_me:$LINENO: result: yes" >&5
10950 +echo "${ECHO_T}yes" >&6
10953 + echo "$as_me:$LINENO: result: no" >&5
10954 +echo "${ECHO_T}no" >&6
10955 + SET_MAKE="MAKE=${MAKE-make}"
10963 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
10964 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
10965 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
10966 + { (exit 1); exit 1; }; }
10969 +cat >>confdefs.h <<_ACEOF
10970 +@%:@define PACKAGE "$PACKAGE"
10974 +cat >>confdefs.h <<_ACEOF
10975 +@%:@define VERSION "$VERSION"
10980 +missing_dir=`cd $ac_aux_dir && pwd`
10981 +echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
10982 +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
10983 +# Run test in a subshell; some versions of sh will print an error if
10984 +# an executable is not found, even if stderr is redirected.
10985 +# Redirect stdin to placate older versions of autoconf. Sigh.
10986 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
10987 + ACLOCAL=aclocal-${am__api_version}
10988 + echo "$as_me:$LINENO: result: found" >&5
10989 +echo "${ECHO_T}found" >&6
10991 + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
10992 + echo "$as_me:$LINENO: result: missing" >&5
10993 +echo "${ECHO_T}missing" >&6
10996 +echo "$as_me:$LINENO: checking for working autoconf" >&5
10997 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
10998 +# Run test in a subshell; some versions of sh will print an error if
10999 +# an executable is not found, even if stderr is redirected.
11000 +# Redirect stdin to placate older versions of autoconf. Sigh.
11001 +if (autoconf --version) < /dev/null > /dev/null 2>&1; then
11002 + AUTOCONF=autoconf
11003 + echo "$as_me:$LINENO: result: found" >&5
11004 +echo "${ECHO_T}found" >&6
11006 + AUTOCONF="$missing_dir/missing autoconf"
11007 + echo "$as_me:$LINENO: result: missing" >&5
11008 +echo "${ECHO_T}missing" >&6
11011 +echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
11012 +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
11013 +# Run test in a subshell; some versions of sh will print an error if
11014 +# an executable is not found, even if stderr is redirected.
11015 +# Redirect stdin to placate older versions of autoconf. Sigh.
11016 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
11017 + AUTOMAKE=automake-${am__api_version}
11018 + echo "$as_me:$LINENO: result: found" >&5
11019 +echo "${ECHO_T}found" >&6
11021 + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
11022 + echo "$as_me:$LINENO: result: missing" >&5
11023 +echo "${ECHO_T}missing" >&6
11026 +echo "$as_me:$LINENO: checking for working autoheader" >&5
11027 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
11028 +# Run test in a subshell; some versions of sh will print an error if
11029 +# an executable is not found, even if stderr is redirected.
11030 +# Redirect stdin to placate older versions of autoconf. Sigh.
11031 +if (autoheader --version) < /dev/null > /dev/null 2>&1; then
11032 + AUTOHEADER=autoheader
11033 + echo "$as_me:$LINENO: result: found" >&5
11034 +echo "${ECHO_T}found" >&6
11036 + AUTOHEADER="$missing_dir/missing autoheader"
11037 + echo "$as_me:$LINENO: result: missing" >&5
11038 +echo "${ECHO_T}missing" >&6
11041 +echo "$as_me:$LINENO: checking for working makeinfo" >&5
11042 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
11043 +# Run test in a subshell; some versions of sh will print an error if
11044 +# an executable is not found, even if stderr is redirected.
11045 +# Redirect stdin to placate older versions of autoconf. Sigh.
11046 +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
11047 + MAKEINFO=makeinfo
11048 + echo "$as_me:$LINENO: result: found" >&5
11049 +echo "${ECHO_T}found" >&6
11051 + MAKEINFO="$missing_dir/missing makeinfo"
11052 + echo "$as_me:$LINENO: result: missing" >&5
11053 +echo "${ECHO_T}missing" >&6
11058 +LIBVER_CURRENT="1"
11059 +LIBVER_REVISION="0"
11066 +ac_cpp='$CPP $CPPFLAGS'
11067 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11070 +if test -n "$ac_tool_prefix"; then
11071 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11072 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
11073 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11074 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11075 +if test "${ac_cv_prog_CC+set}" = set; then
11076 + echo $ECHO_N "(cached) $ECHO_C" >&6
11078 + if test -n "$CC"; then
11079 + ac_cv_prog_CC="$CC" # Let the user override the test.
11081 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 +for as_dir in $PATH
11085 + test -z "$as_dir" && as_dir=.
11086 + for ac_exec_ext in '' $ac_executable_extensions; do
11087 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11088 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
11089 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11098 +if test -n "$CC"; then
11099 + echo "$as_me:$LINENO: result: $CC" >&5
11100 +echo "${ECHO_T}$CC" >&6
11102 + echo "$as_me:$LINENO: result: no" >&5
11103 +echo "${ECHO_T}no" >&6
11107 +if test -z "$ac_cv_prog_CC"; then
11109 + # Extract the first word of "gcc", so it can be a program name with args.
11110 +set dummy gcc; ac_word=$2
11111 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11113 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11114 + echo $ECHO_N "(cached) $ECHO_C" >&6
11116 + if test -n "$ac_ct_CC"; then
11117 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11119 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11120 +for as_dir in $PATH
11123 + test -z "$as_dir" && as_dir=.
11124 + for ac_exec_ext in '' $ac_executable_extensions; do
11125 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11126 + ac_cv_prog_ac_ct_CC="gcc"
11127 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11136 +if test -n "$ac_ct_CC"; then
11137 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11138 +echo "${ECHO_T}$ac_ct_CC" >&6
11140 + echo "$as_me:$LINENO: result: no" >&5
11141 +echo "${ECHO_T}no" >&6
11146 + CC="$ac_cv_prog_CC"
11149 +if test -z "$CC"; then
11150 + if test -n "$ac_tool_prefix"; then
11151 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11152 +set dummy ${ac_tool_prefix}cc; ac_word=$2
11153 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11154 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11155 +if test "${ac_cv_prog_CC+set}" = set; then
11156 + echo $ECHO_N "(cached) $ECHO_C" >&6
11158 + if test -n "$CC"; then
11159 + ac_cv_prog_CC="$CC" # Let the user override the test.
11161 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 +for as_dir in $PATH
11165 + test -z "$as_dir" && as_dir=.
11166 + for ac_exec_ext in '' $ac_executable_extensions; do
11167 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11168 + ac_cv_prog_CC="${ac_tool_prefix}cc"
11169 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11178 +if test -n "$CC"; then
11179 + echo "$as_me:$LINENO: result: $CC" >&5
11180 +echo "${ECHO_T}$CC" >&6
11182 + echo "$as_me:$LINENO: result: no" >&5
11183 +echo "${ECHO_T}no" >&6
11187 +if test -z "$ac_cv_prog_CC"; then
11189 + # Extract the first word of "cc", so it can be a program name with args.
11190 +set dummy cc; ac_word=$2
11191 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11192 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11193 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11194 + echo $ECHO_N "(cached) $ECHO_C" >&6
11196 + if test -n "$ac_ct_CC"; then
11197 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11199 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11200 +for as_dir in $PATH
11203 + test -z "$as_dir" && as_dir=.
11204 + for ac_exec_ext in '' $ac_executable_extensions; do
11205 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11206 + ac_cv_prog_ac_ct_CC="cc"
11207 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11215 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11216 +if test -n "$ac_ct_CC"; then
11217 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11218 +echo "${ECHO_T}$ac_ct_CC" >&6
11220 + echo "$as_me:$LINENO: result: no" >&5
11221 +echo "${ECHO_T}no" >&6
11226 + CC="$ac_cv_prog_CC"
11230 +if test -z "$CC"; then
11231 + # Extract the first word of "cc", so it can be a program name with args.
11232 +set dummy cc; ac_word=$2
11233 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11234 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11235 +if test "${ac_cv_prog_CC+set}" = set; then
11236 + echo $ECHO_N "(cached) $ECHO_C" >&6
11238 + if test -n "$CC"; then
11239 + ac_cv_prog_CC="$CC" # Let the user override the test.
11241 + ac_prog_rejected=no
11242 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11243 +for as_dir in $PATH
11246 + test -z "$as_dir" && as_dir=.
11247 + for ac_exec_ext in '' $ac_executable_extensions; do
11248 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11249 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11250 + ac_prog_rejected=yes
11253 + ac_cv_prog_CC="cc"
11254 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11260 +if test $ac_prog_rejected = yes; then
11261 + # We found a bogon in the path, so make sure we never use it.
11262 + set dummy $ac_cv_prog_CC
11264 + if test $@%:@ != 0; then
11265 + # We chose a different compiler from the bogus one.
11266 + # However, it has the same basename, so the bogon will be chosen
11267 + # first if we set CC to just the basename; use the full file name.
11269 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11275 +if test -n "$CC"; then
11276 + echo "$as_me:$LINENO: result: $CC" >&5
11277 +echo "${ECHO_T}$CC" >&6
11279 + echo "$as_me:$LINENO: result: no" >&5
11280 +echo "${ECHO_T}no" >&6
11284 +if test -z "$CC"; then
11285 + if test -n "$ac_tool_prefix"; then
11286 + for ac_prog in cl
11288 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11289 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11290 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11291 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11292 +if test "${ac_cv_prog_CC+set}" = set; then
11293 + echo $ECHO_N "(cached) $ECHO_C" >&6
11295 + if test -n "$CC"; then
11296 + ac_cv_prog_CC="$CC" # Let the user override the test.
11298 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11299 +for as_dir in $PATH
11302 + test -z "$as_dir" && as_dir=.
11303 + for ac_exec_ext in '' $ac_executable_extensions; do
11304 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11305 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11306 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11315 +if test -n "$CC"; then
11316 + echo "$as_me:$LINENO: result: $CC" >&5
11317 +echo "${ECHO_T}$CC" >&6
11319 + echo "$as_me:$LINENO: result: no" >&5
11320 +echo "${ECHO_T}no" >&6
11323 + test -n "$CC" && break
11326 +if test -z "$CC"; then
11328 + for ac_prog in cl
11330 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11331 +set dummy $ac_prog; ac_word=$2
11332 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11333 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11334 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11335 + echo $ECHO_N "(cached) $ECHO_C" >&6
11337 + if test -n "$ac_ct_CC"; then
11338 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11340 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11341 +for as_dir in $PATH
11344 + test -z "$as_dir" && as_dir=.
11345 + for ac_exec_ext in '' $ac_executable_extensions; do
11346 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11347 + ac_cv_prog_ac_ct_CC="$ac_prog"
11348 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11356 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11357 +if test -n "$ac_ct_CC"; then
11358 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11359 +echo "${ECHO_T}$ac_ct_CC" >&6
11361 + echo "$as_me:$LINENO: result: no" >&5
11362 +echo "${ECHO_T}no" >&6
11365 + test -n "$ac_ct_CC" && break
11374 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11375 +See \`config.log' for more details." >&5
11376 +echo "$as_me: error: no acceptable C compiler found in \$PATH
11377 +See \`config.log' for more details." >&2;}
11378 + { (exit 1); exit 1; }; }
11380 +# Provide some information about the compiler.
11381 +echo "$as_me:$LINENO:" \
11382 + "checking for C compiler version" >&5
11383 +ac_compiler=`set X $ac_compile; echo $2`
11384 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11385 + (eval $ac_compiler --version </dev/null >&5) 2>&5
11387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 + (exit $ac_status); }
11389 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11390 + (eval $ac_compiler -v </dev/null >&5) 2>&5
11392 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 + (exit $ac_status); }
11394 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11395 + (eval $ac_compiler -V </dev/null >&5) 2>&5
11397 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 + (exit $ac_status); }
11400 +cat >conftest.$ac_ext <<_ACEOF
11403 +cat confdefs.h >>conftest.$ac_ext
11404 +cat >>conftest.$ac_ext <<_ACEOF
11405 +/* end confdefs.h. */
11415 +ac_clean_files_save=$ac_clean_files
11416 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
11417 +# Try to create an executable without -o first, disregard a.out.
11418 +# It will help us diagnose broken compilers, and finding out an intuition
11420 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11421 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11422 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11423 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11424 + (eval $ac_link_default) 2>&5
11426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 + (exit $ac_status); }; then
11428 + # Find the output, starting from the most likely. This scheme is
11429 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
11432 +# Be careful to initialize this variable, since it used to be cached.
11433 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11435 +# b.out is created by i960 compilers.
11436 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11438 + test -f "$ac_file" || continue
11440 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11442 + conftest.$ac_ext )
11443 + # This is the source file.
11446 + # We found the default executable, but exeext='' is most
11447 + # certainly right.
11450 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11451 + # FIXME: I believe we export ac_cv_exeext for Libtool,
11452 + # but it would be cool to find out if it's true. Does anybody
11453 + # maintain Libtool? --akim.
11454 + export ac_cv_exeext
11461 + echo "$as_me: failed program was:" >&5
11462 +sed 's/^/| /' conftest.$ac_ext >&5
11464 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
11465 +See \`config.log' for more details." >&5
11466 +echo "$as_me: error: C compiler cannot create executables
11467 +See \`config.log' for more details." >&2;}
11468 + { (exit 77); exit 77; }; }
11471 +ac_exeext=$ac_cv_exeext
11472 +echo "$as_me:$LINENO: result: $ac_file" >&5
11473 +echo "${ECHO_T}$ac_file" >&6
11475 +# Check the compiler produces executables we can run. If not, either
11476 +# the compiler is broken, or we cross compile.
11477 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11478 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11479 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11480 +# If not cross compiling, check that we can run a simple program.
11481 +if test "$cross_compiling" != yes; then
11482 + if { ac_try='./$ac_file'
11483 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11484 + (eval $ac_try) 2>&5
11486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 + (exit $ac_status); }; }; then
11488 + cross_compiling=no
11490 + if test "$cross_compiling" = maybe; then
11491 + cross_compiling=yes
11493 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11494 +If you meant to cross compile, use \`--host'.
11495 +See \`config.log' for more details." >&5
11496 +echo "$as_me: error: cannot run C compiled programs.
11497 +If you meant to cross compile, use \`--host'.
11498 +See \`config.log' for more details." >&2;}
11499 + { (exit 1); exit 1; }; }
11503 +echo "$as_me:$LINENO: result: yes" >&5
11504 +echo "${ECHO_T}yes" >&6
11506 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
11507 +ac_clean_files=$ac_clean_files_save
11508 +# Check the compiler produces executables we can run. If not, either
11509 +# the compiler is broken, or we cross compile.
11510 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11511 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11512 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
11513 +echo "${ECHO_T}$cross_compiling" >&6
11515 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
11516 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11517 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518 + (eval $ac_link) 2>&5
11520 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 + (exit $ac_status); }; then
11522 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
11523 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11524 +# work properly (i.e., refer to `conftest.exe'), while it won't with
11526 +for ac_file in conftest.exe conftest conftest.*; do
11527 + test -f "$ac_file" || continue
11529 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11530 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11531 + export ac_cv_exeext
11537 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11538 +See \`config.log' for more details." >&5
11539 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11540 +See \`config.log' for more details." >&2;}
11541 + { (exit 1); exit 1; }; }
11544 +rm -f conftest$ac_cv_exeext
11545 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11546 +echo "${ECHO_T}$ac_cv_exeext" >&6
11548 +rm -f conftest.$ac_ext
11549 +EXEEXT=$ac_cv_exeext
11551 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
11552 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11553 +if test "${ac_cv_objext+set}" = set; then
11554 + echo $ECHO_N "(cached) $ECHO_C" >&6
11556 + cat >conftest.$ac_ext <<_ACEOF
11559 +cat confdefs.h >>conftest.$ac_ext
11560 +cat >>conftest.$ac_ext <<_ACEOF
11561 +/* end confdefs.h. */
11571 +rm -f conftest.o conftest.obj
11572 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 + (eval $ac_compile) 2>&5
11575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 + (exit $ac_status); }; then
11577 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11579 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11580 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11585 + echo "$as_me: failed program was:" >&5
11586 +sed 's/^/| /' conftest.$ac_ext >&5
11588 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11589 +See \`config.log' for more details." >&5
11590 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
11591 +See \`config.log' for more details." >&2;}
11592 + { (exit 1); exit 1; }; }
11595 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
11597 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11598 +echo "${ECHO_T}$ac_cv_objext" >&6
11599 +OBJEXT=$ac_cv_objext
11601 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11602 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11603 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
11604 + echo $ECHO_N "(cached) $ECHO_C" >&6
11606 + cat >conftest.$ac_ext <<_ACEOF
11609 +cat confdefs.h >>conftest.$ac_ext
11610 +cat >>conftest.$ac_ext <<_ACEOF
11611 +/* end confdefs.h. */
11624 +rm -f conftest.$ac_objext
11625 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11626 + (eval $ac_compile) 2>conftest.er1
11628 + grep -v '^ *+' conftest.er1 >conftest.err
11629 + rm -f conftest.er1
11630 + cat conftest.err >&5
11631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 + (exit $ac_status); } &&
11633 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11634 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 + (eval $ac_try) 2>&5
11637 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 + (exit $ac_status); }; } &&
11639 + { ac_try='test -s conftest.$ac_objext'
11640 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641 + (eval $ac_try) 2>&5
11643 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 + (exit $ac_status); }; }; then
11645 + ac_compiler_gnu=yes
11647 + echo "$as_me: failed program was:" >&5
11648 +sed 's/^/| /' conftest.$ac_ext >&5
11650 +ac_compiler_gnu=no
11652 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11653 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
11656 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11657 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11658 +GCC=`test $ac_compiler_gnu = yes && echo yes`
11659 +ac_test_CFLAGS=${CFLAGS+set}
11660 +ac_save_CFLAGS=$CFLAGS
11662 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11663 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11664 +if test "${ac_cv_prog_cc_g+set}" = set; then
11665 + echo $ECHO_N "(cached) $ECHO_C" >&6
11667 + cat >conftest.$ac_ext <<_ACEOF
11670 +cat confdefs.h >>conftest.$ac_ext
11671 +cat >>conftest.$ac_ext <<_ACEOF
11672 +/* end confdefs.h. */
11682 +rm -f conftest.$ac_objext
11683 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11684 + (eval $ac_compile) 2>conftest.er1
11686 + grep -v '^ *+' conftest.er1 >conftest.err
11687 + rm -f conftest.er1
11688 + cat conftest.err >&5
11689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 + (exit $ac_status); } &&
11691 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11692 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 + (eval $ac_try) 2>&5
11695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 + (exit $ac_status); }; } &&
11697 + { ac_try='test -s conftest.$ac_objext'
11698 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 + (eval $ac_try) 2>&5
11701 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 + (exit $ac_status); }; }; then
11703 + ac_cv_prog_cc_g=yes
11705 + echo "$as_me: failed program was:" >&5
11706 +sed 's/^/| /' conftest.$ac_ext >&5
11708 +ac_cv_prog_cc_g=no
11710 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11712 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11713 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11714 +if test "$ac_test_CFLAGS" = set; then
11715 + CFLAGS=$ac_save_CFLAGS
11716 +elif test $ac_cv_prog_cc_g = yes; then
11717 + if test "$GCC" = yes; then
11723 + if test "$GCC" = yes; then
11729 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11730 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11731 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
11732 + echo $ECHO_N "(cached) $ECHO_C" >&6
11734 + ac_cv_prog_cc_stdc=no
11736 +cat >conftest.$ac_ext <<_ACEOF
11739 +cat confdefs.h >>conftest.$ac_ext
11740 +cat >>conftest.$ac_ext <<_ACEOF
11741 +/* end confdefs.h. */
11742 +#include <stdarg.h>
11743 +#include <stdio.h>
11744 +#include <sys/types.h>
11745 +#include <sys/stat.h>
11746 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11747 +struct buf { int x; };
11748 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
11749 +static char *e (p, i)
11755 +static char *f (char * (*g) (char **, int), char **p, ...)
11760 + s = g (p, va_arg (v,int));
11765 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11766 + function prototypes and stuff, but not '\xHH' hex character constants.
11767 + These don't provoke an error unfortunately, instead are silently treated
11768 + as 'x'. The following induces an error, until -std1 is added to get
11769 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11770 + array size at least. It's necessary to write '\x00'==0 to get something
11771 + that's true only with -std1. */
11772 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11774 +int test (int i, double x);
11775 +struct s1 {int (*f) (int a);};
11776 +struct s2 {int (*f) (double a);};
11777 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11783 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11788 +# Don't try gcc -ansi; that turns off useful extensions and
11789 +# breaks some systems' header files.
11790 +# AIX -qlanglvl=ansi
11791 +# Ultrix and OSF/1 -std1
11792 +# HP-UX 10.20 and later -Ae
11793 +# HP-UX older versions -Aa -D_HPUX_SOURCE
11794 +# SVR4 -Xc -D__EXTENSIONS__
11795 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11797 + CC="$ac_save_CC $ac_arg"
11798 + rm -f conftest.$ac_objext
11799 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 + (eval $ac_compile) 2>conftest.er1
11802 + grep -v '^ *+' conftest.er1 >conftest.err
11803 + rm -f conftest.er1
11804 + cat conftest.err >&5
11805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 + (exit $ac_status); } &&
11807 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11808 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 + (eval $ac_try) 2>&5
11811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 + (exit $ac_status); }; } &&
11813 + { ac_try='test -s conftest.$ac_objext'
11814 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 + (eval $ac_try) 2>&5
11817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 + (exit $ac_status); }; }; then
11819 + ac_cv_prog_cc_stdc=$ac_arg
11822 + echo "$as_me: failed program was:" >&5
11823 +sed 's/^/| /' conftest.$ac_ext >&5
11826 +rm -f conftest.err conftest.$ac_objext
11828 +rm -f conftest.$ac_ext conftest.$ac_objext
11833 +case "x$ac_cv_prog_cc_stdc" in
11835 + echo "$as_me:$LINENO: result: none needed" >&5
11836 +echo "${ECHO_T}none needed" >&6 ;;
11838 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11839 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11840 + CC="$CC $ac_cv_prog_cc_stdc" ;;
11843 +# Some people use a C++ compiler to compile C. Since we use `exit',
11844 +# in C++ we need to declare it. In case someone uses the same compiler
11845 +# for both compiling C and C++ we need to have the C++ compiler decide
11846 +# the declaration of exit, since it's the most demanding environment.
11847 +cat >conftest.$ac_ext <<_ACEOF
11848 +@%:@ifndef __cplusplus
11852 +rm -f conftest.$ac_objext
11853 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11854 + (eval $ac_compile) 2>conftest.er1
11856 + grep -v '^ *+' conftest.er1 >conftest.err
11857 + rm -f conftest.er1
11858 + cat conftest.err >&5
11859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 + (exit $ac_status); } &&
11861 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11862 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 + (eval $ac_try) 2>&5
11865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 + (exit $ac_status); }; } &&
11867 + { ac_try='test -s conftest.$ac_objext'
11868 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11869 + (eval $ac_try) 2>&5
11871 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 + (exit $ac_status); }; }; then
11873 + for ac_declaration in \
11875 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
11876 + 'extern "C" void std::exit (int); using std::exit;' \
11877 + 'extern "C" void exit (int) throw ();' \
11878 + 'extern "C" void exit (int);' \
11879 + 'void exit (int);'
11881 + cat >conftest.$ac_ext <<_ACEOF
11884 +cat confdefs.h >>conftest.$ac_ext
11885 +cat >>conftest.$ac_ext <<_ACEOF
11886 +/* end confdefs.h. */
11888 +@%:@include <stdlib.h>
11897 +rm -f conftest.$ac_objext
11898 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11899 + (eval $ac_compile) 2>conftest.er1
11901 + grep -v '^ *+' conftest.er1 >conftest.err
11902 + rm -f conftest.er1
11903 + cat conftest.err >&5
11904 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 + (exit $ac_status); } &&
11906 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11907 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 + (eval $ac_try) 2>&5
11910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 + (exit $ac_status); }; } &&
11912 + { ac_try='test -s conftest.$ac_objext'
11913 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 + (eval $ac_try) 2>&5
11916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 + (exit $ac_status); }; }; then
11920 + echo "$as_me: failed program was:" >&5
11921 +sed 's/^/| /' conftest.$ac_ext >&5
11925 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11926 + cat >conftest.$ac_ext <<_ACEOF
11929 +cat confdefs.h >>conftest.$ac_ext
11930 +cat >>conftest.$ac_ext <<_ACEOF
11931 +/* end confdefs.h. */
11941 +rm -f conftest.$ac_objext
11942 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11943 + (eval $ac_compile) 2>conftest.er1
11945 + grep -v '^ *+' conftest.er1 >conftest.err
11946 + rm -f conftest.er1
11947 + cat conftest.err >&5
11948 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 + (exit $ac_status); } &&
11950 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11951 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 + (eval $ac_try) 2>&5
11954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 + (exit $ac_status); }; } &&
11956 + { ac_try='test -s conftest.$ac_objext'
11957 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 + (eval $ac_try) 2>&5
11960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 + (exit $ac_status); }; }; then
11964 + echo "$as_me: failed program was:" >&5
11965 +sed 's/^/| /' conftest.$ac_ext >&5
11968 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11971 +if test -n "$ac_declaration"; then
11972 + echo '#ifdef __cplusplus' >>confdefs.h
11973 + echo $ac_declaration >>confdefs.h
11974 + echo '#endif' >>confdefs.h
11978 + echo "$as_me: failed program was:" >&5
11979 +sed 's/^/| /' conftest.$ac_ext >&5
11982 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11984 +ac_cpp='$CPP $CPPFLAGS'
11985 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11986 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11987 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11990 +missing_dir=`cd $ac_aux_dir && pwd`
11991 +for ac_prog in flex lex
11993 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11994 +set dummy $ac_prog; ac_word=$2
11995 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11996 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11997 +if test "${ac_cv_prog_LEX+set}" = set; then
11998 + echo $ECHO_N "(cached) $ECHO_C" >&6
12000 + if test -n "$LEX"; then
12001 + ac_cv_prog_LEX="$LEX" # Let the user override the test.
12003 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12004 +for as_dir in $PATH
12007 + test -z "$as_dir" && as_dir=.
12008 + for ac_exec_ext in '' $ac_executable_extensions; do
12009 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12010 + ac_cv_prog_LEX="$ac_prog"
12011 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 +LEX=$ac_cv_prog_LEX
12020 +if test -n "$LEX"; then
12021 + echo "$as_me:$LINENO: result: $LEX" >&5
12022 +echo "${ECHO_T}$LEX" >&6
12024 + echo "$as_me:$LINENO: result: no" >&5
12025 +echo "${ECHO_T}no" >&6
12028 + test -n "$LEX" && break
12030 +test -n "$LEX" || LEX="$missing_dir/missing flex"
12032 +for ac_prog in flex lex
12034 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12035 +set dummy $ac_prog; ac_word=$2
12036 +echo "$as_me:$LINENO: checking for $ac_word" >&5
12037 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12038 +if test "${ac_cv_prog_LEX+set}" = set; then
12039 + echo $ECHO_N "(cached) $ECHO_C" >&6
12041 + if test -n "$LEX"; then
12042 + ac_cv_prog_LEX="$LEX" # Let the user override the test.
12044 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 +for as_dir in $PATH
12048 + test -z "$as_dir" && as_dir=.
12049 + for ac_exec_ext in '' $ac_executable_extensions; do
12050 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12051 + ac_cv_prog_LEX="$ac_prog"
12052 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12060 +LEX=$ac_cv_prog_LEX
12061 +if test -n "$LEX"; then
12062 + echo "$as_me:$LINENO: result: $LEX" >&5
12063 +echo "${ECHO_T}$LEX" >&6
12065 + echo "$as_me:$LINENO: result: no" >&5
12066 +echo "${ECHO_T}no" >&6
12069 + test -n "$LEX" && break
12071 +test -n "$LEX" || LEX=":"
12073 +if test -z "$LEXLIB"
12075 + echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
12076 +echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
12077 +if test "${ac_cv_lib_fl_yywrap+set}" = set; then
12078 + echo $ECHO_N "(cached) $ECHO_C" >&6
12080 + ac_check_lib_save_LIBS=$LIBS
12082 +cat >conftest.$ac_ext <<_ACEOF
12085 +cat confdefs.h >>conftest.$ac_ext
12086 +cat >>conftest.$ac_ext <<_ACEOF
12087 +/* end confdefs.h. */
12089 +/* Override any gcc2 internal prototype to avoid an error. */
12090 +#ifdef __cplusplus
12093 +/* We use char because int might match the return type of a gcc2
12094 + builtin and then its argument prototype would still apply. */
12104 +rm -f conftest.$ac_objext conftest$ac_exeext
12105 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12106 + (eval $ac_link) 2>conftest.er1
12108 + grep -v '^ *+' conftest.er1 >conftest.err
12109 + rm -f conftest.er1
12110 + cat conftest.err >&5
12111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 + (exit $ac_status); } &&
12113 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12114 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 + (eval $ac_try) 2>&5
12117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 + (exit $ac_status); }; } &&
12119 + { ac_try='test -s conftest$ac_exeext'
12120 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 + (eval $ac_try) 2>&5
12123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 + (exit $ac_status); }; }; then
12125 + ac_cv_lib_fl_yywrap=yes
12127 + echo "$as_me: failed program was:" >&5
12128 +sed 's/^/| /' conftest.$ac_ext >&5
12130 +ac_cv_lib_fl_yywrap=no
12132 +rm -f conftest.err conftest.$ac_objext \
12133 + conftest$ac_exeext conftest.$ac_ext
12134 +LIBS=$ac_check_lib_save_LIBS
12136 +echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
12137 +echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
12138 +if test $ac_cv_lib_fl_yywrap = yes; then
12141 + echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
12142 +echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
12143 +if test "${ac_cv_lib_l_yywrap+set}" = set; then
12144 + echo $ECHO_N "(cached) $ECHO_C" >&6
12146 + ac_check_lib_save_LIBS=$LIBS
12148 +cat >conftest.$ac_ext <<_ACEOF
12151 +cat confdefs.h >>conftest.$ac_ext
12152 +cat >>conftest.$ac_ext <<_ACEOF
12153 +/* end confdefs.h. */
12155 +/* Override any gcc2 internal prototype to avoid an error. */
12156 +#ifdef __cplusplus
12159 +/* We use char because int might match the return type of a gcc2
12160 + builtin and then its argument prototype would still apply. */
12170 +rm -f conftest.$ac_objext conftest$ac_exeext
12171 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12172 + (eval $ac_link) 2>conftest.er1
12174 + grep -v '^ *+' conftest.er1 >conftest.err
12175 + rm -f conftest.er1
12176 + cat conftest.err >&5
12177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 + (exit $ac_status); } &&
12179 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12180 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 + (eval $ac_try) 2>&5
12183 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 + (exit $ac_status); }; } &&
12185 + { ac_try='test -s conftest$ac_exeext'
12186 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 + (eval $ac_try) 2>&5
12189 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 + (exit $ac_status); }; }; then
12191 + ac_cv_lib_l_yywrap=yes
12193 + echo "$as_me: failed program was:" >&5
12194 +sed 's/^/| /' conftest.$ac_ext >&5
12196 +ac_cv_lib_l_yywrap=no
12198 +rm -f conftest.err conftest.$ac_objext \
12199 + conftest$ac_exeext conftest.$ac_ext
12200 +LIBS=$ac_check_lib_save_LIBS
12202 +echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
12203 +echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
12204 +if test $ac_cv_lib_l_yywrap = yes; then
12212 +if test "x$LEX" != "x:"; then
12213 + echo "$as_me:$LINENO: checking lex output file root" >&5
12214 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
12215 +if test "${ac_cv_prog_lex_root+set}" = set; then
12216 + echo $ECHO_N "(cached) $ECHO_C" >&6
12218 + # The minimal lex program is just a single line: %%. But some broken lexes
12219 +# (Solaris, I think it was) want two %% lines, so accommodate them.
12220 +cat >conftest.l <<_ACEOF
12224 +{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
12225 + (eval $LEX conftest.l) 2>&5
12227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 + (exit $ac_status); }
12229 +if test -f lex.yy.c; then
12230 + ac_cv_prog_lex_root=lex.yy
12231 +elif test -f lexyy.c; then
12232 + ac_cv_prog_lex_root=lexyy
12234 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
12235 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
12236 + { (exit 1); exit 1; }; }
12239 +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
12240 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
12242 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12244 +echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
12245 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
12246 +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
12247 + echo $ECHO_N "(cached) $ECHO_C" >&6
12249 + # POSIX says lex can declare yytext either as a pointer or an array; the
12250 +# default is implementation-dependent. Figure out which it is, since
12251 +# not all implementations provide the %pointer and %array declarations.
12252 +ac_cv_prog_lex_yytext_pointer=no
12253 +echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
12254 +ac_save_LIBS=$LIBS
12255 +LIBS="$LIBS $LEXLIB"
12256 +cat >conftest.$ac_ext <<_ACEOF
12257 +`cat $LEX_OUTPUT_ROOT.c`
12259 +rm -f conftest.$ac_objext conftest$ac_exeext
12260 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12261 + (eval $ac_link) 2>conftest.er1
12263 + grep -v '^ *+' conftest.er1 >conftest.err
12264 + rm -f conftest.er1
12265 + cat conftest.err >&5
12266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 + (exit $ac_status); } &&
12268 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12269 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 + (eval $ac_try) 2>&5
12272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 + (exit $ac_status); }; } &&
12274 + { ac_try='test -s conftest$ac_exeext'
12275 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 + (eval $ac_try) 2>&5
12278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 + (exit $ac_status); }; }; then
12280 + ac_cv_prog_lex_yytext_pointer=yes
12282 + echo "$as_me: failed program was:" >&5
12283 +sed 's/^/| /' conftest.$ac_ext >&5
12286 +rm -f conftest.err conftest.$ac_objext \
12287 + conftest$ac_exeext conftest.$ac_ext
12288 +LIBS=$ac_save_LIBS
12289 +rm -f "${LEX_OUTPUT_ROOT}.c"
12292 +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
12293 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
12294 +if test $ac_cv_prog_lex_yytext_pointer = yes; then
12296 +cat >>confdefs.h <<\_ACEOF
12297 +@%:@define YYTEXT_POINTER 1
12304 +for ac_prog in 'bison -y' byacc
12306 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12307 +set dummy $ac_prog; ac_word=$2
12308 +echo "$as_me:$LINENO: checking for $ac_word" >&5
12309 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12310 +if test "${ac_cv_prog_YACC+set}" = set; then
12311 + echo $ECHO_N "(cached) $ECHO_C" >&6
12313 + if test -n "$YACC"; then
12314 + ac_cv_prog_YACC="$YACC" # Let the user override the test.
12316 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 +for as_dir in $PATH
12320 + test -z "$as_dir" && as_dir=.
12321 + for ac_exec_ext in '' $ac_executable_extensions; do
12322 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12323 + ac_cv_prog_YACC="$ac_prog"
12324 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 +YACC=$ac_cv_prog_YACC
12333 +if test -n "$YACC"; then
12334 + echo "$as_me:$LINENO: result: $YACC" >&5
12335 +echo "${ECHO_T}$YACC" >&6
12337 + echo "$as_me:$LINENO: result: no" >&5
12338 +echo "${ECHO_T}no" >&6
12341 + test -n "$YACC" && break
12343 +test -n "$YACC" || YACC="yacc"
12345 +# Find a good install program. We prefer a C program (faster),
12346 +# so one script is as good as another. But avoid the broken or
12347 +# incompatible versions:
12348 +# SysV /etc/install, /usr/sbin/install
12349 +# SunOS /usr/etc/install
12350 +# IRIX /sbin/install
12351 +# AIX /bin/install
12352 +# AmigaOS /C/install, which installs bootblocks on floppy discs
12353 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12354 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
12355 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12356 +# OS/2's system install, which has a completely different semantic
12357 +# ./install, which can be erroneously created by make from ./install.sh.
12358 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12359 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12360 +if test -z "$INSTALL"; then
12361 +if test "${ac_cv_path_install+set}" = set; then
12362 + echo $ECHO_N "(cached) $ECHO_C" >&6
12364 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 +for as_dir in $PATH
12368 + test -z "$as_dir" && as_dir=.
12369 + # Account for people who put trailing slashes in PATH elements.
12371 + ./ | .// | /cC/* | \
12372 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12373 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12376 + # OSF1 and SCO ODT 3.0 have their own names for install.
12377 + # Don't use installbsd from OSF since it installs stuff as root
12379 + for ac_prog in ginstall scoinst install; do
12380 + for ac_exec_ext in '' $ac_executable_extensions; do
12381 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12382 + if test $ac_prog = install &&
12383 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12384 + # AIX install. It has an incompatible calling convention.
12386 + elif test $ac_prog = install &&
12387 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12388 + # program-specific install script used by HP pwplus--don't use.
12391 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12403 + if test "${ac_cv_path_install+set}" = set; then
12404 + INSTALL=$ac_cv_path_install
12406 + # As a last resort, use the slow shell script. We don't cache a
12407 + # path for INSTALL within a source directory, because that will
12408 + # break other packages using the cache if that directory is
12409 + # removed, or if the path is relative.
12410 + INSTALL=$ac_install_sh
12413 +echo "$as_me:$LINENO: result: $INSTALL" >&5
12414 +echo "${ECHO_T}$INSTALL" >&6
12416 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12417 +# It thinks the first close brace ends the variable substitution.
12418 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12420 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12422 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12425 +# Check whether --enable-shared or --disable-shared was given.
12426 +if test "${enable_shared+set}" = set; then
12427 + enableval="$enable_shared"
12428 + p=${PACKAGE-default}
12429 +case $enableval in
12430 +yes) enable_shared=yes ;;
12431 +no) enable_shared=no ;;
12434 + # Look at the argument we got. We use all the common list separators.
12435 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
12436 + for pkg in $enableval; do
12437 + if test "X$pkg" = "X$p"; then
12438 + enable_shared=yes
12441 + IFS="$ac_save_ifs"
12445 + enable_shared=yes
12447 +# Check whether --enable-static or --disable-static was given.
12448 +if test "${enable_static+set}" = set; then
12449 + enableval="$enable_static"
12450 + p=${PACKAGE-default}
12451 +case $enableval in
12452 +yes) enable_static=yes ;;
12453 +no) enable_static=no ;;
12456 + # Look at the argument we got. We use all the common list separators.
12457 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
12458 + for pkg in $enableval; do
12459 + if test "X$pkg" = "X$p"; then
12460 + enable_static=yes
12463 + IFS="$ac_save_ifs"
12467 + enable_static=yes
12469 +# Check whether --enable-fast-install or --disable-fast-install was given.
12470 +if test "${enable_fast_install+set}" = set; then
12471 + enableval="$enable_fast_install"
12472 + p=${PACKAGE-default}
12473 +case $enableval in
12474 +yes) enable_fast_install=yes ;;
12475 +no) enable_fast_install=no ;;
12477 + enable_fast_install=no
12478 + # Look at the argument we got. We use all the common list separators.
12479 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
12480 + for pkg in $enableval; do
12481 + if test "X$pkg" = "X$p"; then
12482 + enable_fast_install=yes
12485 + IFS="$ac_save_ifs"
12489 + enable_fast_install=yes
12491 +# Find the correct PATH separator. Usually this is `:', but
12492 +# DJGPP uses `;' like DOS.
12493 +if test "X${PATH_SEPARATOR+set}" != Xset; then
12494 + UNAME=${UNAME-`uname 2>/dev/null`}
12496 + *-DOS) lt_cv_sys_path_separator=';' ;;
12497 + *) lt_cv_sys_path_separator=':' ;;
12499 + PATH_SEPARATOR=$lt_cv_sys_path_separator
12503 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
12504 +if test "${with_gnu_ld+set}" = set; then
12505 + withval="$with_gnu_ld"
12506 + test "$withval" = no || with_gnu_ld=yes
12511 +if test "$GCC" = yes; then
12512 + # Check if gcc -print-prog-name=ld gives a path.
12513 + echo "$as_me:$LINENO: checking for ld used by GCC" >&5
12514 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
12517 + # gcc leaves a trailing carriage return which upsets mingw
12518 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12520 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12523 + # Accept absolute paths.
12524 + [\\/]* | [A-Za-z]:[\\/]*)
12525 + re_direlt='/[^/][^/]*/\.\./'
12526 + # Canonicalize the path of ld
12527 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12528 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12529 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12531 + test -z "$LD" && LD="$ac_prog"
12534 + # If it fails, then pretend we aren't using GCC.
12538 + # If it is relative, then search for the first ld in PATH.
12539 + with_gnu_ld=unknown
12542 +elif test "$with_gnu_ld" = yes; then
12543 + echo "$as_me:$LINENO: checking for GNU ld" >&5
12544 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12546 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12547 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12549 +if test "${lt_cv_path_LD+set}" = set; then
12550 + echo $ECHO_N "(cached) $ECHO_C" >&6
12552 + if test -z "$LD"; then
12553 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12554 + for ac_dir in $PATH; do
12555 + test -z "$ac_dir" && ac_dir=.
12556 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12557 + lt_cv_path_LD="$ac_dir/$ac_prog"
12558 + # Check to see if the program is GNU ld. I'd rather use --version,
12559 + # but apparently some GNU ld's only accept -v.
12560 + # Break only if it was the GNU/non-GNU ld that we prefer.
12561 + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
12562 + test "$with_gnu_ld" != no && break
12564 + test "$with_gnu_ld" != yes && break
12568 + IFS="$ac_save_ifs"
12570 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
12574 +LD="$lt_cv_path_LD"
12575 +if test -n "$LD"; then
12576 + echo "$as_me:$LINENO: result: $LD" >&5
12577 +echo "${ECHO_T}$LD" >&6
12579 + echo "$as_me:$LINENO: result: no" >&5
12580 +echo "${ECHO_T}no" >&6
12582 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12583 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12584 + { (exit 1); exit 1; }; }
12585 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12586 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12587 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
12588 + echo $ECHO_N "(cached) $ECHO_C" >&6
12590 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12591 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
12592 + lt_cv_prog_gnu_ld=yes
12594 + lt_cv_prog_gnu_ld=no
12597 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12598 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12599 +with_gnu_ld=$lt_cv_prog_gnu_ld
12602 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12603 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
12604 +if test "${lt_cv_ld_reload_flag+set}" = set; then
12605 + echo $ECHO_N "(cached) $ECHO_C" >&6
12607 + lt_cv_ld_reload_flag='-r'
12609 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12610 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
12611 +reload_flag=$lt_cv_ld_reload_flag
12612 +test -n "$reload_flag" && reload_flag=" $reload_flag"
12614 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12615 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
12616 +if test "${lt_cv_path_NM+set}" = set; then
12617 + echo $ECHO_N "(cached) $ECHO_C" >&6
12619 + if test -n "$NM"; then
12620 + # Let the user override the test.
12621 + lt_cv_path_NM="$NM"
12623 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12624 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
12625 + test -z "$ac_dir" && ac_dir=.
12626 + tmp_nm=$ac_dir/${ac_tool_prefix}nm
12627 + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
12628 + # Check to see if the nm accepts a BSD-compat flag.
12629 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12630 + # nm: unknown option "B" ignored
12631 + # Tru64's nm complains that /dev/null is an invalid object file
12632 + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
12633 + lt_cv_path_NM="$tmp_nm -B"
12635 + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
12636 + lt_cv_path_NM="$tmp_nm -p"
12639 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12640 + continue # so that we can try to find one that supports BSD flags
12644 + IFS="$ac_save_ifs"
12645 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12649 +NM="$lt_cv_path_NM"
12650 +echo "$as_me:$LINENO: result: $NM" >&5
12651 +echo "${ECHO_T}$NM" >&6
12653 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12654 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
12655 +if test "${lt_cv_path_SED+set}" = set; then
12656 + echo $ECHO_N "(cached) $ECHO_C" >&6
12658 + # Loop through the user's path and test for sed and gsed.
12659 +# Then use that list of sed's as ones to test for truncation.
12660 +as_executable_p="test -f"
12661 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12662 +for as_dir in $PATH
12665 + test -z "$as_dir" && as_dir=.
12666 + for ac_prog in sed gsed; do
12667 + for ac_exec_ext in '' $ac_executable_extensions; do
12668 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12669 + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
12675 + # Create a temporary directory, and hook for its removal unless debugging.
12678 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12679 + trap '{ (exit 1); exit 1; }' 1 2 13 15
12682 +# Create a (secure) tmp directory for tmp files.
12685 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
12686 + test -n "$tmp" && test -d "$tmp"
12689 + tmp=$TMPDIR/sed$$-$RANDOM
12690 + (umask 077 && mkdir $tmp)
12693 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
12694 + { (exit 1); exit 1; }
12698 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12699 + # along with /bin/sed that truncates output.
12700 + for _sed in $_sed_list /usr/xpg4/bin/sed; do
12701 + test ! -f ${_sed} && break
12702 + cat /dev/null > "$tmp/sed.in"
12704 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
12705 + # Check for GNU sed and select it if it is found.
12706 + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
12707 + lt_cv_path_SED=${_sed}
12711 + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
12712 + mv "$tmp/sed.tmp" "$tmp/sed.in"
12713 + cp "$tmp/sed.in" "$tmp/sed.nl"
12714 + echo >>"$tmp/sed.nl"
12715 + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
12716 + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
12717 + # 40000 chars as input seems more than enough
12718 + test $_count -gt 10 && break
12719 + _count=`expr $_count + 1`
12720 + if test $_count -gt $_max; then
12722 + lt_cv_path_SED=$_sed
12730 +if test "X$SED" != "X"; then
12731 + lt_cv_path_SED=$SED
12733 + SED=$lt_cv_path_SED
12735 +echo "$as_me:$LINENO: result: $SED" >&5
12736 +echo "${ECHO_T}$SED" >&6
12738 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
12739 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12741 +if test "$LN_S" = "ln -s"; then
12742 + echo "$as_me:$LINENO: result: yes" >&5
12743 +echo "${ECHO_T}yes" >&6
12745 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12746 +echo "${ECHO_T}no, using $LN_S" >&6
12749 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12750 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
12751 +if test "${lt_cv_deplibs_check_method+set}" = set; then
12752 + echo $ECHO_N "(cached) $ECHO_C" >&6
12754 + lt_cv_file_magic_cmd='$MAGIC_CMD'
12755 +lt_cv_file_magic_test_file=
12756 +lt_cv_deplibs_check_method='unknown'
12757 +# Need to set the preceding variable on all platforms that support
12758 +# interlibrary dependencies.
12759 +# 'none' -- dependencies not supported.
12760 +# `unknown' -- same as none, but documents that we really don't know.
12761 +# 'pass_all' -- all dependencies passed with no checks.
12762 +# 'test_compile' -- check by making test program.
12763 +# 'file_magic [[regex]]' -- check by looking for files in library path
12764 +# which responds to the $file_magic_cmd with a given egrep regex.
12765 +# If you have `file' or equivalent on your system and you're not sure
12766 +# whether `pass_all' will *always* work, you probably want this one.
12770 + lt_cv_deplibs_check_method=pass_all
12774 + lt_cv_deplibs_check_method=pass_all
12778 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12779 + lt_cv_file_magic_cmd='/usr/bin/file -L'
12780 + lt_cv_file_magic_test_file=/shlib/libc.so
12783 +cygwin* | mingw* | pw32*)
12784 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12785 + lt_cv_file_magic_cmd='$OBJDUMP -f'
12788 +darwin* | rhapsody*)
12789 + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
12790 + lt_cv_file_magic_cmd='/usr/bin/file -L'
12791 + case "$host_os" in
12792 + rhapsody* | darwin1.[012])
12793 + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
12795 + *) # Darwin 1.3 on
12796 + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
12802 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12803 + case $host_cpu in
12805 + # Not sure whether the presence of OpenBSD here was a mistake.
12806 + # Let's accept both of them until this is cleared up.
12807 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
12808 + lt_cv_file_magic_cmd=/usr/bin/file
12809 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12813 + lt_cv_deplibs_check_method=pass_all
12818 + lt_cv_deplibs_check_method=pass_all
12821 +hpux10.20*|hpux11*)
12822 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12823 + lt_cv_file_magic_cmd=/usr/bin/file
12824 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
12827 +irix5* | irix6* | nonstopux*)
12829 + irix5* | nonstopux*)
12830 + # this will be overridden with pass_all, but let us keep it just in case
12831 + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
12835 + *-32|*"-32 ") libmagic=32-bit;;
12836 + *-n32|*"-n32 ") libmagic=N32;;
12837 + *-64|*"-64 ") libmagic=64-bit;;
12838 + *) libmagic=never-match;;
12840 + # this will be overridden with pass_all, but let us keep it just in case
12841 + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
12844 + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
12845 + lt_cv_deplibs_check_method=pass_all
12848 +# This must be Linux ELF.
12850 + case $host_cpu in
12851 + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
12852 + lt_cv_deplibs_check_method=pass_all ;;
12854 + # glibc up to 2.1.1 does not perform some relocations on ARM
12855 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
12857 + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
12861 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12862 + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
12864 + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
12869 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12870 + lt_cv_file_magic_cmd=/usr/bin/file
12871 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
12875 + lt_cv_file_magic_cmd=/usr/bin/file
12876 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12877 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12878 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
12880 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
12884 +osf3* | osf4* | osf5*)
12885 + # this will be overridden with pass_all, but let us keep it just in case
12886 + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
12887 + lt_cv_file_magic_test_file=/shlib/libc.so
12888 + lt_cv_deplibs_check_method=pass_all
12892 + lt_cv_deplibs_check_method=pass_all
12896 + lt_cv_deplibs_check_method=pass_all
12897 + lt_cv_file_magic_test_file=/lib/libc.so
12900 +sysv5uw[78]* | sysv4*uw2*)
12901 + lt_cv_deplibs_check_method=pass_all
12904 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12905 + case $host_vendor in
12907 + 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]'
12908 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12911 + lt_cv_deplibs_check_method=pass_all
12914 + lt_cv_file_magic_cmd='/bin/file'
12915 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12918 + lt_cv_file_magic_cmd='/bin/file'
12919 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12920 + lt_cv_file_magic_test_file=/lib/libc.so
12923 + lt_cv_deplibs_check_method=pass_all
12930 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12931 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
12932 +file_magic_cmd=$lt_cv_file_magic_cmd
12933 +deplibs_check_method=$lt_cv_deplibs_check_method
12941 +# Check for command to grab the raw symbol name followed by C symbol from nm.
12942 +echo "$as_me:$LINENO: checking command to parse $NM output" >&5
12943 +echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
12944 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12945 + echo $ECHO_N "(cached) $ECHO_C" >&6
12948 +# These are sane defaults that work on at least a few old systems.
12949 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
12951 +# Character class describing NM global symbol codes.
12952 +symcode='[BCDEGRST]'
12954 +# Regexp to match symbols that can be accessed directly from C.
12955 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12957 +# Transform the above into a raw symbol and a C symbol.
12958 +symxfrm='\1 \2\3 \3'
12960 +# Transform an extracted symbol line into a proper C declaration
12961 +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
12963 +# Transform an extracted symbol line into symbol name and symbol address
12964 +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'"
12966 +# Define system-specific variables.
12971 +cygwin* | mingw* | pw32*)
12972 + symcode='[ABCDGISTW]'
12974 +hpux*) # Its linker distinguishes data from code symbols
12975 + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12976 + 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'"
12978 +irix* | nonstopux*)
12979 + symcode='[BCDEGRST]'
12982 + symcode='[BCDEGQRST]'
12984 +solaris* | sysv5*)
12988 + symcode='[DFNSTU]'
12992 +# Handle CRLF in mingw tool chain
12996 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13000 +# If we're using GNU nm, then use its standard symbol codes.
13001 +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
13002 + symcode='[ABCDGISTW]'
13005 +# Try without a prefix undercore, then with it.
13006 +for ac_symprfx in "" "_"; do
13008 + # Write the raw and C identifiers.
13009 +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
13011 + # Check to see that the pipe works correctly.
13014 + cat > conftest.$ac_ext <<EOF
13015 +#ifdef __cplusplus
13019 +void nm_test_func(){}
13020 +#ifdef __cplusplus
13023 +int main(){nm_test_var='a';nm_test_func();return(0);}
13026 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13027 + (eval $ac_compile) 2>&5
13029 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 + (exit $ac_status); }; then
13031 + # Now try to grab the symbols.
13032 + nlist=conftest.nm
13033 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13034 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13036 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 + (exit $ac_status); } && test -s "$nlist"; then
13038 + # Try sorting and uniquifying the output.
13039 + if sort "$nlist" | uniq > "$nlist"T; then
13040 + mv -f "$nlist"T "$nlist"
13045 + # Make sure that we snagged all the symbols we need.
13046 + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
13047 + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
13048 + cat <<EOF > conftest.$ac_ext
13049 +#ifdef __cplusplus
13054 + # Now generate the symbol file.
13055 + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
13057 + cat <<EOF >> conftest.$ac_ext
13058 +#if defined (__STDC__) && __STDC__
13059 +# define lt_ptr void *
13061 +# define lt_ptr char *
13065 +/* The mapping between symbol names and symbols. */
13067 + const char *name;
13070 +lt_preloaded_symbols[] =
13073 + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
13074 + cat <<\EOF >> conftest.$ac_ext
13078 +#ifdef __cplusplus
13082 + # Now try linking the two files.
13083 + mv conftest.$ac_objext conftstm.$ac_objext
13084 + save_LIBS="$LIBS"
13085 + save_CFLAGS="$CFLAGS"
13086 + LIBS="conftstm.$ac_objext"
13087 + CFLAGS="$CFLAGS$no_builtin_flag"
13088 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13089 + (eval $ac_link) 2>&5
13091 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 + (exit $ac_status); } && test -s conftest$ac_exeext; then
13095 + LIBS="$save_LIBS"
13096 + CFLAGS="$save_CFLAGS"
13098 + echo "cannot find nm_test_func in $nlist" >&5
13101 + echo "cannot find nm_test_var in $nlist" >&5
13104 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13107 + echo "$progname: failed program was:" >&5
13108 + cat conftest.$ac_ext >&5
13110 + rm -f conftest* conftst*
13112 + # Do not use the global_symbol_pipe unless it works.
13113 + if test "$pipe_works" = yes; then
13116 + lt_cv_sys_global_symbol_pipe=
13122 +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
13123 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
13124 + global_symbol_to_cdecl=
13125 + global_symbol_to_c_name_address=
13127 + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
13128 + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
13130 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
13132 + echo "$as_me:$LINENO: result: failed" >&5
13133 +echo "${ECHO_T}failed" >&6
13135 + echo "$as_me:$LINENO: result: ok" >&5
13136 +echo "${ECHO_T}ok" >&6
13140 +ac_cpp='$CPP $CPPFLAGS'
13141 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13144 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13145 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13146 +# On Suns, sometimes $CPP names a directory.
13147 +if test -n "$CPP" && test -d "$CPP"; then
13150 +if test -z "$CPP"; then
13151 + if test "${ac_cv_prog_CPP+set}" = set; then
13152 + echo $ECHO_N "(cached) $ECHO_C" >&6
13154 + # Double quotes because CPP needs to be expanded
13155 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13157 + ac_preproc_ok=false
13158 +for ac_c_preproc_warn_flag in '' yes
13160 + # Use a header file that comes with gcc, so configuring glibc
13161 + # with a fresh cross-compiler works.
13162 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13163 + # <limits.h> exists even on freestanding compilers.
13164 + # On the NeXT, cc -E runs the code through the compiler's parser,
13165 + # not just through cpp. "Syntax error" is here to catch this case.
13166 + cat >conftest.$ac_ext <<_ACEOF
13169 +cat confdefs.h >>conftest.$ac_ext
13170 +cat >>conftest.$ac_ext <<_ACEOF
13171 +/* end confdefs.h. */
13172 +@%:@ifdef __STDC__
13173 +@%:@ include <limits.h>
13175 +@%:@ include <assert.h>
13179 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13180 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13182 + grep -v '^ *+' conftest.er1 >conftest.err
13183 + rm -f conftest.er1
13184 + cat conftest.err >&5
13185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 + (exit $ac_status); } >/dev/null; then
13187 + if test -s conftest.err; then
13188 + ac_cpp_err=$ac_c_preproc_warn_flag
13189 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13196 +if test -z "$ac_cpp_err"; then
13199 + echo "$as_me: failed program was:" >&5
13200 +sed 's/^/| /' conftest.$ac_ext >&5
13202 + # Broken: fails on valid input.
13205 +rm -f conftest.err conftest.$ac_ext
13207 + # OK, works on sane cases. Now check whether non-existent headers
13208 + # can be detected and how.
13209 + cat >conftest.$ac_ext <<_ACEOF
13212 +cat confdefs.h >>conftest.$ac_ext
13213 +cat >>conftest.$ac_ext <<_ACEOF
13214 +/* end confdefs.h. */
13215 +@%:@include <ac_nonexistent.h>
13217 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13218 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13220 + grep -v '^ *+' conftest.er1 >conftest.err
13221 + rm -f conftest.er1
13222 + cat conftest.err >&5
13223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 + (exit $ac_status); } >/dev/null; then
13225 + if test -s conftest.err; then
13226 + ac_cpp_err=$ac_c_preproc_warn_flag
13227 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13234 +if test -z "$ac_cpp_err"; then
13235 + # Broken: success on invalid input.
13238 + echo "$as_me: failed program was:" >&5
13239 +sed 's/^/| /' conftest.$ac_ext >&5
13241 + # Passes both tests.
13245 +rm -f conftest.err conftest.$ac_ext
13248 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13249 +rm -f conftest.err conftest.$ac_ext
13250 +if $ac_preproc_ok; then
13255 + ac_cv_prog_CPP=$CPP
13258 + CPP=$ac_cv_prog_CPP
13260 + ac_cv_prog_CPP=$CPP
13262 +echo "$as_me:$LINENO: result: $CPP" >&5
13263 +echo "${ECHO_T}$CPP" >&6
13264 +ac_preproc_ok=false
13265 +for ac_c_preproc_warn_flag in '' yes
13267 + # Use a header file that comes with gcc, so configuring glibc
13268 + # with a fresh cross-compiler works.
13269 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13270 + # <limits.h> exists even on freestanding compilers.
13271 + # On the NeXT, cc -E runs the code through the compiler's parser,
13272 + # not just through cpp. "Syntax error" is here to catch this case.
13273 + cat >conftest.$ac_ext <<_ACEOF
13276 +cat confdefs.h >>conftest.$ac_ext
13277 +cat >>conftest.$ac_ext <<_ACEOF
13278 +/* end confdefs.h. */
13279 +@%:@ifdef __STDC__
13280 +@%:@ include <limits.h>
13282 +@%:@ include <assert.h>
13286 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13287 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13289 + grep -v '^ *+' conftest.er1 >conftest.err
13290 + rm -f conftest.er1
13291 + cat conftest.err >&5
13292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 + (exit $ac_status); } >/dev/null; then
13294 + if test -s conftest.err; then
13295 + ac_cpp_err=$ac_c_preproc_warn_flag
13296 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13303 +if test -z "$ac_cpp_err"; then
13306 + echo "$as_me: failed program was:" >&5
13307 +sed 's/^/| /' conftest.$ac_ext >&5
13309 + # Broken: fails on valid input.
13312 +rm -f conftest.err conftest.$ac_ext
13314 + # OK, works on sane cases. Now check whether non-existent headers
13315 + # can be detected and how.
13316 + cat >conftest.$ac_ext <<_ACEOF
13319 +cat confdefs.h >>conftest.$ac_ext
13320 +cat >>conftest.$ac_ext <<_ACEOF
13321 +/* end confdefs.h. */
13322 +@%:@include <ac_nonexistent.h>
13324 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13325 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13327 + grep -v '^ *+' conftest.er1 >conftest.err
13328 + rm -f conftest.er1
13329 + cat conftest.err >&5
13330 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 + (exit $ac_status); } >/dev/null; then
13332 + if test -s conftest.err; then
13333 + ac_cpp_err=$ac_c_preproc_warn_flag
13334 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13341 +if test -z "$ac_cpp_err"; then
13342 + # Broken: success on invalid input.
13345 + echo "$as_me: failed program was:" >&5
13346 +sed 's/^/| /' conftest.$ac_ext >&5
13348 + # Passes both tests.
13352 +rm -f conftest.err conftest.$ac_ext
13355 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13356 +rm -f conftest.err conftest.$ac_ext
13357 +if $ac_preproc_ok; then
13360 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13361 +See \`config.log' for more details." >&5
13362 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13363 +See \`config.log' for more details." >&2;}
13364 + { (exit 1); exit 1; }; }
13368 +ac_cpp='$CPP $CPPFLAGS'
13369 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13370 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13371 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13374 +echo "$as_me:$LINENO: checking for egrep" >&5
13375 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13376 +if test "${ac_cv_prog_egrep+set}" = set; then
13377 + echo $ECHO_N "(cached) $ECHO_C" >&6
13379 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13380 + then ac_cv_prog_egrep='grep -E'
13381 + else ac_cv_prog_egrep='egrep'
13384 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13385 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13386 + EGREP=$ac_cv_prog_egrep
13389 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13390 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13391 +if test "${ac_cv_header_stdc+set}" = set; then
13392 + echo $ECHO_N "(cached) $ECHO_C" >&6
13394 + cat >conftest.$ac_ext <<_ACEOF
13397 +cat confdefs.h >>conftest.$ac_ext
13398 +cat >>conftest.$ac_ext <<_ACEOF
13399 +/* end confdefs.h. */
13400 +#include <stdlib.h>
13401 +#include <stdarg.h>
13402 +#include <string.h>
13403 +#include <float.h>
13413 +rm -f conftest.$ac_objext
13414 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13415 + (eval $ac_compile) 2>conftest.er1
13417 + grep -v '^ *+' conftest.er1 >conftest.err
13418 + rm -f conftest.er1
13419 + cat conftest.err >&5
13420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 + (exit $ac_status); } &&
13422 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13423 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 + (eval $ac_try) 2>&5
13426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 + (exit $ac_status); }; } &&
13428 + { ac_try='test -s conftest.$ac_objext'
13429 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 + (eval $ac_try) 2>&5
13432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 + (exit $ac_status); }; }; then
13434 + ac_cv_header_stdc=yes
13436 + echo "$as_me: failed program was:" >&5
13437 +sed 's/^/| /' conftest.$ac_ext >&5
13439 +ac_cv_header_stdc=no
13441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13443 +if test $ac_cv_header_stdc = yes; then
13444 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13445 + cat >conftest.$ac_ext <<_ACEOF
13448 +cat confdefs.h >>conftest.$ac_ext
13449 +cat >>conftest.$ac_ext <<_ACEOF
13450 +/* end confdefs.h. */
13451 +#include <string.h>
13454 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13455 + $EGREP "memchr" >/dev/null 2>&1; then
13458 + ac_cv_header_stdc=no
13464 +if test $ac_cv_header_stdc = yes; then
13465 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13466 + cat >conftest.$ac_ext <<_ACEOF
13469 +cat confdefs.h >>conftest.$ac_ext
13470 +cat >>conftest.$ac_ext <<_ACEOF
13471 +/* end confdefs.h. */
13472 +#include <stdlib.h>
13475 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13476 + $EGREP "free" >/dev/null 2>&1; then
13479 + ac_cv_header_stdc=no
13485 +if test $ac_cv_header_stdc = yes; then
13486 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13487 + if test "$cross_compiling" = yes; then
13490 + cat >conftest.$ac_ext <<_ACEOF
13493 +cat confdefs.h >>conftest.$ac_ext
13494 +cat >>conftest.$ac_ext <<_ACEOF
13495 +/* end confdefs.h. */
13496 +#include <ctype.h>
13497 +#if ((' ' & 0x0FF) == 0x020)
13498 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13499 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13501 +# define ISLOWER(c) \
13502 + (('a' <= (c) && (c) <= 'i') \
13503 + || ('j' <= (c) && (c) <= 'r') \
13504 + || ('s' <= (c) && (c) <= 'z'))
13505 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13508 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13513 + for (i = 0; i < 256; i++)
13514 + if (XOR (islower (i), ISLOWER (i))
13515 + || toupper (i) != TOUPPER (i))
13520 +rm -f conftest$ac_exeext
13521 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13522 + (eval $ac_link) 2>&5
13524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13526 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 + (eval $ac_try) 2>&5
13529 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 + (exit $ac_status); }; }; then
13533 + echo "$as_me: program exited with status $ac_status" >&5
13534 +echo "$as_me: failed program was:" >&5
13535 +sed 's/^/| /' conftest.$ac_ext >&5
13537 +( exit $ac_status )
13538 +ac_cv_header_stdc=no
13540 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13544 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13545 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
13546 +if test $ac_cv_header_stdc = yes; then
13548 +cat >>confdefs.h <<\_ACEOF
13549 +@%:@define STDC_HEADERS 1
13554 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
13564 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13565 + inttypes.h stdint.h unistd.h
13567 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13568 +echo "$as_me:$LINENO: checking for $ac_header" >&5
13569 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13570 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13571 + echo $ECHO_N "(cached) $ECHO_C" >&6
13573 + cat >conftest.$ac_ext <<_ACEOF
13576 +cat confdefs.h >>conftest.$ac_ext
13577 +cat >>conftest.$ac_ext <<_ACEOF
13578 +/* end confdefs.h. */
13579 +$ac_includes_default
13581 +@%:@include <$ac_header>
13583 +rm -f conftest.$ac_objext
13584 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 + (eval $ac_compile) 2>conftest.er1
13587 + grep -v '^ *+' conftest.er1 >conftest.err
13588 + rm -f conftest.er1
13589 + cat conftest.err >&5
13590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 + (exit $ac_status); } &&
13592 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13593 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 + (eval $ac_try) 2>&5
13596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 + (exit $ac_status); }; } &&
13598 + { ac_try='test -s conftest.$ac_objext'
13599 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 + (eval $ac_try) 2>&5
13602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 + (exit $ac_status); }; }; then
13604 + eval "$as_ac_Header=yes"
13606 + echo "$as_me: failed program was:" >&5
13607 +sed 's/^/| /' conftest.$ac_ext >&5
13609 +eval "$as_ac_Header=no"
13611 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13613 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13614 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13615 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
13616 + cat >>confdefs.h <<_ACEOF
13617 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13626 +for ac_header in dlfcn.h
13628 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13629 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13630 + echo "$as_me:$LINENO: checking for $ac_header" >&5
13631 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13632 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13633 + echo $ECHO_N "(cached) $ECHO_C" >&6
13635 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13636 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13638 + # Is the header compilable?
13639 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
13640 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13641 +cat >conftest.$ac_ext <<_ACEOF
13644 +cat confdefs.h >>conftest.$ac_ext
13645 +cat >>conftest.$ac_ext <<_ACEOF
13646 +/* end confdefs.h. */
13647 +$ac_includes_default
13648 +@%:@include <$ac_header>
13650 +rm -f conftest.$ac_objext
13651 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 + (eval $ac_compile) 2>conftest.er1
13654 + grep -v '^ *+' conftest.er1 >conftest.err
13655 + rm -f conftest.er1
13656 + cat conftest.err >&5
13657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 + (exit $ac_status); } &&
13659 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13660 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 + (eval $ac_try) 2>&5
13663 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 + (exit $ac_status); }; } &&
13665 + { ac_try='test -s conftest.$ac_objext'
13666 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 + (eval $ac_try) 2>&5
13669 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 + (exit $ac_status); }; }; then
13671 + ac_header_compiler=yes
13673 + echo "$as_me: failed program was:" >&5
13674 +sed 's/^/| /' conftest.$ac_ext >&5
13676 +ac_header_compiler=no
13678 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13679 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13680 +echo "${ECHO_T}$ac_header_compiler" >&6
13682 +# Is the header present?
13683 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
13684 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13685 +cat >conftest.$ac_ext <<_ACEOF
13688 +cat confdefs.h >>conftest.$ac_ext
13689 +cat >>conftest.$ac_ext <<_ACEOF
13690 +/* end confdefs.h. */
13691 +@%:@include <$ac_header>
13693 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13694 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13696 + grep -v '^ *+' conftest.er1 >conftest.err
13697 + rm -f conftest.er1
13698 + cat conftest.err >&5
13699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 + (exit $ac_status); } >/dev/null; then
13701 + if test -s conftest.err; then
13702 + ac_cpp_err=$ac_c_preproc_warn_flag
13703 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13710 +if test -z "$ac_cpp_err"; then
13711 + ac_header_preproc=yes
13713 + echo "$as_me: failed program was:" >&5
13714 +sed 's/^/| /' conftest.$ac_ext >&5
13716 + ac_header_preproc=no
13718 +rm -f conftest.err conftest.$ac_ext
13719 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13720 +echo "${ECHO_T}$ac_header_preproc" >&6
13722 +# So? What about this header?
13723 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13725 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13726 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13727 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13728 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13729 + ac_header_preproc=yes
13732 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13733 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13734 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13735 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13736 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13737 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13738 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13739 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13740 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13741 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13742 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13743 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13746 +@%:@@%:@ ------------------------------------------ @%:@@%:@
13747 +@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
13748 +@%:@@%:@ ------------------------------------------ @%:@@%:@
13751 + sed "s/^/$as_me: WARNING: /" >&2
13754 +echo "$as_me:$LINENO: checking for $ac_header" >&5
13755 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13756 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13757 + echo $ECHO_N "(cached) $ECHO_C" >&6
13759 + eval "$as_ac_Header=\$ac_header_preproc"
13761 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13762 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13765 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
13766 + cat >>confdefs.h <<_ACEOF
13767 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13779 +# Only perform the check for file, if the check method requires it
13780 +case $deplibs_check_method in
13782 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13783 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
13784 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
13785 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13786 + echo $ECHO_N "(cached) $ECHO_C" >&6
13788 + case $MAGIC_CMD in
13790 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13793 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
13796 + ac_save_MAGIC_CMD="$MAGIC_CMD"
13797 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13798 + ac_dummy="/usr/bin:$PATH"
13799 + for ac_dir in $ac_dummy; do
13800 + test -z "$ac_dir" && ac_dir=.
13801 + if test -f $ac_dir/${ac_tool_prefix}file; then
13802 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
13803 + if test -n "$file_magic_test_file"; then
13804 + case $deplibs_check_method in
13806 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
13807 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13808 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13809 + egrep "$file_magic_regex" > /dev/null; then
13814 +*** Warning: the command libtool uses to detect shared libraries,
13815 +*** $file_magic_cmd, produces output that libtool cannot recognize.
13816 +*** The result is that libtool may fail to recognize shared libraries
13817 +*** as such. This will affect the creation of libtool libraries that
13818 +*** depend on shared libraries, but programs linked with such libtool
13819 +*** libraries will work regardless of this problem. Nevertheless, you
13820 +*** may want to report the problem to your system manager and/or to
13821 +*** bug-libtool@gnu.org
13830 + IFS="$ac_save_ifs"
13831 + MAGIC_CMD="$ac_save_MAGIC_CMD"
13836 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13837 +if test -n "$MAGIC_CMD"; then
13838 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13839 +echo "${ECHO_T}$MAGIC_CMD" >&6
13841 + echo "$as_me:$LINENO: result: no" >&5
13842 +echo "${ECHO_T}no" >&6
13845 +if test -z "$lt_cv_path_MAGIC_CMD"; then
13846 + if test -n "$ac_tool_prefix"; then
13847 + echo "$as_me:$LINENO: checking for file" >&5
13848 +echo $ECHO_N "checking for file... $ECHO_C" >&6
13849 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13850 + echo $ECHO_N "(cached) $ECHO_C" >&6
13852 + case $MAGIC_CMD in
13854 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13857 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
13860 + ac_save_MAGIC_CMD="$MAGIC_CMD"
13861 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13862 + ac_dummy="/usr/bin:$PATH"
13863 + for ac_dir in $ac_dummy; do
13864 + test -z "$ac_dir" && ac_dir=.
13865 + if test -f $ac_dir/file; then
13866 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
13867 + if test -n "$file_magic_test_file"; then
13868 + case $deplibs_check_method in
13870 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
13871 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13872 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13873 + egrep "$file_magic_regex" > /dev/null; then
13878 +*** Warning: the command libtool uses to detect shared libraries,
13879 +*** $file_magic_cmd, produces output that libtool cannot recognize.
13880 +*** The result is that libtool may fail to recognize shared libraries
13881 +*** as such. This will affect the creation of libtool libraries that
13882 +*** depend on shared libraries, but programs linked with such libtool
13883 +*** libraries will work regardless of this problem. Nevertheless, you
13884 +*** may want to report the problem to your system manager and/or to
13885 +*** bug-libtool@gnu.org
13894 + IFS="$ac_save_ifs"
13895 + MAGIC_CMD="$ac_save_MAGIC_CMD"
13900 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13901 +if test -n "$MAGIC_CMD"; then
13902 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13903 +echo "${ECHO_T}$MAGIC_CMD" >&6
13905 + echo "$as_me:$LINENO: result: no" >&5
13906 +echo "${ECHO_T}no" >&6
13918 +if test -n "$ac_tool_prefix"; then
13919 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13920 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13921 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13922 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13923 +if test "${ac_cv_prog_RANLIB+set}" = set; then
13924 + echo $ECHO_N "(cached) $ECHO_C" >&6
13926 + if test -n "$RANLIB"; then
13927 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13929 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13930 +for as_dir in $PATH
13933 + test -z "$as_dir" && as_dir=.
13934 + for ac_exec_ext in '' $ac_executable_extensions; do
13935 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13936 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13937 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13945 +RANLIB=$ac_cv_prog_RANLIB
13946 +if test -n "$RANLIB"; then
13947 + echo "$as_me:$LINENO: result: $RANLIB" >&5
13948 +echo "${ECHO_T}$RANLIB" >&6
13950 + echo "$as_me:$LINENO: result: no" >&5
13951 +echo "${ECHO_T}no" >&6
13955 +if test -z "$ac_cv_prog_RANLIB"; then
13956 + ac_ct_RANLIB=$RANLIB
13957 + # Extract the first word of "ranlib", so it can be a program name with args.
13958 +set dummy ranlib; ac_word=$2
13959 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13960 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13962 + echo $ECHO_N "(cached) $ECHO_C" >&6
13964 + if test -n "$ac_ct_RANLIB"; then
13965 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13967 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13968 +for as_dir in $PATH
13971 + test -z "$as_dir" && as_dir=.
13972 + for ac_exec_ext in '' $ac_executable_extensions; do
13973 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 + ac_cv_prog_ac_ct_RANLIB="ranlib"
13975 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13981 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13984 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13985 +if test -n "$ac_ct_RANLIB"; then
13986 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13987 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
13989 + echo "$as_me:$LINENO: result: no" >&5
13990 +echo "${ECHO_T}no" >&6
13993 + RANLIB=$ac_ct_RANLIB
13995 + RANLIB="$ac_cv_prog_RANLIB"
13998 +if test -n "$ac_tool_prefix"; then
13999 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14000 +set dummy ${ac_tool_prefix}strip; ac_word=$2
14001 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14002 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14003 +if test "${ac_cv_prog_STRIP+set}" = set; then
14004 + echo $ECHO_N "(cached) $ECHO_C" >&6
14006 + if test -n "$STRIP"; then
14007 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14009 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 +for as_dir in $PATH
14013 + test -z "$as_dir" && as_dir=.
14014 + for ac_exec_ext in '' $ac_executable_extensions; do
14015 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14017 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 +STRIP=$ac_cv_prog_STRIP
14026 +if test -n "$STRIP"; then
14027 + echo "$as_me:$LINENO: result: $STRIP" >&5
14028 +echo "${ECHO_T}$STRIP" >&6
14030 + echo "$as_me:$LINENO: result: no" >&5
14031 +echo "${ECHO_T}no" >&6
14035 +if test -z "$ac_cv_prog_STRIP"; then
14036 + ac_ct_STRIP=$STRIP
14037 + # Extract the first word of "strip", so it can be a program name with args.
14038 +set dummy strip; ac_word=$2
14039 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14040 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14041 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14042 + echo $ECHO_N "(cached) $ECHO_C" >&6
14044 + if test -n "$ac_ct_STRIP"; then
14045 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14047 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14048 +for as_dir in $PATH
14051 + test -z "$as_dir" && as_dir=.
14052 + for ac_exec_ext in '' $ac_executable_extensions; do
14053 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14054 + ac_cv_prog_ac_ct_STRIP="strip"
14055 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
14064 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14065 +if test -n "$ac_ct_STRIP"; then
14066 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14067 +echo "${ECHO_T}$ac_ct_STRIP" >&6
14069 + echo "$as_me:$LINENO: result: no" >&5
14070 +echo "${ECHO_T}no" >&6
14073 + STRIP=$ac_ct_STRIP
14075 + STRIP="$ac_cv_prog_STRIP"
14080 +enable_win32_dll=no
14082 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
14083 +if test "${enable_libtool_lock+set}" = set; then
14084 + enableval="$enable_libtool_lock"
14087 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14089 +# Some flags need to be propagated to the compiler or linker for good
14090 +# libtool support.
14093 + # Find out which ABI we are using.
14094 + echo '#line __oline__ "configure"' > conftest.$ac_ext
14095 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14096 + (eval $ac_compile) 2>&5
14098 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 + (exit $ac_status); }; then
14100 + case `/usr/bin/file conftest.$ac_objext` in
14102 + LD="${LD-ld} -32"
14105 + LD="${LD-ld} -n32"
14108 + LD="${LD-ld} -64"
14116 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14117 + SAVE_CFLAGS="$CFLAGS"
14118 + CFLAGS="$CFLAGS -belf"
14119 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14120 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
14121 +if test "${lt_cv_cc_needs_belf+set}" = set; then
14122 + echo $ECHO_N "(cached) $ECHO_C" >&6
14127 +ac_cpp='$CPP $CPPFLAGS'
14128 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14129 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14130 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14132 + cat >conftest.$ac_ext <<_ACEOF
14135 +cat confdefs.h >>conftest.$ac_ext
14136 +cat >>conftest.$ac_ext <<_ACEOF
14137 +/* end confdefs.h. */
14147 +rm -f conftest.$ac_objext conftest$ac_exeext
14148 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14149 + (eval $ac_link) 2>conftest.er1
14151 + grep -v '^ *+' conftest.er1 >conftest.err
14152 + rm -f conftest.er1
14153 + cat conftest.err >&5
14154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 + (exit $ac_status); } &&
14156 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14157 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14158 + (eval $ac_try) 2>&5
14160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 + (exit $ac_status); }; } &&
14162 + { ac_try='test -s conftest$ac_exeext'
14163 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 + (eval $ac_try) 2>&5
14166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 + (exit $ac_status); }; }; then
14168 + lt_cv_cc_needs_belf=yes
14170 + echo "$as_me: failed program was:" >&5
14171 +sed 's/^/| /' conftest.$ac_ext >&5
14173 +lt_cv_cc_needs_belf=no
14175 +rm -f conftest.err conftest.$ac_objext \
14176 + conftest$ac_exeext conftest.$ac_ext
14178 +ac_cpp='$CPP $CPPFLAGS'
14179 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14184 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14185 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
14186 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14187 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14188 + CFLAGS="$SAVE_CFLAGS"
14195 +# Sed substitution that helps us do robust quoting. It backslashifies
14196 +# metacharacters that are still active within double-quoted strings.
14197 +Xsed='sed -e s/^X//'
14198 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14200 +# Same as above, but do not quote variable references.
14201 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14203 +# Sed substitution to delay expansion of an escaped shell variable in a
14204 +# double_quote_subst'ed string.
14205 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14210 +# Global variables:
14211 +default_ofile=libtool
14212 +can_build_shared=yes
14214 +# All known linkers require a `.a' archive for static linking (except M$VC,
14215 +# which needs '.lib').
14217 +ltmain="$ac_aux_dir/ltmain.sh"
14218 +ofile="$default_ofile"
14219 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14220 +need_locks="$enable_libtool_lock"
14223 +old_CFLAGS="$CFLAGS"
14225 +# Set sane defaults for various variables
14226 +test -z "$AR" && AR=ar
14227 +test -z "$AR_FLAGS" && AR_FLAGS=cru
14228 +test -z "$AS" && AS=as
14229 +test -z "$CC" && CC=cc
14230 +test -z "$DLLTOOL" && DLLTOOL=dlltool
14231 +test -z "$LD" && LD=ld
14232 +test -z "$LN_S" && LN_S="ln -s"
14233 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
14234 +test -z "$NM" && NM=nm
14235 +test -z "$OBJDUMP" && OBJDUMP=objdump
14236 +test -z "$RANLIB" && RANLIB=:
14237 +test -z "$STRIP" && STRIP=:
14238 +test -z "$ac_objext" && ac_objext=o
14240 +if test x"$host" != x"$build"; then
14241 + ac_tool_prefix=${host_alias}-
14246 +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
14249 +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
14254 + # AIX sometimes has problems with the GCC collect2 program. For some
14255 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14256 + # vanish in a puff of smoke.
14257 + if test "X${COLLECT_NAMES+set}" != Xset; then
14259 + export COLLECT_NAMES
14264 +# Determine commands to create old-style static archives.
14265 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14266 +old_postinstall_cmds='chmod 644 $oldlib'
14267 +old_postuninstall_cmds=
14269 +if test -n "$RANLIB"; then
14272 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
14275 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
14278 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14281 +# Allow CC to be a program name with arguments.
14285 +echo "$as_me:$LINENO: checking for objdir" >&5
14286 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
14287 +rm -f .libs 2>/dev/null
14288 +mkdir .libs 2>/dev/null
14289 +if test -d .libs; then
14292 + # MS-DOS does not allow filenames that begin with a dot.
14295 +rmdir .libs 2>/dev/null
14296 +echo "$as_me:$LINENO: result: $objdir" >&5
14297 +echo "${ECHO_T}$objdir" >&6
14301 +# Check whether --with-pic or --without-pic was given.
14302 +if test "${with_pic+set}" = set; then
14303 + withval="$with_pic"
14304 + pic_mode="$withval"
14308 +test -z "$pic_mode" && pic_mode=default
14310 +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
14311 +# in isolation, and that seeing it set (from the cache) indicates that
14312 +# the associated values are set (in the cache) correctly too.
14313 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14314 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14315 +if test "${lt_cv_prog_cc_pic+set}" = set; then
14316 + echo $ECHO_N "(cached) $ECHO_C" >&6
14318 + lt_cv_prog_cc_pic=
14319 + lt_cv_prog_cc_shlib=
14320 + lt_cv_prog_cc_wl=
14321 + lt_cv_prog_cc_static=
14322 + lt_cv_prog_cc_no_builtin=
14323 + lt_cv_prog_cc_can_build_shared=$can_build_shared
14325 + if test "$GCC" = yes; then
14326 + lt_cv_prog_cc_wl='-Wl,'
14327 + lt_cv_prog_cc_static='-static'
14331 + # Below there is a dirty hack to force normal static linking with -ldl
14332 + # The problem is because libdl dynamically linked with both libc and
14333 + # libC (AIX C++ library), which obviously doesn't included in libraries
14334 + # list by gcc. This cause undefined symbols with -static flags.
14335 + # This hack allows C programs to be linked with "-static -ldl", but
14336 + # not sure about C++ programs.
14337 + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
14340 + # FIXME: we need at least 68020 code to build shared libraries, but
14341 + # adding the `-m68020' flag to GCC prevents building anything better,
14342 + # like `-m68040'.
14343 + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
14345 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14346 + # PIC is the default for these OSes.
14348 + darwin* | rhapsody*)
14349 + # PIC is the default on this platform
14350 + # Common symbols not allowed in MH_DYLIB files
14351 + lt_cv_prog_cc_pic='-fno-common'
14353 + cygwin* | mingw* | pw32* | os2*)
14354 + # This hack is so that the source file can tell whether it is being
14355 + # built for inclusion in a dll (and should export symbols for example).
14356 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
14359 + if test -d /usr/nec; then
14360 + lt_cv_prog_cc_pic=-Kconform_pic
14364 + lt_cv_prog_cc_pic='-fPIC'
14368 + # PORTME Check for PIC flags for the system compiler.
14370 + aix3* | aix4* | aix5*)
14371 + lt_cv_prog_cc_wl='-Wl,'
14372 + # All AIX code is PIC.
14373 + if test "$host_cpu" = ia64; then
14374 + # AIX 5 now supports IA64 processor
14375 + lt_cv_prog_cc_static='-Bstatic'
14377 + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
14381 + hpux9* | hpux10* | hpux11*)
14382 + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
14383 + lt_cv_prog_cc_wl='-Wl,'
14384 + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
14385 + lt_cv_prog_cc_pic='+Z'
14388 + irix5* | irix6* | nonstopux*)
14389 + lt_cv_prog_cc_wl='-Wl,'
14390 + lt_cv_prog_cc_static='-non_shared'
14391 + # PIC (with -KPIC) is the default.
14394 + cygwin* | mingw* | pw32* | os2*)
14395 + # This hack is so that the source file can tell whether it is being
14396 + # built for inclusion in a dll (and should export symbols for example).
14397 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
14401 + lt_cv_prog_cc_pic='-KPIC'
14402 + lt_cv_prog_cc_static='-Bstatic'
14405 + osf3* | osf4* | osf5*)
14406 + # All OSF/1 code is PIC.
14407 + lt_cv_prog_cc_wl='-Wl,'
14408 + lt_cv_prog_cc_static='-non_shared'
14412 + lt_cv_prog_cc_pic='-Kpic'
14413 + lt_cv_prog_cc_static='-dn'
14414 + lt_cv_prog_cc_shlib='-belf'
14418 + lt_cv_prog_cc_pic='-KPIC'
14419 + lt_cv_prog_cc_static='-Bstatic'
14420 + lt_cv_prog_cc_wl='-Wl,'
14424 + lt_cv_prog_cc_pic='-PIC'
14425 + lt_cv_prog_cc_static='-Bstatic'
14426 + lt_cv_prog_cc_wl='-Qoption ld '
14429 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14430 + lt_cv_prog_cc_pic='-KPIC'
14431 + lt_cv_prog_cc_static='-Bstatic'
14432 + lt_cv_prog_cc_wl='-Wl,'
14436 + lt_cv_prog_cc_pic='-pic'
14437 + lt_cv_prog_cc_static='-Bstatic'
14441 + if test -d /usr/nec ;then
14442 + lt_cv_prog_cc_pic='-Kconform_pic'
14443 + lt_cv_prog_cc_static='-Bstatic'
14448 + lt_cv_prog_cc_can_build_shared=no
14455 +if test -z "$lt_cv_prog_cc_pic"; then
14456 + echo "$as_me:$LINENO: result: none" >&5
14457 +echo "${ECHO_T}none" >&6
14459 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
14460 +echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
14462 + # Check to make sure the pic_flag actually works.
14463 + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
14464 +echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
14465 + if test "${lt_cv_prog_cc_pic_works+set}" = set; then
14466 + echo $ECHO_N "(cached) $ECHO_C" >&6
14468 + save_CFLAGS="$CFLAGS"
14469 + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
14470 + cat >conftest.$ac_ext <<_ACEOF
14473 +cat confdefs.h >>conftest.$ac_ext
14474 +cat >>conftest.$ac_ext <<_ACEOF
14475 +/* end confdefs.h. */
14485 +rm -f conftest.$ac_objext
14486 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14487 + (eval $ac_compile) 2>conftest.er1
14489 + grep -v '^ *+' conftest.er1 >conftest.err
14490 + rm -f conftest.er1
14491 + cat conftest.err >&5
14492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 + (exit $ac_status); } &&
14494 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14495 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 + (eval $ac_try) 2>&5
14498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 + (exit $ac_status); }; } &&
14500 + { ac_try='test -s conftest.$ac_objext'
14501 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 + (eval $ac_try) 2>&5
14504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 + (exit $ac_status); }; }; then
14507 + hpux9* | hpux10* | hpux11*)
14508 + # On HP-UX, both CC and GCC only warn that PIC is supported... then
14509 + # they create non-PIC objects. So, if there were any warnings, we
14510 + # assume that PIC is not supported.
14511 + if test -s conftest.err; then
14512 + lt_cv_prog_cc_pic_works=no
14514 + lt_cv_prog_cc_pic_works=yes
14518 + lt_cv_prog_cc_pic_works=yes
14523 + echo "$as_me: failed program was:" >&5
14524 +sed 's/^/| /' conftest.$ac_ext >&5
14526 + lt_cv_prog_cc_pic_works=no
14529 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14530 + CFLAGS="$save_CFLAGS"
14535 + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
14536 + lt_cv_prog_cc_pic=
14537 + lt_cv_prog_cc_can_build_shared=no
14539 + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
14542 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
14543 +echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
14546 +# Check for any special shared library compilation flags.
14547 +if test -n "$lt_cv_prog_cc_shlib"; then
14548 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
14549 +echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
14550 + if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
14552 + { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
14553 +echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
14554 + lt_cv_prog_cc_can_build_shared=no
14558 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
14559 +echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
14560 +if test "${lt_cv_prog_cc_static_works+set}" = set; then
14561 + echo $ECHO_N "(cached) $ECHO_C" >&6
14563 + lt_cv_prog_cc_static_works=no
14564 + save_LDFLAGS="$LDFLAGS"
14565 + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
14566 + cat >conftest.$ac_ext <<_ACEOF
14569 +cat confdefs.h >>conftest.$ac_ext
14570 +cat >>conftest.$ac_ext <<_ACEOF
14571 +/* end confdefs.h. */
14581 +rm -f conftest.$ac_objext conftest$ac_exeext
14582 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14583 + (eval $ac_link) 2>conftest.er1
14585 + grep -v '^ *+' conftest.er1 >conftest.err
14586 + rm -f conftest.er1
14587 + cat conftest.err >&5
14588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 + (exit $ac_status); } &&
14590 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14591 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 + (eval $ac_try) 2>&5
14594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 + (exit $ac_status); }; } &&
14596 + { ac_try='test -s conftest$ac_exeext'
14597 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 + (eval $ac_try) 2>&5
14600 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 + (exit $ac_status); }; }; then
14602 + lt_cv_prog_cc_static_works=yes
14604 + echo "$as_me: failed program was:" >&5
14605 +sed 's/^/| /' conftest.$ac_ext >&5
14608 +rm -f conftest.err conftest.$ac_objext \
14609 + conftest$ac_exeext conftest.$ac_ext
14610 + LDFLAGS="$save_LDFLAGS"
14615 +# Belt *and* braces to stop my trousers falling down:
14616 +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
14617 +echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
14618 +echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
14620 +pic_flag="$lt_cv_prog_cc_pic"
14621 +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
14622 +wl="$lt_cv_prog_cc_wl"
14623 +link_static_flag="$lt_cv_prog_cc_static"
14624 +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
14625 +can_build_shared="$lt_cv_prog_cc_can_build_shared"
14628 +# Check to see if options -o and -c are simultaneously supported by compiler
14629 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14630 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14631 +if test "${lt_cv_compiler_c_o+set}" = set; then
14632 + echo $ECHO_N "(cached) $ECHO_C" >&6
14635 +$rm -r conftest 2>/dev/null
14638 +echo "int some_variable = 0;" > conftest.$ac_ext
14640 +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14641 +# that will create temporary files in the current directory regardless of
14642 +# the output directory. Thus, making CWD read-only will cause this test
14643 +# to fail, enabling locking or at least warning the user not to do parallel
14646 +save_CFLAGS="$CFLAGS"
14647 +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
14649 +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
14650 + # The compiler can only warn and ignore the option if not recognized
14651 + # So say no if there are warnings
14652 + if test -s out/conftest.err; then
14653 + lt_cv_compiler_c_o=no
14655 + lt_cv_compiler_c_o=yes
14658 + # Append any errors to the config.log.
14659 + cat out/conftest.err 1>&5
14660 + lt_cv_compiler_c_o=no
14662 +CFLAGS="$save_CFLAGS"
14664 +$rm conftest* out/*
14668 +$rm -r conftest 2>/dev/null
14672 +compiler_c_o=$lt_cv_compiler_c_o
14673 +echo "$as_me:$LINENO: result: $compiler_c_o" >&5
14674 +echo "${ECHO_T}$compiler_c_o" >&6
14676 +if test x"$compiler_c_o" = x"yes"; then
14677 + # Check to see if we can write to a .lo
14678 + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
14679 +echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
14680 + if test "${lt_cv_compiler_o_lo+set}" = set; then
14681 + echo $ECHO_N "(cached) $ECHO_C" >&6
14684 + lt_cv_compiler_o_lo=no
14685 + save_CFLAGS="$CFLAGS"
14686 + CFLAGS="$CFLAGS -c -o conftest.lo"
14687 + save_objext="$ac_objext"
14689 + cat >conftest.$ac_ext <<_ACEOF
14692 +cat confdefs.h >>conftest.$ac_ext
14693 +cat >>conftest.$ac_ext <<_ACEOF
14694 +/* end confdefs.h. */
14699 +int some_variable = 0;
14704 +rm -f conftest.$ac_objext
14705 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14706 + (eval $ac_compile) 2>conftest.er1
14708 + grep -v '^ *+' conftest.er1 >conftest.err
14709 + rm -f conftest.er1
14710 + cat conftest.err >&5
14711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 + (exit $ac_status); } &&
14713 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14714 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 + (eval $ac_try) 2>&5
14717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 + (exit $ac_status); }; } &&
14719 + { ac_try='test -s conftest.$ac_objext'
14720 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 + (eval $ac_try) 2>&5
14723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 + (exit $ac_status); }; }; then
14725 + # The compiler can only warn and ignore the option if not recognized
14726 + # So say no if there are warnings
14727 + if test -s conftest.err; then
14728 + lt_cv_compiler_o_lo=no
14730 + lt_cv_compiler_o_lo=yes
14734 + echo "$as_me: failed program was:" >&5
14735 +sed 's/^/| /' conftest.$ac_ext >&5
14738 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14739 + ac_objext="$save_objext"
14740 + CFLAGS="$save_CFLAGS"
14744 + compiler_o_lo=$lt_cv_compiler_o_lo
14745 + echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
14746 +echo "${ECHO_T}$compiler_o_lo" >&6
14751 +# Check to see if we can do hard links to lock some files if needed
14752 +hard_links="nottested"
14753 +if test "$compiler_c_o" = no && test "$need_locks" != no; then
14754 + # do not overwrite the value of need_locks provided by the user
14755 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14756 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14759 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
14761 + ln conftest.a conftest.b 2>&5 || hard_links=no
14762 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
14763 + echo "$as_me:$LINENO: result: $hard_links" >&5
14764 +echo "${ECHO_T}$hard_links" >&6
14765 + if test "$hard_links" = no; then
14766 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14767 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14774 +if test "$GCC" = yes; then
14775 + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
14776 + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14777 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
14778 + echo "int some_variable = 0;" > conftest.$ac_ext
14779 + save_CFLAGS="$CFLAGS"
14780 + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
14781 + compiler_rtti_exceptions=no
14782 + cat >conftest.$ac_ext <<_ACEOF
14785 +cat confdefs.h >>conftest.$ac_ext
14786 +cat >>conftest.$ac_ext <<_ACEOF
14787 +/* end confdefs.h. */
14792 +int some_variable = 0;
14797 +rm -f conftest.$ac_objext
14798 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14799 + (eval $ac_compile) 2>conftest.er1
14801 + grep -v '^ *+' conftest.er1 >conftest.err
14802 + rm -f conftest.er1
14803 + cat conftest.err >&5
14804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 + (exit $ac_status); } &&
14806 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14807 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 + (eval $ac_try) 2>&5
14810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 + (exit $ac_status); }; } &&
14812 + { ac_try='test -s conftest.$ac_objext'
14813 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 + (eval $ac_try) 2>&5
14816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 + (exit $ac_status); }; }; then
14818 + # The compiler can only warn and ignore the option if not recognized
14819 + # So say no if there are warnings
14820 + if test -s conftest.err; then
14821 + compiler_rtti_exceptions=no
14823 + compiler_rtti_exceptions=yes
14827 + echo "$as_me: failed program was:" >&5
14828 +sed 's/^/| /' conftest.$ac_ext >&5
14831 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14832 + CFLAGS="$save_CFLAGS"
14833 + echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
14834 +echo "${ECHO_T}$compiler_rtti_exceptions" >&6
14836 + if test "$compiler_rtti_exceptions" = "yes"; then
14837 + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
14839 + no_builtin_flag=' -fno-builtin'
14843 +# See if the linker supports building shared libraries.
14844 +echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
14845 +echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
14847 +allow_undefined_flag=
14848 +no_undefined_flag=
14849 +need_lib_prefix=unknown
14850 +need_version=unknown
14851 +# when you set need_version to no, make sure it does not cause -set_version
14852 +# flags to be left without arguments
14854 +archive_expsym_cmds=
14855 +old_archive_from_new_cmds=
14856 +old_archive_from_expsyms_cmds=
14857 +export_dynamic_flag_spec=
14858 +whole_archive_flag_spec=
14859 +thread_safe_flag_spec=
14860 +hardcode_into_libs=no
14861 +hardcode_libdir_flag_spec=
14862 +hardcode_libdir_separator=
14863 +hardcode_direct=no
14864 +hardcode_minus_L=no
14865 +hardcode_shlibpath_var=unsupported
14867 +link_all_deplibs=unknown
14868 +always_export_symbols=no
14869 +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
14870 +# include_expsyms should be a list of space-separated symbols to be *always*
14871 +# included in the symbol list
14873 +# exclude_expsyms can be an egrep regular expression of symbols to exclude
14874 +# it will be wrapped by ` (' and `)$', so one must not match beginning or
14875 +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14876 +# as well as any symbol that contains `d'.
14877 +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
14878 +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14879 +# platforms (ab)use it in PIC code, but their linkers get confused if
14880 +# the symbol is explicitly referenced. Since portable code cannot
14881 +# rely on this symbol name, it's probably fine to never include it in
14882 +# preloaded symbol tables.
14883 +extract_expsyms_cmds=
14886 +cygwin* | mingw* | pw32*)
14887 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
14888 + # When not using gcc, we currently assume that we are using
14889 + # Microsoft Visual C++.
14890 + if test "$GCC" != yes; then
14900 +if test "$with_gnu_ld" = yes; then
14901 + # If archive_cmds runs LD, not CC, wlarc should be empty
14904 + # See if GNU ld supports shared libraries.
14906 + aix3* | aix4* | aix5*)
14907 + # On AIX, the GNU linker is very broken
14908 + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
14912 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14913 +*** to be unable to reliably create shared libraries on AIX.
14914 +*** Therefore, libtool is disabling shared libraries support. If you
14915 +*** really care for shared libraries, you may want to modify your PATH
14916 +*** so that a non-GNU linker is found, and then restart.
14922 + 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)'
14923 + hardcode_libdir_flag_spec='-L$libdir'
14924 + hardcode_minus_L=yes
14926 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14927 + # that the semantics of dynamic libraries on AmigaOS, at least up
14928 + # to version 4, is to share data among multiple programs linked
14929 + # with the same dynamic library. Since this doesn't match the
14930 + # behavior of shared libraries on other platforms, we can use
14936 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
14937 + allow_undefined_flag=unsupported
14938 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14939 + # support --undefined. This deserves some investigation. FIXME
14940 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14946 + cygwin* | mingw* | pw32*)
14947 + # hardcode_libdir_flag_spec is actually meaningless, as there is
14948 + # no search path for DLLs.
14949 + hardcode_libdir_flag_spec='-L$libdir'
14950 + allow_undefined_flag=unsupported
14951 + always_export_symbols=yes
14953 + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
14954 + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
14955 + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
14956 + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
14957 + else $CC -o impgen impgen.c ; fi)~
14958 + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
14960 + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
14962 + # cygwin and mingw dlls have different entry points and sets of symbols
14964 + # FIXME: what about values for MSVC?
14965 + dll_entry=__cygwin_dll_entry@12
14966 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
14970 + dll_entry=_DllMainCRTStartup@12
14971 + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
14975 + # mingw and cygwin differ, and it's simplest to just exclude the union
14976 + # of the two symbol sets.
14977 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
14979 + # recent cygwin and mingw systems supply a stub DllMain which the user
14980 + # can override, but on older systems we have to supply one (in ltdll.c)
14981 + if test "x$lt_cv_need_dllmain" = "xyes"; then
14982 + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
14983 + 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~
14984 + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
14990 + # Extract the symbol export list from an `--export-all' def file,
14991 + # then regenerate the def file from the symbol export list, so that
14992 + # the compiled dll only exports the symbol export list.
14993 + # Be careful not to strip the DATA tag left be newer dlltools.
14994 + export_symbols_cmds="$ltdll_cmds"'
14995 + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
14996 + sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
14998 + # If the export-symbols file already is a .def file (1st line
14999 + # is EXPORTS), use it as is.
15000 + # If DATA tags from a recent dlltool are present, honour them!
15001 + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
15002 + cp $export_symbols $output_objdir/$soname-def;
15004 + echo EXPORTS > $output_objdir/$soname-def;
15006 + cat $export_symbols | while read symbol; do
15007 + set dummy \$symbol;
15009 + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
15010 + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
15011 + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
15013 + _lt_hint=`expr 1 + \$_lt_hint`;
15017 + $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~
15018 + $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~
15019 + $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~
15020 + $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~
15021 + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
15025 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15026 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15029 + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15030 + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15034 + solaris* | sysv5*)
15035 + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
15039 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15040 +*** create shared libraries on Solaris systems. Therefore, libtool
15041 +*** is disabling shared libraries support. We urge you to upgrade GNU
15042 +*** binutils to release 2.9.1 or newer. Another option is to modify
15043 +*** your PATH or compiler configuration so that the native linker is
15044 +*** used, and then restart.
15047 + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15048 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15049 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15056 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15058 + hardcode_direct=yes
15059 + hardcode_shlibpath_var=no
15063 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15064 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15065 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15072 + if test "$ld_shlibs" = yes; then
15073 + runpath_var=LD_RUN_PATH
15074 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15075 + export_dynamic_flag_spec='${wl}--export-dynamic'
15077 + cygwin* | mingw* | pw32*)
15078 + # dlltool doesn't understand --whole-archive et. al.
15079 + whole_archive_flag_spec=
15082 + # ancient GNU ld didn't support --whole-archive et. al.
15083 + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
15084 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15086 + whole_archive_flag_spec=
15092 + # PORTME fill in a description of your system's linker (not GNU ld)
15095 + allow_undefined_flag=unsupported
15096 + always_export_symbols=yes
15097 + 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'
15098 + # Note: this linker hardcodes the directories in LIBPATH if there
15099 + # are no directories specified by -L.
15100 + hardcode_minus_L=yes
15101 + if test "$GCC" = yes && test -z "$link_static_flag"; then
15102 + # Neither direct hardcoding nor static linking is supported with a
15103 + # broken collect2.
15104 + hardcode_direct=unsupported
15109 + if test "$host_cpu" = ia64; then
15110 + # On IA64, the linker does run time linking by default, so we don't
15111 + # have to do anything special.
15112 + aix_use_runtimelinking=no
15113 + exp_sym_flag='-Bexport'
15116 + aix_use_runtimelinking=no
15118 + # Test if we are trying to use run time linking or normal
15119 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15120 + # need to do runtime linking.
15121 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15122 + for ld_flag in $LDFLAGS; do
15125 + aix_use_runtimelinking=yes
15132 + exp_sym_flag='-bexport'
15133 + no_entry_flag='-bnoentry'
15136 + # When large executables or shared objects are built, AIX ld can
15137 + # have problems creating the table of contents. If linking a library
15138 + # or program results in "error TOC overflow" add -mminimal-toc to
15139 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15140 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15142 + hardcode_direct=yes
15144 + hardcode_libdir_separator=':'
15145 + if test "$GCC" = yes; then
15146 + case $host_os in aix4.[012]|aix4.[012].*)
15147 + collect2name=`${CC} -print-prog-name=collect2`
15148 + if test -f "$collect2name" && \
15149 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15151 + # We have reworked collect2
15152 + hardcode_direct=yes
15154 + # We have old collect2
15155 + hardcode_direct=unsupported
15156 + # It fails to find uninstalled libraries when the uninstalled
15157 + # path is not listed in the libpath. Setting hardcode_minus_L
15158 + # to unsupported forces relinking
15159 + hardcode_minus_L=yes
15160 + hardcode_libdir_flag_spec='-L$libdir'
15161 + hardcode_libdir_separator=
15165 + shared_flag='-shared'
15168 + if test "$host_cpu" = ia64; then
15169 + shared_flag='${wl}-G'
15171 + if test "$aix_use_runtimelinking" = yes; then
15172 + shared_flag='${wl}-G'
15174 + shared_flag='${wl}-bM:SRE'
15179 + # It seems that -bexpall can do strange things, so it is better to
15180 + # generate a list of symbols to export.
15181 + always_export_symbols=yes
15182 + if test "$aix_use_runtimelinking" = yes; then
15183 + # Warning - without using the other runtime loading flags (-brtl),
15184 + # -berok will link without error, but may produce a broken library.
15185 + allow_undefined_flag='-berok'
15186 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
15187 + 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"
15189 + if test "$host_cpu" = ia64; then
15190 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15191 + allow_undefined_flag="-z nodefs"
15192 + 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"
15194 + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
15195 + # Warning - without using the other run time loading flags,
15196 + # -berok will link without error, but may produce a broken library.
15197 + allow_undefined_flag='${wl}-berok'
15198 + # This is a bit strange, but is similar to how AIX traditionally builds
15199 + # it's shared libraries.
15200 + 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'
15206 + 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)'
15207 + hardcode_libdir_flag_spec='-L$libdir'
15208 + hardcode_minus_L=yes
15209 + # see comment about different semantics on the GNU ld section
15213 + cygwin* | mingw* | pw32*)
15214 + # When not using gcc, we currently assume that we are using
15215 + # Microsoft Visual C++.
15216 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15217 + # no search path for DLLs.
15218 + hardcode_libdir_flag_spec=' '
15219 + allow_undefined_flag=unsupported
15220 + # Tell ltmain to make .lib files, not .a files.
15222 + # FIXME: Setting linknames here is a bad hack.
15223 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
15224 + # The linker will automatically build a .lib file if we build a DLL.
15225 + old_archive_from_new_cmds='true'
15226 + # FIXME: Should let the user specify the lib program.
15227 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15228 + fix_srcfile_path='`cygpath -w "$srcfile"`'
15231 + darwin* | rhapsody*)
15232 + case "$host_os" in
15233 + rhapsody* | darwin1.[012])
15234 + allow_undefined_flag='-undefined suppress'
15236 + *) # Darwin 1.3 on
15237 + allow_undefined_flag='-flat_namespace -undefined suppress'
15240 + # FIXME: Relying on posixy $() will cause problems for
15241 + # cross-compilation, but unfortunately the echo tests do not
15242 + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15243 + # `"' quotes if we put them in here... so don't!
15244 + 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)'
15245 + # We need to add '_' to the symbols in $export_symbols first
15246 + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
15247 + hardcode_direct=yes
15248 + hardcode_shlibpath_var=no
15249 + whole_archive_flag_spec='-all_load $convenience'
15256 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15257 + # support. Future versions do this automatically, but an explicit c++rt0.o
15258 + # does not break anything, and helps significantly (at the cost of a little
15261 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15262 + hardcode_libdir_flag_spec='-R$libdir'
15263 + hardcode_direct=yes
15264 + hardcode_shlibpath_var=no
15267 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15269 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15270 + hardcode_direct=yes
15271 + hardcode_minus_L=yes
15272 + hardcode_shlibpath_var=no
15275 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15277 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15278 + hardcode_libdir_flag_spec='-R$libdir'
15279 + hardcode_direct=yes
15280 + hardcode_shlibpath_var=no
15283 + hpux9* | hpux10* | hpux11*)
15285 + 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' ;;
15286 + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
15288 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15289 + hardcode_libdir_separator=:
15290 + hardcode_direct=yes
15291 + hardcode_minus_L=yes # Not in the search PATH, but as the default
15292 + # location of the library.
15293 + export_dynamic_flag_spec='${wl}-E'
15296 + irix5* | irix6* | nonstopux*)
15297 + if test "$GCC" = yes; then
15298 + 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'
15299 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15301 + 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'
15302 + hardcode_libdir_flag_spec='-rpath $libdir'
15304 + hardcode_libdir_separator=:
15305 + link_all_deplibs=yes
15309 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15310 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15312 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15314 + hardcode_libdir_flag_spec='-R$libdir'
15315 + hardcode_direct=yes
15316 + hardcode_shlibpath_var=no
15320 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15321 + hardcode_direct=yes
15322 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15323 + hardcode_libdir_separator=:
15324 + hardcode_shlibpath_var=no
15328 + hardcode_direct=yes
15329 + hardcode_shlibpath_var=no
15330 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15331 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15332 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15333 + export_dynamic_flag_spec='${wl}-E'
15335 + case "$host_os" in
15336 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15337 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15338 + hardcode_libdir_flag_spec='-R$libdir'
15341 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15342 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15349 + hardcode_libdir_flag_spec='-L$libdir'
15350 + hardcode_minus_L=yes
15351 + allow_undefined_flag=unsupported
15352 + 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'
15353 + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15357 + if test "$GCC" = yes; then
15358 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15359 + 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'
15361 + allow_undefined_flag=' -expect_unresolved \*'
15362 + 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'
15364 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15365 + hardcode_libdir_separator=:
15368 + osf4* | osf5*) # as osf3* with the addition of -msym flag
15369 + if test "$GCC" = yes; then
15370 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15371 + 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'
15372 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15374 + allow_undefined_flag=' -expect_unresolved \*'
15375 + 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'
15376 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15377 + $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'
15379 + #Both c and cxx compiler support -rpath directly
15380 + hardcode_libdir_flag_spec='-rpath $libdir'
15382 + hardcode_libdir_separator=:
15386 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15387 + hardcode_shlibpath_var=no
15388 + runpath_var=LD_RUN_PATH
15389 + hardcode_runpath_var=yes
15390 + export_dynamic_flag_spec='${wl}-Bexport'
15394 + # gcc --version < 3.0 without binutils cannot create self contained
15395 + # shared libraries reliably, requiring libgcc.a to resolve some of
15396 + # the object symbols generated in some cases. Libraries that use
15397 + # assert need libgcc.a to resolve __eprintf, for example. Linking
15398 + # a copy of libgcc.a into every shared library to guarantee resolving
15399 + # such symbols causes other problems: According to Tim Van Holder
15400 + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
15401 + # (to the application) exception stack for one thing.
15402 + no_undefined_flag=' -z defs'
15403 + if test "$GCC" = yes; then
15404 + case `$CC --version 2>/dev/null` in
15408 +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
15409 +*** create self contained shared libraries on Solaris systems, without
15410 +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
15411 +*** -no-undefined support, which will at least allow you to build shared
15412 +*** libraries. However, you may find that when you link such libraries
15413 +*** into an application without using GCC, you have to manually add
15414 +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
15415 +*** upgrade to a newer version of GCC. Another option is to rebuild your
15416 +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
15419 + no_undefined_flag=
15423 + # $CC -shared without GNU ld will not create a library from C++
15424 + # object files and a static libstdc++, better avoid it by now
15425 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15426 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15427 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15428 + hardcode_libdir_flag_spec='-R$libdir'
15429 + hardcode_shlibpath_var=no
15431 + solaris2.[0-5] | solaris2.[0-5].*) ;;
15432 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15433 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15435 + link_all_deplibs=yes
15439 + if test "x$host_vendor" = xsequent; then
15440 + # Use $CC to link under sequent, because it throws in some extra .o
15441 + # files that make .init and .fini sections work.
15442 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15444 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15446 + hardcode_libdir_flag_spec='-L$libdir'
15447 + hardcode_direct=yes
15448 + hardcode_minus_L=yes
15449 + hardcode_shlibpath_var=no
15453 + case $host_vendor in
15455 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15456 + hardcode_direct=yes # is this really true???
15459 + ## LD is ld it makes a PLAMLIB
15460 + ## CC just makes a GrossModule.
15461 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15462 + reload_cmds='$CC -r -o $output$reload_objs'
15463 + hardcode_direct=no
15466 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15467 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15470 + runpath_var='LD_RUN_PATH'
15471 + hardcode_shlibpath_var=no
15475 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15476 + hardcode_shlibpath_var=no
15477 + export_dynamic_flag_spec='-Bexport'
15481 + no_undefined_flag=' -z text'
15482 + # $CC -shared without GNU ld will not create a library from C++
15483 + # object files and a static libstdc++, better avoid it by now
15484 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15485 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15486 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15487 + hardcode_libdir_flag_spec=
15488 + hardcode_shlibpath_var=no
15489 + runpath_var='LD_RUN_PATH'
15493 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15494 + hardcode_libdir_flag_spec='-L$libdir'
15495 + hardcode_shlibpath_var=no
15499 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15500 + hardcode_libdir_flag_spec='-L$libdir'
15501 + hardcode_shlibpath_var=no
15505 + if test -d /usr/nec; then
15506 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15507 + hardcode_shlibpath_var=no
15508 + runpath_var=LD_RUN_PATH
15509 + hardcode_runpath_var=yes
15515 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15516 + hardcode_direct=yes
15517 + hardcode_minus_L=no
15518 + hardcode_shlibpath_var=no
15519 + hardcode_runpath_var=yes
15520 + runpath_var=LD_RUN_PATH
15523 + sysv5uw7* | unixware7*)
15524 + no_undefined_flag='${wl}-z ${wl}text'
15525 + if test "$GCC" = yes; then
15526 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15528 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15530 + runpath_var='LD_RUN_PATH'
15531 + hardcode_shlibpath_var=no
15539 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15540 +echo "${ECHO_T}$ld_shlibs" >&6
15541 +test "$ld_shlibs" = no && can_build_shared=no
15543 +# Check hardcoding attributes.
15544 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15545 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15547 +if test -n "$hardcode_libdir_flag_spec" || \
15548 + test -n "$runpath_var"; then
15550 + # We can hardcode non-existant directories.
15551 + if test "$hardcode_direct" != no &&
15552 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
15553 + # have to relink, otherwise we might link with an installed library
15554 + # when we should be linking with a yet-to-be-installed one
15555 + ## test "$hardcode_shlibpath_var" != no &&
15556 + test "$hardcode_minus_L" != no; then
15557 + # Linking always hardcodes the temporary library directory.
15558 + hardcode_action=relink
15560 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
15561 + hardcode_action=immediate
15564 + # We cannot hardcode anything, or else we can only hardcode existing
15566 + hardcode_action=unsupported
15568 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
15569 +echo "${ECHO_T}$hardcode_action" >&6
15573 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15574 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15575 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15576 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15577 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15578 + echo "$as_me:$LINENO: result: yes" >&5
15579 +echo "${ECHO_T}yes" >&6
15581 + echo "$as_me:$LINENO: result: no" >&5
15582 +echo "${ECHO_T}no" >&6
15585 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
15586 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
15588 +# PORTME Fill in your ld.so characteristics
15589 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15590 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15591 +library_names_spec=
15592 +libname_spec='lib$name'
15595 +postuninstall_cmds=
15599 +shlibpath_overrides_runpath=unknown
15601 +dynamic_linker="$host_os ld.so"
15602 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
15603 +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15607 + version_type=linux
15608 + library_names_spec='${libname}${release}.so$versuffix $libname.a'
15609 + shlibpath_var=LIBPATH
15611 + # AIX has no versioning support, so we append a major version to the name.
15612 + soname_spec='${libname}${release}.so$major'
15616 + version_type=linux
15617 + need_lib_prefix=no
15619 + hardcode_into_libs=yes
15620 + if test "$host_cpu" = ia64; then
15621 + # AIX 5 supports IA64
15622 + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
15623 + shlibpath_var=LD_LIBRARY_PATH
15625 + # With GCC up to 2.95.x, collect2 would create an import file
15626 + # for dependence libraries. The import file would start with
15627 + # the line `#! .'. This would cause the generated library to
15628 + # depend on `.', always an invalid library. This was fixed in
15629 + # development snapshots of GCC prior to 3.0.
15631 + aix4 | aix4.[01] | aix4.[01].*)
15632 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15634 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15637 + can_build_shared=no
15641 + # AIX (on Power*) has no versioning support, so currently we can
15642 + # not hardcode correct soname into executable. Probably we can
15643 + # add versioning support to collect2, so additional links can
15644 + # be useful in future.
15645 + if test "$aix_use_runtimelinking" = yes; then
15646 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15647 + # instead of lib<name>.a to let people know that these are not
15648 + # typical AIX shared libraries.
15649 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15651 + # We preserve .a as extension for shared libraries through AIX4.2
15652 + # and later when we are not doing run time linking.
15653 + library_names_spec='${libname}${release}.a $libname.a'
15654 + soname_spec='${libname}${release}.so$major'
15656 + shlibpath_var=LIBPATH
15658 + hardcode_into_libs=yes
15662 + library_names_spec='$libname.ixlibrary $libname.a'
15663 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
15664 + 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'
15668 + library_names_spec='${libname}.so'
15669 + dynamic_linker="$host_os ld.so"
15670 + shlibpath_var=LIBRARY_PATH
15674 + version_type=linux
15676 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15677 + soname_spec='${libname}${release}.so$major'
15678 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15679 + shlibpath_var=LD_LIBRARY_PATH
15680 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15681 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15682 + export_dynamic_flag_spec=-rdynamic
15683 + # the default ld.so.conf also contains /usr/contrib/lib and
15684 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15685 + # libtool to hard-code these into programs
15688 +cygwin* | mingw* | pw32*)
15689 + version_type=windows
15691 + need_lib_prefix=no
15692 + case $GCC,$host_os in
15694 + library_names_spec='$libname.dll.a'
15695 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
15696 + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
15697 + dldir=$destdir/`dirname \$dlpath`~
15698 + test -d \$dldir || mkdir -p \$dldir~
15699 + $install_prog .libs/$dlname \$dldir/$dlname'
15700 + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
15701 + dlpath=$dir/\$dldll~
15705 + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
15706 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
15709 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
15712 + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
15715 + dynamic_linker='Win32 ld.exe'
15716 + # FIXME: first we should search . and the directory the executable is in
15717 + shlibpath_var=PATH
15720 +darwin* | rhapsody*)
15721 + dynamic_linker="$host_os dyld"
15722 + version_type=darwin
15723 + need_lib_prefix=no
15725 + # FIXME: Relying on posixy $() will cause problems for
15726 + # cross-compilation, but unfortunately the echo tests do not
15727 + # yet detect zsh echo's removal of \ escapes.
15728 + 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)'
15729 + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
15730 + shlibpath_overrides_runpath=yes
15731 + shlibpath_var=DYLD_LIBRARY_PATH
15735 + dynamic_linker=no
15739 + version_type=linux
15740 + need_lib_prefix=no
15742 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15743 + soname_spec='${libname}${release}.so$major'
15744 + shlibpath_var=LD_LIBRARY_PATH
15745 + shlibpath_overrides_runpath=no
15746 + hardcode_into_libs=yes
15747 + dynamic_linker='GNU/FreeBSD ld.so'
15751 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15752 + version_type=freebsd-$objformat
15753 + case $version_type in
15755 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
15757 + need_lib_prefix=no
15760 + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
15764 + shlibpath_var=LD_LIBRARY_PATH
15767 + shlibpath_overrides_runpath=yes
15770 + shlibpath_overrides_runpath=no
15771 + hardcode_into_libs=yes
15777 + version_type=linux
15778 + need_lib_prefix=no
15780 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
15781 + soname_spec='${libname}${release}.so$major'
15782 + shlibpath_var=LD_LIBRARY_PATH
15783 + hardcode_into_libs=yes
15786 +hpux9* | hpux10* | hpux11*)
15787 + # Give a soname corresponding to the major version so that dld.sl refuses to
15788 + # link against other versions.
15789 + dynamic_linker="$host_os dld.sl"
15790 + version_type=sunos
15791 + need_lib_prefix=no
15793 + shlibpath_var=SHLIB_PATH
15794 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15795 + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
15796 + soname_spec='${libname}${release}.sl$major'
15797 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
15798 + postinstall_cmds='chmod 555 $lib'
15801 +irix5* | irix6* | nonstopux*)
15803 + nonstopux*) version_type=nonstopux ;;
15804 + *) version_type=irix ;;
15806 + need_lib_prefix=no
15808 + soname_spec='${libname}${release}.so$major'
15809 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
15811 + irix5* | nonstopux*)
15812 + libsuff= shlibsuff=
15815 + case $LD in # libtool.m4 will add one of these switches to LD
15816 + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
15817 + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
15818 + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
15819 + *) libsuff= shlibsuff= libmagic=never-match;;
15823 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15824 + shlibpath_overrides_runpath=no
15825 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15826 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15829 +# No shared lib support for Linux oldld, aout, or coff.
15830 +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
15831 + dynamic_linker=no
15834 +# This must be Linux ELF.
15836 + version_type=linux
15837 + need_lib_prefix=no
15839 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15840 + soname_spec='${libname}${release}.so$major'
15841 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15842 + shlibpath_var=LD_LIBRARY_PATH
15843 + shlibpath_overrides_runpath=no
15844 + # This implies no fast_install, which is unacceptable.
15845 + # Some rework will be needed to allow for fast_install
15846 + # before this can be enabled.
15847 + hardcode_into_libs=yes
15849 + # We used to test for /lib/ld.so.1 and disable shared libraries on
15850 + # powerpc, because MkLinux only supported shared libraries with the
15851 + # GNU dynamic linker. Since this was broken with cross compilers,
15852 + # most powerpc-linux boxes support dynamic linking these days and
15853 + # people can always --disable-shared, the test was removed, and we
15854 + # assume the GNU/Linux dynamic linker is in use.
15855 + dynamic_linker='GNU/Linux ld.so'
15859 + version_type=sunos
15860 + need_lib_prefix=no
15862 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15863 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
15864 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15865 + dynamic_linker='NetBSD (a.out) ld.so'
15867 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
15868 + soname_spec='${libname}${release}.so$major'
15869 + dynamic_linker='NetBSD ld.elf_so'
15871 + shlibpath_var=LD_LIBRARY_PATH
15872 + shlibpath_overrides_runpath=yes
15873 + hardcode_into_libs=yes
15877 + version_type=linux
15878 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15879 + shlibpath_var=LD_LIBRARY_PATH
15880 + shlibpath_overrides_runpath=yes
15884 + version_type=sunos
15885 + need_lib_prefix=no
15887 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15888 + case "$host_os" in
15889 + openbsd2.[89] | openbsd2.[89].*)
15890 + shlibpath_overrides_runpath=no
15893 + shlibpath_overrides_runpath=yes
15897 + shlibpath_overrides_runpath=yes
15899 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
15900 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15901 + shlibpath_var=LD_LIBRARY_PATH
15905 + libname_spec='$name'
15906 + need_lib_prefix=no
15907 + library_names_spec='$libname.dll $libname.a'
15908 + dynamic_linker='OS/2 ld.exe'
15909 + shlibpath_var=LIBPATH
15912 +osf3* | osf4* | osf5*)
15915 + need_lib_prefix=no
15916 + soname_spec='${libname}${release}.so$major'
15917 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15918 + shlibpath_var=LD_LIBRARY_PATH
15919 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15920 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15921 + hardcode_into_libs=yes
15926 + soname_spec='${libname}${release}.so$major'
15927 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15928 + shlibpath_var=LD_LIBRARY_PATH
15932 + version_type=linux
15933 + need_lib_prefix=no
15935 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15936 + soname_spec='${libname}${release}.so$major'
15937 + shlibpath_var=LD_LIBRARY_PATH
15938 + shlibpath_overrides_runpath=yes
15939 + hardcode_into_libs=yes
15940 + # ldd complains unless libraries are executable
15941 + postinstall_cmds='chmod +x $lib'
15945 + version_type=sunos
15946 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
15947 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15948 + shlibpath_var=LD_LIBRARY_PATH
15949 + shlibpath_overrides_runpath=yes
15950 + if test "$with_gnu_ld" = yes; then
15951 + need_lib_prefix=no
15956 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15957 + version_type=linux
15958 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15959 + soname_spec='${libname}${release}.so$major'
15960 + shlibpath_var=LD_LIBRARY_PATH
15961 + case $host_vendor in
15963 + shlibpath_overrides_runpath=no
15964 + need_lib_prefix=no
15965 + export_dynamic_flag_spec='${wl}-Blargedynsym'
15966 + runpath_var=LD_RUN_PATH
15969 + need_lib_prefix=no
15972 + need_lib_prefix=no
15974 + shlibpath_overrides_runpath=no
15975 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15981 + version_type=linux
15982 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15983 + soname_spec='${libname}${release}.so$major'
15984 + shlibpath_var=LD_LIBRARY_PATH
15988 + version_type=linux
15989 + need_lib_prefix=no
15991 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
15992 + soname_spec='${libname}${release}.so$major'
15993 + shlibpath_var=LD_LIBRARY_PATH
15997 + if test -d /usr/nec ;then
15998 + version_type=linux
15999 + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
16000 + soname_spec='$libname.so.$major'
16001 + shlibpath_var=LD_LIBRARY_PATH
16006 + dynamic_linker=no
16009 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16010 +echo "${ECHO_T}$dynamic_linker" >&6
16011 +test "$dynamic_linker" = no && can_build_shared=no
16013 +# Report the final consequences.
16014 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16015 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16016 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
16017 +echo "${ECHO_T}$can_build_shared" >&6
16019 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16020 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16021 +test "$can_build_shared" = "no" && enable_shared=no
16023 +# On AIX, shared libraries and static libraries use the same namespace, and
16024 +# are all built from PIC.
16025 +case "$host_os" in
16027 + test "$enable_shared" = yes && enable_static=no
16028 + if test -n "$RANLIB"; then
16029 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
16030 + postinstall_cmds='$RANLIB $lib'
16035 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16036 + test "$enable_shared" = yes && enable_static=no
16040 +echo "$as_me:$LINENO: result: $enable_shared" >&5
16041 +echo "${ECHO_T}$enable_shared" >&6
16043 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16044 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16045 +# Make sure either enable_shared or enable_static is yes.
16046 +test "$enable_shared" = yes || enable_static=yes
16047 +echo "$as_me:$LINENO: result: $enable_static" >&5
16048 +echo "${ECHO_T}$enable_static" >&6
16050 +if test "$hardcode_action" = relink; then
16051 + # Fast installation is not supported
16052 + enable_fast_install=no
16053 +elif test "$shlibpath_overrides_runpath" = yes ||
16054 + test "$enable_shared" = no; then
16055 + # Fast installation is not necessary
16056 + enable_fast_install=needless
16059 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16060 +if test "$GCC" = yes; then
16061 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16064 +if test "x$enable_dlopen" != xyes; then
16065 + enable_dlopen=unknown
16066 + enable_dlopen_self=unknown
16067 + enable_dlopen_self_static=unknown
16070 + lt_cv_dlopen_libs=
16074 + lt_cv_dlopen="load_add_on"
16075 + lt_cv_dlopen_libs=
16076 + lt_cv_dlopen_self=yes
16079 + cygwin* | mingw* | pw32*)
16080 + lt_cv_dlopen="LoadLibrary"
16081 + lt_cv_dlopen_libs=
16085 + echo "$as_me:$LINENO: checking for shl_load" >&5
16086 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16087 +if test "${ac_cv_func_shl_load+set}" = set; then
16088 + echo $ECHO_N "(cached) $ECHO_C" >&6
16090 + cat >conftest.$ac_ext <<_ACEOF
16093 +cat confdefs.h >>conftest.$ac_ext
16094 +cat >>conftest.$ac_ext <<_ACEOF
16095 +/* end confdefs.h. */
16096 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16097 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
16098 +#define shl_load innocuous_shl_load
16100 +/* System header to define __stub macros and hopefully few prototypes,
16101 + which can conflict with char shl_load (); below.
16102 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16103 + <limits.h> exists even on freestanding compilers. */
16106 +# include <limits.h>
16108 +# include <assert.h>
16113 +/* Override any gcc2 internal prototype to avoid an error. */
16114 +#ifdef __cplusplus
16118 +/* We use char because int might match the return type of a gcc2
16119 + builtin and then its argument prototype would still apply. */
16121 +/* The GNU C library defines this for functions which it implements
16122 + to always fail with ENOSYS. Some functions are actually named
16123 + something starting with __ and the normal name is an alias. */
16124 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
16127 +char (*f) () = shl_load;
16129 +#ifdef __cplusplus
16136 +return f != shl_load;
16141 +rm -f conftest.$ac_objext conftest$ac_exeext
16142 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16143 + (eval $ac_link) 2>conftest.er1
16145 + grep -v '^ *+' conftest.er1 >conftest.err
16146 + rm -f conftest.er1
16147 + cat conftest.err >&5
16148 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 + (exit $ac_status); } &&
16150 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16151 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 + (eval $ac_try) 2>&5
16154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 + (exit $ac_status); }; } &&
16156 + { ac_try='test -s conftest$ac_exeext'
16157 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 + (eval $ac_try) 2>&5
16160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 + (exit $ac_status); }; }; then
16162 + ac_cv_func_shl_load=yes
16164 + echo "$as_me: failed program was:" >&5
16165 +sed 's/^/| /' conftest.$ac_ext >&5
16167 +ac_cv_func_shl_load=no
16169 +rm -f conftest.err conftest.$ac_objext \
16170 + conftest$ac_exeext conftest.$ac_ext
16172 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16173 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16174 +if test $ac_cv_func_shl_load = yes; then
16175 + lt_cv_dlopen="shl_load"
16177 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16178 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16179 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16180 + echo $ECHO_N "(cached) $ECHO_C" >&6
16182 + ac_check_lib_save_LIBS=$LIBS
16183 +LIBS="-ldld $LIBS"
16184 +cat >conftest.$ac_ext <<_ACEOF
16187 +cat confdefs.h >>conftest.$ac_ext
16188 +cat >>conftest.$ac_ext <<_ACEOF
16189 +/* end confdefs.h. */
16191 +/* Override any gcc2 internal prototype to avoid an error. */
16192 +#ifdef __cplusplus
16195 +/* We use char because int might match the return type of a gcc2
16196 + builtin and then its argument prototype would still apply. */
16206 +rm -f conftest.$ac_objext conftest$ac_exeext
16207 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16208 + (eval $ac_link) 2>conftest.er1
16210 + grep -v '^ *+' conftest.er1 >conftest.err
16211 + rm -f conftest.er1
16212 + cat conftest.err >&5
16213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 + (exit $ac_status); } &&
16215 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16216 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 + (eval $ac_try) 2>&5
16219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 + (exit $ac_status); }; } &&
16221 + { ac_try='test -s conftest$ac_exeext'
16222 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 + (eval $ac_try) 2>&5
16225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 + (exit $ac_status); }; }; then
16227 + ac_cv_lib_dld_shl_load=yes
16229 + echo "$as_me: failed program was:" >&5
16230 +sed 's/^/| /' conftest.$ac_ext >&5
16232 +ac_cv_lib_dld_shl_load=no
16234 +rm -f conftest.err conftest.$ac_objext \
16235 + conftest$ac_exeext conftest.$ac_ext
16236 +LIBS=$ac_check_lib_save_LIBS
16238 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16239 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
16240 +if test $ac_cv_lib_dld_shl_load = yes; then
16241 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16243 + echo "$as_me:$LINENO: checking for dlopen" >&5
16244 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
16245 +if test "${ac_cv_func_dlopen+set}" = set; then
16246 + echo $ECHO_N "(cached) $ECHO_C" >&6
16248 + cat >conftest.$ac_ext <<_ACEOF
16251 +cat confdefs.h >>conftest.$ac_ext
16252 +cat >>conftest.$ac_ext <<_ACEOF
16253 +/* end confdefs.h. */
16254 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16255 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
16256 +#define dlopen innocuous_dlopen
16258 +/* System header to define __stub macros and hopefully few prototypes,
16259 + which can conflict with char dlopen (); below.
16260 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16261 + <limits.h> exists even on freestanding compilers. */
16264 +# include <limits.h>
16266 +# include <assert.h>
16271 +/* Override any gcc2 internal prototype to avoid an error. */
16272 +#ifdef __cplusplus
16276 +/* We use char because int might match the return type of a gcc2
16277 + builtin and then its argument prototype would still apply. */
16279 +/* The GNU C library defines this for functions which it implements
16280 + to always fail with ENOSYS. Some functions are actually named
16281 + something starting with __ and the normal name is an alias. */
16282 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
16285 +char (*f) () = dlopen;
16287 +#ifdef __cplusplus
16294 +return f != dlopen;
16299 +rm -f conftest.$ac_objext conftest$ac_exeext
16300 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16301 + (eval $ac_link) 2>conftest.er1
16303 + grep -v '^ *+' conftest.er1 >conftest.err
16304 + rm -f conftest.er1
16305 + cat conftest.err >&5
16306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 + (exit $ac_status); } &&
16308 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16309 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 + (eval $ac_try) 2>&5
16312 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 + (exit $ac_status); }; } &&
16314 + { ac_try='test -s conftest$ac_exeext'
16315 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 + (eval $ac_try) 2>&5
16318 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 + (exit $ac_status); }; }; then
16320 + ac_cv_func_dlopen=yes
16322 + echo "$as_me: failed program was:" >&5
16323 +sed 's/^/| /' conftest.$ac_ext >&5
16325 +ac_cv_func_dlopen=no
16327 +rm -f conftest.err conftest.$ac_objext \
16328 + conftest$ac_exeext conftest.$ac_ext
16330 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16331 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
16332 +if test $ac_cv_func_dlopen = yes; then
16333 + lt_cv_dlopen="dlopen"
16335 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16336 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16337 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16338 + echo $ECHO_N "(cached) $ECHO_C" >&6
16340 + ac_check_lib_save_LIBS=$LIBS
16342 +cat >conftest.$ac_ext <<_ACEOF
16345 +cat confdefs.h >>conftest.$ac_ext
16346 +cat >>conftest.$ac_ext <<_ACEOF
16347 +/* end confdefs.h. */
16349 +/* Override any gcc2 internal prototype to avoid an error. */
16350 +#ifdef __cplusplus
16353 +/* We use char because int might match the return type of a gcc2
16354 + builtin and then its argument prototype would still apply. */
16364 +rm -f conftest.$ac_objext conftest$ac_exeext
16365 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16366 + (eval $ac_link) 2>conftest.er1
16368 + grep -v '^ *+' conftest.er1 >conftest.err
16369 + rm -f conftest.er1
16370 + cat conftest.err >&5
16371 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 + (exit $ac_status); } &&
16373 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16374 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 + (eval $ac_try) 2>&5
16377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 + (exit $ac_status); }; } &&
16379 + { ac_try='test -s conftest$ac_exeext'
16380 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 + (eval $ac_try) 2>&5
16383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 + (exit $ac_status); }; }; then
16385 + ac_cv_lib_dl_dlopen=yes
16387 + echo "$as_me: failed program was:" >&5
16388 +sed 's/^/| /' conftest.$ac_ext >&5
16390 +ac_cv_lib_dl_dlopen=no
16392 +rm -f conftest.err conftest.$ac_objext \
16393 + conftest$ac_exeext conftest.$ac_ext
16394 +LIBS=$ac_check_lib_save_LIBS
16396 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16397 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16398 +if test $ac_cv_lib_dl_dlopen = yes; then
16399 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16401 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16402 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
16403 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16404 + echo $ECHO_N "(cached) $ECHO_C" >&6
16406 + ac_check_lib_save_LIBS=$LIBS
16407 +LIBS="-lsvld $LIBS"
16408 +cat >conftest.$ac_ext <<_ACEOF
16411 +cat confdefs.h >>conftest.$ac_ext
16412 +cat >>conftest.$ac_ext <<_ACEOF
16413 +/* end confdefs.h. */
16415 +/* Override any gcc2 internal prototype to avoid an error. */
16416 +#ifdef __cplusplus
16419 +/* We use char because int might match the return type of a gcc2
16420 + builtin and then its argument prototype would still apply. */
16430 +rm -f conftest.$ac_objext conftest$ac_exeext
16431 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16432 + (eval $ac_link) 2>conftest.er1
16434 + grep -v '^ *+' conftest.er1 >conftest.err
16435 + rm -f conftest.er1
16436 + cat conftest.err >&5
16437 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 + (exit $ac_status); } &&
16439 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16440 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16441 + (eval $ac_try) 2>&5
16443 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 + (exit $ac_status); }; } &&
16445 + { ac_try='test -s conftest$ac_exeext'
16446 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 + (eval $ac_try) 2>&5
16449 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 + (exit $ac_status); }; }; then
16451 + ac_cv_lib_svld_dlopen=yes
16453 + echo "$as_me: failed program was:" >&5
16454 +sed 's/^/| /' conftest.$ac_ext >&5
16456 +ac_cv_lib_svld_dlopen=no
16458 +rm -f conftest.err conftest.$ac_objext \
16459 + conftest$ac_exeext conftest.$ac_ext
16460 +LIBS=$ac_check_lib_save_LIBS
16462 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16463 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
16464 +if test $ac_cv_lib_svld_dlopen = yes; then
16465 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16467 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16468 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
16469 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16470 + echo $ECHO_N "(cached) $ECHO_C" >&6
16472 + ac_check_lib_save_LIBS=$LIBS
16473 +LIBS="-ldld $LIBS"
16474 +cat >conftest.$ac_ext <<_ACEOF
16477 +cat confdefs.h >>conftest.$ac_ext
16478 +cat >>conftest.$ac_ext <<_ACEOF
16479 +/* end confdefs.h. */
16481 +/* Override any gcc2 internal prototype to avoid an error. */
16482 +#ifdef __cplusplus
16485 +/* We use char because int might match the return type of a gcc2
16486 + builtin and then its argument prototype would still apply. */
16496 +rm -f conftest.$ac_objext conftest$ac_exeext
16497 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16498 + (eval $ac_link) 2>conftest.er1
16500 + grep -v '^ *+' conftest.er1 >conftest.err
16501 + rm -f conftest.er1
16502 + cat conftest.err >&5
16503 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 + (exit $ac_status); } &&
16505 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16506 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 + (eval $ac_try) 2>&5
16509 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 + (exit $ac_status); }; } &&
16511 + { ac_try='test -s conftest$ac_exeext'
16512 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 + (eval $ac_try) 2>&5
16515 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 + (exit $ac_status); }; }; then
16517 + ac_cv_lib_dld_dld_link=yes
16519 + echo "$as_me: failed program was:" >&5
16520 +sed 's/^/| /' conftest.$ac_ext >&5
16522 +ac_cv_lib_dld_dld_link=no
16524 +rm -f conftest.err conftest.$ac_objext \
16525 + conftest$ac_exeext conftest.$ac_ext
16526 +LIBS=$ac_check_lib_save_LIBS
16528 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16529 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
16530 +if test $ac_cv_lib_dld_dld_link = yes; then
16531 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16552 + if test "x$lt_cv_dlopen" != xno; then
16553 + enable_dlopen=yes
16558 + case $lt_cv_dlopen in
16560 + save_CPPFLAGS="$CPPFLAGS"
16561 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16563 + save_LDFLAGS="$LDFLAGS"
16564 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16566 + save_LIBS="$LIBS"
16567 + LIBS="$lt_cv_dlopen_libs $LIBS"
16569 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16570 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
16571 +if test "${lt_cv_dlopen_self+set}" = set; then
16572 + echo $ECHO_N "(cached) $ECHO_C" >&6
16574 + if test "$cross_compiling" = yes; then :
16575 + lt_cv_dlopen_self=cross
16577 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16578 + lt_status=$lt_dlunknown
16579 + cat > conftest.$ac_ext <<EOF
16580 +#line __oline__ "configure"
16581 +#include "confdefs.h"
16584 +#include <dlfcn.h>
16587 +#include <stdio.h>
16589 +#ifdef RTLD_GLOBAL
16590 +# define LT_DLGLOBAL RTLD_GLOBAL
16593 +# define LT_DLGLOBAL DL_GLOBAL
16595 +# define LT_DLGLOBAL 0
16599 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16600 + find out it does not work in some platform. */
16601 +#ifndef LT_DLLAZY_OR_NOW
16603 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
16606 +# define LT_DLLAZY_OR_NOW DL_LAZY
16609 +# define LT_DLLAZY_OR_NOW RTLD_NOW
16612 +# define LT_DLLAZY_OR_NOW DL_NOW
16614 +# define LT_DLLAZY_OR_NOW 0
16621 +#ifdef __cplusplus
16622 +extern "C" void exit (int);
16625 +void fnord() { int i=42;}
16628 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16629 + int status = $lt_dlunknown;
16633 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16634 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16635 + /* dlclose (self); */
16641 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16642 + (eval $ac_link) 2>&5
16644 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16646 + (./conftest; exit; ) 2>/dev/null
16648 + case x$lt_status in
16649 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16650 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16651 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16654 + # compilation failed
16655 + lt_cv_dlopen_self=no
16662 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16663 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
16665 + if test "x$lt_cv_dlopen_self" = xyes; then
16666 + LDFLAGS="$LDFLAGS $link_static_flag"
16667 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16668 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
16669 +if test "${lt_cv_dlopen_self_static+set}" = set; then
16670 + echo $ECHO_N "(cached) $ECHO_C" >&6
16672 + if test "$cross_compiling" = yes; then :
16673 + lt_cv_dlopen_self_static=cross
16675 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16676 + lt_status=$lt_dlunknown
16677 + cat > conftest.$ac_ext <<EOF
16678 +#line __oline__ "configure"
16679 +#include "confdefs.h"
16682 +#include <dlfcn.h>
16685 +#include <stdio.h>
16687 +#ifdef RTLD_GLOBAL
16688 +# define LT_DLGLOBAL RTLD_GLOBAL
16691 +# define LT_DLGLOBAL DL_GLOBAL
16693 +# define LT_DLGLOBAL 0
16697 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16698 + find out it does not work in some platform. */
16699 +#ifndef LT_DLLAZY_OR_NOW
16701 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
16704 +# define LT_DLLAZY_OR_NOW DL_LAZY
16707 +# define LT_DLLAZY_OR_NOW RTLD_NOW
16710 +# define LT_DLLAZY_OR_NOW DL_NOW
16712 +# define LT_DLLAZY_OR_NOW 0
16719 +#ifdef __cplusplus
16720 +extern "C" void exit (int);
16723 +void fnord() { int i=42;}
16726 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16727 + int status = $lt_dlunknown;
16731 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16732 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16733 + /* dlclose (self); */
16739 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16740 + (eval $ac_link) 2>&5
16742 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16744 + (./conftest; exit; ) 2>/dev/null
16746 + case x$lt_status in
16747 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16748 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16749 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16752 + # compilation failed
16753 + lt_cv_dlopen_self_static=no
16760 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16761 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
16764 + CPPFLAGS="$save_CPPFLAGS"
16765 + LDFLAGS="$save_LDFLAGS"
16766 + LIBS="$save_LIBS"
16770 + case $lt_cv_dlopen_self in
16771 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16772 + *) enable_dlopen_self=unknown ;;
16775 + case $lt_cv_dlopen_self_static in
16776 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16777 + *) enable_dlopen_self_static=unknown ;;
16782 +if test "$enable_shared" = yes && test "$GCC" = yes; then
16783 + case $archive_cmds in
16785 + # FIXME: we may have to deal with multi-command sequences.
16788 + # Test whether the compiler implicitly links with -lc since on some
16789 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16790 + # to ld, don't add -lc before -lgcc.
16791 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16792 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16793 + if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
16794 + echo $ECHO_N "(cached) $ECHO_C" >&6
16797 + echo 'static int dummy;' > conftest.$ac_ext
16799 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800 + (eval $ac_compile) 2>&5
16802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 + (exit $ac_status); }; then
16806 + libobjs=conftest.$ac_objext
16808 + wl=$lt_cv_prog_cc_wl
16809 + compiler_flags=-v
16814 + save_allow_undefined_flag=$allow_undefined_flag
16815 + allow_undefined_flag=
16816 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16817 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16819 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 + (exit $ac_status); }
16822 + lt_cv_archive_cmds_need_lc=no
16824 + lt_cv_archive_cmds_need_lc=yes
16826 + allow_undefined_flag=$save_allow_undefined_flag
16828 + cat conftest.err 1>&5
16832 + echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
16833 +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
16837 +need_lc=${lt_cv_archive_cmds_need_lc-yes}
16839 +# The second clause should only fire when bootstrapping the
16840 +# libtool distribution, otherwise you forgot to ship ltmain.sh
16841 +# with your package, and you will get complaints that there are
16842 +# no rules to generate ltmain.sh.
16843 +if test -f "$ltmain"; then
16846 + # If there is no Makefile yet, we rely on a make rule to execute
16847 + # `config.status --recheck' to rerun these tests and create the
16848 + # libtool script then.
16849 + test -f Makefile && make "$ltmain"
16852 +if test -f "$ltmain"; then
16853 + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
16854 + $rm -f "${ofile}T"
16856 + echo creating $ofile
16858 + # Now quote all the things that may contain metacharacters while being
16859 + # careful not to overquote the AC_SUBSTed values. We take copies of the
16860 + # variables and quote the copies for generation of the libtool script.
16861 + for var in echo old_CC old_CFLAGS SED \
16862 + AR AR_FLAGS CC LD LN_S NM SHELL \
16863 + reload_flag reload_cmds wl \
16864 + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
16865 + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
16866 + library_names_spec soname_spec \
16867 + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
16868 + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
16869 + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
16870 + old_striplib striplib file_magic_cmd export_symbols_cmds \
16871 + deplibs_check_method allow_undefined_flag no_undefined_flag \
16872 + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
16873 + global_symbol_to_c_name_address \
16874 + hardcode_libdir_flag_spec hardcode_libdir_separator \
16875 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16876 + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
16879 + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
16880 + old_postinstall_cmds | old_postuninstall_cmds | \
16881 + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
16882 + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
16883 + postinstall_cmds | postuninstall_cmds | \
16884 + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16885 + # Double-quote double-evaled strings.
16886 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16889 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16894 + cat <<__EOF__ > "${ofile}T"
16897 +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16898 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
16899 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16901 +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
16902 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16904 +# This program is free software; you can redistribute it and/or modify
16905 +# it under the terms of the GNU General Public License as published by
16906 +# the Free Software Foundation; either version 2 of the License, or
16907 +# (at your option) any later version.
16909 +# This program is distributed in the hope that it will be useful, but
16910 +# WITHOUT ANY WARRANTY; without even the implied warranty of
16911 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16912 +# General Public License for more details.
16914 +# You should have received a copy of the GNU General Public License
16915 +# along with this program; if not, write to the Free Software
16916 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16918 +# As a special exception to the GNU General Public License, if you
16919 +# distribute this file as part of a program that contains a
16920 +# configuration script generated by Autoconf, you may include it under
16921 +# the same distribution terms that you use for the rest of that program.
16923 +# A sed that does not truncate output.
16926 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16927 +Xsed="${SED} -e s/^X//"
16929 +# The HP-UX ksh and POSIX shell print the target directory to stdout
16930 +# if CDPATH is set.
16931 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
16933 +# ### BEGIN LIBTOOL CONFIG
16935 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16937 +# Shell to use when invoking shell scripts.
16940 +# Whether or not to build shared libraries.
16941 +build_libtool_libs=$enable_shared
16943 +# Whether or not to build static libraries.
16944 +build_old_libs=$enable_static
16946 +# Whether or not to add -lc for building shared libraries.
16947 +build_libtool_need_lc=$need_lc
16949 +# Whether or not to optimize for fast installation.
16950 +fast_install=$enable_fast_install
16952 +# The host system.
16953 +host_alias=$host_alias
16956 +# An echo program that does not interpret backslashes.
16961 +AR_FLAGS=$lt_AR_FLAGS
16963 +# The default C compiler.
16966 +# Is the compiler the GNU C compiler?
16969 +# The linker used to build libraries.
16972 +# Whether we need hard or soft links.
16975 +# A BSD-compatible nm program.
16978 +# A symbol stripping program
16981 +# Used to examine libraries when file_magic_cmd begins "file"
16982 +MAGIC_CMD=$MAGIC_CMD
16984 +# Used on cygwin: DLL creation program.
16985 +DLLTOOL="$DLLTOOL"
16987 +# Used on cygwin: object dumper.
16988 +OBJDUMP="$OBJDUMP"
16990 +# Used on cygwin: assembler.
16993 +# The name of the directory that contains temporary libtool files.
16996 +# How to create reloadable object files.
16997 +reload_flag=$lt_reload_flag
16998 +reload_cmds=$lt_reload_cmds
17000 +# How to pass a linker flag through the compiler.
17003 +# Object file suffix (normally "o").
17004 +objext="$ac_objext"
17006 +# Old archive suffix (normally "a").
17009 +# Executable file suffix (normally "").
17012 +# Additional compiler flags for building library objects.
17013 +pic_flag=$lt_pic_flag
17014 +pic_mode=$pic_mode
17016 +# Does compiler simultaneously support -c and -o options?
17017 +compiler_c_o=$lt_compiler_c_o
17019 +# Can we write directly to a .lo ?
17020 +compiler_o_lo=$lt_compiler_o_lo
17022 +# Must we lock files when doing compilation ?
17023 +need_locks=$lt_need_locks
17025 +# Do we need the lib prefix for modules?
17026 +need_lib_prefix=$need_lib_prefix
17028 +# Do we need a version for libraries?
17029 +need_version=$need_version
17031 +# Whether dlopen is supported.
17032 +dlopen_support=$enable_dlopen
17034 +# Whether dlopen of programs is supported.
17035 +dlopen_self=$enable_dlopen_self
17037 +# Whether dlopen of statically linked programs is supported.
17038 +dlopen_self_static=$enable_dlopen_self_static
17040 +# Compiler flag to prevent dynamic linking.
17041 +link_static_flag=$lt_link_static_flag
17043 +# Compiler flag to turn off builtin functions.
17044 +no_builtin_flag=$lt_no_builtin_flag
17046 +# Compiler flag to allow reflexive dlopens.
17047 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17049 +# Compiler flag to generate shared objects directly from archives.
17050 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
17052 +# Compiler flag to generate thread-safe objects.
17053 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
17055 +# Library versioning type.
17056 +version_type=$version_type
17058 +# Format of library name prefix.
17059 +libname_spec=$lt_libname_spec
17061 +# List of archive names. First name is the real one, the rest are links.
17062 +# The last name is the one that the linker finds with -lNAME.
17063 +library_names_spec=$lt_library_names_spec
17065 +# The coded name of the library, if different from the real name.
17066 +soname_spec=$lt_soname_spec
17068 +# Commands used to build and install an old-style archive.
17070 +old_archive_cmds=$lt_old_archive_cmds
17071 +old_postinstall_cmds=$lt_old_postinstall_cmds
17072 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
17074 +# Create an old-style archive from a shared archive.
17075 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17077 +# Create a temporary old-style archive to link instead of a shared archive.
17078 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17080 +# Commands used to build and install a shared archive.
17081 +archive_cmds=$lt_archive_cmds
17082 +archive_expsym_cmds=$lt_archive_expsym_cmds
17083 +postinstall_cmds=$lt_postinstall_cmds
17084 +postuninstall_cmds=$lt_postuninstall_cmds
17086 +# Commands to strip libraries.
17087 +old_striplib=$lt_old_striplib
17088 +striplib=$lt_striplib
17090 +# Method to check whether dependent libraries are shared objects.
17091 +deplibs_check_method=$lt_deplibs_check_method
17093 +# Command to use when deplibs_check_method == file_magic.
17094 +file_magic_cmd=$lt_file_magic_cmd
17096 +# Flag that allows shared libraries with undefined symbols to be built.
17097 +allow_undefined_flag=$lt_allow_undefined_flag
17099 +# Flag that forces no undefined symbols.
17100 +no_undefined_flag=$lt_no_undefined_flag
17102 +# Commands used to finish a libtool library installation in a directory.
17103 +finish_cmds=$lt_finish_cmds
17105 +# Same as above, but a single script fragment to be evaled but not shown.
17106 +finish_eval=$lt_finish_eval
17108 +# Take the output of nm and produce a listing of raw symbols and C names.
17109 +global_symbol_pipe=$lt_global_symbol_pipe
17111 +# Transform the output of nm in a proper C declaration
17112 +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
17114 +# Transform the output of nm in a C name address pair
17115 +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
17117 +# This is the shared library runtime path variable.
17118 +runpath_var=$runpath_var
17120 +# This is the shared library path variable.
17121 +shlibpath_var=$shlibpath_var
17123 +# Is shlibpath searched before the hard-coded library search path?
17124 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17126 +# How to hardcode a shared library path into an executable.
17127 +hardcode_action=$hardcode_action
17129 +# Whether we should hardcode library paths into libraries.
17130 +hardcode_into_libs=$hardcode_into_libs
17132 +# Flag to hardcode \$libdir into a binary during linking.
17133 +# This must work even if \$libdir does not exist.
17134 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17136 +# Whether we need a single -rpath flag with a separated argument.
17137 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
17139 +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
17140 +# resulting binary.
17141 +hardcode_direct=$hardcode_direct
17143 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17144 +# resulting binary.
17145 +hardcode_minus_L=$hardcode_minus_L
17147 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17148 +# the resulting binary.
17149 +hardcode_shlibpath_var=$hardcode_shlibpath_var
17151 +# Variables whose values should be saved in libtool wrapper scripts and
17152 +# restored at relink time.
17153 +variables_saved_for_relink="$variables_saved_for_relink"
17155 +# Whether libtool must link a program against all its dependency libraries.
17156 +link_all_deplibs=$link_all_deplibs
17158 +# Compile-time system search path for libraries
17159 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17161 +# Run-time system search path for libraries
17162 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17164 +# Fix the shell variable \$srcfile for the compiler.
17165 +fix_srcfile_path="$fix_srcfile_path"
17167 +# Set to yes if exported symbols are required.
17168 +always_export_symbols=$always_export_symbols
17170 +# The commands to list exported symbols.
17171 +export_symbols_cmds=$lt_export_symbols_cmds
17173 +# The commands to extract the exported symbol list from a shared archive.
17174 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
17176 +# Symbols that should not be listed in the preloaded symbols.
17177 +exclude_expsyms=$lt_exclude_expsyms
17179 +# Symbols that must always be exported.
17180 +include_expsyms=$lt_include_expsyms
17182 +# ### END LIBTOOL CONFIG
17188 + cat <<\EOF >> "${ofile}T"
17190 +# AIX sometimes has problems with the GCC collect2 program. For some
17191 +# reason, if we set the COLLECT_NAMES environment variable, the problems
17192 +# vanish in a puff of smoke.
17193 +if test "X${COLLECT_NAMES+set}" != Xset; then
17195 + export COLLECT_NAMES
17202 + cygwin* | mingw* | pw32* | os2*)
17203 + cat <<'EOF' >> "${ofile}T"
17204 + # This is a source program that is used to create dlls on Windows
17205 + # Don't remove nor modify the starting and closing comments
17206 +# /* ltdll.c starts here */
17207 +# #define WIN32_LEAN_AND_MEAN
17208 +# #include <windows.h>
17209 +# #undef WIN32_LEAN_AND_MEAN
17210 +# #include <stdio.h>
17212 +# #ifndef __CYGWIN__
17213 +# # ifdef __CYGWIN32__
17214 +# # define __CYGWIN__ __CYGWIN32__
17218 +# #ifdef __cplusplus
17221 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
17222 +# #ifdef __cplusplus
17226 +# #ifdef __CYGWIN__
17227 +# #include <cygwin/cygwin_dll.h>
17228 +# DECLARE_CYGWIN_DLL( DllMain );
17230 +# HINSTANCE __hDllInstance_base;
17233 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
17235 +# __hDllInstance_base = hInst;
17238 +# /* ltdll.c ends here */
17239 + # This is a source program that is used to create import libraries
17240 + # on Windows for dlls which lack them. Don't remove nor modify the
17241 + # starting and closing comments
17242 +# /* impgen.c starts here */
17243 +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
17245 +# This file is part of GNU libtool.
17247 +# This program is free software; you can redistribute it and/or modify
17248 +# it under the terms of the GNU General Public License as published by
17249 +# the Free Software Foundation; either version 2 of the License, or
17250 +# (at your option) any later version.
17252 +# This program is distributed in the hope that it will be useful,
17253 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
17254 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17255 +# GNU General Public License for more details.
17257 +# You should have received a copy of the GNU General Public License
17258 +# along with this program; if not, write to the Free Software
17259 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17262 +# #include <stdio.h> /* for printf() */
17263 +# #include <unistd.h> /* for open(), lseek(), read() */
17264 +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
17265 +# #include <string.h> /* for strdup() */
17267 +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
17268 +# #ifndef O_BINARY
17269 +# #define O_BINARY 0
17272 +# static unsigned int
17273 +# pe_get16 (fd, offset)
17277 +# unsigned char b[2];
17278 +# lseek (fd, offset, SEEK_SET);
17279 +# read (fd, b, 2);
17280 +# return b[0] + (b[1]<<8);
17283 +# static unsigned int
17284 +# pe_get32 (fd, offset)
17288 +# unsigned char b[4];
17289 +# lseek (fd, offset, SEEK_SET);
17290 +# read (fd, b, 4);
17291 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
17294 +# static unsigned int
17298 +# unsigned char *b = ptr;
17299 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
17303 +# main (argc, argv)
17308 +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
17309 +# unsigned long export_rva, export_size, nsections, secptr, expptr;
17310 +# unsigned long name_rvas, nexp;
17311 +# unsigned char *expdata, *erva;
17312 +# char *filename, *dll_name;
17314 +# filename = argv[1];
17316 +# dll = open(filename, O_RDONLY|O_BINARY);
17320 +# dll_name = filename;
17322 +# for (i=0; filename[i]; i++)
17323 +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
17324 +# dll_name = filename + i +1;
17326 +# pe_header_offset = pe_get32 (dll, 0x3c);
17327 +# opthdr_ofs = pe_header_offset + 4 + 20;
17328 +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
17330 +# if (num_entries < 1) /* no exports */
17333 +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
17334 +# export_size = pe_get32 (dll, opthdr_ofs + 100);
17335 +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
17336 +# secptr = (pe_header_offset + 4 + 20 +
17337 +# pe_get16 (dll, pe_header_offset + 4 + 16));
17340 +# for (i = 0; i < nsections; i++)
17343 +# unsigned long secptr1 = secptr + 40 * i;
17344 +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
17345 +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
17346 +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
17347 +# lseek(dll, secptr1, SEEK_SET);
17348 +# read(dll, sname, 8);
17349 +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
17351 +# expptr = fptr + (export_rva - vaddr);
17352 +# if (export_rva + export_size > vaddr + vsize)
17353 +# export_size = vsize - (export_rva - vaddr);
17358 +# expdata = (unsigned char*)malloc(export_size);
17359 +# lseek (dll, expptr, SEEK_SET);
17360 +# read (dll, expdata, export_size);
17361 +# erva = expdata - export_rva;
17363 +# nexp = pe_as32 (expdata+24);
17364 +# name_rvas = pe_as32 (expdata+32);
17366 +# printf ("EXPORTS\n");
17367 +# for (i = 0; i<nexp; i++)
17369 +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
17370 +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
17375 +# /* impgen.c ends here */
17381 + # We use sed instead of cat because bash on DJGPP gets confused if
17382 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
17383 + # text mode, it properly converts lines to CR/LF. This bash problem
17384 + # is reportedly fixed, but why not run on old versions too?
17385 + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
17387 + mv -f "${ofile}T" "$ofile" || \
17388 + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
17389 + chmod +x "$ofile"
17396 +# This can be used to rebuild libtool when needed
17397 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
17399 +# Always use our own libtool.
17400 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
17402 +# Prevent multiple expansion
17407 +# Extract the first word of "perl", so it can be a program name with args.
17408 +set dummy perl; ac_word=$2
17409 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17410 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17411 +if test "${ac_cv_path_PERL+set}" = set; then
17412 + echo $ECHO_N "(cached) $ECHO_C" >&6
17415 + [\\/]* | ?:[\\/]*)
17416 + ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
17419 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17420 +for as_dir in $PATH
17423 + test -z "$as_dir" && as_dir=.
17424 + for ac_exec_ext in '' $ac_executable_extensions; do
17425 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17426 + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
17427 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17436 +PERL=$ac_cv_path_PERL
17438 +if test -n "$PERL"; then
17439 + echo "$as_me:$LINENO: result: $PERL" >&5
17440 +echo "${ECHO_T}$PERL" >&6
17442 + echo "$as_me:$LINENO: result: no" >&5
17443 +echo "${ECHO_T}no" >&6
17449 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
17450 + echo "$as_me:$LINENO: checking for asm/errno.h" >&5
17451 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
17452 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
17453 + echo $ECHO_N "(cached) $ECHO_C" >&6
17455 +echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
17456 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
17458 + # Is the header compilable?
17459 +echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
17460 +echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
17461 +cat >conftest.$ac_ext <<_ACEOF
17464 +cat confdefs.h >>conftest.$ac_ext
17465 +cat >>conftest.$ac_ext <<_ACEOF
17466 +/* end confdefs.h. */
17467 +$ac_includes_default
17468 +@%:@include <asm/errno.h>
17470 +rm -f conftest.$ac_objext
17471 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 + (eval $ac_compile) 2>conftest.er1
17474 + grep -v '^ *+' conftest.er1 >conftest.err
17475 + rm -f conftest.er1
17476 + cat conftest.err >&5
17477 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 + (exit $ac_status); } &&
17479 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17480 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 + (eval $ac_try) 2>&5
17483 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 + (exit $ac_status); }; } &&
17485 + { ac_try='test -s conftest.$ac_objext'
17486 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 + (eval $ac_try) 2>&5
17489 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 + (exit $ac_status); }; }; then
17491 + ac_header_compiler=yes
17493 + echo "$as_me: failed program was:" >&5
17494 +sed 's/^/| /' conftest.$ac_ext >&5
17496 +ac_header_compiler=no
17498 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17499 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17500 +echo "${ECHO_T}$ac_header_compiler" >&6
17502 +# Is the header present?
17503 +echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
17504 +echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
17505 +cat >conftest.$ac_ext <<_ACEOF
17508 +cat confdefs.h >>conftest.$ac_ext
17509 +cat >>conftest.$ac_ext <<_ACEOF
17510 +/* end confdefs.h. */
17511 +@%:@include <asm/errno.h>
17513 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17514 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17516 + grep -v '^ *+' conftest.er1 >conftest.err
17517 + rm -f conftest.er1
17518 + cat conftest.err >&5
17519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 + (exit $ac_status); } >/dev/null; then
17521 + if test -s conftest.err; then
17522 + ac_cpp_err=$ac_c_preproc_warn_flag
17523 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17530 +if test -z "$ac_cpp_err"; then
17531 + ac_header_preproc=yes
17533 + echo "$as_me: failed program was:" >&5
17534 +sed 's/^/| /' conftest.$ac_ext >&5
17536 + ac_header_preproc=no
17538 +rm -f conftest.err conftest.$ac_ext
17539 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17540 +echo "${ECHO_T}$ac_header_preproc" >&6
17542 +# So? What about this header?
17543 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17545 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
17546 +echo "$as_me: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17547 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the compiler's result" >&5
17548 +echo "$as_me: WARNING: asm/errno.h: proceeding with the compiler's result" >&2;}
17549 + ac_header_preproc=yes
17552 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: present but cannot be compiled" >&5
17553 +echo "$as_me: WARNING: asm/errno.h: present but cannot be compiled" >&2;}
17554 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
17555 +echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
17556 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: see the Autoconf documentation" >&5
17557 +echo "$as_me: WARNING: asm/errno.h: see the Autoconf documentation" >&2;}
17558 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&5
17559 +echo "$as_me: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&2;}
17560 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
17561 +echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
17562 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
17563 +echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
17566 +@%:@@%:@ ------------------------------------------ @%:@@%:@
17567 +@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
17568 +@%:@@%:@ ------------------------------------------ @%:@@%:@
17571 + sed "s/^/$as_me: WARNING: /" >&2
17574 +echo "$as_me:$LINENO: checking for asm/errno.h" >&5
17575 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
17576 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
17577 + echo $ECHO_N "(cached) $ECHO_C" >&6
17579 + ac_cv_header_asm_errno_h=$ac_header_preproc
17581 +echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
17582 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
17585 +if test $ac_cv_header_asm_errno_h = yes; then
17588 + { { echo "$as_me:$LINENO: error: *** Unable to find asm/errno.h!!!" >&5
17589 +echo "$as_me: error: *** Unable to find asm/errno.h!!!" >&2;}
17590 + { (exit 1); exit 1; }; }
17596 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
17597 + echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
17598 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
17599 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
17600 + echo $ECHO_N "(cached) $ECHO_C" >&6
17602 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
17603 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
17605 + # Is the header compilable?
17606 +echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
17607 +echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
17608 +cat >conftest.$ac_ext <<_ACEOF
17611 +cat confdefs.h >>conftest.$ac_ext
17612 +cat >>conftest.$ac_ext <<_ACEOF
17613 +/* end confdefs.h. */
17614 +$ac_includes_default
17615 +@%:@include <linux/atmsap.h>
17617 +rm -f conftest.$ac_objext
17618 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 + (eval $ac_compile) 2>conftest.er1
17621 + grep -v '^ *+' conftest.er1 >conftest.err
17622 + rm -f conftest.er1
17623 + cat conftest.err >&5
17624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 + (exit $ac_status); } &&
17626 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17627 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 + (eval $ac_try) 2>&5
17630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 + (exit $ac_status); }; } &&
17632 + { ac_try='test -s conftest.$ac_objext'
17633 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 + (eval $ac_try) 2>&5
17636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 + (exit $ac_status); }; }; then
17638 + ac_header_compiler=yes
17640 + echo "$as_me: failed program was:" >&5
17641 +sed 's/^/| /' conftest.$ac_ext >&5
17643 +ac_header_compiler=no
17645 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17646 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17647 +echo "${ECHO_T}$ac_header_compiler" >&6
17649 +# Is the header present?
17650 +echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
17651 +echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
17652 +cat >conftest.$ac_ext <<_ACEOF
17655 +cat confdefs.h >>conftest.$ac_ext
17656 +cat >>conftest.$ac_ext <<_ACEOF
17657 +/* end confdefs.h. */
17658 +@%:@include <linux/atmsap.h>
17660 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17661 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17663 + grep -v '^ *+' conftest.er1 >conftest.err
17664 + rm -f conftest.er1
17665 + cat conftest.err >&5
17666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 + (exit $ac_status); } >/dev/null; then
17668 + if test -s conftest.err; then
17669 + ac_cpp_err=$ac_c_preproc_warn_flag
17670 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17677 +if test -z "$ac_cpp_err"; then
17678 + ac_header_preproc=yes
17680 + echo "$as_me: failed program was:" >&5
17681 +sed 's/^/| /' conftest.$ac_ext >&5
17683 + ac_header_preproc=no
17685 +rm -f conftest.err conftest.$ac_ext
17686 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17687 +echo "${ECHO_T}$ac_header_preproc" >&6
17689 +# So? What about this header?
17690 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17692 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&5
17693 +echo "$as_me: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17694 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&5
17695 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&2;}
17696 + ac_header_preproc=yes
17699 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: present but cannot be compiled" >&5
17700 +echo "$as_me: WARNING: linux/atmsap.h: present but cannot be compiled" >&2;}
17701 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
17702 +echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
17703 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: see the Autoconf documentation" >&5
17704 +echo "$as_me: WARNING: linux/atmsap.h: see the Autoconf documentation" >&2;}
17705 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&5
17706 +echo "$as_me: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&2;}
17707 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
17708 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
17709 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
17710 +echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
17713 +@%:@@%:@ ------------------------------------------ @%:@@%:@
17714 +@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
17715 +@%:@@%:@ ------------------------------------------ @%:@@%:@
17718 + sed "s/^/$as_me: WARNING: /" >&2
17721 +echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
17722 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
17723 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
17724 + echo $ECHO_N "(cached) $ECHO_C" >&6
17726 + ac_cv_header_linux_atmsap_h=$ac_header_preproc
17728 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
17729 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
17732 +if test $ac_cv_header_linux_atmsap_h = yes; then
17735 + { { echo "$as_me:$LINENO: error: *** Unable to find linux/atmsap.h!!!" >&5
17736 +echo "$as_me: error: *** Unable to find linux/atmsap.h!!!" >&2;}
17737 + { (exit 1); exit 1; }; }
17744 +echo "$as_me:$LINENO: checking for main in -lresolv" >&5
17745 +echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
17746 +if test "${ac_cv_lib_resolv_main+set}" = set; then
17747 + echo $ECHO_N "(cached) $ECHO_C" >&6
17749 + ac_check_lib_save_LIBS=$LIBS
17750 +LIBS="-lresolv $LIBS"
17751 +cat >conftest.$ac_ext <<_ACEOF
17754 +cat confdefs.h >>conftest.$ac_ext
17755 +cat >>conftest.$ac_ext <<_ACEOF
17756 +/* end confdefs.h. */
17767 +rm -f conftest.$ac_objext conftest$ac_exeext
17768 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17769 + (eval $ac_link) 2>conftest.er1
17771 + grep -v '^ *+' conftest.er1 >conftest.err
17772 + rm -f conftest.er1
17773 + cat conftest.err >&5
17774 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 + (exit $ac_status); } &&
17776 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17777 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 + (eval $ac_try) 2>&5
17780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 + (exit $ac_status); }; } &&
17782 + { ac_try='test -s conftest$ac_exeext'
17783 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 + (eval $ac_try) 2>&5
17786 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 + (exit $ac_status); }; }; then
17788 + ac_cv_lib_resolv_main=yes
17790 + echo "$as_me: failed program was:" >&5
17791 +sed 's/^/| /' conftest.$ac_ext >&5
17793 +ac_cv_lib_resolv_main=no
17795 +rm -f conftest.err conftest.$ac_objext \
17796 + conftest$ac_exeext conftest.$ac_ext
17797 +LIBS=$ac_check_lib_save_LIBS
17799 +echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
17800 +echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
17801 +if test $ac_cv_lib_resolv_main = yes; then
17802 + cat >>confdefs.h <<_ACEOF
17803 +@%:@define HAVE_LIBRESOLV 1
17806 + LIBS="-lresolv $LIBS"
17809 + { { echo "$as_me:$LINENO: error: *** Unable to find libresolv!!!" >&5
17810 +echo "$as_me: error: *** Unable to find libresolv!!!" >&2;}
17811 + { (exit 1); exit 1; }; }
17818 +INCLUDES="-I\$(top_srcdir)/src/include"
17819 +CFLAGS="$INCLUDES $CFLAGS -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes"
17822 +cat >>confdefs.h <<\_ACEOF
17823 +@%:@define YY_USE_CONST 1
17827 +atmsigd_conf_dir=` test "x$exec_prefix" = xNONE && exec_prefix=$ac_default_prefix
17828 + test "x$prefix" = xNONE && prefix=${exec_prefix}
17829 + eval echo "$sysconfdir"`
17830 +cat >>confdefs.h <<_ACEOF
17831 +@%:@define ATMSIGD_CONF "$atmsigd_conf_dir/atmsigd.conf"
17836 +# Check whether --with-uni or --without-uni was given.
17837 +if test "${with_uni+set}" = set; then
17838 + withval="$with_uni"
17840 + case "$with_uni" in
17841 + "3.0" ) cat >>confdefs.h <<\_ACEOF
17842 +@%:@define UNI30 1
17846 + "3.1" ) cat >>confdefs.h <<\_ACEOF
17847 +@%:@define UNI31 1
17851 + "4.0" ) cat >>confdefs.h <<\_ACEOF
17852 +@%:@define UNI40 1
17857 + cat >>confdefs.h <<\_ACEOF
17858 +@%:@define DYNAMIC_UNI 1
17861 + { echo "$as_me:$LINENO: WARNING: *** UNI version not specified correctly. Defaulting to dynamic UNI." >&5
17862 +echo "$as_me: WARNING: *** UNI version not specified correctly. Defaulting to dynamic UNI." >&2;}
17866 + cat >>confdefs.h <<\_ACEOF
17867 +@%:@define DYNAMIC_UNI 1
17873 +# Check whether --enable-allow_uni30 or --disable-allow_uni30 was given.
17874 +if test "${enable_allow_uni30+set}" = set; then
17875 + enableval="$enable_allow_uni30"
17877 + if test "$with_uni" = "3.1" ; then
17878 + cat >>confdefs.h <<\_ACEOF
17879 +@%:@define ALLOW_UNI30 1
17883 + { echo "$as_me:$LINENO: WARNING: *** Allow UNI 3.0 was not enabled. It is only valid when UNI 3.1 is specified as the default via --with-uni." >&5
17884 +echo "$as_me: WARNING: *** Allow UNI 3.0 was not enabled. It is only valid when UNI 3.1 is specified as the default via --with-uni." >&2;}
17890 +# Check whether --enable-q2963_1 or --disable-q2963_1 was given.
17891 +if test "${enable_q2963_1+set}" = set; then
17892 + enableval="$enable_q2963_1"
17894 + if test "$with_uni" = "4.0" ; then
17895 + cat >>confdefs.h <<\_ACEOF
17896 +@%:@define Q2963_1 1
17900 + { echo "$as_me:$LINENO: WARNING: *** Q.2963.1 was not enabled. It is only valid when UNI 4.0 is specified as the default via --with-uni." >&5
17901 +echo "$as_me: WARNING: *** Q.2963.1 was not enabled. It is only valid when UNI 4.0 is specified as the default via --with-uni." >&2;}
17907 +# Check whether --enable-cisco or --disable-cisco was given.
17908 +if test "${enable_cisco+set}" = set; then
17909 + enableval="$enable_cisco"
17910 + cat >>confdefs.h <<\_ACEOF
17911 +@%:@define CISCO 1
17917 +# Check whether --enable-thomflex or --disable-thomflex was given.
17918 +if test "${enable_thomflex+set}" = set; then
17919 + enableval="$enable_thomflex"
17920 + cat >>confdefs.h <<\_ACEOF
17921 +@%:@define THOMFLEX 1
17927 +cat >>confdefs.h <<\_ACEOF
17928 +@%:@define BROKEN_POLL 1
17932 +# Check whether --enable-mpoa_1_1 or --disable-mpoa_1_1 was given.
17933 +if test "${enable_mpoa_1_1+set}" = set; then
17934 + enableval="$enable_mpoa_1_1"
17935 + cat >>confdefs.h <<\_ACEOF
17936 +@%:@define MPOA_1_1 1
17942 +# Check whether --enable-mpr or --disable-mpr was given.
17943 +if test "${enable_mpr+set}" = set; then
17944 + enableval="$enable_mpr"
17946 + case "$enable_mpr" in
17947 + "" | y | ye | yes | Y | YE | YES )
17949 +echo "$as_me:$LINENO: checking for main in -lmpr" >&5
17950 +echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6
17951 +if test "${ac_cv_lib_mpr_main+set}" = set; then
17952 + echo $ECHO_N "(cached) $ECHO_C" >&6
17954 + ac_check_lib_save_LIBS=$LIBS
17955 +LIBS="-lmpr $LIBS"
17956 +cat >conftest.$ac_ext <<_ACEOF
17959 +cat confdefs.h >>conftest.$ac_ext
17960 +cat >>conftest.$ac_ext <<_ACEOF
17961 +/* end confdefs.h. */
17972 +rm -f conftest.$ac_objext conftest$ac_exeext
17973 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17974 + (eval $ac_link) 2>conftest.er1
17976 + grep -v '^ *+' conftest.er1 >conftest.err
17977 + rm -f conftest.er1
17978 + cat conftest.err >&5
17979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 + (exit $ac_status); } &&
17981 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17982 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 + (eval $ac_try) 2>&5
17985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 + (exit $ac_status); }; } &&
17987 + { ac_try='test -s conftest$ac_exeext'
17988 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 + (eval $ac_try) 2>&5
17991 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 + (exit $ac_status); }; }; then
17993 + ac_cv_lib_mpr_main=yes
17995 + echo "$as_me: failed program was:" >&5
17996 +sed 's/^/| /' conftest.$ac_ext >&5
17998 +ac_cv_lib_mpr_main=no
18000 +rm -f conftest.err conftest.$ac_objext \
18001 + conftest$ac_exeext conftest.$ac_ext
18002 +LIBS=$ac_check_lib_save_LIBS
18004 +echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
18005 +echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6
18006 +if test $ac_cv_lib_mpr_main = yes; then
18007 + cat >>confdefs.h <<_ACEOF
18008 +@%:@define HAVE_LIBMPR 1
18011 + LIBS="-lmpr $LIBS"
18015 + { echo "$as_me:$LINENO: WARNING: *** Could not find libmpr! Is MPR installed?" >&5
18016 +echo "$as_me: WARNING: *** Could not find libmpr! Is MPR installed?" >&2;}
18028 + ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/br2684/Makefile"
18029 +cat >confcache <<\_ACEOF
18030 +# This file is a shell script that caches the results of configure
18031 +# tests run on this system so they can be shared between configure
18032 +# scripts and configure runs, see configure's option --config-cache.
18033 +# It is not useful on other systems. If it contains results you don't
18034 +# want to keep, you may remove or edit it.
18036 +# config.status only pays attention to the cache file if you give it
18037 +# the --recheck option to rerun configure.
18039 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
18040 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
18041 +# following values.
18045 +# The following way of writing the cache mishandles newlines in values,
18046 +# but we know of no workaround that is simple, portable, and efficient.
18047 +# So, don't put newlines in cache variables' values.
18048 +# Ultrix sh set writes to stderr and can't be redirected directly,
18049 +# and sets the high bit in the cache file unless we assign to the vars.
18052 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
18054 + # `set' does not quote correctly, so add quotes (double-quote
18055 + # substitution turns \\\\ into \\, and sed turns \\ into \).
18058 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18061 + # `set' quotes correctly as required by POSIX, so do not add quotes.
18063 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18070 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18072 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18073 + : end' >>confcache
18074 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
18075 + if test -w $cache_file; then
18076 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18077 + cat confcache >$cache_file
18079 + echo "not updating unwritable cache $cache_file"
18084 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
18085 +# Let make expand exec_prefix.
18086 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18088 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
18089 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18090 +# trailing colons and then remove the whole line if VPATH becomes empty
18091 +# (actually we leave an empty line to preserve line numbers).
18092 +if test "x$srcdir" = x.; then
18093 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
18094 +s/:*\$(srcdir):*/:/;
18095 +s/:*\${srcdir}:*/:/;
18096 +s/:*@srcdir@:*/:/;
18097 +s/^\([^=]*=[ ]*\):*/\1/;
18103 +DEFS=-DHAVE_CONFIG_H
18107 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
18108 + # 1. Remove the extension, and $U if already installed.
18109 + ac_i=`echo "$ac_i" |
18110 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18112 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
18113 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
18115 +LIB@&t@OBJS=$ac_libobjs
18117 +LTLIBOBJS=$ac_ltlibobjs
18121 +: ${CONFIG_STATUS=./config.status}
18122 +ac_clean_files_save=$ac_clean_files
18123 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18124 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18125 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
18126 +cat >$CONFIG_STATUS <<_ACEOF
18128 +# Generated by $as_me.
18129 +# Run this file to recreate the current configuration.
18130 +# Compiler output produced by configure, useful for debugging
18131 +# configure, is in config.log if it exists.
18134 +ac_cs_recheck=false
18135 +ac_cs_silent=false
18136 +SHELL=\${CONFIG_SHELL-$SHELL}
18139 +cat >>$CONFIG_STATUS <<\_ACEOF
18140 +## --------------------- ##
18141 +## M4sh Initialization. ##
18142 +## --------------------- ##
18144 +# Be Bourne compatible
18145 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18148 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18149 + # is contrary to our usage. Disable this feature.
18150 + alias -g '${1+"$@"}'='"$@"'
18151 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18154 +DUALCASE=1; export DUALCASE # for MKS sh
18156 +# Support unset when possible.
18157 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18164 +# Work around bugs in pre-3.0 UWIN ksh.
18165 +$as_unset ENV MAIL MAILPATH
18172 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18173 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18174 + LC_TELEPHONE LC_TIME
18176 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18177 + eval $as_var=C; export $as_var
18179 + $as_unset $as_var
18183 +# Required to use basename.
18184 +if expr a : '\(a\)' >/dev/null 2>&1; then
18190 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
18191 + as_basename=basename
18193 + as_basename=false
18197 +# Name of the executable.
18198 +as_me=`$as_basename "$0" ||
18199 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18200 + X"$0" : 'X\(//\)$' \| \
18201 + X"$0" : 'X\(/\)$' \| \
18202 + . : '\(.\)' 2>/dev/null ||
18204 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18205 + /^X\/\(\/\/\)$/{ s//\1/; q; }
18206 + /^X\/\(\/\).*/{ s//\1/; q; }
18210 +# PATH needs CR, and LINENO needs CR and PATH.
18211 +# Avoid depending upon Character Ranges.
18212 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18213 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18214 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18215 +as_cr_digits='0123456789'
18216 +as_cr_alnum=$as_cr_Letters$as_cr_digits
18218 +# The user is always right.
18219 +if test "${PATH_SEPARATOR+set}" != set; then
18220 + echo "#! /bin/sh" >conf$$.sh
18221 + echo "exit 0" >>conf$$.sh
18222 + chmod +x conf$$.sh
18223 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18224 + PATH_SEPARATOR=';'
18232 + as_lineno_1=$LINENO
18233 + as_lineno_2=$LINENO
18234 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18235 + test "x$as_lineno_1" != "x$as_lineno_2" &&
18236 + test "x$as_lineno_3" = "x$as_lineno_2" || {
18237 + # Find who we are. Look in the path if we contain no path at all
18238 + # relative or not.
18240 + *[\\/]* ) as_myself=$0 ;;
18241 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18242 +for as_dir in $PATH
18245 + test -z "$as_dir" && as_dir=.
18246 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18251 + # We did not find ourselves, most probably we were run as `sh COMMAND'
18252 + # in which case we are not to be found in the path.
18253 + if test "x$as_myself" = x; then
18256 + if test ! -f "$as_myself"; then
18257 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18258 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18259 + { (exit 1); exit 1; }; }
18261 + case $CONFIG_SHELL in
18263 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18264 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18267 + test -z "$as_dir" && as_dir=.
18268 + for as_base in sh bash ksh sh5; do
18271 + if ("$as_dir/$as_base" -c '
18272 + as_lineno_1=$LINENO
18273 + as_lineno_2=$LINENO
18274 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18275 + test "x$as_lineno_1" != "x$as_lineno_2" &&
18276 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18277 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18278 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18279 + CONFIG_SHELL=$as_dir/$as_base
18280 + export CONFIG_SHELL
18281 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18289 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18290 + # uniformly replaced by the line number. The first 'sed' inserts a
18291 + # line-number line before each line; the second 'sed' does the real
18292 + # work. The second script uses 'N' to pair each line-number line
18293 + # with the numbered line, and appends trailing '-' during
18294 + # substitution so that $LINENO is not a special case at line end.
18295 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18296 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18297 + sed '=' <$as_myself |
18302 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18305 + s,^['$as_cr_digits']*\n,,
18306 + ' >$as_me.lineno &&
18307 + chmod +x $as_me.lineno ||
18308 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18309 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18310 + { (exit 1); exit 1; }; }
18312 + # Don't try to exec as it changes $[0], causing all sort of problems
18313 + # (the dirname of $[0] is not the place where we might find the
18314 + # original and so on. Autoconf is especially sensible to this).
18315 + . ./$as_me.lineno
18316 + # Exit status is that of the last command.
18321 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18322 + *c*,-n*) ECHO_N= ECHO_C='
18324 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18325 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18328 +if expr a : '\(a\)' >/dev/null 2>&1; then
18334 +rm -f conf$$ conf$$.exe conf$$.file
18336 +if ln -s conf$$.file conf$$ 2>/dev/null; then
18337 + # We could just check for DJGPP; but this test a) works b) is more generic
18338 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18339 + if test -f conf$$.exe; then
18340 + # Don't use ln at all; we don't have any links
18345 +elif ln conf$$.file conf$$ 2>/dev/null; then
18350 +rm -f conf$$ conf$$.exe conf$$.file
18352 +if mkdir -p . 2>/dev/null; then
18355 + test -d ./-p && rmdir ./-p
18359 +as_executable_p="test -f"
18361 +# Sed expression to map a string onto a valid CPP name.
18362 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18364 +# Sed expression to map a string onto a valid variable name.
18365 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18369 +# We need space, tab and new line, in precisely that order.
18379 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
18380 +# report actual input values of CONFIG_FILES etc. instead of their
18381 +# values after options handling. Logging --version etc. is OK.
18382 +exec 5>>config.log
18385 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
18386 +@%:@@%:@ Running $as_me. @%:@@%:@
18391 +This file was extended by $as_me, which was
18392 +generated by GNU Autoconf 2.59. Invocation command line was
18394 + CONFIG_FILES = $CONFIG_FILES
18395 + CONFIG_HEADERS = $CONFIG_HEADERS
18396 + CONFIG_LINKS = $CONFIG_LINKS
18397 + CONFIG_COMMANDS = $CONFIG_COMMANDS
18401 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18405 +# Files that config.status was made for.
18406 +if test -n "$ac_config_files"; then
18407 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18410 +if test -n "$ac_config_headers"; then
18411 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18414 +if test -n "$ac_config_links"; then
18415 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18418 +if test -n "$ac_config_commands"; then
18419 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18422 +cat >>$CONFIG_STATUS <<\_ACEOF
18425 +\`$as_me' instantiates files from templates according to the
18426 +current configuration.
18428 +Usage: $0 [OPTIONS] [FILE]...
18430 + -h, --help print this help, then exit
18431 + -V, --version print version number, then exit
18432 + -q, --quiet do not print progress messages
18433 + -d, --debug don't remove temporary files
18434 + --recheck update $as_me by reconfiguring in the same conditions
18435 + --file=FILE[:TEMPLATE]
18436 + instantiate the configuration file FILE
18437 + --header=FILE[:TEMPLATE]
18438 + instantiate the configuration header FILE
18440 +Configuration files:
18443 +Configuration headers:
18446 +Configuration commands:
18449 +Report bugs to <bug-autoconf@gnu.org>."
18452 +cat >>$CONFIG_STATUS <<_ACEOF
18455 +configured by $0, generated by GNU Autoconf 2.59,
18456 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18458 +Copyright (C) 2003 Free Software Foundation, Inc.
18459 +This config.status script is free software; the Free Software Foundation
18460 +gives unlimited permission to copy, distribute and modify it."
18462 +INSTALL="$INSTALL"
18465 +cat >>$CONFIG_STATUS <<\_ACEOF
18466 +# If no file are specified by the user, then we need to provide default
18467 +# value. By we need to know if files were specified by the user.
18468 +ac_need_defaults=:
18469 +while test $# != 0
18473 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
18474 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18482 + *) # This is not an option, so the user has probably given explicit
18485 + ac_need_defaults=false;;
18488 + case $ac_option in
18489 + # Handling of the options.
18491 +cat >>$CONFIG_STATUS <<\_ACEOF
18492 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18493 + ac_cs_recheck=: ;;
18494 + --version | --vers* | -V )
18495 + echo "$ac_cs_version"; exit 0 ;;
18497 + # Conflict between --help and --header
18498 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
18499 +Try \`$0 --help' for more information." >&5
18500 +echo "$as_me: error: ambiguous option: $1
18501 +Try \`$0 --help' for more information." >&2;}
18502 + { (exit 1); exit 1; }; };;
18503 + --help | --hel | -h )
18504 + echo "$ac_cs_usage"; exit 0 ;;
18505 + --debug | --d* | -d )
18507 + --file | --fil | --fi | --f )
18509 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18510 + ac_need_defaults=false;;
18511 + --header | --heade | --head | --hea )
18513 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18514 + ac_need_defaults=false;;
18515 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18516 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
18517 + ac_cs_silent=: ;;
18519 + # This is an error.
18520 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18521 +Try \`$0 --help' for more information." >&5
18522 +echo "$as_me: error: unrecognized option: $1
18523 +Try \`$0 --help' for more information." >&2;}
18524 + { (exit 1); exit 1; }; } ;;
18526 + *) ac_config_targets="$ac_config_targets $1" ;;
18532 +ac_configure_extra_args=
18534 +if $ac_cs_silent; then
18536 + ac_configure_extra_args="$ac_configure_extra_args --silent"
18540 +cat >>$CONFIG_STATUS <<_ACEOF
18541 +if \$ac_cs_recheck; then
18542 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18543 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18548 +cat >>$CONFIG_STATUS <<_ACEOF
18550 +# INIT-COMMANDS section.
18559 +cat >>$CONFIG_STATUS <<\_ACEOF
18560 +for ac_config_target in $ac_config_targets
18562 + case "$ac_config_target" in
18563 + # Handling of arguments.
18564 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18565 + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18566 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
18567 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18568 + "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
18569 + "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18570 + "src/br2684/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/br2684/Makefile" ;;
18571 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18572 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18573 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18574 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18575 + { (exit 1); exit 1; }; };;
18579 +# If the user did not use the arguments to specify the items to instantiate,
18580 +# then the envvar interface is used. Set only those that are not.
18581 +# We use the long form for the default assignment because of an extremely
18582 +# bizarre bug on SunOS 4.1.3.
18583 +if $ac_need_defaults; then
18584 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18585 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18586 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18589 +# Have a temporary directory for convenience. Make it in the build tree
18590 +# simply because there is no reason to put it here, and in addition,
18591 +# creating and moving files from /tmp can sometimes cause problems.
18592 +# Create a temporary directory, and hook for its removal unless debugging.
18595 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18596 + trap '{ (exit 1); exit 1; }' 1 2 13 15
18599 +# Create a (secure) tmp directory for tmp files.
18602 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18603 + test -n "$tmp" && test -d "$tmp"
18606 + tmp=./confstat$$-$RANDOM
18607 + (umask 077 && mkdir $tmp)
18610 + echo "$me: cannot create a temporary directory in ." >&2
18611 + { (exit 1); exit 1; }
18616 +cat >>$CONFIG_STATUS <<_ACEOF
18619 +# CONFIG_FILES section.
18622 +# No need to generate the scripts if there are no CONFIG_FILES.
18623 +# This happens for instance when ./config.status config.h
18624 +if test -n "\$CONFIG_FILES"; then
18625 + # Protect against being on the right side of a sed subst in config.status.
18626 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18627 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18628 +s,@SHELL@,$SHELL,;t t
18629 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18630 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18631 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18632 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18633 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18634 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18635 +s,@exec_prefix@,$exec_prefix,;t t
18636 +s,@prefix@,$prefix,;t t
18637 +s,@program_transform_name@,$program_transform_name,;t t
18638 +s,@bindir@,$bindir,;t t
18639 +s,@sbindir@,$sbindir,;t t
18640 +s,@libexecdir@,$libexecdir,;t t
18641 +s,@datadir@,$datadir,;t t
18642 +s,@sysconfdir@,$sysconfdir,;t t
18643 +s,@sharedstatedir@,$sharedstatedir,;t t
18644 +s,@localstatedir@,$localstatedir,;t t
18645 +s,@libdir@,$libdir,;t t
18646 +s,@includedir@,$includedir,;t t
18647 +s,@oldincludedir@,$oldincludedir,;t t
18648 +s,@infodir@,$infodir,;t t
18649 +s,@mandir@,$mandir,;t t
18650 +s,@build_alias@,$build_alias,;t t
18651 +s,@host_alias@,$host_alias,;t t
18652 +s,@target_alias@,$target_alias,;t t
18653 +s,@DEFS@,$DEFS,;t t
18654 +s,@ECHO_C@,$ECHO_C,;t t
18655 +s,@ECHO_N@,$ECHO_N,;t t
18656 +s,@ECHO_T@,$ECHO_T,;t t
18657 +s,@LIBS@,$LIBS,;t t
18658 +s,@build@,$build,;t t
18659 +s,@build_cpu@,$build_cpu,;t t
18660 +s,@build_vendor@,$build_vendor,;t t
18661 +s,@build_os@,$build_os,;t t
18662 +s,@host@,$host,;t t
18663 +s,@host_cpu@,$host_cpu,;t t
18664 +s,@host_vendor@,$host_vendor,;t t
18665 +s,@host_os@,$host_os,;t t
18666 +s,@target@,$target,;t t
18667 +s,@target_cpu@,$target_cpu,;t t
18668 +s,@target_vendor@,$target_vendor,;t t
18669 +s,@target_os@,$target_os,;t t
18670 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18671 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18672 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18673 +s,@PACKAGE@,$PACKAGE,;t t
18674 +s,@VERSION@,$VERSION,;t t
18675 +s,@ACLOCAL@,$ACLOCAL,;t t
18676 +s,@AUTOCONF@,$AUTOCONF,;t t
18677 +s,@AUTOMAKE@,$AUTOMAKE,;t t
18678 +s,@AUTOHEADER@,$AUTOHEADER,;t t
18679 +s,@MAKEINFO@,$MAKEINFO,;t t
18680 +s,@SET_MAKE@,$SET_MAKE,;t t
18681 +s,@LIBVER_CURRENT@,$LIBVER_CURRENT,;t t
18682 +s,@LIBVER_REVISION@,$LIBVER_REVISION,;t t
18683 +s,@LIBVER_AGE@,$LIBVER_AGE,;t t
18685 +s,@CFLAGS@,$CFLAGS,;t t
18686 +s,@LDFLAGS@,$LDFLAGS,;t t
18687 +s,@CPPFLAGS@,$CPPFLAGS,;t t
18688 +s,@ac_ct_CC@,$ac_ct_CC,;t t
18689 +s,@EXEEXT@,$EXEEXT,;t t
18690 +s,@OBJEXT@,$OBJEXT,;t t
18692 +s,@LEXLIB@,$LEXLIB,;t t
18693 +s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
18694 +s,@YACC@,$YACC,;t t
18695 +s,@LN_S@,$LN_S,;t t
18696 +s,@ECHO@,$ECHO,;t t
18697 +s,@RANLIB@,$RANLIB,;t t
18698 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18699 +s,@STRIP@,$STRIP,;t t
18700 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18702 +s,@EGREP@,$EGREP,;t t
18703 +s,@LIBTOOL@,$LIBTOOL,;t t
18704 +s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
18705 +s,@PERL@,$PERL,;t t
18706 +s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
18707 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18712 + cat >>$CONFIG_STATUS <<\_ACEOF
18713 + # Split the substitutions into bite-sized pieces for seds with
18714 + # small command number limits, like on Digital OSF/1 and HP-UX.
18715 + ac_max_sed_lines=48
18716 + ac_sed_frag=1 # Number of current file.
18717 + ac_beg=1 # First line for current file.
18718 + ac_end=$ac_max_sed_lines # Line after last line for current file.
18721 + while $ac_more_lines; do
18722 + if test $ac_beg -gt 1; then
18723 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18725 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18727 + if test ! -s $tmp/subs.frag; then
18728 + ac_more_lines=false
18730 + # The purpose of the label and of the branching condition is to
18731 + # speed up the sed processing (if there are no `@' at all, there
18732 + # is no need to browse any of the substitutions).
18733 + # These are the two extra sed commands mentioned above.
18735 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18736 + if test -z "$ac_sed_cmds"; then
18737 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18739 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18741 + ac_sed_frag=`expr $ac_sed_frag + 1`
18743 + ac_end=`expr $ac_end + $ac_max_sed_lines`
18746 + if test -z "$ac_sed_cmds"; then
18749 +fi # test -n "$CONFIG_FILES"
18752 +cat >>$CONFIG_STATUS <<\_ACEOF
18753 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18754 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18756 + - | *:- | *:-:* ) # input from stdin
18758 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18759 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18760 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18761 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18762 + * ) ac_file_in=$ac_file.in ;;
18765 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18766 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18767 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18768 + X"$ac_file" : 'X\(//\)[^/]' \| \
18769 + X"$ac_file" : 'X\(//\)$' \| \
18770 + X"$ac_file" : 'X\(/\)' \| \
18771 + . : '\(.\)' 2>/dev/null ||
18772 +echo X"$ac_file" |
18773 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18774 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18775 + /^X\(\/\/\)$/{ s//\1/; q; }
18776 + /^X\(\/\).*/{ s//\1/; q; }
18778 + { if $as_mkdir_p; then
18779 + mkdir -p "$ac_dir"
18783 + while test ! -d "$as_dir"; do
18784 + as_dirs="$as_dir $as_dirs"
18785 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
18786 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18787 + X"$as_dir" : 'X\(//\)[^/]' \| \
18788 + X"$as_dir" : 'X\(//\)$' \| \
18789 + X"$as_dir" : 'X\(/\)' \| \
18790 + . : '\(.\)' 2>/dev/null ||
18792 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18793 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18794 + /^X\(\/\/\)$/{ s//\1/; q; }
18795 + /^X\(\/\).*/{ s//\1/; q; }
18798 + test ! -n "$as_dirs" || mkdir $as_dirs
18799 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18800 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18801 + { (exit 1); exit 1; }; }; }
18805 +if test "$ac_dir" != .; then
18806 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18807 + # A "../" for each directory in $ac_dir_suffix.
18808 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18810 + ac_dir_suffix= ac_top_builddir=
18814 + .) # No --srcdir option. We are building in place.
18816 + if test -z "$ac_top_builddir"; then
18819 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18821 + [\\/]* | ?:[\\/]* ) # Absolute path.
18822 + ac_srcdir=$srcdir$ac_dir_suffix;
18823 + ac_top_srcdir=$srcdir ;;
18824 + *) # Relative path.
18825 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18826 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
18829 +# Do not use `cd foo && pwd` to compute absolute paths, because
18830 +# the directories may not exist.
18832 +.) ac_abs_builddir="$ac_dir";;
18834 + case "$ac_dir" in
18835 + .) ac_abs_builddir=`pwd`;;
18836 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
18837 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
18840 +case $ac_abs_builddir in
18841 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
18843 + case ${ac_top_builddir}. in
18844 + .) ac_abs_top_builddir=$ac_abs_builddir;;
18845 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
18846 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
18849 +case $ac_abs_builddir in
18850 +.) ac_abs_srcdir=$ac_srcdir;;
18852 + case $ac_srcdir in
18853 + .) ac_abs_srcdir=$ac_abs_builddir;;
18854 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
18855 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
18858 +case $ac_abs_builddir in
18859 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
18861 + case $ac_top_srcdir in
18862 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
18863 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
18864 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
18870 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18871 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18874 + # Let's still pretend it is `configure' which instantiates (i.e., don't
18875 + # use $as_me), people would be surprised to read:
18876 + # /* config.h. Generated by config.status. */
18877 + if test x"$ac_file" = x-; then
18880 + configure_input="$ac_file. "
18882 + configure_input=$configure_input"Generated from `echo $ac_file_in |
18883 + sed 's,.*/,,'` by configure."
18885 + # First look for the input files in the build tree, otherwise in the
18887 + ac_file_inputs=`IFS=:
18888 + for f in $ac_file_in; do
18890 + -) echo $tmp/stdin ;;
18892 + # Absolute (can't be DOS-style, as IFS=:)
18893 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18894 +echo "$as_me: error: cannot find input file: $f" >&2;}
18895 + { (exit 1); exit 1; }; }
18898 + if test -f "$f"; then
18901 + elif test -f "$srcdir/$f"; then
18903 + echo "$srcdir/$f"
18906 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18907 +echo "$as_me: error: cannot find input file: $f" >&2;}
18908 + { (exit 1); exit 1; }; }
18911 + done` || { (exit 1); exit 1; }
18913 + if test x"$ac_file" != x-; then
18914 + { echo "$as_me:$LINENO: creating $ac_file" >&5
18915 +echo "$as_me: creating $ac_file" >&6;}
18919 +cat >>$CONFIG_STATUS <<_ACEOF
18923 +cat >>$CONFIG_STATUS <<\_ACEOF
18925 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18926 +s,@configure_input@,$configure_input,;t t
18927 +s,@srcdir@,$ac_srcdir,;t t
18928 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
18929 +s,@top_srcdir@,$ac_top_srcdir,;t t
18930 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18931 +s,@builddir@,$ac_builddir,;t t
18932 +s,@abs_builddir@,$ac_abs_builddir,;t t
18933 +s,@top_builddir@,$ac_top_builddir,;t t
18934 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18935 +s,@INSTALL@,$ac_INSTALL,;t t
18936 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18938 + if test x"$ac_file" != x-; then
18939 + mv $tmp/out $ac_file
18947 +cat >>$CONFIG_STATUS <<\_ACEOF
18950 +# CONFIG_HEADER section.
18953 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18954 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
18956 +# ac_d sets the value in "#define NAME VALUE" lines.
18957 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18958 +ac_dB='[ ].*$,\1#\2'
18961 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18962 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18963 +ac_uB='$,\1#\2define\3'
18967 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18968 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18970 + - | *:- | *:-:* ) # input from stdin
18972 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18973 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18974 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18975 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18976 + * ) ac_file_in=$ac_file.in ;;
18979 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18980 +echo "$as_me: creating $ac_file" >&6;}
18982 + # First look for the input files in the build tree, otherwise in the
18984 + ac_file_inputs=`IFS=:
18985 + for f in $ac_file_in; do
18987 + -) echo $tmp/stdin ;;
18989 + # Absolute (can't be DOS-style, as IFS=:)
18990 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18991 +echo "$as_me: error: cannot find input file: $f" >&2;}
18992 + { (exit 1); exit 1; }; }
18993 + # Do quote $f, to prevent DOS paths from being IFS'd.
18996 + if test -f "$f"; then
18999 + elif test -f "$srcdir/$f"; then
19001 + echo "$srcdir/$f"
19004 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19005 +echo "$as_me: error: cannot find input file: $f" >&2;}
19006 + { (exit 1); exit 1; }; }
19009 + done` || { (exit 1); exit 1; }
19010 + # Remove the trailing spaces.
19011 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19015 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
19016 +# `conftest.undefs', that substitutes the proper values into
19017 +# config.h.in to produce config.h. The first handles `#define'
19018 +# templates, and the second `#undef' templates.
19019 +# And first: Protect against being on the right side of a sed subst in
19020 +# config.status. Protect against being in an unquoted here document
19021 +# in config.status.
19022 +rm -f conftest.defines conftest.undefs
19023 +# Using a here document instead of a string reduces the quoting nightmare.
19024 +# Putting comments in sed scripts is not portable.
19026 +# `end' is used to avoid that the second main sed command (meant for
19027 +# 0-ary CPP macros) applies to n-ary macro definitions.
19028 +# See the Autoconf documentation for `clear'.
19029 +cat >confdef2sed.sed <<\_ACEOF
19034 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19036 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19039 +# If some macros were called several times there might be several times
19040 +# the same #defines, which is useless. Nevertheless, we may not want to
19041 +# sort them, since we want the *last* AC-DEFINE to be honored.
19042 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19043 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19044 +rm -f confdef2sed.sed
19046 +# This sed command replaces #undef with comments. This is necessary, for
19047 +# example, in the case of _POSIX_SOURCE, which is predefined and required
19048 +# on some systems where configure will not decide to define it.
19049 +cat >>conftest.undefs <<\_ACEOF
19050 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19053 +# Break up conftest.defines because some shells have a limit on the size
19054 +# of here documents, and old seds have small limits too (100 cmds).
19055 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19056 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19057 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19058 +echo ' :' >>$CONFIG_STATUS
19059 +rm -f conftest.tail
19060 +while grep . conftest.defines >/dev/null
19062 + # Write a limited-size here document to $tmp/defines.sed.
19063 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19064 + # Speed up: don't consider the non `#define' lines.
19065 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19066 + # Work around the forget-to-reset-the-flag bug.
19067 + echo 't clr' >>$CONFIG_STATUS
19068 + echo ': clr' >>$CONFIG_STATUS
19069 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
19071 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
19073 + mv $tmp/out $tmp/in
19074 +' >>$CONFIG_STATUS
19075 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
19076 + rm -f conftest.defines
19077 + mv conftest.tail conftest.defines
19079 +rm -f conftest.defines
19080 +echo ' fi # grep' >>$CONFIG_STATUS
19081 +echo >>$CONFIG_STATUS
19083 +# Break up conftest.undefs because some shells have a limit on the size
19084 +# of here documents, and old seds have small limits too (100 cmds).
19085 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19086 +rm -f conftest.tail
19087 +while grep . conftest.undefs >/dev/null
19089 + # Write a limited-size here document to $tmp/undefs.sed.
19090 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19091 + # Speed up: don't consider the non `#undef'
19092 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19093 + # Work around the forget-to-reset-the-flag bug.
19094 + echo 't clr' >>$CONFIG_STATUS
19095 + echo ': clr' >>$CONFIG_STATUS
19096 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19098 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19100 + mv $tmp/out $tmp/in
19101 +' >>$CONFIG_STATUS
19102 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19103 + rm -f conftest.undefs
19104 + mv conftest.tail conftest.undefs
19106 +rm -f conftest.undefs
19108 +cat >>$CONFIG_STATUS <<\_ACEOF
19109 + # Let's still pretend it is `configure' which instantiates (i.e., don't
19110 + # use $as_me), people would be surprised to read:
19111 + # /* config.h. Generated by config.status. */
19112 + if test x"$ac_file" = x-; then
19113 + echo "/* Generated by configure. */" >$tmp/config.h
19115 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19117 + cat $tmp/in >>$tmp/config.h
19119 + if test x"$ac_file" != x-; then
19120 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
19121 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19122 +echo "$as_me: $ac_file is unchanged" >&6;}
19124 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19125 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19126 + X"$ac_file" : 'X\(//\)[^/]' \| \
19127 + X"$ac_file" : 'X\(//\)$' \| \
19128 + X"$ac_file" : 'X\(/\)' \| \
19129 + . : '\(.\)' 2>/dev/null ||
19130 +echo X"$ac_file" |
19131 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19132 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19133 + /^X\(\/\/\)$/{ s//\1/; q; }
19134 + /^X\(\/\).*/{ s//\1/; q; }
19136 + { if $as_mkdir_p; then
19137 + mkdir -p "$ac_dir"
19141 + while test ! -d "$as_dir"; do
19142 + as_dirs="$as_dir $as_dirs"
19143 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
19144 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19145 + X"$as_dir" : 'X\(//\)[^/]' \| \
19146 + X"$as_dir" : 'X\(//\)$' \| \
19147 + X"$as_dir" : 'X\(/\)' \| \
19148 + . : '\(.\)' 2>/dev/null ||
19150 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19151 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19152 + /^X\(\/\/\)$/{ s//\1/; q; }
19153 + /^X\(\/\).*/{ s//\1/; q; }
19156 + test ! -n "$as_dirs" || mkdir $as_dirs
19157 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19158 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19159 + { (exit 1); exit 1; }; }; }
19162 + mv $tmp/config.h $ac_file
19165 + cat $tmp/config.h
19166 + rm -f $tmp/config.h
19170 +cat >>$CONFIG_STATUS <<\_ACEOF
19173 +# CONFIG_COMMANDS section.
19175 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19176 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19177 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19178 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19179 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19180 + X"$ac_dest" : 'X\(//\)[^/]' \| \
19181 + X"$ac_dest" : 'X\(//\)$' \| \
19182 + X"$ac_dest" : 'X\(/\)' \| \
19183 + . : '\(.\)' 2>/dev/null ||
19184 +echo X"$ac_dest" |
19185 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19186 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19187 + /^X\(\/\/\)$/{ s//\1/; q; }
19188 + /^X\(\/\).*/{ s//\1/; q; }
19190 + { if $as_mkdir_p; then
19191 + mkdir -p "$ac_dir"
19195 + while test ! -d "$as_dir"; do
19196 + as_dirs="$as_dir $as_dirs"
19197 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
19198 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19199 + X"$as_dir" : 'X\(//\)[^/]' \| \
19200 + X"$as_dir" : 'X\(//\)$' \| \
19201 + X"$as_dir" : 'X\(/\)' \| \
19202 + . : '\(.\)' 2>/dev/null ||
19204 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19205 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19206 + /^X\(\/\/\)$/{ s//\1/; q; }
19207 + /^X\(\/\).*/{ s//\1/; q; }
19210 + test ! -n "$as_dirs" || mkdir $as_dirs
19211 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19212 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19213 + { (exit 1); exit 1; }; }; }
19217 +if test "$ac_dir" != .; then
19218 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19219 + # A "../" for each directory in $ac_dir_suffix.
19220 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19222 + ac_dir_suffix= ac_top_builddir=
19226 + .) # No --srcdir option. We are building in place.
19228 + if test -z "$ac_top_builddir"; then
19231 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19233 + [\\/]* | ?:[\\/]* ) # Absolute path.
19234 + ac_srcdir=$srcdir$ac_dir_suffix;
19235 + ac_top_srcdir=$srcdir ;;
19236 + *) # Relative path.
19237 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19238 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
19241 +# Do not use `cd foo && pwd` to compute absolute paths, because
19242 +# the directories may not exist.
19244 +.) ac_abs_builddir="$ac_dir";;
19246 + case "$ac_dir" in
19247 + .) ac_abs_builddir=`pwd`;;
19248 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19249 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
19252 +case $ac_abs_builddir in
19253 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
19255 + case ${ac_top_builddir}. in
19256 + .) ac_abs_top_builddir=$ac_abs_builddir;;
19257 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19258 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19261 +case $ac_abs_builddir in
19262 +.) ac_abs_srcdir=$ac_srcdir;;
19264 + case $ac_srcdir in
19265 + .) ac_abs_srcdir=$ac_abs_builddir;;
19266 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19267 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19270 +case $ac_abs_builddir in
19271 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
19273 + case $ac_top_srcdir in
19274 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
19275 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19276 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19281 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19282 +echo "$as_me: executing $ac_dest commands" >&6;}
19284 + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
19289 +cat >>$CONFIG_STATUS <<\_ACEOF
19291 +{ (exit 0); exit 0; }
19293 +chmod +x $CONFIG_STATUS
19294 +ac_clean_files=$ac_clean_files_save
19297 +# configure is writing to config.log, and then calls config.status.
19298 +# config.status does its own redirection, appending to config.log.
19299 +# Unfortunately, on DOS this fails, as config.log is still kept open
19300 +# by configure, so config.status won't be able to write to it; its
19301 +# output is simply discarded. So we exec the FD to /dev/null,
19302 +# effectively closing config.log, so it can be properly (re)opened and
19303 +# appended to by config.status. When coming back to configure, we
19304 +# need to make the FD available again.
19305 +if test "$no_create" != yes; then
19307 + ac_config_status_args=
19308 + test "$silent" = yes &&
19309 + ac_config_status_args="$ac_config_status_args --quiet"
19311 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19312 + exec 5>>config.log
19313 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19314 + # would make configure fail if this is the last instruction.
19315 + $ac_cs_success || { (exit 1); exit 1; }
19319 diff -urN linux-atm.old/autom4te.cache/requests linux-atm.dev/autom4te.cache/requests
19320 --- linux-atm.old/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
19321 +++ linux-atm.dev/autom4te.cache/requests 2005-08-23 01:12:41.188174872 +0200
19323 +# This file was generated by Autom4te Sat Jan 8 16:59:54 PST 2005.
19324 +# It contains the lists of macros which have been traced.
19325 +# It can be safely removed.
19332 + '/usr/share/autoconf'
19335 + '/usr/share/autoconf/autoconf/autoconf.m4f',
19340 + 'm4_pattern_forbid' => 1,
19341 + 'AC_CONFIG_LIBOBJ_DIR' => 1,
19342 + 'AC_TYPE_OFF_T' => 1,
19343 + 'AC_C_VOLATILE' => 1,
19344 + 'AC_FUNC_CLOSEDIR_VOID' => 1,
19345 + 'AC_REPLACE_FNMATCH' => 1,
19346 + 'AC_PROG_LIBTOOL' => 1,
19347 + 'AC_FUNC_STAT' => 1,
19348 + 'AC_HEADER_TIME' => 1,
19349 + 'AC_FUNC_WAIT3' => 1,
19350 + 'AM_AUTOMAKE_VERSION' => 1,
19351 + 'AC_STRUCT_TM' => 1,
19352 + 'AC_FUNC_LSTAT' => 1,
19353 + 'AC_TYPE_MODE_T' => 1,
19354 + 'AC_FUNC_GETMNTENT' => 1,
19355 + 'AC_FUNC_STRTOD' => 1,
19356 + 'AC_CHECK_HEADERS' => 1,
19357 + 'AC_FUNC_STRNLEN' => 1,
19358 + 'm4_sinclude' => 1,
19359 + 'AC_PROG_CXX' => 1,
19360 + 'AC_PATH_X' => 1,
19361 + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
19362 + 'AC_PROG_AWK' => 1,
19364 + 'AC_HEADER_STDC' => 1,
19365 + 'AC_HEADER_MAJOR' => 1,
19366 + 'AC_FUNC_ERROR_AT_LINE' => 1,
19367 + 'AC_PROG_GCC_TRADITIONAL' => 1,
19368 + 'AC_LIBSOURCE' => 1,
19369 + 'AC_FUNC_MBRTOWC' => 1,
19370 + 'AC_STRUCT_ST_BLOCKS' => 1,
19371 + 'AC_TYPE_SIGNAL' => 1,
19372 + 'AC_TYPE_UID_T' => 1,
19373 + 'AC_CONFIG_AUX_DIR' => 1,
19374 + 'AC_PROG_MAKE_SET' => 1,
19376 + 'm4_pattern_allow' => 1,
19377 + 'AC_DEFINE_TRACE_LITERAL' => 1,
19378 + 'AC_FUNC_STRERROR_R' => 1,
19379 + 'AC_PROG_CC' => 1,
19380 + 'AC_FUNC_FORK' => 1,
19381 + 'AC_DECL_SYS_SIGLIST' => 1,
19382 + 'AC_FUNC_VPRINTF' => 1,
19383 + 'AC_FUNC_STRCOLL' => 1,
19384 + 'AC_PROG_YACC' => 1,
19386 + 'AC_STRUCT_TIMEZONE' => 1,
19387 + 'AC_FUNC_CHOWN' => 1,
19389 + 'AC_FUNC_ALLOCA' => 1,
19390 + 'AC_CANONICAL_HOST' => 1,
19391 + 'AC_FUNC_GETPGRP' => 1,
19392 + 'AC_PROG_RANLIB' => 1,
19393 + 'AM_INIT_AUTOMAKE' => 1,
19394 + 'AC_FUNC_SETPGRP' => 1,
19395 + 'AC_CONFIG_SUBDIRS' => 1,
19396 + 'AC_FUNC_MMAP' => 1,
19397 + 'AC_FUNC_REALLOC' => 1,
19398 + 'AC_TYPE_SIZE_T' => 1,
19399 + 'AC_CONFIG_LINKS' => 1,
19400 + 'AC_CHECK_TYPES' => 1,
19401 + 'AC_CHECK_MEMBERS' => 1,
19402 + 'AM_MAINTAINER_MODE' => 1,
19403 + 'AC_FUNC_UTIME_NULL' => 1,
19404 + 'AC_FUNC_SELECT_ARGTYPES' => 1,
19405 + 'AC_FUNC_STRFTIME' => 1,
19406 + 'AC_HEADER_STAT' => 1,
19407 + 'AC_C_INLINE' => 1,
19408 + 'AC_PROG_CPP' => 1,
19409 + 'AC_TYPE_PID_T' => 1,
19410 + 'AC_C_CONST' => 1,
19411 + 'AC_PROG_LEX' => 1,
19412 + 'AC_CONFIG_FILES' => 1,
19414 + 'AC_FUNC_SETVBUF_REVERSED' => 1,
19415 + 'AC_PROG_INSTALL' => 1,
19416 + 'AM_GNU_GETTEXT' => 1,
19417 + 'AC_FUNC_OBSTACK' => 1,
19418 + 'AC_CHECK_LIB' => 1,
19419 + 'AC_FUNC_MALLOC' => 1,
19420 + 'AC_FUNC_GETGROUPS' => 1,
19421 + 'AC_FUNC_GETLOADAVG' => 1,
19422 + 'AH_OUTPUT' => 1,
19423 + 'AC_FUNC_FSEEKO' => 1,
19424 + 'AM_PROG_CC_C_O' => 1,
19425 + 'AM_CONDITIONAL' => 1,
19426 + 'AC_CANONICAL_SYSTEM' => 1,
19427 + 'AC_FUNC_MKTIME' => 1,
19428 + 'AC_CONFIG_HEADERS' => 1,
19429 + 'AC_HEADER_SYS_WAIT' => 1,
19430 + 'AC_FUNC_MEMCMP' => 1,
19431 + 'AC_PROG_LN_S' => 1,
19432 + 'm4_include' => 1,
19433 + 'AC_HEADER_DIRENT' => 1,
19434 + 'AC_CHECK_FUNCS' => 1
19436 + ], 'Autom4te::Request' )
19439 diff -urN linux-atm.old/autom4te.cache/traces.0 linux-atm.dev/autom4te.cache/traces.0
19440 --- linux-atm.old/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
19441 +++ linux-atm.dev/autom4te.cache/traces.0 2005-08-23 01:12:40.958209832 +0200
19443 +m4trace:configure.in:8: -1- AC_INIT([src/include/atm.h])
19444 +m4trace:configure.in:8: -1- m4_pattern_forbid([^_?A[CHUM]_])
19445 +m4trace:configure.in:8: -1- m4_pattern_forbid([_AC_])
19446 +m4trace:configure.in:8: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
19447 +m4trace:configure.in:8: -1- m4_pattern_allow([^AS_FLAGS$])
19448 +m4trace:configure.in:8: -1- m4_pattern_forbid([^_?m4_])
19449 +m4trace:configure.in:8: -1- m4_pattern_forbid([^dnl$])
19450 +m4trace:configure.in:8: -1- m4_pattern_forbid([^_?AS_])
19451 +m4trace:configure.in:8: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
19452 +m4trace:configure.in:8: -1- AC_SUBST([PATH_SEPARATOR])
19453 +m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
19454 +m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
19455 +m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
19456 +m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
19457 +m4trace:configure.in:8: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
19458 +m4trace:configure.in:8: -1- AC_SUBST([exec_prefix], [NONE])
19459 +m4trace:configure.in:8: -1- AC_SUBST([prefix], [NONE])
19460 +m4trace:configure.in:8: -1- AC_SUBST([program_transform_name], [s,x,x,])
19461 +m4trace:configure.in:8: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
19462 +m4trace:configure.in:8: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
19463 +m4trace:configure.in:8: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
19464 +m4trace:configure.in:8: -1- AC_SUBST([datadir], ['${prefix}/share'])
19465 +m4trace:configure.in:8: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
19466 +m4trace:configure.in:8: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
19467 +m4trace:configure.in:8: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
19468 +m4trace:configure.in:8: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
19469 +m4trace:configure.in:8: -1- AC_SUBST([includedir], ['${prefix}/include'])
19470 +m4trace:configure.in:8: -1- AC_SUBST([oldincludedir], ['/usr/include'])
19471 +m4trace:configure.in:8: -1- AC_SUBST([infodir], ['${prefix}/info'])
19472 +m4trace:configure.in:8: -1- AC_SUBST([mandir], ['${prefix}/man'])
19473 +m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
19474 +m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
19475 +#undef PACKAGE_NAME])
19476 +m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
19477 +m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
19478 +#undef PACKAGE_TARNAME])
19479 +m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
19480 +m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
19481 +#undef PACKAGE_VERSION])
19482 +m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
19483 +m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
19484 +#undef PACKAGE_STRING])
19485 +m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
19486 +m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
19487 +#undef PACKAGE_BUGREPORT])
19488 +m4trace:configure.in:8: -1- AC_SUBST([build_alias])
19489 +m4trace:configure.in:8: -1- AC_SUBST([host_alias])
19490 +m4trace:configure.in:8: -1- AC_SUBST([target_alias])
19491 +m4trace:configure.in:8: -1- AC_SUBST([DEFS])
19492 +m4trace:configure.in:8: -1- AC_SUBST([ECHO_C])
19493 +m4trace:configure.in:8: -1- AC_SUBST([ECHO_N])
19494 +m4trace:configure.in:8: -1- AC_SUBST([ECHO_T])
19495 +m4trace:configure.in:8: -1- AC_SUBST([LIBS])
19496 +m4trace:configure.in:9: -1- AC_CONFIG_HEADERS([config.h])
19497 +m4trace:configure.in:9: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
19498 +You should run autoupdate.], [autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
19499 +aclocal.m4:34: AM_CONFIG_HEADER is expanded from...
19500 +configure.in:9: the top level])
19501 +m4trace:configure.in:9: -3- _m4_warn([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
19502 +You should run autoupdate.], [autoconf/status.m4:321: _AC_OUTPUT_COMMANDS_CNT is expanded from...
19503 +autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
19504 +aclocal.m4:34: AM_CONFIG_HEADER is expanded from...
19505 +configure.in:9: the top level])
19506 +m4trace:configure.in:12: -1- AC_CANONICAL_SYSTEM
19507 +m4trace:configure.in:12: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
19508 +You should run autoupdate.], [autoconf/general.m4:1660: AC_CANONICAL_SYSTEM is expanded from...
19509 +configure.in:12: the top level])
19510 +m4trace:configure.in:12: -1- AC_CANONICAL_HOST
19511 +m4trace:configure.in:12: -1- AC_SUBST([build], [$ac_cv_build])
19512 +m4trace:configure.in:12: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
19513 +m4trace:configure.in:12: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
19514 +m4trace:configure.in:12: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
19515 +m4trace:configure.in:12: -1- AC_SUBST([host], [$ac_cv_host])
19516 +m4trace:configure.in:12: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
19517 +m4trace:configure.in:12: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
19518 +m4trace:configure.in:12: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
19519 +m4trace:configure.in:12: -1- AC_SUBST([target], [$ac_cv_target])
19520 +m4trace:configure.in:12: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
19521 +m4trace:configure.in:12: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
19522 +m4trace:configure.in:12: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
19523 +m4trace:configure.in:14: -1- AM_INIT_AUTOMAKE([linux-atm], [2.4.1])
19524 +m4trace:configure.in:14: -1- AM_AUTOMAKE_VERSION([1.4-p6])
19525 +m4trace:configure.in:14: -1- AC_PROG_INSTALL
19526 +m4trace:configure.in:14: -1- AC_SUBST([INSTALL_PROGRAM])
19527 +m4trace:configure.in:14: -1- AC_SUBST([INSTALL_SCRIPT])
19528 +m4trace:configure.in:14: -1- AC_SUBST([INSTALL_DATA])
19529 +m4trace:configure.in:14: -1- AC_SUBST([PACKAGE])
19530 +m4trace:configure.in:14: -1- AC_SUBST([VERSION])
19531 +m4trace:configure.in:14: -2- AC_DEFINE_TRACE_LITERAL([PACKAGE])
19532 +m4trace:configure.in:14: -2- AH_OUTPUT([PACKAGE], [/* Name of package */
19534 +m4trace:configure.in:14: -2- AC_DEFINE_TRACE_LITERAL([VERSION])
19535 +m4trace:configure.in:14: -2- AH_OUTPUT([VERSION], [/* Version number of package */
19537 +m4trace:configure.in:14: -1- AC_SUBST([ACLOCAL])
19538 +m4trace:configure.in:14: -1- AC_SUBST([AUTOCONF])
19539 +m4trace:configure.in:14: -1- AC_SUBST([AUTOMAKE])
19540 +m4trace:configure.in:14: -1- AC_SUBST([AUTOHEADER])
19541 +m4trace:configure.in:14: -1- AC_SUBST([MAKEINFO])
19542 +m4trace:configure.in:14: -1- AC_PROG_MAKE_SET
19543 +m4trace:configure.in:14: -1- AC_SUBST([SET_MAKE])
19544 +m4trace:configure.in:19: -1- AC_SUBST([LIBVER_CURRENT])
19545 +m4trace:configure.in:20: -1- AC_SUBST([LIBVER_REVISION])
19546 +m4trace:configure.in:21: -1- AC_SUBST([LIBVER_AGE])
19547 +m4trace:configure.in:24: -1- AC_PROG_CC
19548 +m4trace:configure.in:24: -1- AC_SUBST([CC])
19549 +m4trace:configure.in:24: -1- AC_SUBST([CFLAGS])
19550 +m4trace:configure.in:24: -1- AC_SUBST([LDFLAGS])
19551 +m4trace:configure.in:24: -1- AC_SUBST([CPPFLAGS])
19552 +m4trace:configure.in:24: -1- AC_SUBST([CC])
19553 +m4trace:configure.in:24: -1- AC_SUBST([ac_ct_CC])
19554 +m4trace:configure.in:24: -1- AC_SUBST([CC])
19555 +m4trace:configure.in:24: -1- AC_SUBST([ac_ct_CC])
19556 +m4trace:configure.in:24: -1- AC_SUBST([CC])
19557 +m4trace:configure.in:24: -1- AC_SUBST([CC])
19558 +m4trace:configure.in:24: -1- AC_SUBST([ac_ct_CC])
19559 +m4trace:configure.in:24: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
19560 +m4trace:configure.in:24: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
19561 +m4trace:configure.in:25: -1- AC_SUBST([LEX])
19562 +m4trace:configure.in:25: -1- AC_PROG_LEX
19563 +m4trace:configure.in:25: -1- AC_SUBST([LEX])
19564 +m4trace:configure.in:25: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
19565 +m4trace:configure.in:25: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
19566 +m4trace:configure.in:25: -1- AC_SUBST([LEXLIB])
19567 +m4trace:configure.in:25: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
19568 +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
19569 +m4trace:configure.in:25: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
19571 +#undef YYTEXT_POINTER])
19572 +m4trace:configure.in:25: -1- _m4_warn([obsolete], [The macro `AC_DECL_YYTEXT' is obsolete.
19573 +You should run autoupdate.], [autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
19574 +aclocal.m4:165: AM_PROG_LEX is expanded from...
19575 +configure.in:25: the top level])
19576 +m4trace:configure.in:25: -1- AC_PROG_LEX
19577 +m4trace:configure.in:25: -1- _m4_warn([syntax], [AC_PROG_LEX invoked multiple times], [autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
19578 +aclocal.m4:165: AM_PROG_LEX is expanded from...
19579 +configure.in:25: the top level])
19580 +m4trace:configure.in:26: -1- AC_PROG_YACC
19581 +m4trace:configure.in:26: -1- AC_SUBST([YACC])
19582 +m4trace:configure.in:27: -1- AC_PROG_INSTALL
19583 +m4trace:configure.in:27: -1- AC_SUBST([INSTALL_PROGRAM])
19584 +m4trace:configure.in:27: -1- AC_SUBST([INSTALL_SCRIPT])
19585 +m4trace:configure.in:27: -1- AC_SUBST([INSTALL_DATA])
19586 +m4trace:configure.in:30: -1- AC_PROG_LIBTOOL
19587 +m4trace:configure.in:30: -1- AC_PROG_LN_S
19588 +m4trace:configure.in:30: -1- AC_SUBST([LN_S], [$as_ln_s])
19589 +m4trace:configure.in:30: -1- AC_SUBST([ECHO])
19590 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_CHECK_TOOL_PREFIX' is obsolete.
19591 +You should run autoupdate.], [autoconf/programs.m4:188: AC_CHECK_TOOL_PREFIX is expanded from...
19592 +configure.in:30: AC_CHECK_TOOL_PREFIX is required by...
19593 +aclocal.m4:3303: AC_PATH_MAGIC is expanded from...
19594 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19595 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19596 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19597 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19598 +configure.in:30: the top level])
19599 +m4trace:configure.in:30: -1- AC_SUBST([RANLIB])
19600 +m4trace:configure.in:30: -1- AC_SUBST([ac_ct_RANLIB])
19601 +m4trace:configure.in:30: -1- AC_SUBST([STRIP])
19602 +m4trace:configure.in:30: -1- AC_SUBST([ac_ct_STRIP])
19603 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
19604 +You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
19605 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19606 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
19607 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19608 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19609 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19610 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19611 +configure.in:30: the top level])
19612 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
19613 +and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
19614 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19615 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
19616 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19617 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19618 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19619 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19620 +configure.in:30: the top level])
19621 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
19622 +You should run autoupdate.], [autoconf/c.m4:71: AC_LANG_C is expanded from...
19623 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19624 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
19625 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19626 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19627 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19628 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19629 +configure.in:30: the top level])
19630 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
19631 +You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
19632 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19633 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
19634 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19635 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19636 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19637 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19638 +configure.in:30: the top level])
19639 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
19640 +You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
19641 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19642 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
19643 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19644 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19645 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19646 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19647 +configure.in:30: the top level])
19648 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_FD_CC' is obsolete.
19649 +You should run autoupdate.], [autoconf/general.m4:376: AC_FD_CC is expanded from...
19650 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19651 +aclocal.m4:509: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is expanded from...
19652 +configure.in:30: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is required by...
19653 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19654 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19655 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19656 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19657 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19658 +configure.in:30: the top level])
19659 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_FD_CC' is obsolete.
19660 +You should run autoupdate.], [autoconf/general.m4:376: AC_FD_CC is expanded from...
19661 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19662 +aclocal.m4:509: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is expanded from...
19663 +configure.in:30: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is required by...
19664 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19665 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19666 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19667 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19668 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19669 +configure.in:30: the top level])
19670 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_FD_CC' is obsolete.
19671 +You should run autoupdate.], [autoconf/general.m4:376: AC_FD_CC is expanded from...
19672 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19673 +aclocal.m4:509: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is expanded from...
19674 +configure.in:30: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is required by...
19675 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19676 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19677 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19678 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19679 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19680 +configure.in:30: the top level])
19681 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_FD_CC' is obsolete.
19682 +You should run autoupdate.], [autoconf/general.m4:376: AC_FD_CC is expanded from...
19683 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19684 +aclocal.m4:509: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is expanded from...
19685 +configure.in:30: AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE is required by...
19686 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19687 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19688 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19689 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19690 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19691 +configure.in:30: the top level])
19692 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
19693 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
19694 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19695 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19696 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19697 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19698 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19699 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19700 +configure.in:30: the top level])
19701 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19702 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19703 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19704 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19705 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19706 +configure.in:30: the top level])
19707 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19708 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19709 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19710 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19711 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19712 +configure.in:30: the top level])
19713 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19714 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19715 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19716 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19717 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19718 +configure.in:30: the top level])
19719 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19720 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19721 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19722 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19723 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19724 +configure.in:30: the top level])
19725 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
19726 +You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
19727 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19728 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19729 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19730 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19731 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19732 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19733 +configure.in:30: the top level])
19734 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_FD_CC' is obsolete.
19735 +You should run autoupdate.], [autoconf/general.m4:376: AC_FD_CC is expanded from...
19736 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19737 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19738 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19739 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19740 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19741 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19742 +configure.in:30: the top level])
19743 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
19744 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
19745 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
19746 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19747 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19748 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19749 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19750 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19751 +configure.in:30: the top level])
19752 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19753 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19754 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19755 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19756 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19757 +configure.in:30: the top level])
19758 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe], [aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19759 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19760 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19761 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19762 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19763 +configure.in:30: the top level])
19764 +m4trace:configure.in:30: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
19765 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
19766 +aclocal.m4:3110: _LT_AC_LTCONFIG_HACK is expanded from...
19767 +aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
19768 +configure.in:30: AC_LIBTOOL_SETUP is required by...
19769 +aclocal.m4:183: AC_PROG_LIBTOOL is expanded from...
19770 +aclocal.m4:3701: AM_PROG_LIBTOOL is expanded from...
19771 +configure.in:30: the top level])
19772 +m4trace:configure.in:30: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
19773 + [lt_cv_dlopen="dlopen"],
19774 + [AC_CHECK_LIB([dl], [dlopen],
19775 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
19776 + [AC_CHECK_LIB([svld], [dlopen],
19777 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
19778 + [AC_CHECK_LIB([dld], [dld_link],
19779 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
19784 +m4trace:configure.in:30: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
19785 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
19786 + [AC_CHECK_LIB([dld], [dld_link],
19787 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
19790 +m4trace:configure.in:30: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
19791 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
19793 +m4trace:configure.in:30: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
19794 +m4trace:configure.in:30: -1- AC_CHECK_HEADERS([dlfcn.h])
19795 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
19796 +#undef HAVE_DLFCN_H])
19797 +m4trace:configure.in:30: -1- AC_HEADER_STDC
19798 +m4trace:configure.in:30: -1- AC_PROG_CPP
19799 +m4trace:configure.in:30: -1- AC_SUBST([CPP])
19800 +m4trace:configure.in:30: -1- AC_SUBST([CPPFLAGS])
19801 +m4trace:configure.in:30: -1- AC_SUBST([CPP])
19802 +m4trace:configure.in:30: -1- AC_SUBST([EGREP])
19803 +m4trace:configure.in:30: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
19804 +m4trace:configure.in:30: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
19805 +#undef STDC_HEADERS])
19806 +m4trace:configure.in:30: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19807 + inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
19808 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
19809 +#undef HAVE_SYS_TYPES_H])
19810 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
19811 +#undef HAVE_SYS_STAT_H])
19812 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
19813 +#undef HAVE_STDLIB_H])
19814 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
19815 +#undef HAVE_STRING_H])
19816 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
19817 +#undef HAVE_MEMORY_H])
19818 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
19819 +#undef HAVE_STRINGS_H])
19820 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
19821 +#undef HAVE_INTTYPES_H])
19822 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
19823 +#undef HAVE_STDINT_H])
19824 +m4trace:configure.in:30: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
19825 +#undef HAVE_UNISTD_H])
19826 +m4trace:configure.in:30: -1- AC_SUBST([LIBTOOL])
19827 +m4trace:configure.in:31: -1- AC_SUBST([LIBTOOL_DEPS])
19828 +m4trace:configure.in:34: -1- AC_SUBST([PERL], [$ac_cv_path_PERL])
19829 +m4trace:configure.in:35: -1- AC_SUBST([PERL])
19830 +m4trace:configure.in:51: -1- AC_CHECK_LIB([resolv], [main], [], [{ { echo "$as_me:$LINENO: error: *** Unable to find libresolv!!!" >&5
19831 +echo "$as_me: error: *** Unable to find libresolv!!!" >&2;}
19832 + { (exit 1); exit 1; }; }
19834 +m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
19835 +#undef HAVE_LIBRESOLV])
19836 +m4trace:configure.in:51: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
19837 +m4trace:configure.in:62: -1- AC_DEFINE_TRACE_LITERAL([YY_USE_CONST])
19838 +m4trace:configure.in:68: -1- AC_DEFINE_TRACE_LITERAL([ATMSIGD_CONF])
19839 +m4trace:configure.in:86: -2- AC_DEFINE_TRACE_LITERAL([DYNAMIC_UNI])
19840 +m4trace:configure.in:87: -1- AC_DEFINE_TRACE_LITERAL([UNI30])
19841 +m4trace:configure.in:87: -1- AC_DEFINE_TRACE_LITERAL([UNI31])
19842 +m4trace:configure.in:87: -1- AC_DEFINE_TRACE_LITERAL([UNI40])
19843 +m4trace:configure.in:87: -1- AC_DEFINE_TRACE_LITERAL([DYNAMIC_UNI])
19844 +m4trace:configure.in:98: -1- AC_DEFINE_TRACE_LITERAL([ALLOW_UNI30])
19845 +m4trace:configure.in:109: -1- AC_DEFINE_TRACE_LITERAL([Q2963_1])
19846 +m4trace:configure.in:113: -2- AC_DEFINE_TRACE_LITERAL([CISCO])
19847 +m4trace:configure.in:118: -2- AC_DEFINE_TRACE_LITERAL([THOMFLEX])
19848 +m4trace:configure.in:123: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_POLL])
19849 +m4trace:configure.in:127: -2- AC_DEFINE_TRACE_LITERAL([MPOA_1_1])
19850 +m4trace:configure.in:143: -1- AC_CHECK_LIB([mpr], [main], [], [
19851 + AC_MSG_WARN([*** Could not find libmpr! Is MPR installed?])
19854 +m4trace:configure.in:143: -1- AH_OUTPUT([HAVE_LIBMPR], [/* Define to 1 if you have the `mpr\' library (-lmpr). */
19855 +#undef HAVE_LIBMPR])
19856 +m4trace:configure.in:143: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBMPR])
19857 +m4trace:configure.in:157: -1- AC_CONFIG_FILES([Makefile \
19861 + src/include/Makefile \
19862 + src/lib/Makefile \
19863 + src/br2684/Makefile \
19865 +m4trace:configure.in:157: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
19866 +You should run autoupdate.], [])
19867 +m4trace:configure.in:157: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
19868 +m4trace:configure.in:157: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
19869 diff -urN linux-atm.old/configure linux-atm.dev/configure
19870 --- linux-atm.old/configure 2005-08-23 01:12:10.846787000 +0200
19871 +++ linux-atm.dev/configure 2005-08-23 01:12:41.187175024 +0200
19874 # Guess values for system-dependent variables and create Makefiles.
19875 -# Generated by GNU Autoconf 2.57.
19876 +# Generated by GNU Autoconf 2.59.
19878 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
19879 -# Free Software Foundation, Inc.
19880 +# Copyright (C) 2003 Free Software Foundation, Inc.
19881 # This configure script is free software; the Free Software Foundation
19882 # gives unlimited permission to copy, distribute and modify it.
19883 ## --------------------- ##
19885 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19888 +DUALCASE=1; export DUALCASE # for MKS sh
19890 # Support unset when possible.
19891 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
19892 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19897 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19898 LC_TELEPHONE LC_TIME
19900 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
19901 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19902 eval $as_var=C; export $as_var
19905 @@ -218,16 +218,17 @@
19906 if mkdir -p . 2>/dev/null; then
19909 + test -d ./-p && rmdir ./-p
19913 as_executable_p="test -f"
19915 # Sed expression to map a string onto a valid CPP name.
19916 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
19917 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19919 # Sed expression to map a string onto a valid variable name.
19920 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19921 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19925 @@ -826,7 +827,7 @@
19927 # Be sure to have absolute paths.
19928 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
19929 - localstatedir libdir includedir oldincludedir infodir mandir
19930 + localstatedir libdir includedir oldincludedir infodir mandir
19932 eval ac_val=$`echo $ac_var`
19934 @@ -866,10 +867,10 @@
19935 # Try the directory containing this script, then its parent.
19936 ac_confdir=`(dirname "$0") 2>/dev/null ||
19937 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19938 - X"$0" : 'X\(//\)[^/]' \| \
19939 - X"$0" : 'X\(//\)$' \| \
19940 - X"$0" : 'X\(/\)' \| \
19941 - . : '\(.\)' 2>/dev/null ||
19942 + X"$0" : 'X\(//\)[^/]' \| \
19943 + X"$0" : 'X\(//\)$' \| \
19944 + X"$0" : 'X\(/\)' \| \
19945 + . : '\(.\)' 2>/dev/null ||
19947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19949 @@ -961,9 +962,9 @@
19951 Installation directories:
19952 --prefix=PREFIX install architecture-independent files in PREFIX
19953 - [$ac_default_prefix]
19954 + [$ac_default_prefix]
19955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
19959 By default, \`make install' will install all the files in
19960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
19961 @@ -1071,12 +1072,45 @@
19962 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19963 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19965 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
19967 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
19968 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
19969 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
19970 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
19972 +# Do not use `cd foo && pwd` to compute absolute paths, because
19973 +# the directories may not exist.
19975 +.) ac_abs_builddir="$ac_dir";;
19977 + case "$ac_dir" in
19978 + .) ac_abs_builddir=`pwd`;;
19979 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19980 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
19983 +case $ac_abs_builddir in
19984 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
19986 + case ${ac_top_builddir}. in
19987 + .) ac_abs_top_builddir=$ac_abs_builddir;;
19988 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19989 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19992 +case $ac_abs_builddir in
19993 +.) ac_abs_srcdir=$ac_srcdir;;
19995 + case $ac_srcdir in
19996 + .) ac_abs_srcdir=$ac_abs_builddir;;
19997 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19998 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20001 +case $ac_abs_builddir in
20002 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
20004 + case $ac_top_srcdir in
20005 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
20006 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20007 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20012 # Check for guested configure; otherwise get Cygnus style configure.
20013 @@ -1087,13 +1121,13 @@
20015 $SHELL $ac_srcdir/configure --help=recursive
20016 elif test -f $ac_srcdir/configure.ac ||
20017 - test -f $ac_srcdir/configure.in; then
20018 + test -f $ac_srcdir/configure.in; then
20020 $ac_configure --help
20022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
20029 @@ -1101,8 +1135,7 @@
20030 if $ac_init_version; then
20033 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
20034 -Free Software Foundation, Inc.
20035 +Copyright (C) 2003 Free Software Foundation, Inc.
20036 This configure script is free software; the Free Software Foundation
20037 gives unlimited permission to copy, distribute and modify it.
20039 @@ -1114,7 +1147,7 @@
20040 running configure, to aid debugging if configure makes a mistake.
20042 It was created by $as_me, which was
20043 -generated by GNU Autoconf 2.57. Invocation command line was
20044 +generated by GNU Autoconf 2.59. Invocation command line was
20048 @@ -1191,19 +1224,19 @@
20050 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
20051 if test $ac_must_keep_next = true; then
20052 - ac_must_keep_next=false # Got value, back to normal.
20053 + ac_must_keep_next=false # Got value, back to normal.
20056 - *=* | --config-cache | -C | -disable-* | --disable-* \
20057 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
20058 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
20059 - | -with-* | --with-* | -without-* | --without-* | --x)
20060 - case "$ac_configure_args0 " in
20061 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
20064 - -* ) ac_must_keep_next=true ;;
20067 + *=* | --config-cache | -C | -disable-* | --disable-* \
20068 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
20069 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
20070 + | -with-* | --with-* | -without-* | --without-* | --x)
20071 + case "$ac_configure_args0 " in
20072 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
20075 + -* ) ac_must_keep_next=true ;;
20078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
20079 # Get rid of the leading space.
20080 @@ -1237,12 +1270,12 @@
20081 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
20084 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
20085 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
20086 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
20087 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
20091 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20092 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20096 @@ -1271,7 +1304,7 @@
20097 for ac_var in $ac_subst_files
20099 eval ac_val=$`echo $ac_var`
20100 - echo "$ac_var='"'"'$ac_val'"'"'"
20101 + echo "$ac_var='"'"'$ac_val'"'"'"
20105 @@ -1370,7 +1403,7 @@
20107 ac_cache_corrupted=false
20108 for ac_var in `(set) 2>&1 |
20109 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
20110 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
20111 eval ac_old_set=\$ac_cv_env_${ac_var}_set
20112 eval ac_new_set=\$ac_env_${ac_var}_set
20113 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
20114 @@ -1387,13 +1420,13 @@
20117 if test "x$ac_old_val" != "x$ac_new_val"; then
20118 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
20119 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
20120 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
20121 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
20122 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
20123 echo "$as_me: former value: $ac_old_val" >&2;}
20124 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
20125 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
20126 echo "$as_me: current value: $ac_new_val" >&2;}
20127 - ac_cache_corrupted=:
20128 + ac_cache_corrupted=:
20131 # Pass precious variables to config.status.
20132 @@ -1567,6 +1600,7 @@
20133 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20134 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
20135 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20136 +# OS/2's system install, which has a completely different semantic
20137 # ./install, which can be erroneously created by make from ./install.sh.
20138 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20139 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
20140 @@ -1583,6 +1617,7 @@
20142 ./ | .// | /cC/* | \
20143 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
20144 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
20147 # OSF1 and SCO ODT 3.0 have their own names for install.
20148 @@ -1590,20 +1625,20 @@
20150 for ac_prog in ginstall scoinst install; do
20151 for ac_exec_ext in '' $ac_executable_extensions; do
20152 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20153 - if test $ac_prog = install &&
20154 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20155 - # AIX install. It has an incompatible calling convention.
20157 - elif test $ac_prog = install &&
20158 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20159 - # program-specific install script used by HP pwplus--don't use.
20162 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
20166 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20167 + if test $ac_prog = install &&
20168 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20169 + # AIX install. It has an incompatible calling convention.
20171 + elif test $ac_prog = install &&
20172 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20173 + # program-specific install script used by HP pwplus--don't use.
20176 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
20183 @@ -1693,7 +1728,7 @@
20185 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20186 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
20187 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
20188 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
20189 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20192 @@ -2163,7 +2198,6 @@
20193 (exit $ac_status); }
20195 cat >conftest.$ac_ext <<_ACEOF
20196 -#line $LINENO "configure"
20199 cat confdefs.h >>conftest.$ac_ext
20200 @@ -2183,8 +2217,8 @@
20201 # Try to create an executable without -o first, disregard a.out.
20202 # It will help us diagnose broken compilers, and finding out an intuition
20204 -echo "$as_me:$LINENO: checking for C compiler default output" >&5
20205 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
20206 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
20207 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
20208 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
20209 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
20210 (eval $ac_link_default) 2>&5
20211 @@ -2204,23 +2238,23 @@
20212 test -f "$ac_file" || continue
20214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
20218 - # This is the source file.
20220 + # This is the source file.
20223 - # We found the default executable, but exeext='' is most
20224 - # certainly right.
20226 + # We found the default executable, but exeext='' is most
20227 + # certainly right.
20230 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20231 - # FIXME: I believe we export ac_cv_exeext for Libtool,
20232 - # but it would be cool to find out if it's true. Does anybody
20233 - # maintain Libtool? --akim.
20234 - export ac_cv_exeext
20236 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20237 + # FIXME: I believe we export ac_cv_exeext for Libtool,
20238 + # but it would be cool to find out if it's true. Does anybody
20239 + # maintain Libtool? --akim.
20240 + export ac_cv_exeext
20248 @@ -2294,8 +2328,8 @@
20250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
20251 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20252 - export ac_cv_exeext
20254 + export ac_cv_exeext
20259 @@ -2320,7 +2354,6 @@
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 cat >conftest.$ac_ext <<_ACEOF
20263 -#line $LINENO "configure"
20266 cat confdefs.h >>conftest.$ac_ext
20267 @@ -2371,7 +2404,6 @@
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 cat >conftest.$ac_ext <<_ACEOF
20271 -#line $LINENO "configure"
20274 cat confdefs.h >>conftest.$ac_ext
20275 @@ -2391,11 +2423,20 @@
20277 rm -f conftest.$ac_objext
20278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20279 - (eval $ac_compile) 2>&5
20280 + (eval $ac_compile) 2>conftest.er1
20282 + grep -v '^ *+' conftest.er1 >conftest.err
20283 + rm -f conftest.er1
20284 + cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 - { ac_try='test -s conftest.$ac_objext'
20288 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20289 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 + (eval $ac_try) 2>&5
20292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 + (exit $ac_status); }; } &&
20294 + { ac_try='test -s conftest.$ac_objext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 @@ -2408,7 +2449,7 @@
20302 -rm -f conftest.$ac_objext conftest.$ac_ext
20303 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
20307 @@ -2424,7 +2465,6 @@
20308 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 cat >conftest.$ac_ext <<_ACEOF
20311 -#line $LINENO "configure"
20314 cat confdefs.h >>conftest.$ac_ext
20315 @@ -2441,11 +2481,20 @@
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 - (eval $ac_compile) 2>&5
20320 + (eval $ac_compile) 2>conftest.er1
20322 + grep -v '^ *+' conftest.er1 >conftest.err
20323 + rm -f conftest.er1
20324 + cat conftest.err >&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } &&
20327 - { ac_try='test -s conftest.$ac_objext'
20328 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20329 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 + (eval $ac_try) 2>&5
20332 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 + (exit $ac_status); }; } &&
20334 + { ac_try='test -s conftest.$ac_objext'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20338 @@ -2458,7 +2507,7 @@
20342 -rm -f conftest.$ac_objext conftest.$ac_ext
20343 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20345 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20346 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
20347 @@ -2485,7 +2534,6 @@
20348 ac_cv_prog_cc_stdc=no
20350 cat >conftest.$ac_ext <<_ACEOF
20351 -#line $LINENO "configure"
20354 cat confdefs.h >>conftest.$ac_ext
20355 @@ -2513,6 +2561,16 @@
20360 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20361 + function prototypes and stuff, but not '\xHH' hex character constants.
20362 + These don't provoke an error unfortunately, instead are silently treated
20363 + as 'x'. The following induces an error, until -std1 is added to get
20364 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20365 + array size at least. It's necessary to write '\x00'==0 to get something
20366 + that's true only with -std1. */
20367 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20369 int test (int i, double x);
20370 struct s1 {int (*f) (int a);};
20371 struct s2 {int (*f) (double a);};
20372 @@ -2539,11 +2597,20 @@
20373 CC="$ac_save_CC $ac_arg"
20374 rm -f conftest.$ac_objext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20376 - (eval $ac_compile) 2>&5
20377 + (eval $ac_compile) 2>conftest.er1
20379 + grep -v '^ *+' conftest.er1 >conftest.err
20380 + rm -f conftest.er1
20381 + cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 - { ac_try='test -s conftest.$ac_objext'
20385 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20386 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 + (eval $ac_try) 2>&5
20389 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 + (exit $ac_status); }; } &&
20391 + { ac_try='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 @@ -2556,7 +2623,7 @@
20396 sed 's/^/| /' conftest.$ac_ext >&5
20399 -rm -f conftest.$ac_objext
20400 +rm -f conftest.err conftest.$ac_objext
20402 rm -f conftest.$ac_ext conftest.$ac_objext
20404 @@ -2584,11 +2651,20 @@
20406 rm -f conftest.$ac_objext
20407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20408 - (eval $ac_compile) 2>&5
20409 + (eval $ac_compile) 2>conftest.er1
20411 + grep -v '^ *+' conftest.er1 >conftest.err
20412 + rm -f conftest.er1
20413 + cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } &&
20416 - { ac_try='test -s conftest.$ac_objext'
20417 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20418 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419 + (eval $ac_try) 2>&5
20421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 + (exit $ac_status); }; } &&
20423 + { ac_try='test -s conftest.$ac_objext'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20425 (eval $ac_try) 2>&5
20427 @@ -2603,7 +2679,6 @@
20430 cat >conftest.$ac_ext <<_ACEOF
20431 -#line $LINENO "configure"
20434 cat confdefs.h >>conftest.$ac_ext
20435 @@ -2621,11 +2696,20 @@
20437 rm -f conftest.$ac_objext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20439 - (eval $ac_compile) 2>&5
20440 + (eval $ac_compile) 2>conftest.er1
20442 + grep -v '^ *+' conftest.er1 >conftest.err
20443 + rm -f conftest.er1
20444 + cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 - { ac_try='test -s conftest.$ac_objext'
20448 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20449 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 + (eval $ac_try) 2>&5
20452 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 + (exit $ac_status); }; } &&
20454 + { ac_try='test -s conftest.$ac_objext'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20458 @@ -2638,9 +2722,8 @@
20462 -rm -f conftest.$ac_objext conftest.$ac_ext
20463 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20464 cat >conftest.$ac_ext <<_ACEOF
20465 -#line $LINENO "configure"
20468 cat confdefs.h >>conftest.$ac_ext
20469 @@ -2657,11 +2740,20 @@
20471 rm -f conftest.$ac_objext
20472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20473 - (eval $ac_compile) 2>&5
20474 + (eval $ac_compile) 2>conftest.er1
20476 + grep -v '^ *+' conftest.er1 >conftest.err
20477 + rm -f conftest.er1
20478 + cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } &&
20481 - { ac_try='test -s conftest.$ac_objext'
20482 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20483 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 + (eval $ac_try) 2>&5
20486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 + (exit $ac_status); }; } &&
20488 + { ac_try='test -s conftest.$ac_objext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20492 @@ -2673,7 +2765,7 @@
20493 sed 's/^/| /' conftest.$ac_ext >&5
20496 -rm -f conftest.$ac_objext conftest.$ac_ext
20497 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20500 if test -n "$ac_declaration"; then
20501 @@ -2687,7 +2779,7 @@
20502 sed 's/^/| /' conftest.$ac_ext >&5
20505 -rm -f conftest.$ac_objext conftest.$ac_ext
20506 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20508 ac_cpp='$CPP $CPPFLAGS'
20509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 @@ -2788,7 +2880,6 @@
20511 ac_check_lib_save_LIBS=$LIBS
20513 cat >conftest.$ac_ext <<_ACEOF
20514 -#line $LINENO "configure"
20517 cat confdefs.h >>conftest.$ac_ext
20518 @@ -2812,11 +2903,20 @@
20520 rm -f conftest.$ac_objext conftest$ac_exeext
20521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20522 - (eval $ac_link) 2>&5
20523 + (eval $ac_link) 2>conftest.er1
20525 + grep -v '^ *+' conftest.er1 >conftest.err
20526 + rm -f conftest.er1
20527 + cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 - { ac_try='test -s conftest$ac_exeext'
20531 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20532 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 + (eval $ac_try) 2>&5
20535 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 + (exit $ac_status); }; } &&
20537 + { ac_try='test -s conftest$ac_exeext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 @@ -2829,7 +2929,8 @@
20543 ac_cv_lib_fl_yywrap=no
20545 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20546 +rm -f conftest.err conftest.$ac_objext \
20547 + conftest$ac_exeext conftest.$ac_ext
20548 LIBS=$ac_check_lib_save_LIBS
20550 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
20551 @@ -2845,7 +2946,6 @@
20552 ac_check_lib_save_LIBS=$LIBS
20554 cat >conftest.$ac_ext <<_ACEOF
20555 -#line $LINENO "configure"
20558 cat confdefs.h >>conftest.$ac_ext
20559 @@ -2869,11 +2969,20 @@
20561 rm -f conftest.$ac_objext conftest$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563 - (eval $ac_link) 2>&5
20564 + (eval $ac_link) 2>conftest.er1
20566 + grep -v '^ *+' conftest.er1 >conftest.err
20567 + rm -f conftest.er1
20568 + cat conftest.err >&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); } &&
20571 - { ac_try='test -s conftest$ac_exeext'
20572 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20573 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 + (eval $ac_try) 2>&5
20576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 + (exit $ac_status); }; } &&
20578 + { ac_try='test -s conftest$ac_exeext'
20579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580 (eval $ac_try) 2>&5
20582 @@ -2886,7 +2995,8 @@
20584 ac_cv_lib_l_yywrap=no
20586 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20587 +rm -f conftest.err conftest.$ac_objext \
20588 + conftest$ac_exeext conftest.$ac_ext
20589 LIBS=$ac_check_lib_save_LIBS
20591 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
20592 @@ -2948,11 +3058,20 @@
20594 rm -f conftest.$ac_objext conftest$ac_exeext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20596 - (eval $ac_link) 2>&5
20597 + (eval $ac_link) 2>conftest.er1
20599 + grep -v '^ *+' conftest.er1 >conftest.err
20600 + rm -f conftest.er1
20601 + cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } &&
20604 - { ac_try='test -s conftest$ac_exeext'
20605 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20606 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 + (eval $ac_try) 2>&5
20609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 + (exit $ac_status); }; } &&
20611 + { ac_try='test -s conftest$ac_exeext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 @@ -2964,7 +3083,8 @@
20616 sed 's/^/| /' conftest.$ac_ext >&5
20619 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20620 +rm -f conftest.err conftest.$ac_objext \
20621 + conftest$ac_exeext conftest.$ac_ext
20623 rm -f "${LEX_OUTPUT_ROOT}.c"
20625 @@ -3033,6 +3153,7 @@
20626 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20627 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
20628 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20629 +# OS/2's system install, which has a completely different semantic
20630 # ./install, which can be erroneously created by make from ./install.sh.
20631 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20632 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
20633 @@ -3049,6 +3170,7 @@
20635 ./ | .// | /cC/* | \
20636 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
20637 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
20640 # OSF1 and SCO ODT 3.0 have their own names for install.
20641 @@ -3056,20 +3178,20 @@
20643 for ac_prog in ginstall scoinst install; do
20644 for ac_exec_ext in '' $ac_executable_extensions; do
20645 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20646 - if test $ac_prog = install &&
20647 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20648 - # AIX install. It has an incompatible calling convention.
20650 - elif test $ac_prog = install &&
20651 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20652 - # program-specific install script used by HP pwplus--don't use.
20655 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
20659 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20660 + if test $ac_prog = install &&
20661 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20662 + # AIX install. It has an incompatible calling convention.
20664 + elif test $ac_prog = install &&
20665 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20666 + # program-specific install script used by HP pwplus--don't use.
20669 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
20676 @@ -3842,7 +3964,6 @@
20677 # On the NeXT, cc -E runs the code through the compiler's parser,
20678 # not just through cpp. "Syntax error" is here to catch this case.
20679 cat >conftest.$ac_ext <<_ACEOF
20680 -#line $LINENO "configure"
20683 cat confdefs.h >>conftest.$ac_ext
20684 @@ -3853,7 +3974,7 @@
20686 # include <assert.h>
20691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20693 @@ -3865,6 +3986,7 @@
20694 (exit $ac_status); } >/dev/null; then
20695 if test -s conftest.err; then
20696 ac_cpp_err=$ac_c_preproc_warn_flag
20697 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20701 @@ -3885,7 +4007,6 @@
20702 # OK, works on sane cases. Now check whether non-existent headers
20703 # can be detected and how.
20704 cat >conftest.$ac_ext <<_ACEOF
20705 -#line $LINENO "configure"
20708 cat confdefs.h >>conftest.$ac_ext
20709 @@ -3903,6 +4024,7 @@
20710 (exit $ac_status); } >/dev/null; then
20711 if test -s conftest.err; then
20712 ac_cpp_err=$ac_c_preproc_warn_flag
20713 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20717 @@ -3949,7 +4071,6 @@
20718 # On the NeXT, cc -E runs the code through the compiler's parser,
20719 # not just through cpp. "Syntax error" is here to catch this case.
20720 cat >conftest.$ac_ext <<_ACEOF
20721 -#line $LINENO "configure"
20724 cat confdefs.h >>conftest.$ac_ext
20725 @@ -3960,7 +4081,7 @@
20727 # include <assert.h>
20732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20734 @@ -3972,6 +4093,7 @@
20735 (exit $ac_status); } >/dev/null; then
20736 if test -s conftest.err; then
20737 ac_cpp_err=$ac_c_preproc_warn_flag
20738 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20742 @@ -3992,7 +4114,6 @@
20743 # OK, works on sane cases. Now check whether non-existent headers
20744 # can be detected and how.
20745 cat >conftest.$ac_ext <<_ACEOF
20746 -#line $LINENO "configure"
20749 cat confdefs.h >>conftest.$ac_ext
20750 @@ -4010,6 +4131,7 @@
20751 (exit $ac_status); } >/dev/null; then
20752 if test -s conftest.err; then
20753 ac_cpp_err=$ac_c_preproc_warn_flag
20754 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20758 @@ -4070,7 +4192,6 @@
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20761 cat >conftest.$ac_ext <<_ACEOF
20762 -#line $LINENO "configure"
20765 cat confdefs.h >>conftest.$ac_ext
20766 @@ -4091,11 +4212,20 @@
20768 rm -f conftest.$ac_objext
20769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20770 - (eval $ac_compile) 2>&5
20771 + (eval $ac_compile) 2>conftest.er1
20773 + grep -v '^ *+' conftest.er1 >conftest.err
20774 + rm -f conftest.er1
20775 + cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 - { ac_try='test -s conftest.$ac_objext'
20779 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20780 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 + (eval $ac_try) 2>&5
20783 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 + (exit $ac_status); }; } &&
20785 + { ac_try='test -s conftest.$ac_objext'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 @@ -4108,12 +4238,11 @@
20791 ac_cv_header_stdc=no
20793 -rm -f conftest.$ac_objext conftest.$ac_ext
20794 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20796 if test $ac_cv_header_stdc = yes; then
20797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20798 cat >conftest.$ac_ext <<_ACEOF
20799 -#line $LINENO "configure"
20802 cat confdefs.h >>conftest.$ac_ext
20803 @@ -4135,7 +4264,6 @@
20804 if test $ac_cv_header_stdc = yes; then
20805 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20806 cat >conftest.$ac_ext <<_ACEOF
20807 -#line $LINENO "configure"
20810 cat confdefs.h >>conftest.$ac_ext
20811 @@ -4160,7 +4288,6 @@
20814 cat >conftest.$ac_ext <<_ACEOF
20815 -#line $LINENO "configure"
20818 cat confdefs.h >>conftest.$ac_ext
20819 @@ -4172,9 +4299,9 @@
20820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20822 # define ISLOWER(c) \
20823 - (('a' <= (c) && (c) <= 'i') \
20824 - || ('j' <= (c) && (c) <= 'r') \
20825 - || ('s' <= (c) && (c) <= 'z'))
20826 + (('a' <= (c) && (c) <= 'i') \
20827 + || ('j' <= (c) && (c) <= 'r') \
20828 + || ('s' <= (c) && (c) <= 'z'))
20829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20832 @@ -4185,7 +4312,7 @@
20834 for (i = 0; i < 256; i++)
20835 if (XOR (islower (i), ISLOWER (i))
20836 - || toupper (i) != TOUPPER (i))
20837 + || toupper (i) != TOUPPER (i))
20841 @@ -4235,7 +4362,7 @@
20844 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20845 - inttypes.h stdint.h unistd.h
20846 + inttypes.h stdint.h unistd.h
20848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20849 echo "$as_me:$LINENO: checking for $ac_header" >&5
20850 @@ -4244,7 +4371,6 @@
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 cat >conftest.$ac_ext <<_ACEOF
20854 -#line $LINENO "configure"
20857 cat confdefs.h >>conftest.$ac_ext
20858 @@ -4256,11 +4382,20 @@
20860 rm -f conftest.$ac_objext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20862 - (eval $ac_compile) 2>&5
20863 + (eval $ac_compile) 2>conftest.er1
20865 + grep -v '^ *+' conftest.er1 >conftest.err
20866 + rm -f conftest.er1
20867 + cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } &&
20870 - { ac_try='test -s conftest.$ac_objext'
20871 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20872 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 + (eval $ac_try) 2>&5
20875 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 + (exit $ac_status); }; } &&
20877 + { ac_try='test -s conftest.$ac_objext'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 @@ -4273,7 +4408,7 @@
20883 eval "$as_ac_Header=no"
20885 -rm -f conftest.$ac_objext conftest.$ac_ext
20886 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20890 @@ -4304,7 +4439,6 @@
20891 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20892 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20893 cat >conftest.$ac_ext <<_ACEOF
20894 -#line $LINENO "configure"
20897 cat confdefs.h >>conftest.$ac_ext
20898 @@ -4315,11 +4449,20 @@
20900 rm -f conftest.$ac_objext
20901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20902 - (eval $ac_compile) 2>&5
20903 + (eval $ac_compile) 2>conftest.er1
20905 + grep -v '^ *+' conftest.er1 >conftest.err
20906 + rm -f conftest.er1
20907 + cat conftest.err >&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 - { ac_try='test -s conftest.$ac_objext'
20911 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20912 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 + (eval $ac_try) 2>&5
20915 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 + (exit $ac_status); }; } &&
20917 + { ac_try='test -s conftest.$ac_objext'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 @@ -4332,7 +4475,7 @@
20923 ac_header_compiler=no
20925 -rm -f conftest.$ac_objext conftest.$ac_ext
20926 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20928 echo "${ECHO_T}$ac_header_compiler" >&6
20930 @@ -4340,7 +4483,6 @@
20931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20934 -#line $LINENO "configure"
20937 cat confdefs.h >>conftest.$ac_ext
20938 @@ -4358,6 +4500,7 @@
20939 (exit $ac_status); } >/dev/null; then
20940 if test -s conftest.err; then
20941 ac_cpp_err=$ac_c_preproc_warn_flag
20942 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20946 @@ -4377,33 +4520,32 @@
20947 echo "${ECHO_T}$ac_header_preproc" >&6
20949 # So? What about this header?
20950 -case $ac_header_compiler:$ac_header_preproc in
20952 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20956 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20957 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20960 -## ------------------------------------ ##
20961 -## Report this to bug-autoconf@gnu.org. ##
20962 -## ------------------------------------ ##
20965 - sed "s/^/$as_me: WARNING: /" >&2
20966 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20967 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20968 + ac_header_preproc=yes
20972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20974 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20975 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20976 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20977 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20978 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20979 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20980 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20981 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20984 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20985 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20988 -## ------------------------------------ ##
20989 -## Report this to bug-autoconf@gnu.org. ##
20990 -## ------------------------------------ ##
20991 +## ------------------------------------------ ##
20992 +## Report this to the AC_PACKAGE_NAME lists. ##
20993 +## ------------------------------------------ ##
20996 sed "s/^/$as_me: WARNING: /" >&2
20997 @@ -4414,7 +4556,7 @@
20998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20999 echo $ECHO_N "(cached) $ECHO_C" >&6
21001 - eval "$as_ac_Header=$ac_header_preproc"
21002 + eval "$as_ac_Header=\$ac_header_preproc"
21004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21006 @@ -4749,7 +4891,7 @@
21009 # Find out which ABI we are using.
21010 - echo '#line 4752 "configure"' > conftest.$ac_ext
21011 + echo '#line 4894 "configure"' > conftest.$ac_ext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>&5
21015 @@ -4788,7 +4930,6 @@
21016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018 cat >conftest.$ac_ext <<_ACEOF
21019 -#line $LINENO "configure"
21022 cat confdefs.h >>conftest.$ac_ext
21023 @@ -4805,11 +4946,20 @@
21025 rm -f conftest.$ac_objext conftest$ac_exeext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21027 - (eval $ac_link) 2>&5
21028 + (eval $ac_link) 2>conftest.er1
21030 + grep -v '^ *+' conftest.er1 >conftest.err
21031 + rm -f conftest.er1
21032 + cat conftest.err >&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); } &&
21035 - { ac_try='test -s conftest$ac_exeext'
21036 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21037 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 + (eval $ac_try) 2>&5
21040 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 + (exit $ac_status); }; } &&
21042 + { ac_try='test -s conftest$ac_exeext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21046 @@ -4822,7 +4972,8 @@
21048 lt_cv_cc_needs_belf=no
21050 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21051 +rm -f conftest.err conftest.$ac_objext \
21052 + conftest$ac_exeext conftest.$ac_ext
21054 ac_cpp='$CPP $CPPFLAGS'
21055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 @@ -5117,7 +5268,6 @@
21057 save_CFLAGS="$CFLAGS"
21058 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
21059 cat >conftest.$ac_ext <<_ACEOF
21060 -#line $LINENO "configure"
21063 cat confdefs.h >>conftest.$ac_ext
21064 @@ -5134,11 +5284,20 @@
21066 rm -f conftest.$ac_objext
21067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21068 - (eval $ac_compile) 2>&5
21069 + (eval $ac_compile) 2>conftest.er1
21071 + grep -v '^ *+' conftest.er1 >conftest.err
21072 + rm -f conftest.er1
21073 + cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 - { ac_try='test -s conftest.$ac_objext'
21077 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21078 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 + (eval $ac_try) 2>&5
21081 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 + (exit $ac_status); }; } &&
21083 + { ac_try='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 @@ -5167,7 +5326,7 @@
21088 lt_cv_prog_cc_pic_works=no
21091 -rm -f conftest.$ac_objext conftest.$ac_ext
21092 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21093 CFLAGS="$save_CFLAGS"
21096 @@ -5205,7 +5364,6 @@
21097 save_LDFLAGS="$LDFLAGS"
21098 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
21099 cat >conftest.$ac_ext <<_ACEOF
21100 -#line $LINENO "configure"
21103 cat confdefs.h >>conftest.$ac_ext
21104 @@ -5222,11 +5380,20 @@
21106 rm -f conftest.$ac_objext conftest$ac_exeext
21107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21108 - (eval $ac_link) 2>&5
21109 + (eval $ac_link) 2>conftest.er1
21111 + grep -v '^ *+' conftest.er1 >conftest.err
21112 + rm -f conftest.er1
21113 + cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } &&
21116 - { ac_try='test -s conftest$ac_exeext'
21117 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21118 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 + (eval $ac_try) 2>&5
21121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 + (exit $ac_status); }; } &&
21123 + { ac_try='test -s conftest$ac_exeext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 @@ -5238,7 +5405,8 @@
21128 sed 's/^/| /' conftest.$ac_ext >&5
21131 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21132 +rm -f conftest.err conftest.$ac_objext \
21133 + conftest$ac_exeext conftest.$ac_ext
21134 LDFLAGS="$save_LDFLAGS"
21137 @@ -5278,7 +5446,7 @@
21138 save_CFLAGS="$CFLAGS"
21139 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
21141 -if { (eval echo configure:5281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
21142 +if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
21143 # The compiler can only warn and ignore the option if not recognized
21144 # So say no if there are warnings
21145 if test -s out/conftest.err; then
21146 @@ -5319,7 +5487,6 @@
21147 save_objext="$ac_objext"
21149 cat >conftest.$ac_ext <<_ACEOF
21150 -#line $LINENO "configure"
21153 cat confdefs.h >>conftest.$ac_ext
21154 @@ -5336,11 +5503,20 @@
21156 rm -f conftest.$ac_objext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21158 - (eval $ac_compile) 2>&5
21159 + (eval $ac_compile) 2>conftest.er1
21161 + grep -v '^ *+' conftest.er1 >conftest.err
21162 + rm -f conftest.er1
21163 + cat conftest.err >&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
21166 - { ac_try='test -s conftest.$ac_objext'
21167 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21168 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 + (eval $ac_try) 2>&5
21171 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 + (exit $ac_status); }; } &&
21173 + { ac_try='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 @@ -5359,7 +5535,7 @@
21178 sed 's/^/| /' conftest.$ac_ext >&5
21181 -rm -f conftest.$ac_objext conftest.$ac_ext
21182 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21183 ac_objext="$save_objext"
21184 CFLAGS="$save_CFLAGS"
21186 @@ -5404,7 +5580,6 @@
21187 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
21188 compiler_rtti_exceptions=no
21189 cat >conftest.$ac_ext <<_ACEOF
21190 -#line $LINENO "configure"
21193 cat confdefs.h >>conftest.$ac_ext
21194 @@ -5421,11 +5596,20 @@
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 - (eval $ac_compile) 2>&5
21199 + (eval $ac_compile) 2>conftest.er1
21201 + grep -v '^ *+' conftest.er1 >conftest.err
21202 + rm -f conftest.er1
21203 + cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 - { ac_try='test -s conftest.$ac_objext'
21207 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21208 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 + (eval $ac_try) 2>&5
21211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 + (exit $ac_status); }; } &&
21213 + { ac_try='test -s conftest.$ac_objext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21217 @@ -5444,7 +5628,7 @@
21218 sed 's/^/| /' conftest.$ac_ext >&5
21221 -rm -f conftest.$ac_objext conftest.$ac_ext
21222 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21223 CFLAGS="$save_CFLAGS"
21224 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
21225 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
21226 @@ -6704,21 +6888,28 @@
21227 echo $ECHO_N "(cached) $ECHO_C" >&6
21229 cat >conftest.$ac_ext <<_ACEOF
21230 -#line $LINENO "configure"
21233 cat confdefs.h >>conftest.$ac_ext
21234 cat >>conftest.$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21236 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21237 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
21238 +#define shl_load innocuous_shl_load
21240 /* System header to define __stub macros and hopefully few prototypes,
21241 which can conflict with char shl_load (); below.
21242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21243 <limits.h> exists even on freestanding compilers. */
21246 # include <limits.h>
21248 # include <assert.h>
21253 /* Override any gcc2 internal prototype to avoid an error. */
21256 @@ -6749,11 +6940,20 @@
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 - (eval $ac_link) 2>&5
21261 + (eval $ac_link) 2>conftest.er1
21263 + grep -v '^ *+' conftest.er1 >conftest.err
21264 + rm -f conftest.er1
21265 + cat conftest.err >&5
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); } &&
21268 - { ac_try='test -s conftest$ac_exeext'
21269 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21270 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 + (eval $ac_try) 2>&5
21273 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 + (exit $ac_status); }; } &&
21275 + { ac_try='test -s conftest$ac_exeext'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21279 @@ -6766,7 +6966,8 @@
21281 ac_cv_func_shl_load=no
21283 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21284 +rm -f conftest.err conftest.$ac_objext \
21285 + conftest$ac_exeext conftest.$ac_ext
21287 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21288 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
21289 @@ -6781,7 +6982,6 @@
21290 ac_check_lib_save_LIBS=$LIBS
21292 cat >conftest.$ac_ext <<_ACEOF
21293 -#line $LINENO "configure"
21296 cat confdefs.h >>conftest.$ac_ext
21297 @@ -6805,11 +7005,20 @@
21299 rm -f conftest.$ac_objext conftest$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301 - (eval $ac_link) 2>&5
21302 + (eval $ac_link) 2>conftest.er1
21304 + grep -v '^ *+' conftest.er1 >conftest.err
21305 + rm -f conftest.er1
21306 + cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 - { ac_try='test -s conftest$ac_exeext'
21310 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21311 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 + (eval $ac_try) 2>&5
21314 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 + (exit $ac_status); }; } &&
21316 + { ac_try='test -s conftest$ac_exeext'
21317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318 (eval $ac_try) 2>&5
21320 @@ -6822,7 +7031,8 @@
21322 ac_cv_lib_dld_shl_load=no
21324 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21325 +rm -f conftest.err conftest.$ac_objext \
21326 + conftest$ac_exeext conftest.$ac_ext
21327 LIBS=$ac_check_lib_save_LIBS
21329 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21330 @@ -6836,21 +7046,28 @@
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 cat >conftest.$ac_ext <<_ACEOF
21334 -#line $LINENO "configure"
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21341 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
21342 +#define dlopen innocuous_dlopen
21344 /* System header to define __stub macros and hopefully few prototypes,
21345 which can conflict with char dlopen (); below.
21346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21347 <limits.h> exists even on freestanding compilers. */
21350 # include <limits.h>
21352 # include <assert.h>
21357 /* Override any gcc2 internal prototype to avoid an error. */
21360 @@ -6881,11 +7098,20 @@
21362 rm -f conftest.$ac_objext conftest$ac_exeext
21363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21364 - (eval $ac_link) 2>&5
21365 + (eval $ac_link) 2>conftest.er1
21367 + grep -v '^ *+' conftest.er1 >conftest.err
21368 + rm -f conftest.er1
21369 + cat conftest.err >&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } &&
21372 - { ac_try='test -s conftest$ac_exeext'
21373 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21374 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 + (eval $ac_try) 2>&5
21377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 + (exit $ac_status); }; } &&
21379 + { ac_try='test -s conftest$ac_exeext'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21383 @@ -6898,7 +7124,8 @@
21385 ac_cv_func_dlopen=no
21387 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21388 +rm -f conftest.err conftest.$ac_objext \
21389 + conftest$ac_exeext conftest.$ac_ext
21391 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21392 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
21393 @@ -6913,7 +7140,6 @@
21394 ac_check_lib_save_LIBS=$LIBS
21396 cat >conftest.$ac_ext <<_ACEOF
21397 -#line $LINENO "configure"
21400 cat confdefs.h >>conftest.$ac_ext
21401 @@ -6937,11 +7163,20 @@
21403 rm -f conftest.$ac_objext conftest$ac_exeext
21404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21405 - (eval $ac_link) 2>&5
21406 + (eval $ac_link) 2>conftest.er1
21408 + grep -v '^ *+' conftest.er1 >conftest.err
21409 + rm -f conftest.er1
21410 + cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } &&
21413 - { ac_try='test -s conftest$ac_exeext'
21414 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21415 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 + (eval $ac_try) 2>&5
21418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 + (exit $ac_status); }; } &&
21420 + { ac_try='test -s conftest$ac_exeext'
21421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21422 (eval $ac_try) 2>&5
21424 @@ -6954,7 +7189,8 @@
21426 ac_cv_lib_dl_dlopen=no
21428 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21429 +rm -f conftest.err conftest.$ac_objext \
21430 + conftest$ac_exeext conftest.$ac_ext
21431 LIBS=$ac_check_lib_save_LIBS
21433 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21434 @@ -6970,7 +7206,6 @@
21435 ac_check_lib_save_LIBS=$LIBS
21436 LIBS="-lsvld $LIBS"
21437 cat >conftest.$ac_ext <<_ACEOF
21438 -#line $LINENO "configure"
21441 cat confdefs.h >>conftest.$ac_ext
21442 @@ -6994,11 +7229,20 @@
21444 rm -f conftest.$ac_objext conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 - (eval $ac_link) 2>&5
21447 + (eval $ac_link) 2>conftest.er1
21449 + grep -v '^ *+' conftest.er1 >conftest.err
21450 + rm -f conftest.er1
21451 + cat conftest.err >&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 - { ac_try='test -s conftest$ac_exeext'
21455 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21456 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 + (eval $ac_try) 2>&5
21459 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 + (exit $ac_status); }; } &&
21461 + { ac_try='test -s conftest$ac_exeext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 @@ -7011,7 +7255,8 @@
21467 ac_cv_lib_svld_dlopen=no
21469 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21470 +rm -f conftest.err conftest.$ac_objext \
21471 + conftest$ac_exeext conftest.$ac_ext
21472 LIBS=$ac_check_lib_save_LIBS
21474 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21475 @@ -7027,7 +7272,6 @@
21476 ac_check_lib_save_LIBS=$LIBS
21478 cat >conftest.$ac_ext <<_ACEOF
21479 -#line $LINENO "configure"
21482 cat confdefs.h >>conftest.$ac_ext
21483 @@ -7051,11 +7295,20 @@
21485 rm -f conftest.$ac_objext conftest$ac_exeext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21487 - (eval $ac_link) 2>&5
21488 + (eval $ac_link) 2>conftest.er1
21490 + grep -v '^ *+' conftest.er1 >conftest.err
21491 + rm -f conftest.er1
21492 + cat conftest.err >&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 - { ac_try='test -s conftest$ac_exeext'
21496 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21497 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 + (eval $ac_try) 2>&5
21500 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 + (exit $ac_status); }; } &&
21502 + { ac_try='test -s conftest$ac_exeext'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21506 @@ -7068,7 +7321,8 @@
21508 ac_cv_lib_dld_dld_link=no
21510 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21511 +rm -f conftest.err conftest.$ac_objext \
21512 + conftest$ac_exeext conftest.$ac_ext
21513 LIBS=$ac_check_lib_save_LIBS
21515 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21516 @@ -7123,7 +7377,7 @@
21517 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21518 lt_status=$lt_dlunknown
21519 cat > conftest.$ac_ext <<EOF
21520 -#line 7126 "configure"
21521 +#line 7380 "configure"
21522 #include "confdefs.h"
21525 @@ -7221,7 +7475,7 @@
21526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21527 lt_status=$lt_dlunknown
21528 cat > conftest.$ac_ext <<EOF
21529 -#line 7224 "configure"
21530 +#line 7478 "configure"
21531 #include "confdefs.h"
21534 @@ -8005,7 +8259,6 @@
21535 echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
21536 echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
21537 cat >conftest.$ac_ext <<_ACEOF
21538 -#line $LINENO "configure"
21541 cat confdefs.h >>conftest.$ac_ext
21542 @@ -8016,11 +8269,20 @@
21544 rm -f conftest.$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 - (eval $ac_compile) 2>&5
21547 + (eval $ac_compile) 2>conftest.er1
21549 + grep -v '^ *+' conftest.er1 >conftest.err
21550 + rm -f conftest.er1
21551 + cat conftest.err >&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 - { ac_try='test -s conftest.$ac_objext'
21555 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21556 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 + (eval $ac_try) 2>&5
21559 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 + (exit $ac_status); }; } &&
21561 + { ac_try='test -s conftest.$ac_objext'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21565 @@ -8033,7 +8295,7 @@
21567 ac_header_compiler=no
21569 -rm -f conftest.$ac_objext conftest.$ac_ext
21570 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21572 echo "${ECHO_T}$ac_header_compiler" >&6
21574 @@ -8041,7 +8303,6 @@
21575 echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
21576 echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
21577 cat >conftest.$ac_ext <<_ACEOF
21578 -#line $LINENO "configure"
21581 cat confdefs.h >>conftest.$ac_ext
21582 @@ -8059,6 +8320,7 @@
21583 (exit $ac_status); } >/dev/null; then
21584 if test -s conftest.err; then
21585 ac_cpp_err=$ac_c_preproc_warn_flag
21586 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21590 @@ -8078,33 +8340,32 @@
21591 echo "${ECHO_T}$ac_header_preproc" >&6
21593 # So? What about this header?
21594 -case $ac_header_compiler:$ac_header_preproc in
21596 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21598 { echo "$as_me:$LINENO: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
21599 echo "$as_me: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21600 - { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
21601 -echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
21604 -## ------------------------------------ ##
21605 -## Report this to bug-autoconf@gnu.org. ##
21606 -## ------------------------------------ ##
21609 - sed "s/^/$as_me: WARNING: /" >&2
21610 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the compiler's result" >&5
21611 +echo "$as_me: WARNING: asm/errno.h: proceeding with the compiler's result" >&2;}
21612 + ac_header_preproc=yes
21616 { echo "$as_me:$LINENO: WARNING: asm/errno.h: present but cannot be compiled" >&5
21617 echo "$as_me: WARNING: asm/errno.h: present but cannot be compiled" >&2;}
21618 - { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
21619 -echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
21620 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
21621 +echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
21622 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: see the Autoconf documentation" >&5
21623 +echo "$as_me: WARNING: asm/errno.h: see the Autoconf documentation" >&2;}
21624 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&5
21625 +echo "$as_me: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&2;}
21626 { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
21627 echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
21628 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
21629 +echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
21632 -## ------------------------------------ ##
21633 -## Report this to bug-autoconf@gnu.org. ##
21634 -## ------------------------------------ ##
21635 +## ------------------------------------------ ##
21636 +## Report this to the AC_PACKAGE_NAME lists. ##
21637 +## ------------------------------------------ ##
21640 sed "s/^/$as_me: WARNING: /" >&2
21641 @@ -8145,7 +8406,6 @@
21642 echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
21643 echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
21644 cat >conftest.$ac_ext <<_ACEOF
21645 -#line $LINENO "configure"
21648 cat confdefs.h >>conftest.$ac_ext
21649 @@ -8156,11 +8416,20 @@
21651 rm -f conftest.$ac_objext
21652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653 - (eval $ac_compile) 2>&5
21654 + (eval $ac_compile) 2>conftest.er1
21656 + grep -v '^ *+' conftest.er1 >conftest.err
21657 + rm -f conftest.er1
21658 + cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } &&
21661 - { ac_try='test -s conftest.$ac_objext'
21662 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21663 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 + (eval $ac_try) 2>&5
21666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 + (exit $ac_status); }; } &&
21668 + { ac_try='test -s conftest.$ac_objext'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21672 @@ -8173,7 +8442,7 @@
21674 ac_header_compiler=no
21676 -rm -f conftest.$ac_objext conftest.$ac_ext
21677 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21679 echo "${ECHO_T}$ac_header_compiler" >&6
21681 @@ -8181,7 +8450,6 @@
21682 echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
21683 echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
21684 cat >conftest.$ac_ext <<_ACEOF
21685 -#line $LINENO "configure"
21688 cat confdefs.h >>conftest.$ac_ext
21689 @@ -8199,6 +8467,7 @@
21690 (exit $ac_status); } >/dev/null; then
21691 if test -s conftest.err; then
21692 ac_cpp_err=$ac_c_preproc_warn_flag
21693 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21697 @@ -8218,33 +8487,32 @@
21698 echo "${ECHO_T}$ac_header_preproc" >&6
21700 # So? What about this header?
21701 -case $ac_header_compiler:$ac_header_preproc in
21703 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21705 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&5
21706 echo "$as_me: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21707 - { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
21708 -echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
21711 -## ------------------------------------ ##
21712 -## Report this to bug-autoconf@gnu.org. ##
21713 -## ------------------------------------ ##
21716 - sed "s/^/$as_me: WARNING: /" >&2
21717 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&5
21718 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&2;}
21719 + ac_header_preproc=yes
21723 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: present but cannot be compiled" >&5
21724 echo "$as_me: WARNING: linux/atmsap.h: present but cannot be compiled" >&2;}
21725 - { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
21726 -echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
21727 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
21728 +echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
21729 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: see the Autoconf documentation" >&5
21730 +echo "$as_me: WARNING: linux/atmsap.h: see the Autoconf documentation" >&2;}
21731 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&5
21732 +echo "$as_me: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&2;}
21733 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
21734 echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
21735 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
21736 +echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
21739 -## ------------------------------------ ##
21740 -## Report this to bug-autoconf@gnu.org. ##
21741 -## ------------------------------------ ##
21742 +## ------------------------------------------ ##
21743 +## Report this to the AC_PACKAGE_NAME lists. ##
21744 +## ------------------------------------------ ##
21747 sed "s/^/$as_me: WARNING: /" >&2
21748 @@ -8281,7 +8549,6 @@
21749 ac_check_lib_save_LIBS=$LIBS
21750 LIBS="-lresolv $LIBS"
21751 cat >conftest.$ac_ext <<_ACEOF
21752 -#line $LINENO "configure"
21755 cat confdefs.h >>conftest.$ac_ext
21756 @@ -8299,11 +8566,20 @@
21758 rm -f conftest.$ac_objext conftest$ac_exeext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760 - (eval $ac_link) 2>&5
21761 + (eval $ac_link) 2>conftest.er1
21763 + grep -v '^ *+' conftest.er1 >conftest.err
21764 + rm -f conftest.er1
21765 + cat conftest.err >&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } &&
21768 - { ac_try='test -s conftest$ac_exeext'
21769 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21770 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 + (eval $ac_try) 2>&5
21773 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 + (exit $ac_status); }; } &&
21775 + { ac_try='test -s conftest$ac_exeext'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21779 @@ -8316,7 +8592,8 @@
21781 ac_cv_lib_resolv_main=no
21783 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21784 +rm -f conftest.err conftest.$ac_objext \
21785 + conftest$ac_exeext conftest.$ac_ext
21786 LIBS=$ac_check_lib_save_LIBS
21788 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
21789 @@ -8477,7 +8754,6 @@
21790 ac_check_lib_save_LIBS=$LIBS
21792 cat >conftest.$ac_ext <<_ACEOF
21793 -#line $LINENO "configure"
21796 cat confdefs.h >>conftest.$ac_ext
21797 @@ -8495,11 +8771,20 @@
21799 rm -f conftest.$ac_objext conftest$ac_exeext
21800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21801 - (eval $ac_link) 2>&5
21802 + (eval $ac_link) 2>conftest.er1
21804 + grep -v '^ *+' conftest.er1 >conftest.err
21805 + rm -f conftest.er1
21806 + cat conftest.err >&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 - { ac_try='test -s conftest$ac_exeext'
21810 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21811 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 + (eval $ac_try) 2>&5
21814 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 + (exit $ac_status); }; } &&
21816 + { ac_try='test -s conftest$ac_exeext'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21820 @@ -8512,7 +8797,8 @@
21822 ac_cv_lib_mpr_main=no
21824 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21825 +rm -f conftest.err conftest.$ac_objext \
21826 + conftest$ac_exeext conftest.$ac_ext
21827 LIBS=$ac_check_lib_save_LIBS
21829 echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
21830 @@ -8539,7 +8825,7 @@
21834 - ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/test/Makefile src/debug/Makefile src/qgen/Makefile src/saal/Makefile src/sigd/Makefile src/maint/Makefile src/arpd/Makefile src/ilmid/Makefile src/ilmid/asn1/Makefile src/man/Makefile src/led/Makefile src/lane/Makefile src/mpoad/Makefile src/switch/Makefile src/switch/debug/Makefile src/switch/tcp/Makefile src/config/Makefile src/config/init-redhat/Makefile src/extra/Makefile src/extra/linux-atm.spec src/extra/ANS/Makefile"
21835 + ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/br2684/Makefile"
21836 cat >confcache <<\_ACEOF
21837 # This file is a shell script that caches the results of configure
21838 # tests run on this system so they can be shared between configure
21839 @@ -8568,13 +8854,13 @@
21840 # `set' does not quote correctly, so add quotes (double-quote
21841 # substitution turns \\\\ into \\, and sed turns \\ into \).
21844 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21846 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21849 # `set' quotes correctly as required by POSIX, so do not add quotes.
21851 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21852 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21856 @@ -8604,13 +8890,13 @@
21857 # trailing colons and then remove the whole line if VPATH becomes empty
21858 # (actually we leave an empty line to preserve line numbers).
21859 if test "x$srcdir" = x.; then
21860 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
21861 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
21862 s/:*\$(srcdir):*/:/;
21863 s/:*\${srcdir}:*/:/;
21865 -s/^\([^=]*=[ ]*\):*/\1/;
21866 +s/^\([^=]*=[ ]*\):*/\1/;
21873 @@ -8621,7 +8907,7 @@
21874 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21875 # 1. Remove the extension, and $U if already installed.
21876 ac_i=`echo "$ac_i" |
21877 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21878 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21880 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21881 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21882 @@ -8665,9 +8951,10 @@
21883 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21886 +DUALCASE=1; export DUALCASE # for MKS sh
21888 # Support unset when possible.
21889 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
21890 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21894 @@ -8686,7 +8973,7 @@
21895 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21896 LC_TELEPHONE LC_TIME
21898 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
21899 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21900 eval $as_var=C; export $as_var
21903 @@ -8865,16 +9152,17 @@
21904 if mkdir -p . 2>/dev/null; then
21907 + test -d ./-p && rmdir ./-p
21911 as_executable_p="test -f"
21913 # Sed expression to map a string onto a valid CPP name.
21914 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
21915 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21917 # Sed expression to map a string onto a valid variable name.
21918 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21919 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21923 @@ -8901,7 +9189,7 @@
21926 This file was extended by $as_me, which was
21927 -generated by GNU Autoconf 2.57. Invocation command line was
21928 +generated by GNU Autoconf 2.59. Invocation command line was
21930 CONFIG_FILES = $CONFIG_FILES
21931 CONFIG_HEADERS = $CONFIG_HEADERS
21932 @@ -8945,9 +9233,9 @@
21933 -d, --debug don't remove temporary files
21934 --recheck update $as_me by reconfiguring in the same conditions
21935 --file=FILE[:TEMPLATE]
21936 - instantiate the configuration file FILE
21937 + instantiate the configuration file FILE
21938 --header=FILE[:TEMPLATE]
21939 - instantiate the configuration header FILE
21940 + instantiate the configuration header FILE
21942 Configuration files:
21944 @@ -8964,11 +9252,10 @@
21945 cat >>$CONFIG_STATUS <<_ACEOF
21948 -configured by $0, generated by GNU Autoconf 2.57,
21949 +configured by $0, generated by GNU Autoconf 2.59,
21950 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21952 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
21953 -Free Software Foundation, Inc.
21954 +Copyright (C) 2003 Free Software Foundation, Inc.
21955 This config.status script is free software; the Free Software Foundation
21956 gives unlimited permission to copy, distribute and modify it."
21958 @@ -9080,27 +9367,7 @@
21959 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21960 "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
21961 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
21962 - "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
21963 - "src/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/debug/Makefile" ;;
21964 - "src/qgen/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/qgen/Makefile" ;;
21965 - "src/saal/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/saal/Makefile" ;;
21966 - "src/sigd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sigd/Makefile" ;;
21967 - "src/maint/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/maint/Makefile" ;;
21968 - "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
21969 - "src/ilmid/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/Makefile" ;;
21970 - "src/ilmid/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/asn1/Makefile" ;;
21971 - "src/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;;
21972 - "src/led/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/led/Makefile" ;;
21973 - "src/lane/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lane/Makefile" ;;
21974 - "src/mpoad/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/mpoad/Makefile" ;;
21975 - "src/switch/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/Makefile" ;;
21976 - "src/switch/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/debug/Makefile" ;;
21977 - "src/switch/tcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/tcp/Makefile" ;;
21978 - "src/config/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
21979 - "src/config/init-redhat/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/init-redhat/Makefile" ;;
21980 - "src/extra/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/Makefile" ;;
21981 - "src/extra/linux-atm.spec" ) CONFIG_FILES="$CONFIG_FILES src/extra/linux-atm.spec" ;;
21982 - "src/extra/ANS/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/ANS/Makefile" ;;
21983 + "src/br2684/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/br2684/Makefile" ;;
21984 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21985 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21986 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21987 @@ -9267,9 +9534,9 @@
21989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21990 if test -z "$ac_sed_cmds"; then
21991 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21992 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21994 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21995 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21997 ac_sed_frag=`expr $ac_sed_frag + 1`
21999 @@ -9287,21 +9554,21 @@
22000 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22002 - | *:- | *:-:* ) # input from stdin
22004 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22005 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22007 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22008 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22009 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22010 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22011 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22012 * ) ac_file_in=$ac_file.in ;;
22015 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22016 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22017 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22018 - X"$ac_file" : 'X\(//\)[^/]' \| \
22019 - X"$ac_file" : 'X\(//\)$' \| \
22020 - X"$ac_file" : 'X\(/\)' \| \
22021 - . : '\(.\)' 2>/dev/null ||
22022 + X"$ac_file" : 'X\(//\)[^/]' \| \
22023 + X"$ac_file" : 'X\(//\)$' \| \
22024 + X"$ac_file" : 'X\(/\)' \| \
22025 + . : '\(.\)' 2>/dev/null ||
22027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22029 @@ -9317,10 +9584,10 @@
22030 as_dirs="$as_dir $as_dirs"
22031 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22032 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22033 - X"$as_dir" : 'X\(//\)[^/]' \| \
22034 - X"$as_dir" : 'X\(//\)$' \| \
22035 - X"$as_dir" : 'X\(/\)' \| \
22036 - . : '\(.\)' 2>/dev/null ||
22037 + X"$as_dir" : 'X\(//\)[^/]' \| \
22038 + X"$as_dir" : 'X\(//\)$' \| \
22039 + X"$as_dir" : 'X\(/\)' \| \
22040 + . : '\(.\)' 2>/dev/null ||
22042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22044 @@ -9358,12 +9625,45 @@
22045 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22046 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22048 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
22050 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
22051 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22052 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22053 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22055 +# Do not use `cd foo && pwd` to compute absolute paths, because
22056 +# the directories may not exist.
22058 +.) ac_abs_builddir="$ac_dir";;
22060 + case "$ac_dir" in
22061 + .) ac_abs_builddir=`pwd`;;
22062 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22063 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
22066 +case $ac_abs_builddir in
22067 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
22069 + case ${ac_top_builddir}. in
22070 + .) ac_abs_top_builddir=$ac_abs_builddir;;
22071 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22072 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22075 +case $ac_abs_builddir in
22076 +.) ac_abs_srcdir=$ac_srcdir;;
22078 + case $ac_srcdir in
22079 + .) ac_abs_srcdir=$ac_abs_builddir;;
22080 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22081 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22084 +case $ac_abs_builddir in
22085 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
22087 + case $ac_top_srcdir in
22088 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
22089 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22090 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22096 @@ -9371,11 +9671,6 @@
22097 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22100 - if test x"$ac_file" != x-; then
22101 - { echo "$as_me:$LINENO: creating $ac_file" >&5
22102 -echo "$as_me: creating $ac_file" >&6;}
22105 # Let's still pretend it is `configure' which instantiates (i.e., don't
22106 # use $as_me), people would be surprised to read:
22107 # /* config.h. Generated by config.status. */
22108 @@ -9385,7 +9680,7 @@
22109 configure_input="$ac_file. "
22111 configure_input=$configure_input"Generated from `echo $ac_file_in |
22112 - sed 's,.*/,,'` by configure."
22113 + sed 's,.*/,,'` by configure."
22115 # First look for the input files in the build tree, otherwise in the
22117 @@ -9394,26 +9689,32 @@
22119 -) echo $tmp/stdin ;;
22121 - # Absolute (can't be DOS-style, as IFS=:)
22122 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22123 + # Absolute (can't be DOS-style, as IFS=:)
22124 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22125 echo "$as_me: error: cannot find input file: $f" >&2;}
22126 { (exit 1); exit 1; }; }
22130 - if test -f "$f"; then
22133 - elif test -f "$srcdir/$f"; then
22138 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22139 + if test -f "$f"; then
22142 + elif test -f "$srcdir/$f"; then
22144 + echo "$srcdir/$f"
22147 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22148 echo "$as_me: error: cannot find input file: $f" >&2;}
22149 { (exit 1); exit 1; }; }
22153 done` || { (exit 1); exit 1; }
22155 + if test x"$ac_file" != x-; then
22156 + { echo "$as_me:$LINENO: creating $ac_file" >&5
22157 +echo "$as_me: creating $ac_file" >&6;}
22161 cat >>$CONFIG_STATUS <<_ACEOF
22163 @@ -9453,12 +9754,12 @@
22164 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22166 # ac_d sets the value in "#define NAME VALUE" lines.
22167 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22168 -ac_dB='[ ].*$,\1#\2'
22169 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22170 +ac_dB='[ ].*$,\1#\2'
22173 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22174 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22175 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22176 ac_uB='$,\1#\2define\3'
22179 @@ -9467,11 +9768,11 @@
22180 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22182 - | *:- | *:-:* ) # input from stdin
22184 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22185 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22187 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22188 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22189 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22190 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22191 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22192 * ) ac_file_in=$ac_file.in ;;
22195 @@ -9485,28 +9786,29 @@
22197 -) echo $tmp/stdin ;;
22199 - # Absolute (can't be DOS-style, as IFS=:)
22200 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22201 + # Absolute (can't be DOS-style, as IFS=:)
22202 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22203 echo "$as_me: error: cannot find input file: $f" >&2;}
22204 { (exit 1); exit 1; }; }
22206 + # Do quote $f, to prevent DOS paths from being IFS'd.
22209 - if test -f "$f"; then
22212 - elif test -f "$srcdir/$f"; then
22217 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22218 + if test -f "$f"; then
22221 + elif test -f "$srcdir/$f"; then
22223 + echo "$srcdir/$f"
22226 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22227 echo "$as_me: error: cannot find input file: $f" >&2;}
22228 { (exit 1); exit 1; }; }
22232 done` || { (exit 1); exit 1; }
22233 # Remove the trailing spaces.
22234 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22235 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22239 @@ -9529,9 +9831,9 @@
22243 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22244 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22246 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22247 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22250 # If some macros were called several times there might be several times
22251 @@ -9545,13 +9847,13 @@
22252 # example, in the case of _POSIX_SOURCE, which is predefined and required
22253 # on some systems where configure will not decide to define it.
22254 cat >>conftest.undefs <<\_ACEOF
22255 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22256 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22259 # Break up conftest.defines because some shells have a limit on the size
22260 # of here documents, and old seds have small limits too (100 cmds).
22261 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22262 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22263 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22264 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22265 echo ' :' >>$CONFIG_STATUS
22266 rm -f conftest.tail
22267 @@ -9560,7 +9862,7 @@
22268 # Write a limited-size here document to $tmp/defines.sed.
22269 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22270 # Speed up: don't consider the non `#define' lines.
22271 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22272 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22273 # Work around the forget-to-reset-the-flag bug.
22274 echo 't clr' >>$CONFIG_STATUS
22275 echo ': clr' >>$CONFIG_STATUS
22276 @@ -9587,7 +9889,7 @@
22277 # Write a limited-size here document to $tmp/undefs.sed.
22278 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22279 # Speed up: don't consider the non `#undef'
22280 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22281 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22282 # Work around the forget-to-reset-the-flag bug.
22283 echo 't clr' >>$CONFIG_STATUS
22284 echo ': clr' >>$CONFIG_STATUS
22285 @@ -9621,10 +9923,10 @@
22287 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22289 - X"$ac_file" : 'X\(//\)[^/]' \| \
22290 - X"$ac_file" : 'X\(//\)$' \| \
22291 - X"$ac_file" : 'X\(/\)' \| \
22292 - . : '\(.\)' 2>/dev/null ||
22293 + X"$ac_file" : 'X\(//\)[^/]' \| \
22294 + X"$ac_file" : 'X\(//\)$' \| \
22295 + X"$ac_file" : 'X\(/\)' \| \
22296 + . : '\(.\)' 2>/dev/null ||
22298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22300 @@ -9640,10 +9942,10 @@
22301 as_dirs="$as_dir $as_dirs"
22302 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22304 - X"$as_dir" : 'X\(//\)[^/]' \| \
22305 - X"$as_dir" : 'X\(//\)$' \| \
22306 - X"$as_dir" : 'X\(/\)' \| \
22307 - . : '\(.\)' 2>/dev/null ||
22308 + X"$as_dir" : 'X\(//\)[^/]' \| \
22309 + X"$as_dir" : 'X\(//\)$' \| \
22310 + X"$as_dir" : 'X\(/\)' \| \
22311 + . : '\(.\)' 2>/dev/null ||
22313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22315 @@ -9675,16 +9977,41 @@
22316 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22317 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22318 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22319 - X"$ac_dest" : 'X\(//\)[^/]' \| \
22320 - X"$ac_dest" : 'X\(//\)$' \| \
22321 - X"$ac_dest" : 'X\(/\)' \| \
22322 - . : '\(.\)' 2>/dev/null ||
22323 + X"$ac_dest" : 'X\(//\)[^/]' \| \
22324 + X"$ac_dest" : 'X\(//\)$' \| \
22325 + X"$ac_dest" : 'X\(/\)' \| \
22326 + . : '\(.\)' 2>/dev/null ||
22328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22330 /^X\(\/\/\)$/{ s//\1/; q; }
22331 /^X\(\/\).*/{ s//\1/; q; }
22333 + { if $as_mkdir_p; then
22334 + mkdir -p "$ac_dir"
22338 + while test ! -d "$as_dir"; do
22339 + as_dirs="$as_dir $as_dirs"
22340 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
22341 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22342 + X"$as_dir" : 'X\(//\)[^/]' \| \
22343 + X"$as_dir" : 'X\(//\)$' \| \
22344 + X"$as_dir" : 'X\(/\)' \| \
22345 + . : '\(.\)' 2>/dev/null ||
22347 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22348 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22349 + /^X\(\/\/\)$/{ s//\1/; q; }
22350 + /^X\(\/\).*/{ s//\1/; q; }
22353 + test ! -n "$as_dirs" || mkdir $as_dirs
22354 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22355 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22356 + { (exit 1); exit 1; }; }; }
22360 if test "$ac_dir" != .; then
22361 @@ -9710,12 +10037,45 @@
22362 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22363 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22365 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
22367 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
22368 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22369 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22370 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22372 +# Do not use `cd foo && pwd` to compute absolute paths, because
22373 +# the directories may not exist.
22375 +.) ac_abs_builddir="$ac_dir";;
22377 + case "$ac_dir" in
22378 + .) ac_abs_builddir=`pwd`;;
22379 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22380 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
22383 +case $ac_abs_builddir in
22384 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
22386 + case ${ac_top_builddir}. in
22387 + .) ac_abs_top_builddir=$ac_abs_builddir;;
22388 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22389 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22392 +case $ac_abs_builddir in
22393 +.) ac_abs_srcdir=$ac_srcdir;;
22395 + case $ac_srcdir in
22396 + .) ac_abs_srcdir=$ac_abs_builddir;;
22397 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22398 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22401 +case $ac_abs_builddir in
22402 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
22404 + case $ac_top_srcdir in
22405 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
22406 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22407 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22412 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22413 diff -urN linux-atm.old/doc/Makefile.in linux-atm.dev/doc/Makefile.in
22414 --- linux-atm.old/doc/Makefile.in 2005-08-23 01:12:10.885781000 +0200
22415 +++ linux-atm.dev/doc/Makefile.in 2005-08-23 01:12:46.551359544 +0200
22416 @@ -63,24 +63,35 @@
22417 host_triplet = @host@
22418 target_alias = @target_alias@
22419 target_triplet = @target@
22425 DLLTOOL = @DLLTOOL@
22431 +GCJFLAGS = @GCJFLAGS@
22432 +HAVE_LIB = @HAVE_LIB@
22435 LIBTOOL = @LIBTOOL@
22436 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22437 LIBVER_AGE = @LIBVER_AGE@
22438 LIBVER_CURRENT = @LIBVER_CURRENT@
22439 LIBVER_REVISION = @LIBVER_REVISION@
22442 MAKEINFO = @MAKEINFO@
22443 OBJDUMP = @OBJDUMP@
22445 PACKAGE = @PACKAGE@
22450 VERSION = @VERSION@
22452 diff -urN linux-atm.old/m4/Makefile.in linux-atm.dev/m4/Makefile.in
22453 --- linux-atm.old/m4/Makefile.in 2005-08-23 01:12:10.850786000 +0200
22454 +++ linux-atm.dev/m4/Makefile.in 2005-08-23 01:12:46.559358328 +0200
22455 @@ -63,24 +63,35 @@
22456 host_triplet = @host@
22457 target_alias = @target_alias@
22458 target_triplet = @target@
22464 DLLTOOL = @DLLTOOL@
22470 +GCJFLAGS = @GCJFLAGS@
22471 +HAVE_LIB = @HAVE_LIB@
22474 LIBTOOL = @LIBTOOL@
22475 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22476 LIBVER_AGE = @LIBVER_AGE@
22477 LIBVER_CURRENT = @LIBVER_CURRENT@
22478 LIBVER_REVISION = @LIBVER_REVISION@
22481 MAKEINFO = @MAKEINFO@
22482 OBJDUMP = @OBJDUMP@
22484 PACKAGE = @PACKAGE@
22489 VERSION = @VERSION@
22491 diff -urN linux-atm.old/Makefile.in linux-atm.dev/Makefile.in
22492 --- linux-atm.old/Makefile.in 2005-08-23 01:12:10.830789000 +0200
22493 +++ linux-atm.dev/Makefile.in 2005-08-23 01:12:46.542360912 +0200
22494 @@ -63,24 +63,35 @@
22495 host_triplet = @host@
22496 target_alias = @target_alias@
22497 target_triplet = @target@
22503 DLLTOOL = @DLLTOOL@
22509 +GCJFLAGS = @GCJFLAGS@
22510 +HAVE_LIB = @HAVE_LIB@
22513 LIBTOOL = @LIBTOOL@
22514 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22515 LIBVER_AGE = @LIBVER_AGE@
22516 LIBVER_CURRENT = @LIBVER_CURRENT@
22517 LIBVER_REVISION = @LIBVER_REVISION@
22520 MAKEINFO = @MAKEINFO@
22521 OBJDUMP = @OBJDUMP@
22523 PACKAGE = @PACKAGE@
22528 VERSION = @VERSION@
22530 diff -urN linux-atm.old/src/br2684/Makefile.in linux-atm.dev/src/br2684/Makefile.in
22531 --- linux-atm.old/src/br2684/Makefile.in 2005-08-23 01:12:10.884781000 +0200
22532 +++ linux-atm.dev/src/br2684/Makefile.in 2005-08-23 01:12:46.632347232 +0200
22533 @@ -57,11 +57,15 @@
22534 NORMAL_UNINSTALL = :
22537 +build_alias = @build_alias@
22538 +build_triplet = @build@
22539 host_alias = @host_alias@
22540 host_triplet = @host@
22541 +target_alias = @target_alias@
22542 +target_triplet = @target@
22545 -CC = /usr/src/openwrt/staging_dir_mipsel/bin/mipsel-linux-gcc
22549 DLLTOOL = @DLLTOOL@
22550 @@ -117,9 +121,9 @@
22551 br2684ctl_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
22552 br2684ctl_LDFLAGS =
22554 -COMPILE = $(TARGET_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22555 -LTCOMPILE = $(LIBTOOL) --mode=compile $(TARGET_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22556 -CCLD = $(TARGET_CC)
22557 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22558 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
22560 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
22561 man8dir = $(mandir)/man8
22563 diff -urN linux-atm.old/src/include/Makefile.in linux-atm.dev/src/include/Makefile.in
22564 --- linux-atm.old/src/include/Makefile.in 2005-08-23 01:12:10.851786000 +0200
22565 +++ linux-atm.dev/src/include/Makefile.in 2005-08-23 01:12:46.585354376 +0200
22566 @@ -63,24 +63,35 @@
22567 host_triplet = @host@
22568 target_alias = @target_alias@
22569 target_triplet = @target@
22575 DLLTOOL = @DLLTOOL@
22581 +GCJFLAGS = @GCJFLAGS@
22582 +HAVE_LIB = @HAVE_LIB@
22585 LIBTOOL = @LIBTOOL@
22586 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22587 LIBVER_AGE = @LIBVER_AGE@
22588 LIBVER_CURRENT = @LIBVER_CURRENT@
22589 LIBVER_REVISION = @LIBVER_REVISION@
22592 MAKEINFO = @MAKEINFO@
22593 OBJDUMP = @OBJDUMP@
22595 PACKAGE = @PACKAGE@
22600 VERSION = @VERSION@
22602 diff -urN linux-atm.old/src/lib/Makefile.in linux-atm.dev/src/lib/Makefile.in
22603 --- linux-atm.old/src/lib/Makefile.in 2005-08-23 01:12:10.852786000 +0200
22604 +++ linux-atm.dev/src/lib/Makefile.in 2005-08-23 01:12:46.607351032 +0200
22605 @@ -65,24 +65,35 @@
22606 host_triplet = @host@
22607 target_alias = @target_alias@
22608 target_triplet = @target@
22614 DLLTOOL = @DLLTOOL@
22620 +GCJFLAGS = @GCJFLAGS@
22621 +HAVE_LIB = @HAVE_LIB@
22624 LIBTOOL = @LIBTOOL@
22625 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22626 LIBVER_AGE = @LIBVER_AGE@
22627 LIBVER_CURRENT = @LIBVER_CURRENT@
22628 LIBVER_REVISION = @LIBVER_REVISION@
22631 MAKEINFO = @MAKEINFO@
22632 OBJDUMP = @OBJDUMP@
22634 PACKAGE = @PACKAGE@
22639 VERSION = @VERSION@
22641 diff -urN linux-atm.old/src/Makefile.in linux-atm.dev/src/Makefile.in
22642 --- linux-atm.old/src/Makefile.in 2005-08-23 01:12:10.851786000 +0200
22643 +++ linux-atm.dev/src/Makefile.in 2005-08-23 01:12:46.572356352 +0200
22644 @@ -63,30 +63,40 @@
22645 host_triplet = @host@
22646 target_alias = @target_alias@
22647 target_triplet = @target@
22653 DLLTOOL = @DLLTOOL@
22659 +GCJFLAGS = @GCJFLAGS@
22660 +HAVE_LIB = @HAVE_LIB@
22663 LIBTOOL = @LIBTOOL@
22664 LIBTOOL_DEPS = @LIBTOOL_DEPS@
22665 LIBVER_AGE = @LIBVER_AGE@
22666 LIBVER_CURRENT = @LIBVER_CURRENT@
22667 LIBVER_REVISION = @LIBVER_REVISION@
22670 MAKEINFO = @MAKEINFO@
22671 OBJDUMP = @OBJDUMP@
22673 PACKAGE = @PACKAGE@
22678 VERSION = @VERSION@
22681 -SUBDIRS = include lib
22683 +SUBDIRS = include lib br2684
22684 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
22685 CONFIG_HEADER = ../config.h
22686 CONFIG_CLEAN_FILES =