1 Author: gregor herrmann <gregoa@debian.org>
3 Description: We need a newer libtool at least for amd64.
5 This patch basically is the result of:
6 libtoolize --force --copy
9 fakeroot debian/rules clean
11 Cf. http://people.dooz.org/~lool/debian/relibtoolize
17 # From configure.in Revision: 1.36 .
18 # Guess values for system-dependent variables and create Makefiles.
19 -# Generated by GNU Autoconf 2.60.
20 +# Generated by GNU Autoconf 2.61.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
23 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
25 ## M4sh Initialization. ##
26 ## --------------------- ##
28 -# Be Bourne compatible
29 +# Be more Bourne compatible
30 +DUALCASE=1; export DUALCASE # for MKS sh
31 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35 alias -g '${1+"$@"}'='"$@"'
38 - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
39 + case `(set -o) 2>/dev/null` in
40 + *posix*) set -o posix ;;
44 -BIN_SH=xpg4; export BIN_SH # for Tru64
45 -DUALCASE=1; export DUALCASE # for MKS sh
54 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55 -for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
56 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
59 test -z "$as_dir" && as_dir=.
61 # Try only shells that exist, to save several forks.
62 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
63 { ("$as_shell") 2> /dev/null <<\_ASEOF
64 -# Be Bourne compatible
65 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
69 alias -g '${1+"$@"}'='"$@"'
72 - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
73 + case `(set -o) 2>/dev/null` in
74 + *posix*) set -o posix ;;
78 -BIN_SH=xpg4; export BIN_SH # for Tru64
79 -DUALCASE=1; export DUALCASE # for MKS sh
85 CONFIG_SHELL=$as_shell
87 if { "$as_shell" 2> /dev/null <<\_ASEOF
88 -# Be Bourne compatible
89 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
93 alias -g '${1+"$@"}'='"$@"'
96 - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
97 + case `(set -o) 2>/dev/null` in
98 + *posix*) set -o posix ;;
102 -BIN_SH=xpg4; export BIN_SH # for Tru64
103 -DUALCASE=1; export DUALCASE # for MKS sh
108 @@ -513,19 +519,28 @@
112 -# Find out whether ``test -x'' works. Don't use a zero-byte file, as
113 -# systems may use methods other than mode bits to determine executability.
114 -cat >conf$$.file <<_ASEOF
118 -chmod +x conf$$.file
119 -if test -x conf$$.file >/dev/null 2>&1; then
120 - as_executable_p="test -x"
121 +if test -x / >/dev/null 2>&1; then
122 + as_test_x='test -x'
125 + if ls -dL / >/dev/null 2>&1; then
132 + if test -d "$1"; then
138 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
139 + ???[sx]*):;;*)false;;esac;fi
144 +as_executable_p=$as_test_x
146 # Sed expression to map a string onto a valid CPP name.
147 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
148 @@ -572,15 +587,15 @@
150 # The HP-UX ksh and POSIX shell print the target directory to stdout
152 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
153 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155 if test -z "$ECHO"; then
156 if test "X${echo_test_string+set}" != Xset; then
157 # find a string as large as possible, as long as the shell can cope with it
158 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
159 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
160 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
161 - echo_test_string="`eval $cmd`" &&
162 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
163 + echo_test_string=`eval $cmd` &&
164 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
171 -tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
172 +tagnames=${tagnames+${tagnames},}CXX
174 -tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
175 +tagnames=${tagnames+${tagnames},}F77
177 exec 7<&0 </dev/null 6>&1
179 @@ -720,36 +735,36 @@
180 # Factoring default headers for most tests.
181 ac_includes_default="\
183 -#if HAVE_SYS_TYPES_H
184 +#ifdef HAVE_SYS_TYPES_H
185 # include <sys/types.h>
188 +#ifdef HAVE_SYS_STAT_H
189 # include <sys/stat.h>
197 +# ifdef HAVE_STDLIB_H
202 -# if !STDC_HEADERS && HAVE_MEMORY_H
203 +#ifdef HAVE_STRING_H
204 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
210 +#ifdef HAVE_STRINGS_H
211 # include <strings.h>
214 +#ifdef HAVE_INTTYPES_H
215 # include <inttypes.h>
218 +#ifdef HAVE_STDINT_H
222 +#ifdef HAVE_UNISTD_H
226 @@ -832,12 +847,15 @@
250 @@ -971,10 +990,10 @@
251 -disable-* | --disable-*)
252 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
253 # Reject names that are not valid shell variable names.
254 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
255 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
256 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
257 { (exit 1); exit 1; }; }
258 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
259 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
260 eval enable_$ac_feature=no ;;
262 -docdir | --docdir | --docdi | --doc | --do)
263 @@ -990,10 +1009,10 @@
264 -enable-* | --enable-*)
265 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
266 # Reject names that are not valid shell variable names.
267 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
268 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
269 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
270 { (exit 1); exit 1; }; }
271 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
272 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
273 eval enable_$ac_feature=\$ac_optarg ;;
275 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
276 @@ -1187,19 +1206,19 @@
278 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
279 # Reject names that are not valid shell variable names.
280 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
281 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
282 { echo "$as_me: error: invalid package name: $ac_package" >&2
283 { (exit 1); exit 1; }; }
284 - ac_package=`echo $ac_package| sed 's/-/_/g'`
285 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
286 eval with_$ac_package=\$ac_optarg ;;
288 -without-* | --without-*)
289 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
290 # Reject names that are not valid shell variable names.
291 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
292 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
293 { echo "$as_me: error: invalid package name: $ac_package" >&2
294 { (exit 1); exit 1; }; }
295 - ac_package=`echo $ac_package | sed 's/-/_/g'`
296 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
297 eval with_$ac_package=no ;;
300 @@ -1471,6 +1490,7 @@
301 CFLAGS C compiler flags
302 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
303 nonstandard directory <lib dir>
304 + LIBS libraries to pass to the linker, e.g. -l<library>
305 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
306 you have headers in a nonstandard directory <include dir>
308 @@ -1544,7 +1564,7 @@
309 if $ac_init_version; then
312 -generated by GNU Autoconf 2.60
313 +generated by GNU Autoconf 2.61
315 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
316 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
317 @@ -1558,7 +1578,7 @@
318 running configure, to aid debugging if configure makes a mistake.
320 It was created by $as_me, which was
321 -generated by GNU Autoconf 2.60. Invocation command line was
322 +generated by GNU Autoconf 2.61. Invocation command line was
326 @@ -2097,7 +2117,7 @@
328 for ac_prog in ginstall scoinst install; do
329 for ac_exec_ext in '' $ac_executable_extensions; do
330 - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
331 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
332 if test $ac_prog = install &&
333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
334 # AIX install. It has an incompatible calling convention.
335 @@ -2231,7 +2251,7 @@
337 test -z "$as_dir" && as_dir=.
338 for ac_exec_ext in '' $ac_executable_extensions; do
339 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
340 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
341 ac_cv_prog_AWK="$ac_prog"
342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
344 @@ -2350,7 +2370,7 @@
346 test -z "$as_dir" && as_dir=.
347 for ac_exec_ext in '' $ac_executable_extensions; do
348 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
349 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
350 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
353 @@ -2390,7 +2410,7 @@
355 test -z "$as_dir" && as_dir=.
356 for ac_exec_ext in '' $ac_executable_extensions; do
357 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
358 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
359 ac_cv_prog_ac_ct_STRIP="strip"
360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
362 @@ -2466,7 +2486,7 @@
364 test -z "$as_dir" && as_dir=.
365 for ac_exec_ext in '' $ac_executable_extensions; do
366 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
367 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
368 ac_cv_prog_CC="${ac_tool_prefix}gcc"
369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
371 @@ -2506,7 +2526,7 @@
373 test -z "$as_dir" && as_dir=.
374 for ac_exec_ext in '' $ac_executable_extensions; do
375 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
376 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
377 ac_cv_prog_ac_ct_CC="gcc"
378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
380 @@ -2563,7 +2583,7 @@
382 test -z "$as_dir" && as_dir=.
383 for ac_exec_ext in '' $ac_executable_extensions; do
384 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
385 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
386 ac_cv_prog_CC="${ac_tool_prefix}cc"
387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
389 @@ -2604,7 +2624,7 @@
391 test -z "$as_dir" && as_dir=.
392 for ac_exec_ext in '' $ac_executable_extensions; do
393 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
394 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
395 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
398 @@ -2662,7 +2682,7 @@
400 test -z "$as_dir" && as_dir=.
401 for ac_exec_ext in '' $ac_executable_extensions; do
402 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
403 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
404 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
407 @@ -2706,7 +2726,7 @@
409 test -z "$as_dir" && as_dir=.
410 for ac_exec_ext in '' $ac_executable_extensions; do
411 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
412 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
413 ac_cv_prog_ac_ct_CC="$ac_prog"
414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
416 @@ -2847,7 +2867,7 @@
417 # in a Makefile. We should not override ac_cv_exeext if it was cached,
418 # so that the user can short-circuit this test for compilers unknown to
420 -for ac_file in $ac_files
421 +for ac_file in $ac_files ''
423 test -f "$ac_file" || continue
425 @@ -2875,6 +2895,12 @@
426 test "$ac_cv_exeext" = no && ac_cv_exeext=
432 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
433 +echo "${ECHO_T}$ac_file" >&6; }
434 +if test -z "$ac_file"; then
435 echo "$as_me: failed program was:" >&5
436 sed 's/^/| /' conftest.$ac_ext >&5
438 @@ -2886,8 +2912,6 @@
441 ac_exeext=$ac_cv_exeext
442 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
443 -echo "${ECHO_T}$ac_file" >&6; }
445 # Check that the compiler produces executables we can run. If not, either
446 # the compiler is broken, or we cross compile.
447 @@ -3065,27 +3089,10 @@
450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
451 - (exit $ac_status); } &&
452 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
453 - { (case "(($ac_try" in
454 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
455 - *) ac_try_echo=$ac_try;;
457 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
458 - (eval "$ac_try") 2>&5
460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
461 - (exit $ac_status); }; } &&
462 - { ac_try='test -s conftest.$ac_objext'
463 - { (case "(($ac_try" in
464 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
465 - *) ac_try_echo=$ac_try;;
467 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
468 - (eval "$ac_try") 2>&5
470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
471 - (exit $ac_status); }; }; then
472 + (exit $ac_status); } && {
473 + test -z "$ac_c_werror_flag" ||
474 + test ! -s conftest.err
475 + } && test -s conftest.$ac_objext; then
478 echo "$as_me: failed program was:" >&5
479 @@ -3140,27 +3147,10 @@
482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
483 - (exit $ac_status); } &&
484 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
485 - { (case "(($ac_try" in
486 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
487 - *) ac_try_echo=$ac_try;;
489 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
490 - (eval "$ac_try") 2>&5
492 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
493 - (exit $ac_status); }; } &&
494 - { ac_try='test -s conftest.$ac_objext'
495 - { (case "(($ac_try" in
496 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
497 - *) ac_try_echo=$ac_try;;
499 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
500 - (eval "$ac_try") 2>&5
502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
503 - (exit $ac_status); }; }; then
504 + (exit $ac_status); } && {
505 + test -z "$ac_c_werror_flag" ||
506 + test ! -s conftest.err
507 + } && test -s conftest.$ac_objext; then
510 echo "$as_me: failed program was:" >&5
511 @@ -3195,27 +3185,10 @@
514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
515 - (exit $ac_status); } &&
516 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
517 - { (case "(($ac_try" in
518 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
519 - *) ac_try_echo=$ac_try;;
521 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
522 - (eval "$ac_try") 2>&5
524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
525 - (exit $ac_status); }; } &&
526 - { ac_try='test -s conftest.$ac_objext'
527 - { (case "(($ac_try" in
528 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
529 - *) ac_try_echo=$ac_try;;
531 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
532 - (eval "$ac_try") 2>&5
534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
535 - (exit $ac_status); }; }; then
536 + (exit $ac_status); } && {
537 + test -z "$ac_c_werror_flag" ||
538 + test ! -s conftest.err
539 + } && test -s conftest.$ac_objext; then
542 echo "$as_me: failed program was:" >&5
543 @@ -3251,27 +3224,10 @@
546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
547 - (exit $ac_status); } &&
548 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
549 - { (case "(($ac_try" in
550 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
551 - *) ac_try_echo=$ac_try;;
553 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
554 - (eval "$ac_try") 2>&5
556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
557 - (exit $ac_status); }; } &&
558 - { ac_try='test -s conftest.$ac_objext'
559 - { (case "(($ac_try" in
560 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
561 - *) ac_try_echo=$ac_try;;
563 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
564 - (eval "$ac_try") 2>&5
566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
567 - (exit $ac_status); }; }; then
568 + (exit $ac_status); } && {
569 + test -z "$ac_c_werror_flag" ||
570 + test ! -s conftest.err
571 + } && test -s conftest.$ac_objext; then
574 echo "$as_me: failed program was:" >&5
575 @@ -3387,27 +3343,10 @@
578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
579 - (exit $ac_status); } &&
580 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
581 - { (case "(($ac_try" in
582 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
583 - *) ac_try_echo=$ac_try;;
585 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
586 - (eval "$ac_try") 2>&5
588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
589 - (exit $ac_status); }; } &&
590 - { ac_try='test -s conftest.$ac_objext'
591 - { (case "(($ac_try" in
592 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
593 - *) ac_try_echo=$ac_try;;
595 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
596 - (eval "$ac_try") 2>&5
598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
599 - (exit $ac_status); }; }; then
600 + (exit $ac_status); } && {
601 + test -z "$ac_c_werror_flag" ||
602 + test ! -s conftest.err
603 + } && test -s conftest.$ac_objext; then
604 ac_cv_prog_cc_c89=$ac_arg
606 echo "$as_me: failed program was:" >&5
607 @@ -3702,18 +3641,19 @@
608 test -z "$as_dir" && as_dir=.
609 for lt_ac_prog in sed gsed; do
610 for ac_exec_ext in '' $ac_executable_extensions; do
611 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
612 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
613 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
621 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
622 # along with /bin/sed that truncates output.
623 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
624 - test ! -f $lt_ac_sed && break
625 + test ! -f $lt_ac_sed && continue
626 cat /dev/null > conftest.in
628 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
629 @@ -3738,10 +3678,11 @@
639 { echo "$as_me:$LINENO: result: $SED" >&5
640 echo "${ECHO_T}$SED" >&6; }
642 @@ -3766,7 +3707,7 @@
643 for ac_prog in grep ggrep; do
644 for ac_exec_ext in '' $ac_executable_extensions; do
645 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
646 - { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
647 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
648 # Check for GNU ac_path_GREP and select it if it is found.
649 # Check for GNU $ac_path_GREP
650 case `"$ac_path_GREP" --version 2>&1` in
651 @@ -3848,7 +3789,7 @@
652 for ac_prog in egrep; do
653 for ac_exec_ext in '' $ac_executable_extensions; do
654 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
655 - { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
656 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
657 # Check for GNU ac_path_EGREP and select it if it is found.
658 # Check for GNU $ac_path_EGREP
659 case `"$ac_path_EGREP" --version 2>&1` in
660 @@ -3931,7 +3872,7 @@
661 # Accept absolute paths.
663 re_direlt='/[^/][^/]*/\.\./'
664 - # Canonicalize the path of ld
665 + # Canonicalize the pathname of ld
666 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
667 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
668 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
669 @@ -3965,7 +3906,7 @@
670 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
671 lt_cv_path_LD="$ac_dir/$ac_prog"
672 # Check to see if the program is GNU ld. I'd rather use --version,
673 - # but apparently some GNU ld's only accept -v.
674 + # but apparently some variants of GNU ld only accept -v.
675 # Break only if it was the GNU/non-GNU ld that we prefer.
676 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
677 *GNU* | *'with BFD'*)
678 @@ -3999,8 +3940,8 @@
679 if test "${lt_cv_prog_gnu_ld+set}" = set; then
680 echo $ECHO_N "(cached) $ECHO_C" >&6
682 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
683 -case `"$LD" -v 2>&1 </dev/null` in
684 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
685 +case `$LD -v 2>&1 </dev/null` in
686 *GNU* | *'with BFD'*)
687 lt_cv_prog_gnu_ld=yes
689 @@ -4028,7 +3969,16 @@
691 *) reload_flag=" $reload_flag" ;;
693 -reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs'
694 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
697 + if test "$GCC" = yes; then
698 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
700 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
705 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
706 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
707 @@ -4039,36 +3989,43 @@
708 # Let the user override the test.
711 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
712 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
714 - test -z "$ac_dir" && ac_dir=.
715 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
716 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
717 - # Check to see if the nm accepts a BSD-compat flag.
718 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
719 - # nm: unknown option "B" ignored
720 - # Tru64's nm complains that /dev/null is an invalid object file
721 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
722 - */dev/null* | *'Invalid file or object type'*)
723 - lt_cv_path_NM="$tmp_nm -B"
727 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
729 - lt_cv_path_NM="$tmp_nm -p"
730 + lt_nm_to_check="${ac_tool_prefix}nm"
731 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
732 + lt_nm_to_check="$lt_nm_to_check nm"
734 + for lt_tmp_nm in $lt_nm_to_check; do
735 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
736 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
738 + test -z "$ac_dir" && ac_dir=.
739 + tmp_nm="$ac_dir/$lt_tmp_nm"
740 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
741 + # Check to see if the nm accepts a BSD-compat flag.
742 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
743 + # nm: unknown option "B" ignored
744 + # Tru64's nm complains that /dev/null is an invalid object file
745 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
746 + */dev/null* | *'Invalid file or object type'*)
747 + lt_cv_path_NM="$tmp_nm -B"
751 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
752 - continue # so that we can try to find one that supports BSD flags
753 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
755 + lt_cv_path_NM="$tmp_nm -p"
759 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
760 + continue # so that we can try to find one that supports BSD flags
772 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
775 @@ -4087,8 +4044,8 @@
776 echo "${ECHO_T}no, using $LN_S" >&6; }
779 -{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
780 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
781 +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
782 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
783 if test "${lt_cv_deplibs_check_method+set}" = set; then
784 echo $ECHO_N "(cached) $ECHO_C" >&6
786 @@ -4107,7 +4064,7 @@
787 # whether `pass_all' will *always* work, you probably want this one.
792 lt_cv_deplibs_check_method=pass_all
795 @@ -4115,40 +4072,42 @@
796 lt_cv_deplibs_check_method=pass_all
801 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
802 lt_cv_file_magic_cmd='/usr/bin/file -L'
803 lt_cv_file_magic_test_file=/shlib/libc.so
806 -cygwin* | mingw* | pw32*)
807 - # win32_libid is a shell function defined in ltmain.sh
809 + # func_win32_libid is a shell function defined in ltmain.sh
810 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
811 - lt_cv_file_magic_cmd='win32_libid'
812 + lt_cv_file_magic_cmd='func_win32_libid'
816 + # Base MSYS/MinGW do not provide the 'file' command needed by
817 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
818 + # unless we find 'file', for example because we are cross-compiling.
819 + if ( file / ) >/dev/null 2>&1; then
820 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
821 + lt_cv_file_magic_cmd='func_win32_libid'
823 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
824 + lt_cv_file_magic_cmd='$OBJDUMP -f'
829 - # this will be overwritten by pass_all, but leave it in just in case
830 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
831 - lt_cv_file_magic_cmd='/usr/bin/file -L'
833 - rhapsody* | darwin1.[012])
834 - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
837 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
840 lt_cv_deplibs_check_method=pass_all
844 +freebsd* | dragonfly*)
845 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
848 # Not sure whether the presence of OpenBSD here was a mistake.
849 # Let's accept both of them until this is cleared up.
850 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
851 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
852 lt_cv_file_magic_cmd=/usr/bin/file
853 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
855 @@ -4164,7 +4123,7 @@
857 hpux10.20* | hpux11*)
858 lt_cv_file_magic_cmd=/usr/bin/file
859 - case "$host_cpu" in
862 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
863 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
864 @@ -4180,40 +4139,27 @@
869 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
870 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
873 irix5* | irix6* | nonstopux*)
875 - irix5* | nonstopux*)
876 - # this will be overridden with pass_all, but let us keep it just in case
877 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
881 - *-32|*"-32 ") libmagic=32-bit;;
882 - *-n32|*"-n32 ") libmagic=N32;;
883 - *-64|*"-64 ") libmagic=64-bit;;
884 - *) libmagic=never-match;;
886 - # this will be overridden with pass_all, but let us keep it just in case
887 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
890 + *-32|*"-32 ") libmagic=32-bit;;
891 + *-n32|*"-n32 ") libmagic=N32;;
892 + *-64|*"-64 ") libmagic=64-bit;;
893 + *) libmagic=never-match;;
895 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
896 lt_cv_deplibs_check_method=pass_all
899 # This must be Linux ELF.
902 - alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
903 - lt_cv_deplibs_check_method=pass_all ;;
905 - # glibc up to 2.1.1 does not perform some relocations on ARM
906 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
908 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
909 +linux* | k*bsd*-gnu)
910 + lt_cv_deplibs_check_method=pass_all
914 +netbsd* | netbsdelf*-gnu)
915 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
916 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
918 @@ -4227,37 +4173,31 @@
919 lt_cv_file_magic_test_file=/usr/lib/libnls.so
924 lt_cv_deplibs_check_method=unknown
928 - lt_cv_file_magic_cmd=/usr/bin/file
929 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
930 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
931 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
932 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
934 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
935 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
939 osf3* | osf4* | osf5*)
940 - # this will be overridden with pass_all, but let us keep it just in case
941 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
942 - lt_cv_file_magic_test_file=/shlib/libc.so
943 lt_cv_deplibs_check_method=pass_all
948 lt_cv_deplibs_check_method=pass_all
952 lt_cv_deplibs_check_method=pass_all
953 - lt_cv_file_magic_test_file=/lib/libc.so
956 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
960 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]'
961 @@ -4278,10 +4218,13 @@
963 lt_cv_deplibs_check_method=pass_all
966 + lt_cv_deplibs_check_method=pass_all
971 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
972 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
973 lt_cv_deplibs_check_method=pass_all
976 @@ -4299,6 +4242,9 @@
977 # If no C compiler was specified, use CC.
980 +# If no C compiler flags were specified, use CFLAGS.
981 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
983 # Allow CC to be a program name with arguments.
986 @@ -4334,7 +4280,7 @@
989 # Find out which ABI we are using.
990 - echo '#line 4337 "configure"' > conftest.$ac_ext
991 + echo '#line 4283 "configure"' > conftest.$ac_ext
992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
993 (eval $ac_compile) 2>&5
995 @@ -4369,7 +4315,8 @@
999 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1000 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1001 +s390*-*linux*|sparc*-*linux*)
1002 # Find out which ABI we are using.
1003 echo 'int i;' > conftest.$ac_ext
1004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1005 @@ -4377,13 +4324,16 @@
1007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1008 (exit $ac_status); }; then
1009 - case "`/usr/bin/file conftest.o`" in
1010 + case `/usr/bin/file conftest.o` in
1013 + x86_64-*kfreebsd*-gnu)
1014 + LD="${LD-ld} -m elf_i386_fbsd"
1017 LD="${LD-ld} -m elf_i386"
1020 + ppc64-*linux*|powerpc64-*linux*)
1021 LD="${LD-ld} -m elf32ppclinux"
1024 @@ -4396,6 +4346,9 @@
1028 + x86_64-*kfreebsd*-gnu)
1029 + LD="${LD-ld} -m elf_x86_64_fbsd"
1032 LD="${LD-ld} -m elf_x86_64"
1034 @@ -4458,27 +4411,11 @@
1036 cat conftest.err >&5
1037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1038 - (exit $ac_status); } &&
1039 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1040 - { (case "(($ac_try" in
1041 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1042 - *) ac_try_echo=$ac_try;;
1044 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1045 - (eval "$ac_try") 2>&5
1047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1048 - (exit $ac_status); }; } &&
1049 - { ac_try='test -s conftest$ac_exeext'
1050 - { (case "(($ac_try" in
1051 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1052 - *) ac_try_echo=$ac_try;;
1054 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1055 - (eval "$ac_try") 2>&5
1057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1058 - (exit $ac_status); }; }; then
1059 + (exit $ac_status); } && {
1060 + test -z "$ac_c_werror_flag" ||
1061 + test ! -s conftest.err
1062 + } && test -s conftest$ac_exeext &&
1063 + $as_test_x conftest$ac_exeext; then
1064 lt_cv_cc_needs_belf=yes
1066 echo "$as_me: failed program was:" >&5
1067 @@ -4487,7 +4424,7 @@
1068 lt_cv_cc_needs_belf=no
1071 -rm -f core conftest.err conftest.$ac_objext \
1072 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1073 conftest$ac_exeext conftest.$ac_ext
1075 ac_cpp='$CPP $CPPFLAGS'
1076 @@ -4503,6 +4440,30 @@
1077 CFLAGS="$SAVE_CFLAGS"
1081 + # Find out which ABI we are using.
1082 + echo 'int i;' > conftest.$ac_ext
1083 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1084 + (eval $ac_compile) 2>&5
1086 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1087 + (exit $ac_status); }; then
1088 + case `/usr/bin/file conftest.o` in
1090 + case $lt_cv_prog_gnu_ld in
1091 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
1093 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1107 @@ -4561,17 +4522,10 @@
1109 cat conftest.err >&5
1110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1111 - (exit $ac_status); } >/dev/null; then
1112 - if test -s conftest.err; then
1113 - ac_cpp_err=$ac_c_preproc_warn_flag
1114 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1121 -if test -z "$ac_cpp_err"; then
1122 + (exit $ac_status); } >/dev/null && {
1123 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1124 + test ! -s conftest.err
1128 echo "$as_me: failed program was:" >&5
1129 @@ -4605,17 +4559,10 @@
1131 cat conftest.err >&5
1132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1133 - (exit $ac_status); } >/dev/null; then
1134 - if test -s conftest.err; then
1135 - ac_cpp_err=$ac_c_preproc_warn_flag
1136 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1143 -if test -z "$ac_cpp_err"; then
1144 + (exit $ac_status); } >/dev/null && {
1145 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1146 + test ! -s conftest.err
1148 # Broken: success on invalid input.
1151 @@ -4680,17 +4627,10 @@
1153 cat conftest.err >&5
1154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1155 - (exit $ac_status); } >/dev/null; then
1156 - if test -s conftest.err; then
1157 - ac_cpp_err=$ac_c_preproc_warn_flag
1158 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1165 -if test -z "$ac_cpp_err"; then
1166 + (exit $ac_status); } >/dev/null && {
1167 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1168 + test ! -s conftest.err
1172 echo "$as_me: failed program was:" >&5
1173 @@ -4724,17 +4664,10 @@
1175 cat conftest.err >&5
1176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1177 - (exit $ac_status); } >/dev/null; then
1178 - if test -s conftest.err; then
1179 - ac_cpp_err=$ac_c_preproc_warn_flag
1180 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1187 -if test -z "$ac_cpp_err"; then
1188 + (exit $ac_status); } >/dev/null && {
1189 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1190 + test ! -s conftest.err
1192 # Broken: success on invalid input.
1195 @@ -4805,27 +4738,10 @@
1197 cat conftest.err >&5
1198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1199 - (exit $ac_status); } &&
1200 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1201 - { (case "(($ac_try" in
1202 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1203 - *) ac_try_echo=$ac_try;;
1205 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1206 - (eval "$ac_try") 2>&5
1208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1209 - (exit $ac_status); }; } &&
1210 - { ac_try='test -s conftest.$ac_objext'
1211 - { (case "(($ac_try" in
1212 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1213 - *) ac_try_echo=$ac_try;;
1215 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1216 - (eval "$ac_try") 2>&5
1218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1219 - (exit $ac_status); }; }; then
1220 + (exit $ac_status); } && {
1221 + test -z "$ac_c_werror_flag" ||
1222 + test ! -s conftest.err
1223 + } && test -s conftest.$ac_objext; then
1224 ac_cv_header_stdc=yes
1226 echo "$as_me: failed program was:" >&5
1227 @@ -5001,27 +4917,10 @@
1229 cat conftest.err >&5
1230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1231 - (exit $ac_status); } &&
1232 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1233 - { (case "(($ac_try" in
1234 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1235 - *) ac_try_echo=$ac_try;;
1237 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1238 - (eval "$ac_try") 2>&5
1240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1241 - (exit $ac_status); }; } &&
1242 - { ac_try='test -s conftest.$ac_objext'
1243 - { (case "(($ac_try" in
1244 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1245 - *) ac_try_echo=$ac_try;;
1247 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1248 - (eval "$ac_try") 2>&5
1250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1251 - (exit $ac_status); }; }; then
1252 + (exit $ac_status); } && {
1253 + test -z "$ac_c_werror_flag" ||
1254 + test ! -s conftest.err
1255 + } && test -s conftest.$ac_objext; then
1256 eval "$as_ac_Header=yes"
1258 echo "$as_me: failed program was:" >&5
1259 @@ -5084,27 +4983,10 @@
1261 cat conftest.err >&5
1262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1263 - (exit $ac_status); } &&
1264 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1265 - { (case "(($ac_try" in
1266 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1267 - *) ac_try_echo=$ac_try;;
1269 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1270 - (eval "$ac_try") 2>&5
1272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1273 - (exit $ac_status); }; } &&
1274 - { ac_try='test -s conftest.$ac_objext'
1275 - { (case "(($ac_try" in
1276 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1277 - *) ac_try_echo=$ac_try;;
1279 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1280 - (eval "$ac_try") 2>&5
1282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1283 - (exit $ac_status); }; }; then
1284 + (exit $ac_status); } && {
1285 + test -z "$ac_c_werror_flag" ||
1286 + test ! -s conftest.err
1287 + } && test -s conftest.$ac_objext; then
1288 ac_header_compiler=yes
1290 echo "$as_me: failed program was:" >&5
1291 @@ -5140,17 +5022,10 @@
1293 cat conftest.err >&5
1294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1295 - (exit $ac_status); } >/dev/null; then
1296 - if test -s conftest.err; then
1297 - ac_cpp_err=$ac_c_preproc_warn_flag
1298 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1305 -if test -z "$ac_cpp_err"; then
1306 + (exit $ac_status); } >/dev/null && {
1307 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1308 + test ! -s conftest.err
1310 ac_header_preproc=yes
1312 echo "$as_me: failed program was:" >&5
1313 @@ -5237,7 +5112,7 @@
1315 test -z "$as_dir" && as_dir=.
1316 for ac_exec_ext in '' $ac_executable_extensions; do
1317 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1318 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1319 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1322 @@ -5281,7 +5156,7 @@
1324 test -z "$as_dir" && as_dir=.
1325 for ac_exec_ext in '' $ac_executable_extensions; do
1326 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1327 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1328 ac_cv_prog_ac_ct_CXX="$ac_prog"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1331 @@ -5394,27 +5269,10 @@
1333 cat conftest.err >&5
1334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1335 - (exit $ac_status); } &&
1336 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1337 - { (case "(($ac_try" in
1338 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1339 - *) ac_try_echo=$ac_try;;
1341 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1342 - (eval "$ac_try") 2>&5
1344 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1345 - (exit $ac_status); }; } &&
1346 - { ac_try='test -s conftest.$ac_objext'
1347 - { (case "(($ac_try" in
1348 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1349 - *) ac_try_echo=$ac_try;;
1351 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1352 - (eval "$ac_try") 2>&5
1354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1355 - (exit $ac_status); }; }; then
1356 + (exit $ac_status); } && {
1357 + test -z "$ac_cxx_werror_flag" ||
1358 + test ! -s conftest.err
1359 + } && test -s conftest.$ac_objext; then
1362 echo "$as_me: failed program was:" >&5
1363 @@ -5469,27 +5327,10 @@
1365 cat conftest.err >&5
1366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1367 - (exit $ac_status); } &&
1368 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1369 - { (case "(($ac_try" in
1370 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1371 - *) ac_try_echo=$ac_try;;
1373 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1374 - (eval "$ac_try") 2>&5
1376 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1377 - (exit $ac_status); }; } &&
1378 - { ac_try='test -s conftest.$ac_objext'
1379 - { (case "(($ac_try" in
1380 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381 - *) ac_try_echo=$ac_try;;
1383 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1384 - (eval "$ac_try") 2>&5
1386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1387 - (exit $ac_status); }; }; then
1388 + (exit $ac_status); } && {
1389 + test -z "$ac_cxx_werror_flag" ||
1390 + test ! -s conftest.err
1391 + } && test -s conftest.$ac_objext; then
1392 ac_cv_prog_cxx_g=yes
1394 echo "$as_me: failed program was:" >&5
1395 @@ -5524,27 +5365,10 @@
1397 cat conftest.err >&5
1398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1399 - (exit $ac_status); } &&
1400 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1401 - { (case "(($ac_try" in
1402 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 - *) ac_try_echo=$ac_try;;
1405 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1406 - (eval "$ac_try") 2>&5
1408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1409 - (exit $ac_status); }; } &&
1410 - { ac_try='test -s conftest.$ac_objext'
1411 - { (case "(($ac_try" in
1412 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 - *) ac_try_echo=$ac_try;;
1415 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1416 - (eval "$ac_try") 2>&5
1418 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1419 - (exit $ac_status); }; }; then
1420 + (exit $ac_status); } && {
1421 + test -z "$ac_cxx_werror_flag" ||
1422 + test ! -s conftest.err
1423 + } && test -s conftest.$ac_objext; then
1426 echo "$as_me: failed program was:" >&5
1427 @@ -5580,27 +5404,10 @@
1429 cat conftest.err >&5
1430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1431 - (exit $ac_status); } &&
1432 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1433 - { (case "(($ac_try" in
1434 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 - *) ac_try_echo=$ac_try;;
1437 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1438 - (eval "$ac_try") 2>&5
1440 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1441 - (exit $ac_status); }; } &&
1442 - { ac_try='test -s conftest.$ac_objext'
1443 - { (case "(($ac_try" in
1444 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1445 - *) ac_try_echo=$ac_try;;
1447 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1448 - (eval "$ac_try") 2>&5
1450 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1451 - (exit $ac_status); }; }; then
1452 + (exit $ac_status); } && {
1453 + test -z "$ac_cxx_werror_flag" ||
1454 + test ! -s conftest.err
1455 + } && test -s conftest.$ac_objext; then
1456 ac_cv_prog_cxx_g=yes
1458 echo "$as_me: failed program was:" >&5
1459 @@ -5710,7 +5517,12 @@
1460 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1466 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1467 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1468 + (test "X$CXX" != "Xg++"))) ; then
1470 ac_cpp='$CXXCPP $CPPFLAGS'
1471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1473 @@ -5758,17 +5570,10 @@
1475 cat conftest.err >&5
1476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1477 - (exit $ac_status); } >/dev/null; then
1478 - if test -s conftest.err; then
1479 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1480 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1487 -if test -z "$ac_cpp_err"; then
1488 + (exit $ac_status); } >/dev/null && {
1489 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1490 + test ! -s conftest.err
1494 echo "$as_me: failed program was:" >&5
1495 @@ -5802,17 +5607,10 @@
1497 cat conftest.err >&5
1498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1499 - (exit $ac_status); } >/dev/null; then
1500 - if test -s conftest.err; then
1501 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1502 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1509 -if test -z "$ac_cpp_err"; then
1510 + (exit $ac_status); } >/dev/null && {
1511 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1512 + test ! -s conftest.err
1514 # Broken: success on invalid input.
1517 @@ -5877,17 +5675,10 @@
1519 cat conftest.err >&5
1520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1521 - (exit $ac_status); } >/dev/null; then
1522 - if test -s conftest.err; then
1523 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1524 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1531 -if test -z "$ac_cpp_err"; then
1532 + (exit $ac_status); } >/dev/null && {
1533 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1534 + test ! -s conftest.err
1538 echo "$as_me: failed program was:" >&5
1539 @@ -5921,17 +5712,10 @@
1541 cat conftest.err >&5
1542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1543 - (exit $ac_status); } >/dev/null; then
1544 - if test -s conftest.err; then
1545 - ac_cpp_err=$ac_cxx_preproc_warn_flag
1546 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
1553 -if test -z "$ac_cpp_err"; then
1554 + (exit $ac_status); } >/dev/null && {
1555 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1556 + test ! -s conftest.err
1558 # Broken: success on invalid input.
1561 @@ -5964,13 +5748,15 @@
1562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1569 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
1570 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1571 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1572 if test -n "$ac_tool_prefix"; then
1573 - for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
1574 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1578 @@ -5988,7 +5774,7 @@
1580 test -z "$as_dir" && as_dir=.
1581 for ac_exec_ext in '' $ac_executable_extensions; do
1582 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1583 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1584 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587 @@ -6014,7 +5800,7 @@
1589 if test -z "$F77"; then
1591 - for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
1592 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1594 # Extract the first word of "$ac_prog", so it can be a program name with args.
1595 set dummy $ac_prog; ac_word=$2
1596 @@ -6032,7 +5818,7 @@
1598 test -z "$as_dir" && as_dir=.
1599 for ac_exec_ext in '' $ac_executable_extensions; do
1600 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1601 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1602 ac_cv_prog_ac_ct_F77="$ac_prog"
1603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 @@ -6139,27 +5925,10 @@
1607 cat conftest.err >&5
1608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1609 - (exit $ac_status); } &&
1610 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1611 - { (case "(($ac_try" in
1612 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 - *) ac_try_echo=$ac_try;;
1615 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1616 - (eval "$ac_try") 2>&5
1618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619 - (exit $ac_status); }; } &&
1620 - { ac_try='test -s conftest.$ac_objext'
1621 - { (case "(($ac_try" in
1622 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 - *) ac_try_echo=$ac_try;;
1625 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1626 - (eval "$ac_try") 2>&5
1628 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1629 - (exit $ac_status); }; }; then
1630 + (exit $ac_status); } && {
1631 + test -z "$ac_f77_werror_flag" ||
1632 + test ! -s conftest.err
1633 + } && test -s conftest.$ac_objext; then
1636 echo "$as_me: failed program was:" >&5
1637 @@ -6202,27 +5971,10 @@
1639 cat conftest.err >&5
1640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1641 - (exit $ac_status); } &&
1642 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
1643 - { (case "(($ac_try" in
1644 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 - *) ac_try_echo=$ac_try;;
1647 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1648 - (eval "$ac_try") 2>&5
1650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651 - (exit $ac_status); }; } &&
1652 - { ac_try='test -s conftest.$ac_objext'
1653 - { (case "(($ac_try" in
1654 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655 - *) ac_try_echo=$ac_try;;
1657 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1658 - (eval "$ac_try") 2>&5
1660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1661 - (exit $ac_status); }; }; then
1662 + (exit $ac_status); } && {
1663 + test -z "$ac_f77_werror_flag" ||
1664 + test ! -s conftest.err
1665 + } && test -s conftest.$ac_objext; then
1666 ac_cv_prog_f77_g=yes
1668 echo "$as_me: failed program was:" >&5
1669 @@ -6262,7 +6014,6 @@
1672 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1674 # find the maximum length of command line arguments
1675 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
1676 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
1677 @@ -6270,7 +6021,7 @@
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 @@ -6299,24 +6050,77 @@
1687 lt_cv_sys_max_cmd_len=8192;
1691 - # If test is not a shell built-in, we'll probably end up computing a
1692 - # maximum length that is only half of the actual maximum length, but
1694 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
1695 - = "XX$testring") >/dev/null 2>&1 &&
1696 - new_result=`expr "X$testring" : ".*" 2>&1` &&
1697 - lt_cv_sys_max_cmd_len=$new_result &&
1698 - test $i != 17 # 1/2 MB should be enough
1701 - testring=$testring$testring
1704 - # Add a significant safety factor because C++ compilers can tack on massive
1705 - # amounts of additional arguments before passing them to the linker.
1706 - # It appears as though 1/2 is a usable value.
1707 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1709 + # On AmigaOS with pdksh, this test takes hours, literally.
1710 + # So we just punt and use a minimum line length of 8192.
1711 + lt_cv_sys_max_cmd_len=8192;
1714 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1715 + # This has been around since 386BSD, at least. Likely further.
1716 + if test -x /sbin/sysctl; then
1717 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1718 + elif test -x /usr/sbin/sysctl; then
1719 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1721 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1723 + # And add a safety zone
1724 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1725 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1729 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
1730 + lt_cv_sys_max_cmd_len=196608
1734 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1735 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1736 + # nice to cause kernel panics so lets avoid the loop below.
1737 + # First set a reasonable default.
1738 + lt_cv_sys_max_cmd_len=16384
1740 + if test -x /sbin/sysconfig; then
1741 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1742 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
1747 + lt_cv_sys_max_cmd_len=102400
1749 + sysv5* | sco5v6* | sysv4.2uw2*)
1750 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1751 + if test -n "$kargmax"; then
1752 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
1754 + lt_cv_sys_max_cmd_len=32768
1758 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1759 + if test -n "$lt_cv_sys_max_cmd_len"; then
1760 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1761 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1763 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1764 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
1765 + = "XX$teststring") >/dev/null 2>&1 &&
1766 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1767 + lt_cv_sys_max_cmd_len=$new_result &&
1768 + test $i != 17 # 1/2 MB should be enough
1771 + teststring=$teststring$teststring
1774 + # Add a significant safety factor because C++ compilers can tack on massive
1775 + # amounts of additional arguments before passing them to the linker.
1776 + # It appears as though 1/2 is a usable value.
1777 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1782 @@ -6333,6 +6137,7 @@
1787 # Check for command to grab the raw symbol name followed by C symbol from nm.
1788 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
1789 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
1790 @@ -6349,9 +6154,6 @@
1791 # Regexp to match symbols that can be accessed directly from C.
1792 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1794 -# Transform the above into a raw symbol and a C symbol.
1795 -symxfrm='\1 \2\3 \3'
1797 # Transform an extracted symbol line into a proper C declaration
1798 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
1800 @@ -6373,14 +6175,30 @@
1801 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1802 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'"
1804 +linux* | k*bsd*-gnu)
1805 + if test "$host_cpu" = ia64; then
1806 + symcode='[ABCDGIRSTW]'
1807 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1808 + 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'"
1812 symcode='[BCDEGRST]'
1815 symcode='[BCDEGQRST]'
1828 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
1833 @@ -6398,14 +6216,17 @@
1834 # If we're using GNU nm, then use its standard symbol codes.
1835 case `$NM -V 2>&1` in
1836 *GNU* | *'with BFD'*)
1837 - symcode='[ABCDGISTW]' ;;
1838 + symcode='[ABCDGIRSTW]' ;;
1841 # Try without a prefix undercore, then with it.
1842 for ac_symprfx in "" "_"; do
1844 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
1845 + symxfrm="\\1 $ac_symprfx\\2 \\2"
1847 # Write the raw and C identifiers.
1848 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
1849 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1851 # Check to see that the pipe works correctly.
1853 @@ -6507,7 +6328,7 @@
1854 echo "$progname: failed program was:" >&5
1855 cat conftest.$ac_ext >&5
1857 - rm -f conftest* conftst*
1858 + rm -rf conftest* conftst*
1860 # Do not use the global_symbol_pipe unless it works.
1861 if test "$pipe_works" = yes; then
1862 @@ -6567,7 +6388,7 @@
1864 # Sed substitution that helps us do robust quoting. It backslashifies
1865 # metacharacters that are still active within double-quoted strings.
1866 -Xsed='sed -e s/^X//'
1867 +Xsed='sed -e 1s/^X//'
1868 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
1870 # Same as above, but do not quote variable references.
1871 @@ -6577,9 +6398,6 @@
1872 # double_quote_subst'ed string.
1873 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1875 -# Sed substitution to undo escaping of the cmd sep variable
1876 -unescape_variable_subst='s/\\\(${_S_}\)/\1/g'
1878 # Sed substitution to avoid accidental globbing in evaled expressions
1879 no_glob_subst='s/\*/\\\*/g'
1881 @@ -6590,7 +6408,7 @@
1882 default_ofile=libtool
1883 can_build_shared=yes
1885 -# All known linkers require a `.a' archive for static linking (except M$VC,
1886 +# All known linkers require a `.a' archive for static linking (except MSVC,
1887 # which needs '.lib').
1889 ltmain="$ac_aux_dir/ltmain.sh"
1890 @@ -6614,7 +6432,7 @@
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896 ac_cv_prog_AR="${ac_tool_prefix}ar"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 @@ -6654,7 +6472,7 @@
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1904 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1905 ac_cv_prog_ac_ct_AR="ar"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 @@ -6710,7 +6528,7 @@
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1913 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1914 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 @@ -6750,7 +6568,7 @@
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1922 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1923 ac_cv_prog_ac_ct_RANLIB="ranlib"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 @@ -6806,7 +6624,7 @@
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1932 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935 @@ -6846,7 +6664,7 @@
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1940 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1941 ac_cv_prog_ac_ct_STRIP="strip"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 @@ -6895,6 +6713,7 @@
1945 test -z "$AS" && AS=as
1946 test -z "$CC" && CC=cc
1947 test -z "$LTCC" && LTCC=$CC
1948 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1949 test -z "$DLLTOOL" && DLLTOOL=dlltool
1950 test -z "$LD" && LD=ld
1951 test -z "$LN_S" && LN_S="ln -s"
1952 @@ -6907,22 +6726,33 @@
1953 test -z "$ac_objext" && ac_objext=o
1955 # Determine commands to create old-style static archives.
1956 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1957 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1958 old_postinstall_cmds='chmod 644 $oldlib'
1959 old_postuninstall_cmds=
1961 if test -n "$RANLIB"; then
1964 - old_postinstall_cmds="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds"
1965 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1968 - old_postinstall_cmds="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds"
1969 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1972 - old_archive_cmds="$old_archive_cmds\${_S_}\$RANLIB \$oldlib"
1973 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1976 +for cc_temp in $compiler""; do
1978 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1979 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1984 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1987 # Only perform the check for file, if the check method requires it
1988 case $deplibs_check_method in
1990 @@ -6948,7 +6778,7 @@
1991 if test -n "$file_magic_test_file"; then
1992 case $deplibs_check_method in
1994 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1995 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1997 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1998 $EGREP "$file_magic_regex" > /dev/null; then
1999 @@ -7010,7 +6840,7 @@
2000 if test -n "$file_magic_test_file"; then
2001 case $deplibs_check_method in
2003 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2004 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2005 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2006 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2007 $EGREP "$file_magic_regex" > /dev/null; then
2008 @@ -7058,27 +6888,339 @@
2013 -enable_win32_dll=no
2015 -# Check whether --enable-libtool-lock was given.
2016 -if test "${enable_libtool_lock+set}" = set; then
2017 - enableval=$enable_libtool_lock;
2019 + rhapsody* | darwin*)
2020 + if test -n "$ac_tool_prefix"; then
2021 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
2022 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
2023 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
2026 + echo $ECHO_N "(cached) $ECHO_C" >&6
2028 + if test -n "$DSYMUTIL"; then
2029 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
2031 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 +for as_dir in $PATH
2035 + test -z "$as_dir" && as_dir=.
2036 + for ac_exec_ext in '' $ac_executable_extensions; do
2037 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
2039 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
2049 +if test -n "$DSYMUTIL"; then
2050 + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
2051 +echo "${ECHO_T}$DSYMUTIL" >&6; }
2053 + { echo "$as_me:$LINENO: result: no" >&5
2054 +echo "${ECHO_T}no" >&6; }
2057 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2060 +if test -z "$ac_cv_prog_DSYMUTIL"; then
2061 + ac_ct_DSYMUTIL=$DSYMUTIL
2062 + # Extract the first word of "dsymutil", so it can be a program name with args.
2063 +set dummy dsymutil; ac_word=$2
2064 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2066 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
2067 + echo $ECHO_N "(cached) $ECHO_C" >&6
2069 + if test -n "$ac_ct_DSYMUTIL"; then
2070 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
2072 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 +for as_dir in $PATH
2076 + test -z "$as_dir" && as_dir=.
2077 + for ac_exec_ext in '' $ac_executable_extensions; do
2078 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2079 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
2080 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 -# Check whether --with-pic was given.
2088 -if test "${with_pic+set}" = set; then
2089 - withval=$with_pic; pic_mode="$withval"
2092 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
2093 +if test -n "$ac_ct_DSYMUTIL"; then
2094 + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
2095 +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
2098 + { echo "$as_me:$LINENO: result: no" >&5
2099 +echo "${ECHO_T}no" >&6; }
2102 -test -z "$pic_mode" && pic_mode=default
2103 + if test "x$ac_ct_DSYMUTIL" = x; then
2106 + case $cross_compiling:$ac_tool_warned in
2108 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2109 +whose name does not start with the host triplet. If you think this
2110 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2111 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2112 +whose name does not start with the host triplet. If you think this
2113 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2114 +ac_tool_warned=yes ;;
2116 + DSYMUTIL=$ac_ct_DSYMUTIL
2119 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
2122 -# Use C for the default configuration in the libtool script
2123 + if test -n "$ac_tool_prefix"; then
2124 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
2125 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
2126 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2128 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
2129 + echo $ECHO_N "(cached) $ECHO_C" >&6
2131 + if test -n "$NMEDIT"; then
2132 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
2134 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 +for as_dir in $PATH
2138 + test -z "$as_dir" && as_dir=.
2139 + for ac_exec_ext in '' $ac_executable_extensions; do
2140 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
2142 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 +NMEDIT=$ac_cv_prog_NMEDIT
2152 +if test -n "$NMEDIT"; then
2153 + { echo "$as_me:$LINENO: result: $NMEDIT" >&5
2154 +echo "${ECHO_T}$NMEDIT" >&6; }
2156 + { echo "$as_me:$LINENO: result: no" >&5
2157 +echo "${ECHO_T}no" >&6; }
2162 +if test -z "$ac_cv_prog_NMEDIT"; then
2163 + ac_ct_NMEDIT=$NMEDIT
2164 + # Extract the first word of "nmedit", so it can be a program name with args.
2165 +set dummy nmedit; ac_word=$2
2166 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2168 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
2169 + echo $ECHO_N "(cached) $ECHO_C" >&6
2171 + if test -n "$ac_ct_NMEDIT"; then
2172 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
2174 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 +for as_dir in $PATH
2178 + test -z "$as_dir" && as_dir=.
2179 + for ac_exec_ext in '' $ac_executable_extensions; do
2180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
2182 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
2192 +if test -n "$ac_ct_NMEDIT"; then
2193 + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
2194 +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
2196 + { echo "$as_me:$LINENO: result: no" >&5
2197 +echo "${ECHO_T}no" >&6; }
2200 + if test "x$ac_ct_NMEDIT" = x; then
2203 + case $cross_compiling:$ac_tool_warned in
2205 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2206 +whose name does not start with the host triplet. If you think this
2207 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2208 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2209 +whose name does not start with the host triplet. If you think this
2210 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2211 +ac_tool_warned=yes ;;
2213 + NMEDIT=$ac_ct_NMEDIT
2216 + NMEDIT="$ac_cv_prog_NMEDIT"
2220 + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
2221 +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
2222 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
2223 + echo $ECHO_N "(cached) $ECHO_C" >&6
2225 + lt_cv_apple_cc_single_mod=no
2226 + if test -z "${LT_MULTI_MODULE}"; then
2227 + # By default we will add the -single_module flag. You can override
2228 + # by either setting the environment variable LT_MULTI_MODULE
2229 + # non-empty at configure time, or by adding -multi_module to the
2231 + echo "int foo(void){return 1;}" > conftest.c
2232 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2233 + -dynamiclib ${wl}-single_module conftest.c
2234 + if test -f libconftest.dylib; then
2235 + lt_cv_apple_cc_single_mod=yes
2236 + rm -rf libconftest.dylib*
2241 +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
2242 +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
2243 + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
2244 +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
2245 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
2246 + echo $ECHO_N "(cached) $ECHO_C" >&6
2248 + lt_cv_ld_exported_symbols_list=no
2249 + save_LDFLAGS=$LDFLAGS
2250 + echo "_main" > conftest.sym
2251 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
2252 + cat >conftest.$ac_ext <<_ACEOF
2255 +cat confdefs.h >>conftest.$ac_ext
2256 +cat >>conftest.$ac_ext <<_ACEOF
2257 +/* end confdefs.h. */
2267 +rm -f conftest.$ac_objext conftest$ac_exeext
2268 +if { (ac_try="$ac_link"
2269 +case "(($ac_try" in
2270 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2271 + *) ac_try_echo=$ac_try;;
2273 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2274 + (eval "$ac_link") 2>conftest.er1
2276 + grep -v '^ *+' conftest.er1 >conftest.err
2277 + rm -f conftest.er1
2278 + cat conftest.err >&5
2279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 + (exit $ac_status); } && {
2281 + test -z "$ac_c_werror_flag" ||
2282 + test ! -s conftest.err
2283 + } && test -s conftest$ac_exeext &&
2284 + $as_test_x conftest$ac_exeext; then
2285 + lt_cv_ld_exported_symbols_list=yes
2287 + echo "$as_me: failed program was:" >&5
2288 +sed 's/^/| /' conftest.$ac_ext >&5
2290 + lt_cv_ld_exported_symbols_list=no
2293 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2294 + conftest$ac_exeext conftest.$ac_ext
2295 + LDFLAGS="$save_LDFLAGS"
2298 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
2299 +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
2301 + rhapsody* | darwin1.[0123])
2302 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
2304 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2306 + # if running on 10.5 or later, the deployment target defaults
2307 + # to the OS version, if on x86, and 10.4, the deployment
2308 + # target defaults to 10.4. Don't you love it?
2309 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
2310 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
2311 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2313 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2315 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2319 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
2320 + _lt_dar_single_mod='$single_module'
2322 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
2323 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
2325 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
2327 + if test "$DSYMUTIL" != ":"; then
2328 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
2337 +enable_win32_dll=no
2339 +# Check whether --enable-libtool-lock was given.
2340 +if test "${enable_libtool_lock+set}" = set; then
2341 + enableval=$enable_libtool_lock;
2344 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2347 +# Check whether --with-pic was given.
2348 +if test "${with_pic+set}" = set; then
2349 + withval=$with_pic; pic_mode="$withval"
2354 +test -z "$pic_mode" && pic_mode=default
2356 +# Use C for the default configuration in the libtool script
2360 @@ -7096,77 +7238,34 @@
2363 # Code to be used in simple compile tests
2364 -lt_simple_compile_test_code="int some_variable = 0;\n"
2365 +lt_simple_compile_test_code="int some_variable = 0;"
2367 # Code to be used in simple link tests
2368 -lt_simple_link_test_code='int main(){return(0);}\n'
2369 +lt_simple_link_test_code='int main(){return(0);}'
2372 # If no C compiler was specified, use CC.
2375 +# If no C compiler flags were specified, use CFLAGS.
2376 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2378 # Allow CC to be a program name with arguments.
2383 -# Check for any special shared library compilation flags.
2386 -if test "$GCC" = no; then
2389 - lt_prog_cc_shlib='-belf'
2393 -if test -n "$lt_prog_cc_shlib"; then
2394 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
2395 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
2396 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
2398 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
2399 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
2400 - lt_cv_prog_cc_can_build_shared=no
2406 -# Check to make sure the static flag actually works.
2408 -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
2409 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
2410 -if test "${lt_prog_compiler_static_works+set}" = set; then
2411 - echo $ECHO_N "(cached) $ECHO_C" >&6
2413 - lt_prog_compiler_static_works=no
2414 - save_LDFLAGS="$LDFLAGS"
2415 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
2416 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
2417 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2418 - # The compiler can only warn and ignore the option if not recognized
2419 - # So say no if there are warnings
2420 - if test -s conftest.err; then
2421 - # Append any errors to the config.log.
2422 - cat conftest.err 1>&5
2424 - lt_prog_compiler_static_works=yes
2428 - LDFLAGS="$save_LDFLAGS"
2431 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
2432 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
2434 -if test x"$lt_prog_compiler_static_works" = xyes; then
2437 - lt_prog_compiler_static=
2440 +# save warnings/boilerplate of simple test code
2441 +ac_outfile=conftest.$ac_objext
2442 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2443 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2444 +_lt_compiler_boilerplate=`cat conftest.err`
2447 +ac_outfile=conftest.$ac_objext
2448 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
2449 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2450 +_lt_linker_boilerplate=`cat conftest.err`
2455 @@ -7175,14 +7274,15 @@
2456 if test "$GCC" = yes; then
2457 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
2459 - { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
2461 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
2462 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
2463 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 lt_cv_prog_compiler_rtti_exceptions=no
2467 ac_outfile=conftest.$ac_objext
2468 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2469 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2470 lt_compiler_flag="-fno-rtti -fno-exceptions"
2471 # Insert the option either (1) after the last *FLAGS variable, or
2472 # (2) before a word containing "conftest.", or (3) at the end.
2473 @@ -7190,18 +7290,20 @@
2474 # with a dollar sign (not a hyphen), so the echo should work correctly.
2475 # The option is referenced via a variable to avoid confusing sed.
2476 lt_compile=`echo "$ac_compile" | $SED \
2477 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2478 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2480 -e 's:$: $lt_compiler_flag:'`
2481 - (eval echo "\"\$as_me:7196: $lt_compile\"" >&5)
2482 + (eval echo "\"\$as_me:7296: $lt_compile\"" >&5)
2483 (eval "$lt_compile" 2>conftest.err)
2485 cat conftest.err >&5
2486 - echo "$as_me:7200: \$? = $ac_status" >&5
2487 + echo "$as_me:7300: \$? = $ac_status" >&5
2488 if (exit $ac_status) && test -s "$ac_outfile"; then
2489 # The compiler can only warn and ignore the option if not recognized
2490 - # So say no if there are warnings
2491 - if test ! -s conftest.err; then
2492 + # So say no if there are warnings other than the usual output.
2493 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2494 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2495 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2496 lt_cv_prog_compiler_rtti_exceptions=yes
2499 @@ -7246,13 +7348,15 @@
2500 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
2503 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2504 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2505 # PIC is the default for these OSes.
2508 - mingw* | pw32* | os2*)
2509 + mingw* | cygwin* | pw32* | os2*)
2510 # This hack is so that the source file can tell whether it is being
2511 # built for inclusion in a dll (and should export symbols for example).
2512 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
2513 + # (--disable-auto-import) libraries
2514 lt_prog_compiler_pic='-DDLL_EXPORT'
2517 @@ -7262,6 +7366,11 @@
2518 lt_prog_compiler_pic='-fno-common'
2522 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2523 + # Instead, we relocate shared libraries at runtime.
2527 # Just because we use GCC doesn't mean we suddenly get shared libraries
2528 # on systems that don't support them.
2529 @@ -7278,7 +7387,7 @@
2531 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
2533 - case "$host_cpu" in
2538 @@ -7304,8 +7413,18 @@
2539 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
2543 + # PIC is the default on this platform
2544 + # Common symbols not allowed in MH_DYLIB files
2545 + case $cc_basename in
2547 + lt_prog_compiler_pic='-qnocommon'
2548 + lt_prog_compiler_wl='-Wl,'
2553 - mingw* | pw32* | os2*)
2554 + mingw* | cygwin* | pw32* | os2*)
2555 # This hack is so that the source file can tell whether it is being
2556 # built for inclusion in a dll (and should export symbols for example).
2557 lt_prog_compiler_pic='-DDLL_EXPORT'
2558 @@ -7315,7 +7434,7 @@
2559 lt_prog_compiler_wl='-Wl,'
2560 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
2562 - case "$host_cpu" in
2567 @@ -7338,18 +7457,41 @@
2568 lt_prog_compiler_static='-Bstatic'
2574 + linux* | k*bsd*-gnu)
2575 + case $cc_basename in
2577 lt_prog_compiler_wl='-Wl,'
2578 lt_prog_compiler_pic='-KPIC'
2579 lt_prog_compiler_static='-static'
2582 + pgcc* | pgf77* | pgf90* | pgf95*)
2583 + # Portland Group compilers (*not* the Pentium gcc compiler,
2584 + # which looks to be a dead project)
2585 + lt_prog_compiler_wl='-Wl,'
2586 + lt_prog_compiler_pic='-fpic'
2587 + lt_prog_compiler_static='-Bstatic'
2590 lt_prog_compiler_wl='-Wl,'
2591 # All Alpha code is PIC.
2592 lt_prog_compiler_static='-non_shared'
2595 + case `$CC -V 2>&1 | sed 5q` in
2598 + lt_prog_compiler_pic='-KPIC'
2599 + lt_prog_compiler_static='-Bstatic'
2600 + lt_prog_compiler_wl='-Wl,'
2603 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
2604 + lt_prog_compiler_pic='-KPIC'
2605 + lt_prog_compiler_static='-Bstatic'
2606 + lt_prog_compiler_wl=''
2613 @@ -7359,15 +7501,19 @@
2614 lt_prog_compiler_static='-non_shared'
2618 - lt_prog_compiler_pic='-Kpic'
2619 - lt_prog_compiler_static='-dn'
2621 + lt_prog_compiler_static='-non_shared'
2625 - lt_prog_compiler_wl='-Wl,'
2626 lt_prog_compiler_pic='-KPIC'
2627 lt_prog_compiler_static='-Bstatic'
2628 + case $cc_basename in
2629 + f77* | f90* | f95*)
2630 + lt_prog_compiler_wl='-Qoption ld ';;
2632 + lt_prog_compiler_wl='-Wl,';;
2637 @@ -7376,7 +7522,7 @@
2638 lt_prog_compiler_static='-Bstatic'
2641 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2642 + sysv4 | sysv4.2uw2* | sysv4.3*)
2643 lt_prog_compiler_wl='-Wl,'
2644 lt_prog_compiler_pic='-KPIC'
2645 lt_prog_compiler_static='-Bstatic'
2646 @@ -7389,6 +7535,17 @@
2650 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
2651 + lt_prog_compiler_wl='-Wl,'
2652 + lt_prog_compiler_pic='-KPIC'
2653 + lt_prog_compiler_static='-Bstatic'
2657 + lt_prog_compiler_wl='-Wl,'
2658 + lt_prog_compiler_can_build_shared=no
2662 lt_prog_compiler_pic='-pic'
2663 lt_prog_compiler_static='-Bstatic'
2664 @@ -7407,14 +7564,15 @@
2665 # Check to make sure the PIC flag actually works.
2667 if test -n "$lt_prog_compiler_pic"; then
2668 - { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
2670 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
2671 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
2672 -if test "${lt_prog_compiler_pic_works+set}" = set; then
2673 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 - lt_prog_compiler_pic_works=no
2677 + lt_cv_prog_compiler_pic_works=no
2678 ac_outfile=conftest.$ac_objext
2679 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2680 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2681 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
2682 # Insert the option either (1) after the last *FLAGS variable, or
2683 # (2) before a word containing "conftest.", or (3) at the end.
2684 @@ -7422,28 +7580,30 @@
2685 # with a dollar sign (not a hyphen), so the echo should work correctly.
2686 # The option is referenced via a variable to avoid confusing sed.
2687 lt_compile=`echo "$ac_compile" | $SED \
2688 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2689 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2691 -e 's:$: $lt_compiler_flag:'`
2692 - (eval echo "\"\$as_me:7428: $lt_compile\"" >&5)
2693 + (eval echo "\"\$as_me:7586: $lt_compile\"" >&5)
2694 (eval "$lt_compile" 2>conftest.err)
2696 cat conftest.err >&5
2697 - echo "$as_me:7432: \$? = $ac_status" >&5
2698 + echo "$as_me:7590: \$? = $ac_status" >&5
2699 if (exit $ac_status) && test -s "$ac_outfile"; then
2700 # The compiler can only warn and ignore the option if not recognized
2701 - # So say no if there are warnings
2702 - if test ! -s conftest.err; then
2703 - lt_prog_compiler_pic_works=yes
2704 + # So say no if there are warnings other than the usual output.
2705 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2706 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2707 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2708 + lt_cv_prog_compiler_pic_works=yes
2714 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
2715 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
2716 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
2717 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
2719 -if test x"$lt_prog_compiler_pic_works" = xyes; then
2720 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
2721 case $lt_prog_compiler_pic in
2723 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
2724 @@ -7454,7 +7614,7 @@
2730 # For platforms which do not support PIC, -DPIC is meaningless:
2732 lt_prog_compiler_pic=
2733 @@ -7464,6 +7624,48 @@
2738 +# Check to make sure the static flag actually works.
2740 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
2741 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
2742 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
2743 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
2744 + echo $ECHO_N "(cached) $ECHO_C" >&6
2746 + lt_cv_prog_compiler_static_works=no
2747 + save_LDFLAGS="$LDFLAGS"
2748 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
2749 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
2750 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2751 + # The linker can only warn and ignore the option if not recognized
2752 + # So say no if there are warnings
2753 + if test -s conftest.err; then
2754 + # Append any errors to the config.log.
2755 + cat conftest.err 1>&5
2756 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2757 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2758 + if diff conftest.exp conftest.er2 >/dev/null; then
2759 + lt_cv_prog_compiler_static_works=yes
2762 + lt_cv_prog_compiler_static_works=yes
2766 + LDFLAGS="$save_LDFLAGS"
2769 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
2770 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
2772 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
2775 + lt_prog_compiler_static=
2779 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
2780 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
2781 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
2782 @@ -7474,14 +7676,7 @@
2786 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2788 - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
2789 - # that will create temporary files in the current directory regardless of
2790 - # the output directory. Thus, making CWD read-only will cause this test
2791 - # to fail, enabling locking or at least warning the user not to do parallel
2794 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2796 lt_compiler_flag="-o out/conftest2.$ac_objext"
2797 # Insert the option either (1) after the last *FLAGS variable, or
2798 @@ -7489,25 +7684,30 @@
2799 # Note that $ac_compile itself does not contain backslashes and begins
2800 # with a dollar sign (not a hyphen), so the echo should work correctly.
2801 lt_compile=`echo "$ac_compile" | $SED \
2802 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2803 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2805 -e 's:$: $lt_compiler_flag:'`
2806 - (eval echo "\"\$as_me:7495: $lt_compile\"" >&5)
2807 + (eval echo "\"\$as_me:7690: $lt_compile\"" >&5)
2808 (eval "$lt_compile" 2>out/conftest.err)
2810 cat out/conftest.err >&5
2811 - echo "$as_me:7499: \$? = $ac_status" >&5
2812 + echo "$as_me:7694: \$? = $ac_status" >&5
2813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2815 # The compiler can only warn and ignore the option if not recognized
2816 # So say no if there are warnings
2817 - if test ! -s out/conftest.err; then
2818 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2819 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2820 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2821 lt_cv_prog_compiler_c_o=yes
2825 - $rm conftest* out/*
2829 + # SGI C++ compiler will create directory out/ii_files/ for
2830 + # template instantiation
2831 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2832 + $rm out/* && rmdir out
2836 @@ -7571,13 +7771,24 @@
2837 # it will be wrapped by ` (' and `)$', so one must not match beginning or
2838 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
2839 # as well as any symbol that contains `d'.
2840 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
2841 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
2842 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
2843 # platforms (ab)use it in PIC code, but their linkers get confused if
2844 # the symbol is explicitly referenced. Since portable code cannot
2845 # rely on this symbol name, it's probably fine to never include it in
2846 # preloaded symbol tables.
2847 + # Exclude shared library initialization/finalization symbols.
2848 extract_expsyms_cmds=
2849 + # Just being paranoid about ensuring that cc_basename is set.
2850 + for cc_temp in $compiler""; do
2852 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
2853 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
2858 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
2861 cygwin* | mingw* | pw32*)
2862 @@ -7588,6 +7799,10 @@
2867 + # we just hope/assume this is gcc and not c89 (= MSVC++)
2873 @@ -7598,9 +7813,30 @@
2874 # If archive_cmds runs LD, not CC, wlarc should be empty
2877 + # Set some defaults for GNU ld with shared library support. These
2878 + # are reset later if shared libraries are not supported. Putting them
2879 + # here allows them to be overridden if necessary.
2880 + runpath_var=LD_RUN_PATH
2881 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
2882 + export_dynamic_flag_spec='${wl}--export-dynamic'
2883 + # ancient GNU ld didn't support --whole-archive et. al.
2884 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
2885 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2887 + whole_archive_flag_spec=
2889 + supports_anon_versioning=no
2890 + case `$LD -v 2>/dev/null` in
2891 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
2892 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
2893 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
2894 + *\ 2.11.*) ;; # other 2.11 versions
2895 + *) supports_anon_versioning=yes ;;
2898 # See if GNU ld supports shared libraries.
2900 - aix3* | aix4* | aix5*)
2902 # On AIX/PPC, the GNU linker is very broken
2903 if test "$host_cpu" != ia64; then
2905 @@ -7617,7 +7853,7 @@
2909 - archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
2910 + 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)'
2911 hardcode_libdir_flag_spec='-L$libdir'
2912 hardcode_minus_L=yes
2914 @@ -7648,10 +7884,10 @@
2915 allow_undefined_flag=unsupported
2916 always_export_symbols=no
2917 enable_shared_with_static_runtimes=yes
2918 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
2919 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
2921 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2922 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2923 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2924 # If the export-symbols file already is a .def file (1st line
2925 # is EXPORTS), use it as is; otherwise, prepend...
2926 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
2927 @@ -7659,24 +7895,80 @@
2929 echo EXPORTS > $output_objdir/$soname.def;
2930 cat $export_symbols >> $output_objdir/$soname.def;
2932 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2934 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2941 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2942 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
2946 + hardcode_direct=no
2947 + hardcode_shlibpath_var=no
2948 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
2949 + export_dynamic_flag_spec='${wl}-E'
2950 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2951 + # Instead, shared libraries are loaded at an image base (0x10000000 by
2952 + # default) and relocated if they conflict, which is a slow very memory
2953 + # consuming and fragmenting process. To avoid this, we pick a random,
2954 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2955 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
2956 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2957 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2960 + gnu* | linux* | k*bsd*-gnu)
2961 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2963 + case $cc_basename,$host_cpu in
2964 + pgcc*) # Portland Group C compiler
2965 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2966 + tmp_addflag=' $pic_flag'
2968 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
2969 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2970 + tmp_addflag=' $pic_flag -Mnomain' ;;
2971 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
2972 + tmp_addflag=' -i_dynamic' ;;
2973 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
2974 + tmp_addflag=' -i_dynamic -nofor_main' ;;
2975 + ifc* | ifort*) # Intel Fortran compiler
2976 + tmp_addflag=' -nofor_main' ;;
2978 + case `$CC -V 2>&1 | sed 5q` in
2979 + *Sun\ C*) # Sun C 5.9
2980 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2981 + tmp_sharedflag='-G' ;;
2982 + *Sun\ F*) # Sun Fortran 8.3
2983 + tmp_sharedflag='-G' ;;
2985 + tmp_sharedflag='-shared' ;;
2987 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2989 + if test $supports_anon_versioning = yes; then
2990 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
2991 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
2992 + $echo "local: *; };" >> $output_objdir/$libname.ver~
2993 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
2995 + link_all_deplibs=no
3001 + netbsd* | netbsdelf*-gnu)
3002 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3003 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3006 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3007 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3011 - solaris* | sysv5*)
3013 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3016 @@ -7697,6 +7989,33 @@
3020 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3021 + case `$LD -v 2>&1` in
3022 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
3024 + cat <<_LT_EOF 1>&2
3026 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3027 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3028 +*** is disabling shared libraries support. We urge you to upgrade GNU
3029 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3030 +*** your PATH or compiler configuration so that the native linker is
3031 +*** used, and then restart.
3036 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3037 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3038 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3039 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
3048 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3050 @@ -7714,16 +8033,11 @@
3054 - if test "$ld_shlibs" = yes; then
3055 - runpath_var=LD_RUN_PATH
3056 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
3057 - export_dynamic_flag_spec='${wl}--export-dynamic'
3058 - # ancient GNU ld didn't support --whole-archive et. al.
3059 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3060 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3062 - whole_archive_flag_spec=
3064 + if test "$ld_shlibs" = no; then
3066 + hardcode_libdir_flag_spec=
3067 + export_dynamic_flag_spec=
3068 + whole_archive_flag_spec=
3071 # PORTME fill in a description of your system's linker (not GNU ld)
3072 @@ -7731,18 +8045,18 @@
3074 allow_undefined_flag=unsupported
3075 always_export_symbols=yes
3076 - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname'
3077 + 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'
3078 # Note: this linker hardcodes the directories in LIBPATH if there
3079 # are no directories specified by -L.
3080 hardcode_minus_L=yes
3081 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3082 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3083 # Neither direct hardcoding nor static linking is supported with a
3085 hardcode_direct=unsupported
3091 if test "$host_cpu" = ia64; then
3092 # On IA64, the linker does run time linking by default, so we don't
3093 # have to do anything special.
3094 @@ -7762,13 +8076,14 @@
3095 # Test if we are trying to use run time linking or normal
3096 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3097 # need to do runtime linking.
3098 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
3099 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
3100 for ld_flag in $LDFLAGS; do
3101 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
3102 aix_use_runtimelinking=yes
3109 exp_sym_flag='-bexport'
3110 @@ -7787,7 +8102,7 @@
3111 link_all_deplibs=yes
3113 if test "$GCC" = yes; then
3114 - case $host_os in aix4.012|aix4.012.*)
3115 + case $host_os in aix4.[012]|aix4.[012].*)
3116 # We only want to do this on AIX 4.2 and lower, the check
3117 # below for broken collect2 doesn't work under 4.3+
3118 collect2name=`${CC} -print-prog-name=collect2`
3119 @@ -7795,7 +8110,7 @@
3120 strings "$collect2name" | grep resolve_lib_name >/dev/null
3122 # We have reworked collect2
3123 - hardcode_direct=yes
3126 # We have old collect2
3127 hardcode_direct=unsupported
3128 @@ -7806,8 +8121,12 @@
3129 hardcode_libdir_flag_spec='-L$libdir'
3130 hardcode_libdir_separator=
3134 shared_flag='-shared'
3135 + if test "$aix_use_runtimelinking" = yes; then
3136 + shared_flag="$shared_flag "'${wl}-G'
3140 if test "$host_cpu" = ia64; then
3141 @@ -7815,11 +8134,11 @@
3142 # chokes on -Wl,-G. The following line is correct:
3145 - if test "$aix_use_runtimelinking" = yes; then
3146 + if test "$aix_use_runtimelinking" = yes; then
3147 shared_flag='${wl}-G'
3149 shared_flag='${wl}-bM:SRE'
3155 @@ -7859,33 +8178,24 @@
3157 cat conftest.err >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 - (exit $ac_status); } &&
3160 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3161 - { (case "(($ac_try" in
3162 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 - *) ac_try_echo=$ac_try;;
3165 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 - (eval "$ac_try") 2>&5
3168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 - (exit $ac_status); }; } &&
3170 - { ac_try='test -s conftest$ac_exeext'
3171 - { (case "(($ac_try" in
3172 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 - *) ac_try_echo=$ac_try;;
3175 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3176 - (eval "$ac_try") 2>&5
3178 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 - (exit $ac_status); }; }; then
3181 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
3183 + (exit $ac_status); } && {
3184 + test -z "$ac_c_werror_flag" ||
3185 + test ! -s conftest.err
3186 + } && test -s conftest$ac_exeext &&
3187 + $as_test_x conftest$ac_exeext; then
3189 +lt_aix_libpath_sed='
3190 + /Import File Strings/,/^$/ {
3196 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3197 # Check for a 64-bit object if we didn't find anything.
3198 -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; }
3200 +if test -z "$aix_libpath"; then
3201 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3206 @@ -7893,17 +8203,17 @@
3210 -rm -f core conftest.err conftest.$ac_objext \
3211 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3212 conftest$ac_exeext conftest.$ac_ext
3213 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3215 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
3216 - 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"
3217 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3219 if test "$host_cpu" = ia64; then
3220 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
3221 allow_undefined_flag="-z nodefs"
3222 - archive_expsym_cmds="\$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"
3223 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
3225 # Determine the default libpath from the value encoded in an empty executable.
3226 cat >conftest.$ac_ext <<_ACEOF
3227 @@ -7934,33 +8244,24 @@
3229 cat conftest.err >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 - (exit $ac_status); } &&
3232 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3233 - { (case "(($ac_try" in
3234 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 - *) ac_try_echo=$ac_try;;
3237 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3238 - (eval "$ac_try") 2>&5
3240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 - (exit $ac_status); }; } &&
3242 - { ac_try='test -s conftest$ac_exeext'
3243 - { (case "(($ac_try" in
3244 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 - *) ac_try_echo=$ac_try;;
3247 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3248 - (eval "$ac_try") 2>&5
3250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 - (exit $ac_status); }; }; then
3253 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
3255 + (exit $ac_status); } && {
3256 + test -z "$ac_c_werror_flag" ||
3257 + test ! -s conftest.err
3258 + } && test -s conftest$ac_exeext &&
3259 + $as_test_x conftest$ac_exeext; then
3261 +lt_aix_libpath_sed='
3262 + /Import File Strings/,/^$/ {
3268 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3269 # Check for a 64-bit object if we didn't find anything.
3270 -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; }
3272 +if test -z "$aix_libpath"; then
3273 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3278 @@ -7968,7 +8269,7 @@
3282 -rm -f core conftest.err conftest.$ac_objext \
3283 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3284 conftest$ac_exeext conftest.$ac_ext
3285 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3287 @@ -7977,26 +8278,24 @@
3288 # -berok will link without error, but may produce a broken library.
3289 no_undefined_flag=' ${wl}-bernotok'
3290 allow_undefined_flag=' ${wl}-berok'
3291 - # -bexpall does not export symbols beginning with underscore (_)
3292 - always_export_symbols=yes
3293 # Exported symbols can be pulled into shared objects from archives
3294 - whole_archive_flag_spec=' '
3295 + whole_archive_flag_spec='$convenience'
3296 archive_cmds_need_lc=yes
3297 - # This is similar to how AIX traditionally builds it's shared libraries.
3298 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3299 + # This is similar to how AIX traditionally builds its shared libraries.
3300 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3306 - archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
3307 + 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)'
3308 hardcode_libdir_flag_spec='-L$libdir'
3309 hardcode_minus_L=yes
3310 # see comment about different semantics on the GNU ld section
3316 export_dynamic_flag_spec=-rdynamic
3319 @@ -8010,69 +8309,63 @@
3320 # Tell ltmain to make .lib files, not .a files.
3322 # Tell ltmain to make .dll files, not .so files.
3324 + shrext_cmds=".dll"
3325 # FIXME: Setting linknames here is a bad hack.
3326 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
3327 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
3328 # The linker will automatically build a .lib file if we build a DLL.
3329 old_archive_From_new_cmds='true'
3330 # FIXME: Should let the user specify the lib program.
3331 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
3332 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
3333 fix_srcfile_path='`cygpath -w "$srcfile"`'
3334 enable_shared_with_static_runtimes=yes
3337 darwin* | rhapsody*)
3338 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3339 - archive_cmds_need_lc=no
3340 - case "$host_os" in
3341 - rhapsody* | darwin1.[012])
3342 - allow_undefined_flag='-undefined suppress'
3344 - darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0
3345 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
3347 - *) # Darwin 7.0 on
3348 - case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
3350 - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
3353 - if test -z ${LD_TWOLEVEL_NAMESPACE}; then
3354 - allow_undefined_flag='-flat_namespace -undefined suppress'
3356 - allow_undefined_flag='-undefined dynamic_lookup'
3362 + rhapsody* | darwin1.[012])
3363 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
3365 + *) # Darwin 1.3 on
3366 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3367 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3369 + case ${MACOSX_DEPLOYMENT_TARGET} in
3371 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3374 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
3380 - # FIXME: Relying on posixy $() will cause problems for
3381 - # cross-compilation, but unfortunately the echo tests do not
3382 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
3383 - # `"' quotes if we put them in here... so don't!
3384 - lt_int_apple_cc_single_mod=no
3385 - output_verbose_link_cmd='echo'
3386 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3387 - lt_int_apple_cc_single_mod=yes
3389 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3390 - archive_cmds='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3392 - archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3394 - module_cmds='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3395 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3396 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3397 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3399 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3401 - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3402 + archive_cmds_need_lc=no
3404 hardcode_automatic=yes
3405 hardcode_shlibpath_var=unsupported
3406 - whole_archive_flag_spec='-all_load $convenience'
3407 + whole_archive_flag_spec=''
3408 link_all_deplibs=yes
3409 + if test "$GCC" = yes ; then
3410 + output_verbose_link_cmd='echo'
3411 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
3412 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3413 + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
3414 + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
3416 + case $cc_basename in
3418 + output_verbose_link_cmd='echo'
3419 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
3420 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3421 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3422 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3423 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3432 @@ -8106,7 +8399,7 @@
3435 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3437 + freebsd* | dragonfly*)
3438 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3439 hardcode_libdir_flag_spec='-R$libdir'
3441 @@ -8115,9 +8408,9 @@
3444 if test "$GCC" = yes; then
3445 - archive_cmds='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3446 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3448 - archive_cmds='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3449 + 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'
3451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3452 hardcode_libdir_separator=:
3453 @@ -8129,47 +8422,62 @@
3454 export_dynamic_flag_spec='${wl}-E'
3457 - hpux10* | hpux11*)
3459 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3460 - case "$host_cpu" in
3462 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3464 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3466 + if test "$with_gnu_ld" = no; then
3467 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3468 + hardcode_libdir_separator=:
3470 + hardcode_direct=yes
3471 + export_dynamic_flag_spec='${wl}-E'
3473 + # hardcode_minus_L: Not really in the search PATH,
3474 + # but as the default location of the library.
3475 + hardcode_minus_L=yes
3480 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3483 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3486 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3489 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3493 - case "$host_cpu" in
3495 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3498 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3501 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3504 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3505 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3509 if test "$with_gnu_ld" = no; then
3510 - case "$host_cpu" in
3512 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3513 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3514 + hardcode_libdir_separator=:
3518 hardcode_libdir_flag_spec_ld='+b $libdir'
3519 - hardcode_libdir_separator=:
3520 - hardcode_direct=no
3521 - hardcode_shlibpath_var=no
3524 - hardcode_libdir_flag_spec='-L$libdir'
3526 hardcode_shlibpath_var=no
3528 - # hardcode_minus_L: Not really in the search PATH,
3529 - # but as the default location of the library.
3530 - hardcode_minus_L=yes
3533 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3534 - hardcode_libdir_separator=:
3536 export_dynamic_flag_spec='${wl}-E'
3538 @@ -8193,7 +8501,7 @@
3539 link_all_deplibs=yes
3543 + netbsd* | netbsdelf*-gnu)
3544 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3545 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3547 @@ -8213,23 +8521,28 @@
3551 - hardcode_direct=yes
3552 - hardcode_shlibpath_var=no
3553 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3554 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3555 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
3556 - export_dynamic_flag_spec='${wl}-E'
3557 + if test -f /usr/libexec/ld.so; then
3558 + hardcode_direct=yes
3559 + hardcode_shlibpath_var=no
3560 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3561 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3562 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
3563 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
3564 + export_dynamic_flag_spec='${wl}-E'
3567 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
3568 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3569 + hardcode_libdir_flag_spec='-R$libdir'
3572 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3573 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
3579 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
3580 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3581 - hardcode_libdir_flag_spec='-R$libdir'
3584 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3585 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
3592 @@ -8237,7 +8550,7 @@
3593 hardcode_libdir_flag_spec='-L$libdir'
3594 hardcode_minus_L=yes
3595 allow_undefined_flag=unsupported
3596 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
3597 + 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'
3598 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
3601 @@ -8261,8 +8574,8 @@
3603 allow_undefined_flag=' -expect_unresolved \*'
3604 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'
3605 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_}
3606 - $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${_S_}$rm $lib.exp'
3607 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
3608 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
3610 # Both c and cxx compiler support -rpath directly
3611 hardcode_libdir_flag_spec='-rpath $libdir'
3612 @@ -8270,31 +8583,34 @@
3613 hardcode_libdir_separator=:
3617 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3618 - hardcode_shlibpath_var=no
3619 - export_dynamic_flag_spec='${wl}-Bexport'
3620 - runpath_var=LD_RUN_PATH
3621 - hardcode_runpath_var=yes
3625 no_undefined_flag=' -z text'
3626 if test "$GCC" = yes; then
3628 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3629 - archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
3630 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp'
3631 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3632 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
3635 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3636 - archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
3637 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
3638 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3639 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3641 hardcode_libdir_flag_spec='-R$libdir'
3642 hardcode_shlibpath_var=no
3644 solaris2.[0-5] | solaris2.[0-5].*) ;;
3645 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
3646 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
3648 + # The compiler driver will combine and reorder linker options,
3649 + # but understands `-z linker_flag'. GCC discards it without `$wl',
3650 + # but is careful enough not to reorder.
3651 + # Supported since Solaris 2.6 (maybe 2.5.1?)
3652 + if test "$GCC" = yes; then
3653 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3655 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
3659 link_all_deplibs=yes
3661 @@ -8351,36 +8667,45 @@
3666 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
3667 - hardcode_direct=yes
3668 - hardcode_minus_L=no
3669 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
3670 + no_undefined_flag='${wl}-z,text'
3671 + archive_cmds_need_lc=no
3672 hardcode_shlibpath_var=no
3673 - hardcode_runpath_var=yes
3674 - runpath_var=LD_RUN_PATH
3676 + runpath_var='LD_RUN_PATH'
3678 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
3679 - no_undefined_flag='${wl}-z ${wl}text'
3680 if test "$GCC" = yes; then
3681 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3682 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3683 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3685 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3686 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3687 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3689 - runpath_var='LD_RUN_PATH'
3690 - hardcode_shlibpath_var=no
3694 - no_undefined_flag=' -z text'
3695 - # $CC -shared without GNU ld will not create a library from C++
3696 - # object files and a static libstdc++, better avoid it by now
3697 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3698 - archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
3699 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
3700 - hardcode_libdir_flag_spec=
3701 + sysv5* | sco3.2v5* | sco5v6*)
3702 + # Note: We can NOT use -z defs as we might desire, because we do not
3703 + # link with -lc, and that would cause any symbols used from libc to
3704 + # always be unresolved, which means just about no library would
3705 + # ever link correctly. If we're not using GNU ld we use -z text
3706 + # though, which does catch some bad symbols but isn't as heavy-handed
3708 + no_undefined_flag='${wl}-z,text'
3709 + allow_undefined_flag='${wl}-z,nodefs'
3710 + archive_cmds_need_lc=no
3711 hardcode_shlibpath_var=no
3712 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3713 + hardcode_libdir_separator=':'
3714 + link_all_deplibs=yes
3715 + export_dynamic_flag_spec='${wl}-Bexport'
3716 runpath_var='LD_RUN_PATH'
3718 + if test "$GCC" = yes; then
3719 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3720 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3722 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3723 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3728 @@ -8399,11 +8724,6 @@
3729 echo "${ECHO_T}$ld_shlibs" >&6; }
3730 test "$ld_shlibs" = no && can_build_shared=no
3732 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3733 -if test "$GCC" = yes; then
3734 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3738 # Do we need to explicitly link libc?
3740 @@ -8414,7 +8734,7 @@
3742 if test "$enable_shared" = yes && test "$GCC" = yes; then
3743 case $archive_cmds in
3746 # FIXME: we may have to deal with multi-command sequences.
3749 @@ -8424,7 +8744,7 @@
3750 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
3751 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
3753 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3754 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3757 (eval $ac_compile) 2>&5
3758 @@ -8436,6 +8756,7 @@
3759 libobjs=conftest.$ac_objext
3761 wl=$lt_prog_compiler_wl
3762 + pic_flag=$lt_prog_compiler_pic
3766 @@ -8466,78 +8787,12 @@
3770 -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
3771 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
3773 -if test -n "$hardcode_libdir_flag_spec" || \
3774 - test -n "$runpath_var " || \
3775 - test "X$hardcode_automatic"="Xyes" ; then
3777 - # We can hardcode non-existant directories.
3778 - if test "$hardcode_direct" != no &&
3779 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
3780 - # have to relink, otherwise we might link with an installed library
3781 - # when we should be linking with a yet-to-be-installed one
3782 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
3783 - test "$hardcode_minus_L" != no; then
3784 - # Linking always hardcodes the temporary library directory.
3785 - hardcode_action=relink
3787 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
3788 - hardcode_action=immediate
3791 - # We cannot hardcode anything, or else we can only hardcode existing
3793 - hardcode_action=unsupported
3795 -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
3796 -echo "${ECHO_T}$hardcode_action" >&6; }
3798 -if test "$hardcode_action" = relink; then
3799 - # Fast installation is not supported
3800 - enable_fast_install=no
3801 -elif test "$shlibpath_overrides_runpath" = yes ||
3802 - test "$enable_shared" = no; then
3803 - # Fast installation is not necessary
3804 - enable_fast_install=needless
3809 -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
3810 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
3811 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3812 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3813 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3814 - { echo "$as_me:$LINENO: result: yes" >&5
3815 -echo "${ECHO_T}yes" >&6; }
3817 -# FIXME - insert some real tests, host_os isn't really good enough
3820 - if test -n "$STRIP" ; then
3821 - striplib="$STRIP -x"
3822 - { echo "$as_me:$LINENO: result: yes" >&5
3823 -echo "${ECHO_T}yes" >&6; }
3825 - { echo "$as_me:$LINENO: result: no" >&5
3826 -echo "${ECHO_T}no" >&6; }
3830 - { echo "$as_me:$LINENO: result: no" >&5
3831 -echo "${ECHO_T}no" >&6; }
3836 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
3837 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
3839 libname_spec='lib$name'
3846 @@ -8547,17 +8802,55 @@
3848 dynamic_linker="$host_os ld.so"
3849 sys_lib_dlsearch_path_spec="/lib /usr/lib"
3851 if test "$GCC" = yes; then
3852 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3853 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
3855 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
3856 + *) lt_awk_arg="/^libraries:/" ;;
3858 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3859 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
3860 # if the path contains ";" then we assume it to be the separator
3861 # otherwise default to the standard path separator (i.e. ":") - it is
3862 # assumed that no part of a normal pathname contains ";" but that should
3863 # okay in the real world where ";" in dirpaths is itself problematic.
3864 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3865 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
3867 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3868 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3870 + # Ok, now we have the path, separated by spaces, we can step through it
3871 + # and add multilib dir if necessary.
3872 + lt_tmp_lt_search_path_spec=
3873 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
3874 + for lt_sys_path in $lt_search_path_spec; do
3875 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
3876 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
3878 + test -d "$lt_sys_path" && \
3879 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
3882 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
3883 +BEGIN {RS=" "; FS="/|\n";} {
3886 + for (lt_i = NF; lt_i > 0; lt_i--) {
3887 + if ($lt_i != "" && $lt_i != ".") {
3888 + if ($lt_i == "..") {
3891 + if (lt_count == 0) {
3892 + lt_foo="/" $lt_i lt_foo;
3899 + if (lt_foo != "") { lt_freq[lt_foo]++; }
3900 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
3902 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
3904 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3906 @@ -8578,7 +8871,7 @@
3907 soname_spec='${libname}${release}${shared_ext}$major'
3915 @@ -8625,7 +8918,7 @@
3917 library_names_spec='$libname.ixlibrary $libname.a'
3918 # Create ${libname}_ixlibrary.a entries in /sys/libs.
3919 - 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'
3920 + 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'
3924 @@ -8634,7 +8927,7 @@
3925 shlibpath_var=LIBRARY_PATH
3932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3933 @@ -8650,7 +8943,7 @@
3935 cygwin* | mingw* | pw32*)
3936 version_type=windows
3938 + shrext_cmds=".dll"
3942 @@ -8658,13 +8951,14 @@
3943 yes,cygwin* | yes,mingw* | yes,pw32*)
3944 library_names_spec='$libname.dll.a'
3945 # DLL is installed to $(libdir)/../bin by postinstall_cmds
3946 - postinstall_cmds='base_file=`basename \${file}`${_S_}
3947 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
3948 - dldir=$destdir/`dirname \$dlpath`${_S_}
3949 - test -d \$dldir || mkdir -p \$dldir${_S_}
3950 - $install_prog $dir/$dlname \$dldir/$dlname'
3951 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
3952 - dlpath=$dir/\$dldll${_S_}
3953 + postinstall_cmds='base_file=`basename \${file}`~
3954 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3955 + dldir=$destdir/`dirname \$dlpath`~
3956 + test -d \$dldir || mkdir -p \$dldir~
3957 + $install_prog $dir/$dlname \$dldir/$dlname~
3958 + chmod a+x \$dldir/$dlname'
3959 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3960 + dlpath=$dir/\$dldll~
3962 shlibpath_overrides_runpath=yes
3964 @@ -8672,7 +8966,7 @@
3966 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3967 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3968 - sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
3969 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3972 # MinGW DLLs use traditional 'lib' prefix
3973 @@ -8692,7 +8986,7 @@
3976 # pw32 DLLs use 'pw' prefix rather than 'lib'
3977 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
3978 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3982 @@ -8711,18 +9005,13 @@
3986 - # FIXME: Relying on posixy $() will cause problems for
3987 - # cross-compilation, but unfortunately the echo tests do not
3988 - # yet detect zsh echo's removal of \ escapes.
3989 - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
3990 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3991 soname_spec='${libname}${release}${major}$shared_ext'
3992 shlibpath_overrides_runpath=yes
3993 shlibpath_var=DYLD_LIBRARY_PATH
3994 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
3995 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
3996 - if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3997 - 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"`
3999 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
4001 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
4002 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4005 @@ -8739,8 +9028,17 @@
4010 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4011 +freebsd* | dragonfly*)
4012 + # DragonFly does not have aout. When/if they implement a new
4013 + # versioning mechanism, adjust this.
4014 + if test -x /usr/bin/objformat; then
4015 + objformat=`/usr/bin/objformat`
4018 + freebsd[123]*) objformat=aout ;;
4019 + *) objformat=elf ;;
4022 version_type=freebsd-$objformat
4023 case $version_type in
4025 @@ -8758,14 +9056,19 @@
4027 shlibpath_overrides_runpath=yes
4029 - freebsd3.01* | freebsdelf3.01*)
4030 + freebsd3.[01]* | freebsdelf3.[01]*)
4031 shlibpath_overrides_runpath=yes
4032 hardcode_into_libs=yes
4035 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
4036 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
4037 shlibpath_overrides_runpath=no
4038 hardcode_into_libs=yes
4040 + *) # from 4.6 on, and DragonFly
4041 + shlibpath_overrides_runpath=yes
4042 + hardcode_into_libs=yes
4047 @@ -8785,9 +9088,9 @@
4051 - case "$host_cpu" in
4056 hardcode_into_libs=yes
4057 dynamic_linker="$host_os dld.so"
4058 shlibpath_var=LD_LIBRARY_PATH
4059 @@ -8802,7 +9105,7 @@
4060 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4065 hardcode_into_libs=yes
4066 dynamic_linker="$host_os dld.sl"
4067 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4068 @@ -8813,7 +9116,7 @@
4069 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4074 dynamic_linker="$host_os dld.sl"
4075 shlibpath_var=SHLIB_PATH
4076 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4077 @@ -8825,6 +9128,18 @@
4078 postinstall_cmds='chmod 555 $lib'
4082 + version_type=linux
4083 + need_lib_prefix=no
4085 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4086 + soname_spec='${libname}${release}${shared_ext}$major'
4087 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
4088 + shlibpath_var=LD_LIBRARY_PATH
4089 + shlibpath_overrides_runpath=no
4090 + hardcode_into_libs=yes
4093 irix5* | irix6* | nonstopux*)
4095 nonstopux*) version_type=nonstopux ;;
4096 @@ -8868,7 +9183,7 @@
4099 # This must be Linux ELF.
4101 +linux* | k*bsd*-gnu)
4105 @@ -8882,6 +9197,12 @@
4106 # before this can be enabled.
4107 hardcode_into_libs=yes
4109 + # Append ld.so.conf contents to the search path
4110 + if test -f /etc/ld.so.conf; then
4111 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
4112 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4115 # We used to test for /lib/ld.so.1 and disable shared libraries on
4116 # powerpc, because MkLinux only supported shared libraries with the
4117 # GNU dynamic linker. Since this was broken with cross compilers,
4118 @@ -8891,6 +9212,18 @@
4119 dynamic_linker='GNU/Linux ld.so'
4123 + version_type=linux
4124 + need_lib_prefix=no
4126 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4127 + soname_spec='${libname}${release}${shared_ext}$major'
4128 + shlibpath_var=LD_LIBRARY_PATH
4129 + shlibpath_overrides_runpath=no
4130 + hardcode_into_libs=yes
4131 + dynamic_linker='NetBSD ld.elf_so'
4137 @@ -8900,7 +9233,7 @@
4138 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4139 dynamic_linker='NetBSD (a.out) ld.so'
4141 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4142 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4143 soname_spec='${libname}${release}${shared_ext}$major'
4144 dynamic_linker='NetBSD ld.elf_so'
4146 @@ -8916,7 +9249,7 @@
4147 shlibpath_overrides_runpath=yes
4155 @@ -8928,8 +9261,13 @@
4159 + sys_lib_dlsearch_path_spec="/usr/lib"
4162 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
4164 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
4165 + *) need_version=no ;;
4167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4168 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4169 shlibpath_var=LD_LIBRARY_PATH
4170 @@ -8949,7 +9287,7 @@
4173 libname_spec='$name'
4175 + shrext_cmds=".dll"
4177 library_names_spec='$libname${shared_ext} $libname.a'
4178 dynamic_linker='OS/2 ld.exe'
4179 @@ -8967,11 +9305,8 @@
4180 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4185 - soname_spec='${libname}${release}${shared_ext}$major'
4186 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4187 - shlibpath_var=LD_LIBRARY_PATH
4193 @@ -8999,7 +9334,7 @@
4197 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4201 soname_spec='${libname}${release}${shared_ext}$major'
4202 @@ -9032,6 +9367,29 @@
4206 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4207 + version_type=freebsd-elf
4208 + need_lib_prefix=no
4210 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4211 + soname_spec='${libname}${release}${shared_ext}$major'
4212 + shlibpath_var=LD_LIBRARY_PATH
4213 + hardcode_into_libs=yes
4214 + if test "$with_gnu_ld" = yes; then
4215 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
4216 + shlibpath_overrides_runpath=no
4218 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
4219 + shlibpath_overrides_runpath=yes
4222 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
4226 + sys_lib_dlsearch_path_spec='/usr/lib'
4231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4232 @@ -9047,6 +9405,93 @@
4233 echo "${ECHO_T}$dynamic_linker" >&6; }
4234 test "$dynamic_linker" = no && can_build_shared=no
4236 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
4237 + echo $ECHO_N "(cached) $ECHO_C" >&6
4239 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
4242 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
4243 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
4244 + echo $ECHO_N "(cached) $ECHO_C" >&6
4246 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
4249 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"