1 --- libffi-3.0.6/configure 2008-07-17 15:07:39.000000000 +0200
2 +++ build/configure 2008-10-14 09:55:37.000000000 +0200
24 @@ -3965,6 +3972,22 @@
35 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
36 + if test "$enable_shared" = yes; then
37 + LIBFFI_LDFLAGS="-no-undefined -Wl,--export-all-symbols"
44 # Check whether --enable-shared was given.
45 if test "${enable_shared+set}" = set; then
46 enableval=$enable_shared; p=${PACKAGE-default}
48 # whether `pass_all' will *always* work, you probably want this one.
53 lt_cv_deplibs_check_method=pass_all
59 # Find out which ABI we are using.
60 - echo '#line 4693 "configure"' > conftest.$ac_ext
61 + echo '#line 4716 "configure"' > conftest.$ac_ext
62 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63 (eval $ac_compile) 2>&5
71 x86_64-*kfreebsd*-gnu)
72 LD="${LD-ld} -m elf_x86_64_fbsd"
73 @@ -4863,7 +4885,11 @@
75 case $lt_cv_prog_gnu_ld in
76 yes*) LD="${LD-ld} -m elf64_sparc" ;;
77 - *) LD="${LD-ld} -64" ;;
79 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
86 @@ -4871,6 +4897,296 @@
90 +*-*-cygwin* | *-*-mingw* | *-*-pw32*)
91 + if test -n "$ac_tool_prefix"; then
92 + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
93 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
94 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
95 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
96 +if test "${ac_cv_prog_DLLTOOL+set}" = set; then
97 + echo $ECHO_N "(cached) $ECHO_C" >&6
99 + if test -n "$DLLTOOL"; then
100 + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
102 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 + test -z "$as_dir" && as_dir=.
107 + for ac_exec_ext in '' $ac_executable_extensions; do
108 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
109 + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
110 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
119 +DLLTOOL=$ac_cv_prog_DLLTOOL
120 +if test -n "$DLLTOOL"; then
121 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
122 +echo "${ECHO_T}$DLLTOOL" >&6; }
124 + { echo "$as_me:$LINENO: result: no" >&5
125 +echo "${ECHO_T}no" >&6; }
130 +if test -z "$ac_cv_prog_DLLTOOL"; then
131 + ac_ct_DLLTOOL=$DLLTOOL
132 + # Extract the first word of "dlltool", so it can be a program name with args.
133 +set dummy dlltool; ac_word=$2
134 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
135 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
136 +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
137 + echo $ECHO_N "(cached) $ECHO_C" >&6
139 + if test -n "$ac_ct_DLLTOOL"; then
140 + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
142 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
146 + test -z "$as_dir" && as_dir=.
147 + for ac_exec_ext in '' $ac_executable_extensions; do
148 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
149 + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
150 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
159 +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
160 +if test -n "$ac_ct_DLLTOOL"; then
161 + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
162 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
164 + { echo "$as_me:$LINENO: result: no" >&5
165 +echo "${ECHO_T}no" >&6; }
168 + if test "x$ac_ct_DLLTOOL" = x; then
171 + case $cross_compiling:$ac_tool_warned in
173 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
174 +whose name does not start with the host triplet. If you think this
175 +configuration is useful to you, please write to autoconf@gnu.org." >&5
176 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
177 +whose name does not start with the host triplet. If you think this
178 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
179 +ac_tool_warned=yes ;;
181 + DLLTOOL=$ac_ct_DLLTOOL
184 + DLLTOOL="$ac_cv_prog_DLLTOOL"
187 + if test -n "$ac_tool_prefix"; then
188 + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
189 +set dummy ${ac_tool_prefix}as; ac_word=$2
190 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
191 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
192 +if test "${ac_cv_prog_AS+set}" = set; then
193 + echo $ECHO_N "(cached) $ECHO_C" >&6
195 + if test -n "$AS"; then
196 + ac_cv_prog_AS="$AS" # Let the user override the test.
198 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
202 + test -z "$as_dir" && as_dir=.
203 + for ac_exec_ext in '' $ac_executable_extensions; do
204 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
205 + ac_cv_prog_AS="${ac_tool_prefix}as"
206 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
216 +if test -n "$AS"; then
217 + { echo "$as_me:$LINENO: result: $AS" >&5
218 +echo "${ECHO_T}$AS" >&6; }
220 + { echo "$as_me:$LINENO: result: no" >&5
221 +echo "${ECHO_T}no" >&6; }
226 +if test -z "$ac_cv_prog_AS"; then
228 + # Extract the first word of "as", so it can be a program name with args.
229 +set dummy as; ac_word=$2
230 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
231 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
232 +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
233 + echo $ECHO_N "(cached) $ECHO_C" >&6
235 + if test -n "$ac_ct_AS"; then
236 + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
238 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 + test -z "$as_dir" && as_dir=.
243 + for ac_exec_ext in '' $ac_executable_extensions; do
244 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
245 + ac_cv_prog_ac_ct_AS="as"
246 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
255 +ac_ct_AS=$ac_cv_prog_ac_ct_AS
256 +if test -n "$ac_ct_AS"; then
257 + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
258 +echo "${ECHO_T}$ac_ct_AS" >&6; }
260 + { echo "$as_me:$LINENO: result: no" >&5
261 +echo "${ECHO_T}no" >&6; }
264 + if test "x$ac_ct_AS" = x; then
267 + case $cross_compiling:$ac_tool_warned in
269 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
270 +whose name does not start with the host triplet. If you think this
271 +configuration is useful to you, please write to autoconf@gnu.org." >&5
272 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
273 +whose name does not start with the host triplet. If you think this
274 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
275 +ac_tool_warned=yes ;;
280 + AS="$ac_cv_prog_AS"
283 + if test -n "$ac_tool_prefix"; then
284 + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
285 +set dummy ${ac_tool_prefix}objdump; ac_word=$2
286 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
287 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
288 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then
289 + echo $ECHO_N "(cached) $ECHO_C" >&6
291 + if test -n "$OBJDUMP"; then
292 + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
294 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
298 + test -z "$as_dir" && as_dir=.
299 + for ac_exec_ext in '' $ac_executable_extensions; do
300 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
301 + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
302 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
311 +OBJDUMP=$ac_cv_prog_OBJDUMP
312 +if test -n "$OBJDUMP"; then
313 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
314 +echo "${ECHO_T}$OBJDUMP" >&6; }
316 + { echo "$as_me:$LINENO: result: no" >&5
317 +echo "${ECHO_T}no" >&6; }
322 +if test -z "$ac_cv_prog_OBJDUMP"; then
323 + ac_ct_OBJDUMP=$OBJDUMP
324 + # Extract the first word of "objdump", so it can be a program name with args.
325 +set dummy objdump; ac_word=$2
326 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
327 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
328 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
329 + echo $ECHO_N "(cached) $ECHO_C" >&6
331 + if test -n "$ac_ct_OBJDUMP"; then
332 + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
334 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
338 + test -z "$as_dir" && as_dir=.
339 + for ac_exec_ext in '' $ac_executable_extensions; do
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_ac_ct_OBJDUMP="objdump"
342 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
351 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
352 +if test -n "$ac_ct_OBJDUMP"; then
353 + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
354 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
356 + { echo "$as_me:$LINENO: result: no" >&5
357 +echo "${ECHO_T}no" >&6; }
360 + if test "x$ac_ct_OBJDUMP" = x; then
363 + case $cross_compiling:$ac_tool_warned in
365 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
366 +whose name does not start with the host triplet. If you think this
367 +configuration is useful to you, please write to autoconf@gnu.org." >&5
368 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
369 +whose name does not start with the host triplet. If you think this
370 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
371 +ac_tool_warned=yes ;;
373 + OBJDUMP=$ac_ct_OBJDUMP
376 + OBJDUMP="$ac_cv_prog_OBJDUMP"
383 @@ -6465,7 +6781,6 @@
386 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
388 # find the maximum length of command line arguments
389 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
390 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
391 @@ -6780,7 +7095,7 @@
392 echo "$progname: failed program was:" >&5
393 cat conftest.$ac_ext >&5
395 - rm -f conftest* conftst*
396 + rm -rf conftest* conftst*
398 # Do not use the global_symbol_pipe unless it works.
399 if test "$pipe_works" = yes; then
400 @@ -7309,39 +7624,351 @@
401 *** may want to report the problem to your system manager and/or to
402 *** bug-libtool@gnu.org
412 - MAGIC_CMD="$lt_save_MAGIC_CMD"
423 + MAGIC_CMD="$lt_save_MAGIC_CMD"
428 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
429 +if test -n "$MAGIC_CMD"; then
430 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
431 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
433 + { echo "$as_me:$LINENO: result: no" >&5
434 +echo "${ECHO_T}no" >&6; }
448 + rhapsody* | darwin*)
449 + if test -n "$ac_tool_prefix"; then
450 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
451 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
452 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
453 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
454 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
455 + echo $ECHO_N "(cached) $ECHO_C" >&6
457 + if test -n "$DSYMUTIL"; then
458 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
460 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
464 + test -z "$as_dir" && as_dir=.
465 + for ac_exec_ext in '' $ac_executable_extensions; do
466 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
467 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
468 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
477 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
478 +if test -n "$DSYMUTIL"; then
479 + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
480 +echo "${ECHO_T}$DSYMUTIL" >&6; }
482 + { echo "$as_me:$LINENO: result: no" >&5
483 +echo "${ECHO_T}no" >&6; }
488 +if test -z "$ac_cv_prog_DSYMUTIL"; then
489 + ac_ct_DSYMUTIL=$DSYMUTIL
490 + # Extract the first word of "dsymutil", so it can be a program name with args.
491 +set dummy dsymutil; ac_word=$2
492 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
493 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
494 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
495 + echo $ECHO_N "(cached) $ECHO_C" >&6
497 + if test -n "$ac_ct_DSYMUTIL"; then
498 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
500 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
504 + test -z "$as_dir" && as_dir=.
505 + for ac_exec_ext in '' $ac_executable_extensions; do
506 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
507 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
508 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
517 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
518 +if test -n "$ac_ct_DSYMUTIL"; then
519 + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
520 +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
522 + { echo "$as_me:$LINENO: result: no" >&5
523 +echo "${ECHO_T}no" >&6; }
526 + if test "x$ac_ct_DSYMUTIL" = x; then
529 + case $cross_compiling:$ac_tool_warned in
531 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
532 +whose name does not start with the host triplet. If you think this
533 +configuration is useful to you, please write to autoconf@gnu.org." >&5
534 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
535 +whose name does not start with the host triplet. If you think this
536 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
537 +ac_tool_warned=yes ;;
539 + DSYMUTIL=$ac_ct_DSYMUTIL
542 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
545 + if test -n "$ac_tool_prefix"; then
546 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
547 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
548 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
549 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
550 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
551 + echo $ECHO_N "(cached) $ECHO_C" >&6
553 + if test -n "$NMEDIT"; then
554 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
556 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
560 + test -z "$as_dir" && as_dir=.
561 + for ac_exec_ext in '' $ac_executable_extensions; do
562 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
563 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
564 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
573 +NMEDIT=$ac_cv_prog_NMEDIT
574 +if test -n "$NMEDIT"; then
575 + { echo "$as_me:$LINENO: result: $NMEDIT" >&5
576 +echo "${ECHO_T}$NMEDIT" >&6; }
578 + { echo "$as_me:$LINENO: result: no" >&5
579 +echo "${ECHO_T}no" >&6; }
584 +if test -z "$ac_cv_prog_NMEDIT"; then
585 + ac_ct_NMEDIT=$NMEDIT
586 + # Extract the first word of "nmedit", so it can be a program name with args.
587 +set dummy nmedit; ac_word=$2
588 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
589 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
590 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
591 + echo $ECHO_N "(cached) $ECHO_C" >&6
593 + if test -n "$ac_ct_NMEDIT"; then
594 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
596 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
600 + test -z "$as_dir" && as_dir=.
601 + for ac_exec_ext in '' $ac_executable_extensions; do
602 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
603 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
604 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
611 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
612 -if test -n "$MAGIC_CMD"; then
613 - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
614 -echo "${ECHO_T}$MAGIC_CMD" >&6; }
617 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
618 +if test -n "$ac_ct_NMEDIT"; then
619 + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
620 +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
622 { echo "$as_me:$LINENO: result: no" >&5
623 echo "${ECHO_T}no" >&6; }
626 + if test "x$ac_ct_NMEDIT" = x; then
630 + case $cross_compiling:$ac_tool_warned in
632 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
633 +whose name does not start with the host triplet. If you think this
634 +configuration is useful to you, please write to autoconf@gnu.org." >&5
635 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
636 +whose name does not start with the host triplet. If you think this
637 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
638 +ac_tool_warned=yes ;;
640 + NMEDIT=$ac_ct_NMEDIT
643 + NMEDIT="$ac_cv_prog_NMEDIT"
649 + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
650 +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
651 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
652 + echo $ECHO_N "(cached) $ECHO_C" >&6
654 + lt_cv_apple_cc_single_mod=no
655 + if test -z "${LT_MULTI_MODULE}"; then
656 + # By default we will add the -single_module flag. You can override
657 + # by either setting the environment variable LT_MULTI_MODULE
658 + # non-empty at configure time, or by adding -multi_module to the
660 + echo "int foo(void){return 1;}" > conftest.c
661 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
662 + -dynamiclib ${wl}-single_module conftest.c
663 + if test -f libconftest.dylib; then
664 + lt_cv_apple_cc_single_mod=yes
665 + rm -rf libconftest.dylib*
670 +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
671 +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
672 + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
673 +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
674 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
675 + echo $ECHO_N "(cached) $ECHO_C" >&6
677 + lt_cv_ld_exported_symbols_list=no
678 + save_LDFLAGS=$LDFLAGS
679 + echo "_main" > conftest.sym
680 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
681 + cat >conftest.$ac_ext <<_ACEOF
684 +cat confdefs.h >>conftest.$ac_ext
685 +cat >>conftest.$ac_ext <<_ACEOF
686 +/* end confdefs.h. */
696 +rm -f conftest.$ac_objext conftest$ac_exeext
697 +if { (ac_try="$ac_link"
699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
700 + *) ac_try_echo=$ac_try;;
702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
703 + (eval "$ac_link") 2>conftest.er1
705 + grep -v '^ *+' conftest.er1 >conftest.err
707 + cat conftest.err >&5
708 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
709 + (exit $ac_status); } && {
710 + test -z "$ac_c_werror_flag" ||
711 + test ! -s conftest.err
712 + } && test -s conftest$ac_exeext &&
713 + $as_test_x conftest$ac_exeext; then
714 + lt_cv_ld_exported_symbols_list=yes
716 + echo "$as_me: failed program was:" >&5
717 +sed 's/^/| /' conftest.$ac_ext >&5
719 + lt_cv_ld_exported_symbols_list=no
722 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
723 + conftest$ac_exeext conftest.$ac_ext
724 + LDFLAGS="$save_LDFLAGS"
727 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
728 +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
730 + rhapsody* | darwin1.[0123])
731 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
733 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
735 + # if running on 10.5 or later, the deployment target defaults
736 + # to the OS version, if on x86, and 10.4, the deployment
737 + # target defaults to 10.4. Don't you love it?
738 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
739 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
740 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
742 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
744 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
748 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
749 + _lt_dar_single_mod='$single_module'
751 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
752 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
754 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
756 + if test "$DSYMUTIL" != ":"; then
757 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
767 +enable_win32_dll=yes
769 # Check whether --enable-libtool-lock was given.
770 if test "${enable_libtool_lock+set}" = set; then
771 @@ -7360,6 +7987,67 @@
773 test -z "$pic_mode" && pic_mode=default
775 +# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
777 +# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
778 +# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
779 +# calls AC_LIBTOOL_CONFIG and creates libtool.
781 +{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
782 +echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
783 +if test "x$ltmain" = "x" ; then
784 + { echo "$as_me:$LINENO: result: no" >&5
785 +echo "${ECHO_T}no" >&6; }
786 + { { echo "$as_me:$LINENO: error:
788 +*** [Gentoo] sanity check failed! ***
789 +*** \$ltmain is not defined, please check the patch for consistency! ***
791 +echo "$as_me: error:
793 +*** [Gentoo] sanity check failed! ***
794 +*** \$ltmain is not defined, please check the patch for consistency! ***
796 + { (exit 1); exit 1; }; }
798 +gentoo_lt_version="1.5.26"
799 +gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
800 +if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
801 + { echo "$as_me:$LINENO: result: no" >&5
802 +echo "${ECHO_T}no" >&6; }
803 + { { echo "$as_me:$LINENO: error:
805 +*** [Gentoo] sanity check failed! ***
806 +*** libtool.m4 and ltmain.sh have a version mismatch! ***
807 +*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
811 + libtoolize --copy --force
813 +if appropriate, please contact the maintainer of this
814 +package (or your distribution) for help.
816 +echo "$as_me: error:
818 +*** [Gentoo] sanity check failed! ***
819 +*** libtool.m4 and ltmain.sh have a version mismatch! ***
820 +*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
824 + libtoolize --copy --force
826 +if appropriate, please contact the maintainer of this
827 +package (or your distribution) for help.
829 + { (exit 1); exit 1; }; }
831 + { echo "$as_me:$LINENO: result: yes" >&5
832 +echo "${ECHO_T}yes" >&6; }
836 # Use C for the default configuration in the libtool script
839 @@ -7405,7 +8093,7 @@
840 echo "$lt_simple_link_test_code" >conftest.$ac_ext
841 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
842 _lt_linker_boilerplate=`cat conftest.err`
848 @@ -7433,11 +8121,11 @@
849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
851 -e 's:$: $lt_compiler_flag:'`
852 - (eval echo "\"\$as_me:7436: $lt_compile\"" >&5)
853 + (eval echo "\"\$as_me:8124: $lt_compile\"" >&5)
854 (eval "$lt_compile" 2>conftest.err)
857 - echo "$as_me:7440: \$? = $ac_status" >&5
858 + echo "$as_me:8128: \$? = $ac_status" >&5
859 if (exit $ac_status) && test -s "$ac_outfile"; then
860 # The compiler can only warn and ignore the option if not recognized
861 # So say no if there are warnings other than the usual output.
862 @@ -7707,10 +8395,10 @@
864 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
865 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
866 -if test "${lt_prog_compiler_pic_works+set}" = set; then
867 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
868 echo $ECHO_N "(cached) $ECHO_C" >&6
870 - lt_prog_compiler_pic_works=no
871 + lt_cv_prog_compiler_pic_works=no
872 ac_outfile=conftest.$ac_objext
873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
874 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
875 @@ -7723,27 +8411,27 @@
876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
878 -e 's:$: $lt_compiler_flag:'`
879 - (eval echo "\"\$as_me:7726: $lt_compile\"" >&5)
880 + (eval echo "\"\$as_me:8414: $lt_compile\"" >&5)
881 (eval "$lt_compile" 2>conftest.err)
884 - echo "$as_me:7730: \$? = $ac_status" >&5
885 + echo "$as_me:8418: \$? = $ac_status" >&5
886 if (exit $ac_status) && test -s "$ac_outfile"; then
887 # The compiler can only warn and ignore the option if not recognized
888 # So say no if there are warnings other than the usual output.
889 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
890 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
891 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
892 - lt_prog_compiler_pic_works=yes
893 + lt_cv_prog_compiler_pic_works=yes
899 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
900 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
901 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
902 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
904 -if test x"$lt_prog_compiler_pic_works" = xyes; then
905 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
906 case $lt_prog_compiler_pic in
908 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
909 @@ -7770,10 +8458,10 @@
910 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
911 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
912 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
913 -if test "${lt_prog_compiler_static_works+set}" = set; then
914 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
915 echo $ECHO_N "(cached) $ECHO_C" >&6
917 - lt_prog_compiler_static_works=no
918 + lt_cv_prog_compiler_static_works=no
919 save_LDFLAGS="$LDFLAGS"
920 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
921 echo "$lt_simple_link_test_code" > conftest.$ac_ext
922 @@ -7786,20 +8474,20 @@
923 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
924 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
925 if diff conftest.exp conftest.er2 >/dev/null; then
926 - lt_prog_compiler_static_works=yes
927 + lt_cv_prog_compiler_static_works=yes
930 - lt_prog_compiler_static_works=yes
931 + lt_cv_prog_compiler_static_works=yes
936 LDFLAGS="$save_LDFLAGS"
939 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
940 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
941 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
942 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
944 -if test x"$lt_prog_compiler_static_works" = xyes; then
945 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
948 lt_prog_compiler_static=
949 @@ -7827,11 +8515,11 @@
950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
952 -e 's:$: $lt_compiler_flag:'`
953 - (eval echo "\"\$as_me:7830: $lt_compile\"" >&5)
954 + (eval echo "\"\$as_me:8518: $lt_compile\"" >&5)
955 (eval "$lt_compile" 2>out/conftest.err)
957 cat out/conftest.err >&5
958 - echo "$as_me:7834: \$? = $ac_status" >&5
959 + echo "$as_me:8522: \$? = $ac_status" >&5
960 if (exit $ac_status) && test -s out/conftest2.$ac_objext
962 # The compiler can only warn and ignore the option if not recognized
963 @@ -7911,12 +8599,13 @@
964 # it will be wrapped by ` (' and `)$', so one must not match beginning or
965 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
966 # as well as any symbol that contains `d'.
967 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
968 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
969 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
970 # platforms (ab)use it in PIC code, but their linkers get confused if
971 # the symbol is explicitly referenced. Since portable code cannot
972 # rely on this symbol name, it's probably fine to never include it in
973 # preloaded symbol tables.
974 + # Exclude shared library initialization/finalization symbols.
975 extract_expsyms_cmds=
976 # Just being paranoid about ensuring that cc_basename is set.
977 for cc_temp in $compiler""; do
978 @@ -7975,7 +8664,7 @@
980 # See if GNU ld supports shared libraries.
982 - aix3* | aix4* | aix5*)
984 # On AIX/PPC, the GNU linker is very broken
985 if test "$host_cpu" != ia64; then
987 @@ -8194,7 +8883,7 @@
993 if test "$host_cpu" = ia64; then
994 # On IA64, the linker does run time linking by default, so we don't
995 # have to do anything special.
996 @@ -8214,7 +8903,7 @@
997 # Test if we are trying to use run time linking or normal
998 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
999 # need to do runtime linking.
1000 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1001 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1002 for ld_flag in $LDFLAGS; do
1003 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1004 aix_use_runtimelinking=yes
1005 @@ -8486,11 +9175,10 @@
1006 link_all_deplibs=yes
1007 if test "$GCC" = yes ; then
1008 output_verbose_link_cmd='echo'
1009 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1010 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1011 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1012 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1013 - 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}'
1014 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1015 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1016 + 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}"
1017 + 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}"
1019 case $cc_basename in
1021 @@ -9010,7 +9698,7 @@
1022 soname_spec='${libname}${release}${shared_ext}$major'
1030 @@ -9178,7 +9866,14 @@
1034 - version_type=freebsd-$objformat
1035 + # Handle Gentoo/FreeBSD as it was Linux
1036 + case $host_vendor in
1038 + version_type=linux ;;
1040 + version_type=freebsd-$objformat ;;
1043 case $version_type in
1045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1046 @@ -9189,6 +9884,12 @@
1047 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1051 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1052 + soname_spec='${libname}${release}${shared_ext}$major'
1053 + need_lib_prefix=no
1057 shlibpath_var=LD_LIBRARY_PATH
1059 @@ -9335,13 +10036,11 @@
1060 # Some rework will be needed to allow for fast_install
1061 # before this can be enabled.
1062 hardcode_into_libs=yes
1063 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1064 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1066 # Append ld.so.conf contents to the search path
1067 if test -f /etc/ld.so.conf; then
1068 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' ' '`
1069 - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1070 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1073 # We used to test for /lib/ld.so.1 and disable shared libraries on
1074 @@ -9534,6 +10233,21 @@
1075 echo "${ECHO_T}$dynamic_linker" >&6; }
1076 test "$dynamic_linker" = no && can_build_shared=no
1078 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
1079 + echo $ECHO_N "(cached) $ECHO_C" >&6
1081 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
1084 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1085 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
1086 + echo $ECHO_N "(cached) $ECHO_C" >&6
1088 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
1091 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1093 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1094 if test "$GCC" = yes; then
1095 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1096 @@ -9853,7 +10567,7 @@
1097 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
1098 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
1099 if test $ac_cv_lib_dld_shl_load = yes; then
1100 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
1101 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1103 { echo "$as_me:$LINENO: checking for dlopen" >&5
1104 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
1105 @@ -10129,7 +10843,7 @@
1106 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
1107 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
1108 if test $ac_cv_lib_dld_dld_link = yes; then
1109 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
1110 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1114 @@ -10178,7 +10892,7 @@
1115 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1116 lt_status=$lt_dlunknown
1117 cat > conftest.$ac_ext <<EOF
1118 -#line 10181 "configure"
1119 +#line 10895 "configure"
1120 #include "confdefs.h"
1123 @@ -10278,7 +10992,7 @@
1124 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1125 lt_status=$lt_dlunknown
1126 cat > conftest.$ac_ext <<EOF
1127 -#line 10281 "configure"
1128 +#line 10995 "configure"
1129 #include "confdefs.h"
1132 @@ -10405,7 +11119,7 @@
1138 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1139 test "$enable_shared" = yes && enable_static=no
1141 @@ -10461,6 +11175,7 @@
1144 compiler_lib_search_path \
1145 + compiler_lib_search_dirs \
1147 archive_expsym_cmds \
1149 @@ -10521,7 +11236,7 @@
1150 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
1151 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1153 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
1154 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1155 # Free Software Foundation, Inc.
1157 # This file is part of GNU Libtool:
1158 @@ -10757,6 +11472,10 @@
1160 postdeps=$lt_postdeps
1162 +# The directories searched by this compiler when creating a shared
1164 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
1166 # The library search path used internally by the compiler when linking
1168 compiler_lib_search_path=$lt_compiler_lib_search_path
1169 @@ -11005,6 +11724,7 @@
1172 compiler_lib_search_path_CXX=
1173 +compiler_lib_search_dirs_CXX=
1175 # Source file extension for C++ test sources.
1177 @@ -11042,7 +11762,7 @@
1178 echo "$lt_simple_link_test_code" >conftest.$ac_ext
1179 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1180 _lt_linker_boilerplate=`cat conftest.err`
1185 # Allow CC to be a program name with arguments.
1186 @@ -11249,7 +11969,7 @@
1187 # FIXME: insert proper C++ library support
1192 if test "$host_cpu" = ia64; then
1193 # On IA64, the linker does run time linking by default, so we don't
1194 # have to do anything special.
1195 @@ -11262,7 +11982,7 @@
1196 # Test if we are trying to use run time linking or normal
1197 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1198 # need to do runtime linking.
1199 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1200 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1201 for ld_flag in $LDFLAGS; do
1204 @@ -11520,51 +12240,23 @@
1207 darwin* | rhapsody*)
1209 - rhapsody* | darwin1.[012])
1210 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
1212 - *) # Darwin 1.3 on
1213 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1214 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1216 - case ${MACOSX_DEPLOYMENT_TARGET} in
1218 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
1221 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
1227 archive_cmds_need_lc_CXX=no
1228 hardcode_direct_CXX=no
1229 hardcode_automatic_CXX=yes
1230 hardcode_shlibpath_var_CXX=unsupported
1231 whole_archive_flag_spec_CXX=''
1232 link_all_deplibs_CXX=yes
1234 - if test "$GXX" = yes ; then
1235 - lt_int_apple_cc_single_mod=no
1236 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
1237 + if test "$GXX" = yes ; then
1238 output_verbose_link_cmd='echo'
1239 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
1240 - lt_int_apple_cc_single_mod=yes
1241 + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1242 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1243 + archive_expsym_cmds_CXX="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}"
1244 + module_expsym_cmds_CXX="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}"
1245 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1246 + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1247 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
1249 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1250 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1252 - archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1254 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1255 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1256 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1257 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1259 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1261 - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1263 case $cc_basename in
1265 @@ -11815,7 +12507,7 @@
1266 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1267 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1271 # Portland Group C++ compiler
1272 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1273 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1274 @@ -12222,7 +12914,6 @@
1279 cat > conftest.$ac_ext <<EOF
1282 @@ -12324,6 +13015,11 @@
1284 $rm -f confest.$objext
1286 +compiler_lib_search_dirs_CXX=
1287 +if test -n "$compiler_lib_search_path_CXX"; then
1288 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
1291 # PORTME: override above test on systems where it is broken
1294 @@ -12379,7 +13075,6 @@
1299 case " $postdeps_CXX " in
1300 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
1302 @@ -12455,7 +13150,7 @@
1308 # All AIX code is PIC.
1309 if test "$host_cpu" = ia64; then
1310 # AIX 5 now supports IA64 processor
1311 @@ -12551,7 +13246,7 @@
1312 lt_prog_compiler_pic_CXX='-KPIC'
1313 lt_prog_compiler_static_CXX='-static'
1317 # Portland Group C++ compiler.
1318 lt_prog_compiler_wl_CXX='-Wl,'
1319 lt_prog_compiler_pic_CXX='-fpic'
1320 @@ -12682,10 +13377,10 @@
1322 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1323 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
1324 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
1325 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 - lt_prog_compiler_pic_works_CXX=no
1329 + lt_cv_prog_compiler_pic_works_CXX=no
1330 ac_outfile=conftest.$ac_objext
1331 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1332 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
1333 @@ -12698,27 +13393,27 @@
1334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1336 -e 's:$: $lt_compiler_flag:'`
1337 - (eval echo "\"\$as_me:12701: $lt_compile\"" >&5)
1338 + (eval echo "\"\$as_me:13396: $lt_compile\"" >&5)
1339 (eval "$lt_compile" 2>conftest.err)
1341 cat conftest.err >&5
1342 - echo "$as_me:12705: \$? = $ac_status" >&5
1343 + echo "$as_me:13400: \$? = $ac_status" >&5
1344 if (exit $ac_status) && test -s "$ac_outfile"; then
1345 # The compiler can only warn and ignore the option if not recognized
1346 # So say no if there are warnings other than the usual output.
1347 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1348 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1349 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1350 - lt_prog_compiler_pic_works_CXX=yes
1351 + lt_cv_prog_compiler_pic_works_CXX=yes
1357 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
1358 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
1359 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
1360 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1362 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1363 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
1364 case $lt_prog_compiler_pic_CXX in
1366 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
1367 @@ -12745,10 +13440,10 @@
1368 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1369 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1370 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1371 -if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
1372 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 - lt_prog_compiler_static_works_CXX=no
1376 + lt_cv_prog_compiler_static_works_CXX=no
1377 save_LDFLAGS="$LDFLAGS"
1378 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1379 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1380 @@ -12761,20 +13456,20 @@
1381 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1383 if diff conftest.exp conftest.er2 >/dev/null; then
1384 - lt_prog_compiler_static_works_CXX=yes
1385 + lt_cv_prog_compiler_static_works_CXX=yes
1388 - lt_prog_compiler_static_works_CXX=yes
1389 + lt_cv_prog_compiler_static_works_CXX=yes
1394 LDFLAGS="$save_LDFLAGS"
1397 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
1398 -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
1399 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
1400 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
1402 -if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1403 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
1406 lt_prog_compiler_static_CXX=
1407 @@ -12802,11 +13497,11 @@
1408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1410 -e 's:$: $lt_compiler_flag:'`
1411 - (eval echo "\"\$as_me:12805: $lt_compile\"" >&5)
1412 + (eval echo "\"\$as_me:13500: $lt_compile\"" >&5)
1413 (eval "$lt_compile" 2>out/conftest.err)
1415 cat out/conftest.err >&5
1416 - echo "$as_me:12809: \$? = $ac_status" >&5
1417 + echo "$as_me:13504: \$? = $ac_status" >&5
1418 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1420 # The compiler can only warn and ignore the option if not recognized
1421 @@ -12859,7 +13554,7 @@
1423 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1427 # If we're using GNU nm, then we don't want the "-C" option.
1428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
1429 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
1430 @@ -12878,6 +13573,7 @@
1431 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1434 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1436 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
1437 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
1438 @@ -12979,7 +13675,7 @@
1439 soname_spec='${libname}${release}${shared_ext}$major'
1447 @@ -13146,7 +13842,14 @@
1451 - version_type=freebsd-$objformat
1452 + # Handle Gentoo/FreeBSD as it was Linux
1453 + case $host_vendor in
1455 + version_type=linux ;;
1457 + version_type=freebsd-$objformat ;;
1460 case $version_type in
1462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1463 @@ -13157,6 +13860,12 @@
1464 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1468 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1469 + soname_spec='${libname}${release}${shared_ext}$major'
1470 + need_lib_prefix=no
1474 shlibpath_var=LD_LIBRARY_PATH
1476 @@ -13303,13 +14012,11 @@
1477 # Some rework will be needed to allow for fast_install
1478 # before this can be enabled.
1479 hardcode_into_libs=yes
1480 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1481 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1483 # Append ld.so.conf contents to the search path
1484 if test -f /etc/ld.so.conf; then
1485 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' ' '`
1486 - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1487 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1490 # We used to test for /lib/ld.so.1 and disable shared libraries on
1491 @@ -13502,6 +14209,21 @@
1492 echo "${ECHO_T}$dynamic_linker" >&6; }
1493 test "$dynamic_linker" = no && can_build_shared=no
1495 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
1496 + echo $ECHO_N "(cached) $ECHO_C" >&6
1498 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
1501 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1502 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
1503 + echo $ECHO_N "(cached) $ECHO_C" >&6
1505 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
1508 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1510 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1511 if test "$GCC" = yes; then
1512 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1513 @@ -13585,6 +14307,7 @@
1516 compiler_lib_search_path_CXX \
1517 + compiler_lib_search_dirs_CXX \
1519 archive_expsym_cmds_CXX \
1520 postinstall_cmds_CXX \
1521 @@ -13833,6 +14556,10 @@
1523 postdeps=$lt_postdeps_CXX
1525 +# The directories searched by this compiler when creating a shared
1527 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1529 # The library search path used internally by the compiler when linking
1531 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1532 @@ -14047,7 +14774,7 @@
1533 echo "$lt_simple_link_test_code" >conftest.$ac_ext
1534 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1535 _lt_linker_boilerplate=`cat conftest.err`
1540 # Allow CC to be a program name with arguments.
1541 @@ -14085,7 +14812,7 @@
1542 postinstall_cmds='$RANLIB $lib'
1547 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1548 test "$enable_shared" = yes && enable_static=no
1550 @@ -14350,10 +15077,10 @@
1552 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
1553 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
1554 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
1555 +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 - lt_prog_compiler_pic_works_F77=no
1559 + lt_cv_prog_compiler_pic_works_F77=no
1560 ac_outfile=conftest.$ac_objext
1561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1562 lt_compiler_flag="$lt_prog_compiler_pic_F77"
1563 @@ -14366,27 +15093,27 @@
1564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1566 -e 's:$: $lt_compiler_flag:'`
1567 - (eval echo "\"\$as_me:14369: $lt_compile\"" >&5)
1568 + (eval echo "\"\$as_me:15096: $lt_compile\"" >&5)
1569 (eval "$lt_compile" 2>conftest.err)
1571 cat conftest.err >&5
1572 - echo "$as_me:14373: \$? = $ac_status" >&5
1573 + echo "$as_me:15100: \$? = $ac_status" >&5
1574 if (exit $ac_status) && test -s "$ac_outfile"; then
1575 # The compiler can only warn and ignore the option if not recognized
1576 # So say no if there are warnings other than the usual output.
1577 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1578 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1579 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1580 - lt_prog_compiler_pic_works_F77=yes
1581 + lt_cv_prog_compiler_pic_works_F77=yes
1587 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
1588 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
1589 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
1590 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
1592 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1593 +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
1594 case $lt_prog_compiler_pic_F77 in
1596 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
1597 @@ -14413,10 +15140,10 @@
1598 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
1599 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1600 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1601 -if test "${lt_prog_compiler_static_works_F77+set}" = set; then
1602 +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 - lt_prog_compiler_static_works_F77=no
1606 + lt_cv_prog_compiler_static_works_F77=no
1607 save_LDFLAGS="$LDFLAGS"
1608 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1609 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1610 @@ -14429,20 +15156,20 @@
1611 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1612 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1613 if diff conftest.exp conftest.er2 >/dev/null; then
1614 - lt_prog_compiler_static_works_F77=yes
1615 + lt_cv_prog_compiler_static_works_F77=yes
1618 - lt_prog_compiler_static_works_F77=yes
1619 + lt_cv_prog_compiler_static_works_F77=yes
1624 LDFLAGS="$save_LDFLAGS"
1627 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
1628 -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
1629 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
1630 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
1632 -if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1633 +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
1636 lt_prog_compiler_static_F77=
1637 @@ -14470,11 +15197,11 @@
1638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1640 -e 's:$: $lt_compiler_flag:'`
1641 - (eval echo "\"\$as_me:14473: $lt_compile\"" >&5)
1642 + (eval echo "\"\$as_me:15200: $lt_compile\"" >&5)
1643 (eval "$lt_compile" 2>out/conftest.err)
1645 cat out/conftest.err >&5
1646 - echo "$as_me:14477: \$? = $ac_status" >&5
1647 + echo "$as_me:15204: \$? = $ac_status" >&5
1648 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1650 # The compiler can only warn and ignore the option if not recognized
1651 @@ -14554,12 +15281,13 @@
1652 # it will be wrapped by ` (' and `)$', so one must not match beginning or
1653 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1654 # as well as any symbol that contains `d'.
1655 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
1656 + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1657 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1658 # platforms (ab)use it in PIC code, but their linkers get confused if
1659 # the symbol is explicitly referenced. Since portable code cannot
1660 # rely on this symbol name, it's probably fine to never include it in
1661 # preloaded symbol tables.
1662 + # Exclude shared library initialization/finalization symbols.
1663 extract_expsyms_cmds=
1664 # Just being paranoid about ensuring that cc_basename is set.
1665 for cc_temp in $compiler""; do
1666 @@ -14618,7 +15346,7 @@
1668 # See if GNU ld supports shared libraries.
1670 - aix3* | aix4* | aix5*)
1672 # On AIX/PPC, the GNU linker is very broken
1673 if test "$host_cpu" != ia64; then
1675 @@ -14837,7 +15565,7 @@
1681 if test "$host_cpu" = ia64; then
1682 # On IA64, the linker does run time linking by default, so we don't
1683 # have to do anything special.
1684 @@ -14857,7 +15585,7 @@
1685 # Test if we are trying to use run time linking or normal
1686 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1687 # need to do runtime linking.
1688 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1689 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1690 for ld_flag in $LDFLAGS; do
1691 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1692 aix_use_runtimelinking=yes
1693 @@ -15109,11 +15837,10 @@
1694 link_all_deplibs_F77=yes
1695 if test "$GCC" = yes ; then
1696 output_verbose_link_cmd='echo'
1697 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1698 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1699 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1700 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1701 - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1702 + archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1703 + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1704 + archive_expsym_cmds_F77="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}"
1705 + module_expsym_cmds_F77="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}"
1707 case $cc_basename in
1709 @@ -15582,7 +16309,7 @@
1710 soname_spec='${libname}${release}${shared_ext}$major'
1718 @@ -15749,7 +16476,14 @@
1722 - version_type=freebsd-$objformat
1723 + # Handle Gentoo/FreeBSD as it was Linux
1724 + case $host_vendor in
1726 + version_type=linux ;;
1728 + version_type=freebsd-$objformat ;;
1731 case $version_type in
1733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1734 @@ -15760,6 +16494,12 @@
1735 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1739 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1740 + soname_spec='${libname}${release}${shared_ext}$major'
1741 + need_lib_prefix=no
1745 shlibpath_var=LD_LIBRARY_PATH
1747 @@ -15906,13 +16646,11 @@
1748 # Some rework will be needed to allow for fast_install
1749 # before this can be enabled.
1750 hardcode_into_libs=yes
1751 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1752 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1754 # Append ld.so.conf contents to the search path
1755 if test -f /etc/ld.so.conf; then
1756 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' ' '`
1757 - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1758 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1761 # We used to test for /lib/ld.so.1 and disable shared libraries on
1762 @@ -16105,6 +16843,21 @@
1763 echo "${ECHO_T}$dynamic_linker" >&6; }
1764 test "$dynamic_linker" = no && can_build_shared=no
1766 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
1767 + echo $ECHO_N "(cached) $ECHO_C" >&6
1769 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
1772 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1773 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
1774 + echo $ECHO_N "(cached) $ECHO_C" >&6
1776 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
1779 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1781 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1782 if test "$GCC" = yes; then
1783 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1784 @@ -16188,6 +16941,7 @@
1787 compiler_lib_search_path_F77 \
1788 + compiler_lib_search_dirs_F77 \
1790 archive_expsym_cmds_F77 \
1791 postinstall_cmds_F77 \
1792 @@ -16436,6 +17190,10 @@
1794 postdeps=$lt_postdeps_F77
1796 +# The directories searched by this compiler when creating a shared
1798 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
1800 # The library search path used internally by the compiler when linking
1802 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
1803 @@ -16610,7 +17368,7 @@
1804 echo "$lt_simple_link_test_code" >conftest.$ac_ext
1805 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1806 _lt_linker_boilerplate=`cat conftest.err`
1811 # Allow CC to be a program name with arguments.
1812 @@ -16659,11 +17417,11 @@
1813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1815 -e 's:$: $lt_compiler_flag:'`
1816 - (eval echo "\"\$as_me:16662: $lt_compile\"" >&5)
1817 + (eval echo "\"\$as_me:17420: $lt_compile\"" >&5)
1818 (eval "$lt_compile" 2>conftest.err)
1820 cat conftest.err >&5
1821 - echo "$as_me:16666: \$? = $ac_status" >&5
1822 + echo "$as_me:17424: \$? = $ac_status" >&5
1823 if (exit $ac_status) && test -s "$ac_outfile"; then
1824 # The compiler can only warn and ignore the option if not recognized
1825 # So say no if there are warnings other than the usual output.
1826 @@ -16723,7 +17481,7 @@
1827 # built for inclusion in a dll (and should export symbols for example).
1828 # Although the cygwin gcc ignores -fPIC, still need this for old-style
1829 # (--disable-auto-import) libraries
1830 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1834 darwin* | rhapsody*)
1835 @@ -16793,7 +17551,7 @@
1836 mingw* | cygwin* | pw32* | os2*)
1837 # This hack is so that the source file can tell whether it is being
1838 # built for inclusion in a dll (and should export symbols for example).
1839 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
1843 hpux9* | hpux10* | hpux11*)
1844 @@ -16933,10 +17691,10 @@
1846 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
1847 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
1848 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
1849 +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 - lt_prog_compiler_pic_works_GCJ=no
1853 + lt_cv_prog_compiler_pic_works_GCJ=no
1854 ac_outfile=conftest.$ac_objext
1855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1856 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
1857 @@ -16949,27 +17707,27 @@
1858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1860 -e 's:$: $lt_compiler_flag:'`
1861 - (eval echo "\"\$as_me:16952: $lt_compile\"" >&5)
1862 + (eval echo "\"\$as_me:17710: $lt_compile\"" >&5)
1863 (eval "$lt_compile" 2>conftest.err)
1865 cat conftest.err >&5
1866 - echo "$as_me:16956: \$? = $ac_status" >&5
1867 + echo "$as_me:17714: \$? = $ac_status" >&5
1868 if (exit $ac_status) && test -s "$ac_outfile"; then
1869 # The compiler can only warn and ignore the option if not recognized
1870 # So say no if there are warnings other than the usual output.
1871 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1872 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1873 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1874 - lt_prog_compiler_pic_works_GCJ=yes
1875 + lt_cv_prog_compiler_pic_works_GCJ=yes
1881 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
1882 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
1883 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
1884 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
1886 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1887 +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
1888 case $lt_prog_compiler_pic_GCJ in
1890 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
1891 @@ -16996,10 +17754,10 @@
1892 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
1893 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1894 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
1895 -if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
1896 +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 - lt_prog_compiler_static_works_GCJ=no
1900 + lt_cv_prog_compiler_static_works_GCJ=no
1901 save_LDFLAGS="$LDFLAGS"
1902 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1903 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1904 @@ -17012,20 +17770,20 @@
1905 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1907 if diff conftest.exp conftest.er2 >/dev/null; then
1908 - lt_prog_compiler_static_works_GCJ=yes
1909 + lt_cv_prog_compiler_static_works_GCJ=yes
1912 - lt_prog_compiler_static_works_GCJ=yes
1913 + lt_cv_prog_compiler_static_works_GCJ=yes
1918 LDFLAGS="$save_LDFLAGS"
1921 -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
1922 -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
1923 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
1924 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
1926 -if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1927 +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
1930 lt_prog_compiler_static_GCJ=
1931 @@ -17053,11 +17811,11 @@
1932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1934 -e 's:$: $lt_compiler_flag:'`
1935 - (eval echo "\"\$as_me:17056: $lt_compile\"" >&5)
1936 + (eval echo "\"\$as_me:17814: $lt_compile\"" >&5)
1937 (eval "$lt_compile" 2>out/conftest.err)
1939 cat out/conftest.err >&5
1940 - echo "$as_me:17060: \$? = $ac_status" >&5
1941 + echo "$as_me:17818: \$? = $ac_status" >&5
1942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1944 # The compiler can only warn and ignore the option if not recognized
1945 @@ -17137,12 +17895,13 @@
1946 # it will be wrapped by ` (' and `)$', so one must not match beginning or
1947 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
1948 # as well as any symbol that contains `d'.
1949 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
1950 + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1951 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
1952 # platforms (ab)use it in PIC code, but their linkers get confused if
1953 # the symbol is explicitly referenced. Since portable code cannot
1954 # rely on this symbol name, it's probably fine to never include it in
1955 # preloaded symbol tables.
1956 + # Exclude shared library initialization/finalization symbols.
1957 extract_expsyms_cmds=
1958 # Just being paranoid about ensuring that cc_basename is set.
1959 for cc_temp in $compiler""; do
1960 @@ -17201,7 +17960,7 @@
1962 # See if GNU ld supports shared libraries.
1964 - aix3* | aix4* | aix5*)
1966 # On AIX/PPC, the GNU linker is very broken
1967 if test "$host_cpu" != ia64; then
1969 @@ -17420,7 +18179,7 @@
1975 if test "$host_cpu" = ia64; then
1976 # On IA64, the linker does run time linking by default, so we don't
1977 # have to do anything special.
1978 @@ -17440,7 +18199,7 @@
1979 # Test if we are trying to use run time linking or normal
1980 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1981 # need to do runtime linking.
1982 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
1983 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1984 for ld_flag in $LDFLAGS; do
1985 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
1986 aix_use_runtimelinking=yes
1987 @@ -17712,11 +18471,10 @@
1988 link_all_deplibs_GCJ=yes
1989 if test "$GCC" = yes ; then
1990 output_verbose_link_cmd='echo'
1991 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1992 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1993 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1994 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1995 - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1996 + archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1997 + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1998 + archive_expsym_cmds_GCJ="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}"
1999 + module_expsym_cmds_GCJ="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}"
2001 case $cc_basename in
2003 @@ -18185,7 +18943,7 @@
2004 soname_spec='${libname}${release}${shared_ext}$major'
2012 @@ -18352,7 +19110,14 @@
2016 - version_type=freebsd-$objformat
2017 + # Handle Gentoo/FreeBSD as it was Linux
2018 + case $host_vendor in
2020 + version_type=linux ;;
2022 + version_type=freebsd-$objformat ;;
2025 case $version_type in
2027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2028 @@ -18363,6 +19128,12 @@
2029 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2034 + soname_spec='${libname}${release}${shared_ext}$major'
2035 + need_lib_prefix=no
2039 shlibpath_var=LD_LIBRARY_PATH
2041 @@ -18509,13 +19280,11 @@
2042 # Some rework will be needed to allow for fast_install
2043 # before this can be enabled.
2044 hardcode_into_libs=yes
2045 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2046 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2048 # Append ld.so.conf contents to the search path
2049 if test -f /etc/ld.so.conf; then
2050 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' ' '`
2051 - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2052 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2055 # We used to test for /lib/ld.so.1 and disable shared libraries on
2056 @@ -18708,6 +19477,21 @@
2057 echo "${ECHO_T}$dynamic_linker" >&6; }
2058 test "$dynamic_linker" = no && can_build_shared=no
2060 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2061 + echo $ECHO_N "(cached) $ECHO_C" >&6
2063 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
2066 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2067 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
2068 + echo $ECHO_N "(cached) $ECHO_C" >&6
2070 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
2073 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
2075 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2076 if test "$GCC" = yes; then
2077 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2078 @@ -18791,6 +19575,7 @@
2081 compiler_lib_search_path_GCJ \
2082 + compiler_lib_search_dirs_GCJ \
2084 archive_expsym_cmds_GCJ \
2085 postinstall_cmds_GCJ \
2086 @@ -19039,6 +19824,10 @@
2088 postdeps=$lt_postdeps_GCJ
2090 +# The directories searched by this compiler when creating a shared
2092 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
2094 # The library search path used internally by the compiler when linking
2096 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
2097 @@ -19212,7 +20001,7 @@
2098 echo "$lt_simple_link_test_code" >conftest.$ac_ext
2099 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2100 _lt_linker_boilerplate=`cat conftest.err`
2105 # Allow CC to be a program name with arguments.
2106 @@ -19272,6 +20061,7 @@
2109 compiler_lib_search_path_RC \
2110 + compiler_lib_search_dirs_RC \
2112 archive_expsym_cmds_RC \
2113 postinstall_cmds_RC \
2114 @@ -19520,6 +20310,10 @@
2116 postdeps=$lt_postdeps_RC
2118 +# The directories searched by this compiler when creating a shared
2120 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
2122 # The library search path used internally by the compiler when linking
2124 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
2125 @@ -23659,11 +24453,11 @@
2126 CCASDEPMODE!$CCASDEPMODE$ac_delim
2127 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
2128 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
2129 +LIBFFI_DLL!$LIBFFI_DLL$ac_delim
2130 +LIBFFI_LDFLAGS!$LIBFFI_LDFLAGS$ac_delim
2133 EGREP!$EGREP$ac_delim
2134 -LN_S!$LN_S$ac_delim
2135 -ECHO!$ECHO$ac_delim
2138 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
2139 @@ -23705,8 +24499,15 @@
2141 for ac_last_try in false false false false false :; do
2142 cat >conf$$subs.sed <<_ACEOF
2143 +LN_S!$LN_S$ac_delim
2144 +ECHO!$ECHO$ac_delim
2146 RANLIB!$RANLIB$ac_delim
2147 +DSYMUTIL!$DSYMUTIL$ac_delim
2148 +NMEDIT!$NMEDIT$ac_delim
2149 +DLLTOOL!$DLLTOOL$ac_delim
2151 +OBJDUMP!$OBJDUMP$ac_delim
2154 CXXFLAGS!$CXXFLAGS$ac_delim
2155 @@ -23783,7 +24584,7 @@
2156 LTLIBOBJS!$LTLIBOBJS$ac_delim
2159 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
2160 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
2162 elif $ac_last_try; then
2163 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2164 @@ -24184,21 +24985,22 @@
2167 # Compute $ac_file's index in $config_headers.
2170 for _am_header in $config_headers :; do
2172 - $ac_file | $ac_file:* )
2173 + $_am_arg | $_am_arg:* )
2176 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2179 -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
2180 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2181 - X$ac_file : 'X\(//\)[^/]' \| \
2182 - X$ac_file : 'X\(//\)$' \| \
2183 - X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
2185 +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
2186 +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2187 + X"$_am_arg" : 'X\(//\)[^/]' \| \
2188 + X"$_am_arg" : 'X\(//\)$' \| \
2189 + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
2191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2194 @@ -24261,7 +25063,7 @@
2195 # each Makefile.in and add a new line on top of each file to say so.
2196 # Grep'ing the whole file is not good either: AIX grep has a line
2197 # limit of 2048, but all sed's we know have understand at least 4000.
2198 - if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
2199 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
2200 dirpart=`$as_dirname -- "$mf" ||
2201 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2202 X"$mf" : 'X\(//\)[^/]' \| \
2203 --- libffi-3.0.6/Makefile.in 2008-02-21 14:36:18.000000000 +0100
2204 +++ build/Makefile.in 2008-10-14 09:55:38.000000000 +0200
2206 -# Makefile.in generated by automake 1.10 from Makefile.am.
2207 +# Makefile.in generated by automake 1.10.1 from Makefile.am.
2210 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2211 -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2212 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2213 # This Makefile.in is free software; the Free Software Foundation
2214 # gives unlimited permission to copy and/or distribute it,
2215 # with or without modifications, as long as this notice is preserved.
2218 AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
2221 AUTOCONF = @AUTOCONF@
2222 AUTOHEADER = @AUTOHEADER@
2223 AUTOMAKE = @AUTOMAKE@
2225 CYGPATH_W = @CYGPATH_W@
2228 +DLLTOOL = @DLLTOOL@
2229 +DSYMUTIL = @DSYMUTIL@
2234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2235 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2237 +LIBFFI_DLL = @LIBFFI_DLL@
2238 +LIBFFI_LDFLAGS = @LIBFFI_LDFLAGS@
2244 MAKEINFO = @MAKEINFO@
2247 +OBJDUMP = @OBJDUMP@
2250 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
2252 libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
2253 nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
2254 AM_CFLAGS = -Wall -g -fexceptions
2255 -libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
2256 +libffi_la_LDFLAGS = $(LIBFFI_LDFLAGS) -version-info `grep -v '^\#' $(srcdir)/libtool-version`
2257 AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
2258 AM_CCASFLAGS = $(AM_CPPFLAGS)
2261 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
2262 if test -f $$p; then \
2263 f=$(am__strip_dir) \
2264 - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
2265 - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
2266 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
2267 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
2272 @$(NORMAL_UNINSTALL)
2273 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
2274 p=$(am__strip_dir) \
2275 - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
2276 - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
2277 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
2278 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
2281 clean-libLTLIBRARIES:
2282 @@ -1203,8 +1210,8 @@
2283 unique=`for i in $$list; do \
2284 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2286 - $(AWK) ' { files[$$0] = 1; } \
2287 - END { for (i in files) print i; }'`; \
2288 + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
2289 + END { if (nonempty) { for (i in files) print i; }; }'`; \
2293 @@ -1229,8 +1236,8 @@
2294 unique=`for i in $$list; do \
2295 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2297 - $(AWK) ' { files[$$0] = 1; } \
2298 - END { for (i in files) print i; }'`; \
2299 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2300 + END { if (nonempty) { for (i in files) print i; }; }'`; \
2301 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
2302 test -n "$$unique" || unique=$$empty_fix; \
2303 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
2304 @@ -1240,13 +1247,12 @@
2305 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) \
2306 $(TAGS_FILES) $(LISP)
2309 list='$(SOURCES) $(HEADERS) fficonfig.h.in $(LISP) $(TAGS_FILES)'; \
2310 unique=`for i in $$list; do \
2311 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2313 - $(AWK) ' { files[$$0] = 1; } \
2314 - END { for (i in files) print i; }'`; \
2315 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2316 + END { if (nonempty) { for (i in files) print i; }; }'`; \
2317 test -z "$(CTAGS_ARGS)$$tags$$unique" \
2318 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
2320 @@ -1320,6 +1326,10 @@
2321 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
2322 $(am__remove_distdir)
2325 + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
2326 + $(am__remove_distdir)
2329 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
2330 $(am__remove_distdir)
2331 @@ -1346,6 +1356,8 @@
2332 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
2334 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
2336 + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
2338 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
2340 @@ -1612,8 +1624,8 @@
2341 all all-am am--refresh check check-am clean clean-generic \
2342 clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
2343 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
2344 - dist-info dist-shar dist-tarZ dist-zip distcheck distclean \
2345 - distclean-compile distclean-generic distclean-hdr \
2346 + dist-info dist-lzma dist-shar dist-tarZ dist-zip distcheck \
2347 + distclean distclean-compile distclean-generic distclean-hdr \
2348 distclean-libtool distclean-tags distcleancheck distdir \
2349 distuninstallcheck dvi dvi-am html html-am info info-am \
2350 install install-am install-data install-data-am install-dvi \
2351 --- libffi-3.0.6/ltmain.sh 2008-01-29 13:28:14.000000000 +0100
2352 +++ build/ltmain.sh 2008-02-28 09:33:19.000000000 +0100
2354 # NOTE: Changing this file will not affect anything until you rerun configure.
2356 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
2357 -# 2007 Free Software Foundation, Inc.
2358 +# 2007, 2008 Free Software Foundation, Inc.
2359 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2361 # This program is free software; you can redistribute it and/or modify
2367 -TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"
2369 +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
2371 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
2372 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2373 @@ -113,15 +113,21 @@
2374 # These must not be set unconditionally because not all systems understand
2375 # e.g. LANG=C (notably SCO).
2376 # We save the old values to restore during execute mode.
2377 -for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
2379 +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
2381 eval "if test \"\${$lt_var+set}\" = set; then
2382 save_$lt_var=\$$lt_var
2383 + lt_env=\"$lt_var=\$$lt_var \$lt_env\"
2389 +if test -n "$lt_env"; then
2390 + lt_env="env $lt_env"
2393 # Make sure IFS has a sensible default
2396 @@ -275,7 +281,21 @@
2398 CC_quoted="$CC_quoted $arg"
2400 + # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
2401 + trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"`
2402 + # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
2403 + extendcc=${host}-${CC}
2404 + # and sometimes libtool has CC=<OLDHOST>-gcc but user has CC=<NEWHOST>-gcc
2405 + # (Gentoo-specific hack because we always export $CHOST)
2406 + mungedcc=${CHOST-${host}}-${trimedcc}
2408 + "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\
2409 + "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
2412 + "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
2413 + "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\
2414 + "$mungedcc "* | " $mungedcc "* | "`$echo $mungedcc` "* | " `$echo $mungedcc` "*|\
2415 " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
2416 # The compiler in the base compile command matches
2417 # the one in the tagged configuration.
2420 $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
2422 -Copyright (C) 2007 Free Software Foundation, Inc.
2423 +Copyright (C) 2008 Free Software Foundation, Inc.
2424 This is free software; see the source for copying conditions. There is NO
2425 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
2429 *.java) xform=java ;;
2434 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
2436 # Lock this critical section if it is needed
2437 # We use this script file to make the link, it avoids creating a new file
2438 if test "$need_locks" = yes; then
2439 - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
2440 + until $run ln "$srcfile" "$lockfile" 2>/dev/null; do
2441 $show "Waiting for $lockfile to be removed"
2445 $run $rm "$lobj" "$output_obj"
2448 - if $run eval "$command"; then :
2449 + if $run eval $lt_env "$command"; then :
2451 test -n "$output_obj" && $run $rm $removelist
2453 @@ -1028,7 +1049,7 @@
2454 command="$command$suppress_output"
2455 $run $rm "$obj" "$output_obj"
2457 - if $run eval "$command"; then :
2458 + if $run eval $lt_env "$command"; then :
2460 $run $rm $removelist
2462 @@ -1161,6 +1182,7 @@
2466 + single_module="${wl}-single_module"
2468 func_infer_tag $base_compile
2470 @@ -1646,6 +1668,11 @@
2475 + single_module="${wl}-multi_module"
2482 @@ -2149,7 +2176,12 @@
2485 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
2486 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
2487 + if test "$linkmode" = lib; then
2488 + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
2490 + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
2492 + for searchdir in $searchdirs; do
2493 for search_ext in .la $std_shrext .so .a; do
2494 # Search the libtool library
2495 lib="$searchdir/lib${name}${search_ext}"
2496 @@ -2945,12 +2977,18 @@
2497 # we do not want to link against static libs,
2498 # but need to link against shared
2499 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
2500 + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
2501 if test -n "$deplibrary_names" ; then
2502 for tmp in $deplibrary_names ; do
2505 - if test -f "$path/$depdepl" ; then
2506 + if test -f "$deplibdir/$depdepl" ; then
2507 + depdepl="$deplibdir/$depdepl"
2508 + elif test -f "$path/$depdepl" ; then
2509 depdepl="$path/$depdepl"
2511 + # Can't find it, oh well...
2514 # do not add paths which are already there
2515 case " $newlib_search_path " in
2516 @@ -3098,9 +3136,10 @@
2520 - if test -n "$deplibs"; then
2521 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
2523 + case " $deplibs" in
2525 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
2528 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
2529 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
2530 @@ -4237,9 +4276,10 @@
2534 - if test -n "$deplibs"; then
2535 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
2537 + case " $deplibs" in
2539 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
2542 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
2543 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
2544 @@ -5442,6 +5482,11 @@
2546 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2547 # Run the actual program with our arguments.
2549 + # Make sure env LD_LIBRARY_PATH does not mess us up
2550 + if test -n \"\${LD_LIBRARY_PATH+set}\"; then
2551 + export LD_LIBRARY_PATH=\$progdir:\$LD_LIBRARY_PATH
2555 # Backslashes separate directories on plain windows
2556 @@ -6478,7 +6523,7 @@
2559 # Restore saved environment variables
2560 - for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
2561 + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
2563 eval "if test \"\${save_$lt_var+set}\" = set; then
2564 $lt_var=\$save_$lt_var; export $lt_var