comparison configure @ 47:ba203b170476

Use uw_streq(); update to newer Autoconf
author Adam Chlipala <adam@chlipala.net>
date Tue, 19 Jul 2011 09:27:10 -0400
parents b416b9b9dc38
children 81632203928f
comparison
equal deleted inserted replaced
46:72e942423f26 47:ba203b170476
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for urweb_openid 1.0. 3 # Generated by GNU Autoconf 2.68 for urweb_openid 1.0.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc. 8 # Foundation, Inc.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.) 88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl" 89 IFS=" "" $as_nl"
90 90
91 # Find who we are. Look in the path if we contain no directory separator. 91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
92 case $0 in #(( 93 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH 96 for as_dir in $PATH
96 do 97 do
169 test x\$exitcode = x0 || exit 1" 170 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1" 175 test \$(( 1 + 1 )) = 2 || exit 1
176
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
175 if (eval "$as_required") 2>/dev/null; then : 184 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes 185 as_have_required=yes
177 else 186 else
178 as_have_required=no 187 as_have_required=no
179 fi 188 fi
212 221
213 if test "x$CONFIG_SHELL" != x; then : 222 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a 223 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 224 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 227 BASH_ENV=/dev/null
218 ENV=/dev/null 228 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 230 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 231 case $- in # ((((
232 *v*x* | *x*v* ) as_opts=-vx ;;
233 *v* ) as_opts=-v ;;
234 *x* ) as_opts=-x ;;
235 * ) as_opts= ;;
236 esac
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222 fi 238 fi
223 239
224 if test x$as_have_required = xno; then : 240 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 241 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 242 $as_echo "$0: the shells that I found on your system."
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 540
525 # Sed expression to map a string onto a valid variable name. 541 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 543
528
529
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh} 544 SHELL=${CONFIG_SHELL-/bin/sh}
532
533 case X$lt_ECHO in
534 X*--fallback-echo)
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537 ;;
538 esac
539
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
543 shift
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
546 :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
549 :
550 else
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 fi
554
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
557 shift
558 cat <<_LT_EOF
559 $*
560 _LT_EOF
561 exit 0
562 fi
563
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575 then
576 break
577 fi
578 done
579 fi
580
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
584 :
585 else
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
589 #
590 # So, first we look for a working echo in the user's PATH.
591
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
594 IFS="$lt_save_ifs"
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
599 ECHO="$dir/echo"
600 break
601 fi
602 done
603 IFS="$lt_save_ifs"
604
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
611 ECHO='print -r'
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
618 export CONFIG_SHELL
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620 else
621 # Try using printf.
622 ECHO='printf %s\n'
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 # Cool, printf works
627 :
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633 export CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
635 export SHELL
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
642 else
643 # maybe with a smaller string...
644 prev=:
645
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648 then
649 break
650 fi
651 prev="$cmd"
652 done
653
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658 else
659 # Oops. We lost completely, so just stick with echo.
660 ECHO=echo
661 fi
662 fi
663 fi
664 fi
665 fi
666 fi
667
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673 fi
674
675
676 545
677 546
678 test -n "$DJDIR" || exec 7<&0 </dev/null 547 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1 548 exec 6>&1
680 549
765 OTOOL64 634 OTOOL64
766 OTOOL 635 OTOOL
767 LIPO 636 LIPO
768 NMEDIT 637 NMEDIT
769 DSYMUTIL 638 DSYMUTIL
770 lt_ECHO 639 MANIFEST_TOOL
771 RANLIB 640 RANLIB
641 ac_ct_AR
772 AR 642 AR
643 DLLTOOL
773 OBJDUMP 644 OBJDUMP
774 LN_S 645 LN_S
775 NM 646 NM
776 ac_ct_DUMPBIN 647 ac_ct_DUMPBIN
777 DUMPBIN 648 DUMPBIN
874 enable_shared 745 enable_shared
875 enable_static 746 enable_static
876 with_pic 747 with_pic
877 enable_fast_install 748 enable_fast_install
878 with_gnu_ld 749 with_gnu_ld
750 with_sysroot
879 enable_libtool_lock 751 enable_libtool_lock
880 with_openssl 752 with_openssl
881 with_libcurl 753 with_libcurl
882 with_expat 754 with_expat
883 with_expat_inc 755 with_expat_inc
1298 *) 1170 *)
1299 # FIXME: should be removed in autoconf 3.0. 1171 # FIXME: should be removed in autoconf 3.0.
1300 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304 ;; 1176 ;;
1305 1177
1306 esac 1178 esac
1307 done 1179 done
1308 1180
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-pic try to use only PIC/non-PIC objects [default=use 1402 --with-pic try to use only PIC/non-PIC objects [default=use
1531 both] 1403 both]
1532 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1404 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1405 --with-sysroot=DIR Search for dependent libraries within DIR
1406 (or the compiler's sysroot if not specified).
1533 --with-openssl=DIR root of the OpenSSL directory 1407 --with-openssl=DIR root of the OpenSSL directory
1534 --with-libcurl=DIR look for the curl library in DIR 1408 --with-libcurl=DIR look for the curl library in DIR
1535 --with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path); 1409 --with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path);
1536 check standard prefixes (ARG=yes); disable (ARG=no) 1410 check standard prefixes (ARG=yes); disable (ARG=no)
1537 --with-expat-inc=[DIR] path to Expat XML Parser headers 1411 --with-expat-inc=[DIR] path to Expat XML Parser headers
1615 1489
1616 test -n "$ac_init_help" && exit $ac_status 1490 test -n "$ac_init_help" && exit $ac_status
1617 if $ac_init_version; then 1491 if $ac_init_version; then
1618 cat <<\_ACEOF 1492 cat <<\_ACEOF
1619 urweb_openid configure 1.0 1493 urweb_openid configure 1.0
1620 generated by GNU Autoconf 2.67 1494 generated by GNU Autoconf 2.68
1621 1495
1622 Copyright (C) 2010 Free Software Foundation, Inc. 1496 Copyright (C) 2010 Free Software Foundation, Inc.
1623 This configure script is free software; the Free Software Foundation 1497 This configure script is free software; the Free Software Foundation
1624 gives unlimited permission to copy, distribute and modify it. 1498 gives unlimited permission to copy, distribute and modify it.
1625 _ACEOF 1499 _ACEOF
1661 $as_echo "$as_me: failed program was:" >&5 1535 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5 1536 sed 's/^/| /' conftest.$ac_ext >&5
1663 1537
1664 ac_retval=1 1538 ac_retval=1
1665 fi 1539 fi
1666 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval 1541 as_fn_set_status $ac_retval
1668 1542
1669 } # ac_fn_c_try_compile 1543 } # ac_fn_c_try_compile
1670 1544
1671 # ac_fn_c_try_cpp LINENO 1545 # ac_fn_c_try_cpp LINENO
1698 $as_echo "$as_me: failed program was:" >&5 1572 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5
1700 1574
1701 ac_retval=1 1575 ac_retval=1
1702 fi 1576 fi
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval 1578 as_fn_set_status $ac_retval
1705 1579
1706 } # ac_fn_c_try_cpp 1580 } # ac_fn_c_try_cpp
1707 1581
1708 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1582 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1711 # the include files in INCLUDES and setting the cache variable VAR 1585 # the include files in INCLUDES and setting the cache variable VAR
1712 # accordingly. 1586 # accordingly.
1713 ac_fn_c_check_header_mongrel () 1587 ac_fn_c_check_header_mongrel ()
1714 { 1588 {
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if eval "test \"\${$3+set}\"" = set; then : 1590 if eval \${$3+:} false; then :
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 $as_echo_n "checking for $2... " >&6; } 1592 $as_echo_n "checking for $2... " >&6; }
1719 if eval "test \"\${$3+set}\"" = set; then : 1593 if eval \${$3+:} false; then :
1720 $as_echo_n "(cached) " >&6 1594 $as_echo_n "(cached) " >&6
1721 fi 1595 fi
1722 eval ac_res=\$$3 1596 eval ac_res=\$$3
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; } 1598 $as_echo "$ac_res" >&6; }
1777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1778 ;; 1652 ;;
1779 esac 1653 esac
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; } 1655 $as_echo_n "checking for $2... " >&6; }
1782 if eval "test \"\${$3+set}\"" = set; then : 1656 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6 1657 $as_echo_n "(cached) " >&6
1784 else 1658 else
1785 eval "$3=\$ac_header_compiler" 1659 eval "$3=\$ac_header_compiler"
1786 fi 1660 fi
1787 eval ac_res=\$$3 1661 eval ac_res=\$$3
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1789 $as_echo "$ac_res" >&6; } 1663 $as_echo "$ac_res" >&6; }
1790 fi 1664 fi
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 1666
1793 } # ac_fn_c_check_header_mongrel 1667 } # ac_fn_c_check_header_mongrel
1794 1668
1795 # ac_fn_c_try_run LINENO 1669 # ac_fn_c_try_run LINENO
1796 # ---------------------- 1670 # ----------------------
1827 sed 's/^/| /' conftest.$ac_ext >&5 1701 sed 's/^/| /' conftest.$ac_ext >&5
1828 1702
1829 ac_retval=$ac_status 1703 ac_retval=$ac_status
1830 fi 1704 fi
1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status $ac_retval 1707 as_fn_set_status $ac_retval
1834 1708
1835 } # ac_fn_c_try_run 1709 } # ac_fn_c_try_run
1836 1710
1837 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1711 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 ac_fn_c_check_header_compile () 1715 ac_fn_c_check_header_compile ()
1842 { 1716 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; } 1719 $as_echo_n "checking for $2... " >&6; }
1846 if eval "test \"\${$3+set}\"" = set; then : 1720 if eval \${$3+:} false; then :
1847 $as_echo_n "(cached) " >&6 1721 $as_echo_n "(cached) " >&6
1848 else 1722 else
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */ 1724 /* end confdefs.h. */
1851 $4 1725 $4
1859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1860 fi 1734 fi
1861 eval ac_res=\$$3 1735 eval ac_res=\$$3
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; } 1737 $as_echo "$ac_res" >&6; }
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 1739
1866 } # ac_fn_c_check_header_compile 1740 } # ac_fn_c_check_header_compile
1867 1741
1868 # ac_fn_c_try_link LINENO 1742 # ac_fn_c_try_link LINENO
1869 # ----------------------- 1743 # -----------------------
1904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1778 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1779 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1906 # interfere with the next link command; also delete a directory that is 1780 # interfere with the next link command; also delete a directory that is
1907 # left behind by Apple's compiler. We do this before executing the actions. 1781 # left behind by Apple's compiler. We do this before executing the actions.
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1782 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval 1784 as_fn_set_status $ac_retval
1911 1785
1912 } # ac_fn_c_try_link 1786 } # ac_fn_c_try_link
1913 1787
1914 # ac_fn_c_check_func LINENO FUNC VAR 1788 # ac_fn_c_check_func LINENO FUNC VAR
1917 ac_fn_c_check_func () 1791 ac_fn_c_check_func ()
1918 { 1792 {
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; } 1795 $as_echo_n "checking for $2... " >&6; }
1922 if eval "test \"\${$3+set}\"" = set; then : 1796 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6 1797 $as_echo_n "(cached) " >&6
1924 else 1798 else
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */ 1800 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1801 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 conftest$ac_exeext conftest.$ac_ext 1846 conftest$ac_exeext conftest.$ac_ext
1973 fi 1847 fi
1974 eval ac_res=\$$3 1848 eval ac_res=\$$3
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; } 1850 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 1852
1979 } # ac_fn_c_check_func 1853 } # ac_fn_c_check_func
1980 1854
1981 # ac_fn_cxx_try_compile LINENO 1855 # ac_fn_cxx_try_compile LINENO
1982 # ---------------------------- 1856 # ----------------------------
2009 $as_echo "$as_me: failed program was:" >&5 1883 $as_echo "$as_me: failed program was:" >&5
2010 sed 's/^/| /' conftest.$ac_ext >&5 1884 sed 's/^/| /' conftest.$ac_ext >&5
2011 1885
2012 ac_retval=1 1886 ac_retval=1
2013 fi 1887 fi
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 as_fn_set_status $ac_retval 1889 as_fn_set_status $ac_retval
2016 1890
2017 } # ac_fn_cxx_try_compile 1891 } # ac_fn_cxx_try_compile
2018 1892
2019 # ac_fn_cxx_try_cpp LINENO 1893 # ac_fn_cxx_try_cpp LINENO
2046 $as_echo "$as_me: failed program was:" >&5 1920 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5 1921 sed 's/^/| /' conftest.$ac_ext >&5
2048 1922
2049 ac_retval=1 1923 ac_retval=1
2050 fi 1924 fi
2051 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 as_fn_set_status $ac_retval 1926 as_fn_set_status $ac_retval
2053 1927
2054 } # ac_fn_cxx_try_cpp 1928 } # ac_fn_cxx_try_cpp
2055 1929
2056 # ac_fn_cxx_try_link LINENO 1930 # ac_fn_cxx_try_link LINENO
2092 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2093 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2094 # interfere with the next link command; also delete a directory that is 1968 # interfere with the next link command; also delete a directory that is
2095 # left behind by Apple's compiler. We do this before executing the actions. 1969 # left behind by Apple's compiler. We do this before executing the actions.
2096 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2097 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status $ac_retval 1972 as_fn_set_status $ac_retval
2099 1973
2100 } # ac_fn_cxx_try_link 1974 } # ac_fn_cxx_try_link
2101 cat >config.log <<_ACEOF 1975 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while 1976 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake. 1977 running configure, to aid debugging if configure makes a mistake.
2104 1978
2105 It was created by urweb_openid $as_me 1.0, which was 1979 It was created by urweb_openid $as_me 1.0, which was
2106 generated by GNU Autoconf 2.67. Invocation command line was 1980 generated by GNU Autoconf 2.68. Invocation command line was
2107 1981
2108 $ $0 $@ 1982 $ $0 $@
2109 1983
2110 _ACEOF 1984 _ACEOF
2111 exec 5>>config.log 1985 exec 5>>config.log
2359 sed 's/^/| /' "$ac_site_file" >&5 2233 sed 's/^/| /' "$ac_site_file" >&5
2360 . "$ac_site_file" \ 2234 . "$ac_site_file" \
2361 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2235 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error $? "failed to load site script $ac_site_file 2237 as_fn_error $? "failed to load site script $ac_site_file
2364 See \`config.log' for more details" "$LINENO" 5 ; } 2238 See \`config.log' for more details" "$LINENO" 5; }
2365 fi 2239 fi
2366 done 2240 done
2367 2241
2368 if test -r "$cache_file"; then 2242 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special files 2243 # Some versions of bash will fail to source /dev/null (special files
2458 if test -n "$ac_tool_prefix"; then 2332 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2460 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2334 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; } 2336 $as_echo_n "checking for $ac_word... " >&6; }
2463 if test "${ac_cv_prog_CC+set}" = set; then : 2337 if ${ac_cv_prog_CC+:} false; then :
2464 $as_echo_n "(cached) " >&6 2338 $as_echo_n "(cached) " >&6
2465 else 2339 else
2466 if test -n "$CC"; then 2340 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test. 2341 ac_cv_prog_CC="$CC" # Let the user override the test.
2468 else 2342 else
2498 ac_ct_CC=$CC 2372 ac_ct_CC=$CC
2499 # Extract the first word of "gcc", so it can be a program name with args. 2373 # Extract the first word of "gcc", so it can be a program name with args.
2500 set dummy gcc; ac_word=$2 2374 set dummy gcc; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; } 2376 $as_echo_n "checking for $ac_word... " >&6; }
2503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2504 $as_echo_n "(cached) " >&6 2378 $as_echo_n "(cached) " >&6
2505 else 2379 else
2506 if test -n "$ac_ct_CC"; then 2380 if test -n "$ac_ct_CC"; then
2507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2508 else 2382 else
2551 if test -n "$ac_tool_prefix"; then 2425 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2553 set dummy ${ac_tool_prefix}cc; ac_word=$2 2427 set dummy ${ac_tool_prefix}cc; ac_word=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; } 2429 $as_echo_n "checking for $ac_word... " >&6; }
2556 if test "${ac_cv_prog_CC+set}" = set; then : 2430 if ${ac_cv_prog_CC+:} false; then :
2557 $as_echo_n "(cached) " >&6 2431 $as_echo_n "(cached) " >&6
2558 else 2432 else
2559 if test -n "$CC"; then 2433 if test -n "$CC"; then
2560 ac_cv_prog_CC="$CC" # Let the user override the test. 2434 ac_cv_prog_CC="$CC" # Let the user override the test.
2561 else 2435 else
2591 if test -z "$CC"; then 2465 if test -z "$CC"; then
2592 # Extract the first word of "cc", so it can be a program name with args. 2466 # Extract the first word of "cc", so it can be a program name with args.
2593 set dummy cc; ac_word=$2 2467 set dummy cc; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; } 2469 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then : 2470 if ${ac_cv_prog_CC+:} false; then :
2597 $as_echo_n "(cached) " >&6 2471 $as_echo_n "(cached) " >&6
2598 else 2472 else
2599 if test -n "$CC"; then 2473 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test. 2474 ac_cv_prog_CC="$CC" # Let the user override the test.
2601 else 2475 else
2650 do 2524 do
2651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; } 2528 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_CC+set}" = set; then : 2529 if ${ac_cv_prog_CC+:} false; then :
2656 $as_echo_n "(cached) " >&6 2530 $as_echo_n "(cached) " >&6
2657 else 2531 else
2658 if test -n "$CC"; then 2532 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test. 2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2660 else 2534 else
2694 do 2568 do
2695 # Extract the first word of "$ac_prog", so it can be a program name with args. 2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy $ac_prog; ac_word=$2 2570 set dummy $ac_prog; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; } 2572 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2700 $as_echo_n "(cached) " >&6 2574 $as_echo_n "(cached) " >&6
2701 else 2575 else
2702 if test -n "$ac_ct_CC"; then 2576 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2704 else 2578 else
2749 2623
2750 2624
2751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "no acceptable C compiler found in \$PATH 2627 as_fn_error $? "no acceptable C compiler found in \$PATH
2754 See \`config.log' for more details" "$LINENO" 5 ; } 2628 See \`config.log' for more details" "$LINENO" 5; }
2755 2629
2756 # Provide some information about the compiler. 2630 # Provide some information about the compiler.
2757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2758 set X $ac_compile 2632 set X $ac_compile
2759 ac_compiler=$2 2633 ac_compiler=$2
2864 sed 's/^/| /' conftest.$ac_ext >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5
2865 2739
2866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2868 as_fn_error 77 "C compiler cannot create executables 2742 as_fn_error 77 "C compiler cannot create executables
2869 See \`config.log' for more details" "$LINENO" 5 ; } 2743 See \`config.log' for more details" "$LINENO" 5; }
2870 else 2744 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; } 2746 $as_echo "yes" >&6; }
2873 fi 2747 fi
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2907 done 2781 done
2908 else 2782 else
2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2911 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2785 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2912 See \`config.log' for more details" "$LINENO" 5 ; } 2786 See \`config.log' for more details" "$LINENO" 5; }
2913 fi 2787 fi
2914 rm -f conftest conftest$ac_cv_exeext 2788 rm -f conftest conftest$ac_cv_exeext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2916 $as_echo "$ac_cv_exeext" >&6; } 2790 $as_echo "$ac_cv_exeext" >&6; }
2917 2791
2966 else 2840 else
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $? "cannot run C compiled programs. 2843 as_fn_error $? "cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'. 2844 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details" "$LINENO" 5 ; } 2845 See \`config.log' for more details" "$LINENO" 5; }
2972 fi 2846 fi
2973 fi 2847 fi
2974 fi 2848 fi
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2976 $as_echo "$cross_compiling" >&6; } 2850 $as_echo "$cross_compiling" >&6; }
2977 2851
2978 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2852 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2979 ac_clean_files=$ac_clean_files_save 2853 ac_clean_files=$ac_clean_files_save
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2981 $as_echo_n "checking for suffix of object files... " >&6; } 2855 $as_echo_n "checking for suffix of object files... " >&6; }
2982 if test "${ac_cv_objext+set}" = set; then : 2856 if ${ac_cv_objext+:} false; then :
2983 $as_echo_n "(cached) " >&6 2857 $as_echo_n "(cached) " >&6
2984 else 2858 else
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */ 2860 /* end confdefs.h. */
2987 2861
3018 sed 's/^/| /' conftest.$ac_ext >&5 2892 sed 's/^/| /' conftest.$ac_ext >&5
3019 2893
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error $? "cannot compute suffix of object files: cannot compile 2896 as_fn_error $? "cannot compute suffix of object files: cannot compile
3023 See \`config.log' for more details" "$LINENO" 5 ; } 2897 See \`config.log' for more details" "$LINENO" 5; }
3024 fi 2898 fi
3025 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3026 fi 2900 fi
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3028 $as_echo "$ac_cv_objext" >&6; } 2902 $as_echo "$ac_cv_objext" >&6; }
3029 OBJEXT=$ac_cv_objext 2903 OBJEXT=$ac_cv_objext
3030 ac_objext=$OBJEXT 2904 ac_objext=$OBJEXT
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3032 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3033 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2907 if ${ac_cv_c_compiler_gnu+:} false; then :
3034 $as_echo_n "(cached) " >&6 2908 $as_echo_n "(cached) " >&6
3035 else 2909 else
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */ 2911 /* end confdefs.h. */
3038 2912
3065 fi 2939 fi
3066 ac_test_CFLAGS=${CFLAGS+set} 2940 ac_test_CFLAGS=${CFLAGS+set}
3067 ac_save_CFLAGS=$CFLAGS 2941 ac_save_CFLAGS=$CFLAGS
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3069 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3070 if test "${ac_cv_prog_cc_g+set}" = set; then : 2944 if ${ac_cv_prog_cc_g+:} false; then :
3071 $as_echo_n "(cached) " >&6 2945 $as_echo_n "(cached) " >&6
3072 else 2946 else
3073 ac_save_c_werror_flag=$ac_c_werror_flag 2947 ac_save_c_werror_flag=$ac_c_werror_flag
3074 ac_c_werror_flag=yes 2948 ac_c_werror_flag=yes
3075 ac_cv_prog_cc_g=no 2949 ac_cv_prog_cc_g=no
3143 CFLAGS= 3017 CFLAGS=
3144 fi 3018 fi
3145 fi 3019 fi
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3147 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3148 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3022 if ${ac_cv_prog_cc_c89+:} false; then :
3149 $as_echo_n "(cached) " >&6 3023 $as_echo_n "(cached) " >&6
3150 else 3024 else
3151 ac_cv_prog_cc_c89=no 3025 ac_cv_prog_cc_c89=no
3152 ac_save_CC=$CC 3026 ac_save_CC=$CC
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 # On Suns, sometimes $CPP names a directory. 3125 # On Suns, sometimes $CPP names a directory.
3252 if test -n "$CPP" && test -d "$CPP"; then 3126 if test -n "$CPP" && test -d "$CPP"; then
3253 CPP= 3127 CPP=
3254 fi 3128 fi
3255 if test -z "$CPP"; then 3129 if test -z "$CPP"; then
3256 if test "${ac_cv_prog_CPP+set}" = set; then : 3130 if ${ac_cv_prog_CPP+:} false; then :
3257 $as_echo_n "(cached) " >&6 3131 $as_echo_n "(cached) " >&6
3258 else 3132 else
3259 # Double quotes because CPP needs to be expanded 3133 # Double quotes because CPP needs to be expanded
3260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3134 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3261 do 3135 do
3367 3241
3368 else 3242 else
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3245 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3372 See \`config.log' for more details" "$LINENO" 5 ; } 3246 See \`config.log' for more details" "$LINENO" 5; }
3373 fi 3247 fi
3374 3248
3375 ac_ext=c 3249 ac_ext=c
3376 ac_cpp='$CPP $CPPFLAGS' 3250 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 3254
3381 3255
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3257 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3384 if test "${ac_cv_path_GREP+set}" = set; then : 3258 if ${ac_cv_path_GREP+:} false; then :
3385 $as_echo_n "(cached) " >&6 3259 $as_echo_n "(cached) " >&6
3386 else 3260 else
3387 if test -z "$GREP"; then 3261 if test -z "$GREP"; then
3388 ac_path_GREP_found=false 3262 ac_path_GREP_found=false
3389 # Loop through the user's path and test for each of PROGNAME-LIST 3263 # Loop through the user's path and test for each of PROGNAME-LIST
3442 GREP="$ac_cv_path_GREP" 3316 GREP="$ac_cv_path_GREP"
3443 3317
3444 3318
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3446 $as_echo_n "checking for egrep... " >&6; } 3320 $as_echo_n "checking for egrep... " >&6; }
3447 if test "${ac_cv_path_EGREP+set}" = set; then : 3321 if ${ac_cv_path_EGREP+:} false; then :
3448 $as_echo_n "(cached) " >&6 3322 $as_echo_n "(cached) " >&6
3449 else 3323 else
3450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3324 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3451 then ac_cv_path_EGREP="$GREP -E" 3325 then ac_cv_path_EGREP="$GREP -E"
3452 else 3326 else
3509 EGREP="$ac_cv_path_EGREP" 3383 EGREP="$ac_cv_path_EGREP"
3510 3384
3511 3385
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3513 $as_echo_n "checking for ANSI C header files... " >&6; } 3387 $as_echo_n "checking for ANSI C header files... " >&6; }
3514 if test "${ac_cv_header_stdc+set}" = set; then : 3388 if ${ac_cv_header_stdc+:} false; then :
3515 $as_echo_n "(cached) " >&6 3389 $as_echo_n "(cached) " >&6
3516 else 3390 else
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */ 3392 /* end confdefs.h. */
3519 #include <stdlib.h> 3393 #include <stdlib.h>
3638 done 3512 done
3639 3513
3640 3514
3641 3515
3642 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3516 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3643 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 3517 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3644 MINIX=yes 3518 MINIX=yes
3645 else 3519 else
3646 MINIX= 3520 MINIX=
3647 fi 3521 fi
3648 3522
3660 fi 3534 fi
3661 3535
3662 3536
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3664 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3538 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3665 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 3539 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3666 $as_echo_n "(cached) " >&6 3540 $as_echo_n "(cached) " >&6
3667 else 3541 else
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */ 3543 /* end confdefs.h. */
3670 3544
3745 # ./install, which can be erroneously created by make from ./install.sh. 3619 # ./install, which can be erroneously created by make from ./install.sh.
3746 # Reject install programs that cannot install multiple files. 3620 # Reject install programs that cannot install multiple files.
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3748 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3622 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3749 if test -z "$INSTALL"; then 3623 if test -z "$INSTALL"; then
3750 if test "${ac_cv_path_install+set}" = set; then : 3624 if ${ac_cv_path_install+:} false; then :
3751 $as_echo_n "(cached) " >&6 3625 $as_echo_n "(cached) " >&6
3752 else 3626 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH 3628 for as_dir in $PATH
3755 do 3629 do
3832 # name. Accept space and tab only in the latter. 3706 # name. Accept space and tab only in the latter.
3833 am_lf=' 3707 am_lf='
3834 ' 3708 '
3835 case `pwd` in 3709 case `pwd` in
3836 *[\\\"\#\$\&\'\`$am_lf]*) 3710 *[\\\"\#\$\&\'\`$am_lf]*)
3837 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 3711 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3838 esac 3712 esac
3839 case $srcdir in 3713 case $srcdir in
3840 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3714 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3841 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 3715 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3842 esac 3716 esac
3843 3717
3844 # Do `set' in a subshell so we don't clobber the current shell's 3718 # Do `set' in a subshell so we don't clobber the current shell's
3845 # arguments. Must try -L first in case configure is actually a 3719 # arguments. Must try -L first in case configure is actually a
3846 # symlink; some systems play weird games with the mod time of symlinks 3720 # symlink; some systems play weird games with the mod time of symlinks
3922 if test -n "$ac_tool_prefix"; then 3796 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3924 set dummy ${ac_tool_prefix}strip; ac_word=$2 3798 set dummy ${ac_tool_prefix}strip; ac_word=$2
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3926 $as_echo_n "checking for $ac_word... " >&6; } 3800 $as_echo_n "checking for $ac_word... " >&6; }
3927 if test "${ac_cv_prog_STRIP+set}" = set; then : 3801 if ${ac_cv_prog_STRIP+:} false; then :
3928 $as_echo_n "(cached) " >&6 3802 $as_echo_n "(cached) " >&6
3929 else 3803 else
3930 if test -n "$STRIP"; then 3804 if test -n "$STRIP"; then
3931 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3805 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3932 else 3806 else
3962 ac_ct_STRIP=$STRIP 3836 ac_ct_STRIP=$STRIP
3963 # Extract the first word of "strip", so it can be a program name with args. 3837 # Extract the first word of "strip", so it can be a program name with args.
3964 set dummy strip; ac_word=$2 3838 set dummy strip; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; } 3840 $as_echo_n "checking for $ac_word... " >&6; }
3967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3841 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3968 $as_echo_n "(cached) " >&6 3842 $as_echo_n "(cached) " >&6
3969 else 3843 else
3970 if test -n "$ac_ct_STRIP"; then 3844 if test -n "$ac_ct_STRIP"; then
3971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3972 else 3846 else
4015 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3889 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4016 3890
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4018 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3892 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4019 if test -z "$MKDIR_P"; then 3893 if test -z "$MKDIR_P"; then
4020 if test "${ac_cv_path_mkdir+set}" = set; then : 3894 if ${ac_cv_path_mkdir+:} false; then :
4021 $as_echo_n "(cached) " >&6 3895 $as_echo_n "(cached) " >&6
4022 else 3896 else
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3898 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4025 do 3899 do
4066 do 3940 do
4067 # Extract the first word of "$ac_prog", so it can be a program name with args. 3941 # Extract the first word of "$ac_prog", so it can be a program name with args.
4068 set dummy $ac_prog; ac_word=$2 3942 set dummy $ac_prog; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; } 3944 $as_echo_n "checking for $ac_word... " >&6; }
4071 if test "${ac_cv_prog_AWK+set}" = set; then : 3945 if ${ac_cv_prog_AWK+:} false; then :
4072 $as_echo_n "(cached) " >&6 3946 $as_echo_n "(cached) " >&6
4073 else 3947 else
4074 if test -n "$AWK"; then 3948 if test -n "$AWK"; then
4075 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3949 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4076 else 3950 else
4106 3980
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4108 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3982 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4109 set x ${MAKE-make} 3983 set x ${MAKE-make}
4110 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3984 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4111 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3985 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4112 $as_echo_n "(cached) " >&6 3986 $as_echo_n "(cached) " >&6
4113 else 3987 else
4114 cat >conftest.make <<\_ACEOF 3988 cat >conftest.make <<\_ACEOF
4115 SHELL = /bin/sh 3989 SHELL = /bin/sh
4116 all: 3990 all:
4260 4134
4261 depcc="$CC" am_compiler_list= 4135 depcc="$CC" am_compiler_list=
4262 4136
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4264 $as_echo_n "checking dependency style of $depcc... " >&6; } 4138 $as_echo_n "checking dependency style of $depcc... " >&6; }
4265 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4139 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4266 $as_echo_n "(cached) " >&6 4140 $as_echo_n "(cached) " >&6
4267 else 4141 else
4268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4142 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4269 # We make a subdir and do the tests there. Otherwise we can end up 4143 # We make a subdir and do the tests there. Otherwise we can end up
4270 # making bogus files that we don't know about and never remove. For 4144 # making bogus files that we don't know about and never remove. For
4394 if test -n "$ac_tool_prefix"; then 4268 if test -n "$ac_tool_prefix"; then
4395 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4396 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; } 4272 $as_echo_n "checking for $ac_word... " >&6; }
4399 if test "${ac_cv_prog_CC+set}" = set; then : 4273 if ${ac_cv_prog_CC+:} false; then :
4400 $as_echo_n "(cached) " >&6 4274 $as_echo_n "(cached) " >&6
4401 else 4275 else
4402 if test -n "$CC"; then 4276 if test -n "$CC"; then
4403 ac_cv_prog_CC="$CC" # Let the user override the test. 4277 ac_cv_prog_CC="$CC" # Let the user override the test.
4404 else 4278 else
4434 ac_ct_CC=$CC 4308 ac_ct_CC=$CC
4435 # Extract the first word of "gcc", so it can be a program name with args. 4309 # Extract the first word of "gcc", so it can be a program name with args.
4436 set dummy gcc; ac_word=$2 4310 set dummy gcc; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; } 4312 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4313 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4440 $as_echo_n "(cached) " >&6 4314 $as_echo_n "(cached) " >&6
4441 else 4315 else
4442 if test -n "$ac_ct_CC"; then 4316 if test -n "$ac_ct_CC"; then
4443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4444 else 4318 else
4487 if test -n "$ac_tool_prefix"; then 4361 if test -n "$ac_tool_prefix"; then
4488 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4362 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4489 set dummy ${ac_tool_prefix}cc; ac_word=$2 4363 set dummy ${ac_tool_prefix}cc; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; } 4365 $as_echo_n "checking for $ac_word... " >&6; }
4492 if test "${ac_cv_prog_CC+set}" = set; then : 4366 if ${ac_cv_prog_CC+:} false; then :
4493 $as_echo_n "(cached) " >&6 4367 $as_echo_n "(cached) " >&6
4494 else 4368 else
4495 if test -n "$CC"; then 4369 if test -n "$CC"; then
4496 ac_cv_prog_CC="$CC" # Let the user override the test. 4370 ac_cv_prog_CC="$CC" # Let the user override the test.
4497 else 4371 else
4527 if test -z "$CC"; then 4401 if test -z "$CC"; then
4528 # Extract the first word of "cc", so it can be a program name with args. 4402 # Extract the first word of "cc", so it can be a program name with args.
4529 set dummy cc; ac_word=$2 4403 set dummy cc; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; } 4405 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_prog_CC+set}" = set; then : 4406 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6 4407 $as_echo_n "(cached) " >&6
4534 else 4408 else
4535 if test -n "$CC"; then 4409 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test. 4410 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else 4411 else
4586 do 4460 do
4587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; } 4464 $as_echo_n "checking for $ac_word... " >&6; }
4591 if test "${ac_cv_prog_CC+set}" = set; then : 4465 if ${ac_cv_prog_CC+:} false; then :
4592 $as_echo_n "(cached) " >&6 4466 $as_echo_n "(cached) " >&6
4593 else 4467 else
4594 if test -n "$CC"; then 4468 if test -n "$CC"; then
4595 ac_cv_prog_CC="$CC" # Let the user override the test. 4469 ac_cv_prog_CC="$CC" # Let the user override the test.
4596 else 4470 else
4630 do 4504 do
4631 # Extract the first word of "$ac_prog", so it can be a program name with args. 4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4632 set dummy $ac_prog; ac_word=$2 4506 set dummy $ac_prog; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; } 4508 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4509 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4636 $as_echo_n "(cached) " >&6 4510 $as_echo_n "(cached) " >&6
4637 else 4511 else
4638 if test -n "$ac_ct_CC"; then 4512 if test -n "$ac_ct_CC"; then
4639 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4640 else 4514 else
4685 4559
4686 4560
4687 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4561 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4689 as_fn_error $? "no acceptable C compiler found in \$PATH 4563 as_fn_error $? "no acceptable C compiler found in \$PATH
4690 See \`config.log' for more details" "$LINENO" 5 ; } 4564 See \`config.log' for more details" "$LINENO" 5; }
4691 4565
4692 # Provide some information about the compiler. 4566 # Provide some information about the compiler.
4693 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4567 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4694 set X $ac_compile 4568 set X $ac_compile
4695 ac_compiler=$2 4569 ac_compiler=$2
4714 test $ac_status = 0; } 4588 test $ac_status = 0; }
4715 done 4589 done
4716 4590
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4718 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4592 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4719 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4593 if ${ac_cv_c_compiler_gnu+:} false; then :
4720 $as_echo_n "(cached) " >&6 4594 $as_echo_n "(cached) " >&6
4721 else 4595 else
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */ 4597 /* end confdefs.h. */
4724 4598
4751 fi 4625 fi
4752 ac_test_CFLAGS=${CFLAGS+set} 4626 ac_test_CFLAGS=${CFLAGS+set}
4753 ac_save_CFLAGS=$CFLAGS 4627 ac_save_CFLAGS=$CFLAGS
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4755 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4629 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4756 if test "${ac_cv_prog_cc_g+set}" = set; then : 4630 if ${ac_cv_prog_cc_g+:} false; then :
4757 $as_echo_n "(cached) " >&6 4631 $as_echo_n "(cached) " >&6
4758 else 4632 else
4759 ac_save_c_werror_flag=$ac_c_werror_flag 4633 ac_save_c_werror_flag=$ac_c_werror_flag
4760 ac_c_werror_flag=yes 4634 ac_c_werror_flag=yes
4761 ac_cv_prog_cc_g=no 4635 ac_cv_prog_cc_g=no
4829 CFLAGS= 4703 CFLAGS=
4830 fi 4704 fi
4831 fi 4705 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4833 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4707 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4834 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4708 if ${ac_cv_prog_cc_c89+:} false; then :
4835 $as_echo_n "(cached) " >&6 4709 $as_echo_n "(cached) " >&6
4836 else 4710 else
4837 ac_cv_prog_cc_c89=no 4711 ac_cv_prog_cc_c89=no
4838 ac_save_CC=$CC 4712 ac_save_CC=$CC
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4806 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4933 esac 4807 esac
4934 4808
4935 4809
4936 4810
4937 macro_version='2.2.6b' 4811 macro_version='2.4'
4938 macro_revision='1.3017' 4812 macro_revision='1.3293'
4939 4813
4940 4814
4941 4815
4942 4816
4943 4817
4955 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4829 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4956 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4830 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4957 4831
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4959 $as_echo_n "checking build system type... " >&6; } 4833 $as_echo_n "checking build system type... " >&6; }
4960 if test "${ac_cv_build+set}" = set; then : 4834 if ${ac_cv_build+:} false; then :
4961 $as_echo_n "(cached) " >&6 4835 $as_echo_n "(cached) " >&6
4962 else 4836 else
4963 ac_build_alias=$build_alias 4837 ac_build_alias=$build_alias
4964 test "x$ac_build_alias" = x && 4838 test "x$ac_build_alias" = x &&
4965 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4839 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4971 fi 4845 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4973 $as_echo "$ac_cv_build" >&6; } 4847 $as_echo "$ac_cv_build" >&6; }
4974 case $ac_cv_build in 4848 case $ac_cv_build in
4975 *-*-*) ;; 4849 *-*-*) ;;
4976 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4850 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4977 esac 4851 esac
4978 build=$ac_cv_build 4852 build=$ac_cv_build
4979 ac_save_IFS=$IFS; IFS='-' 4853 ac_save_IFS=$IFS; IFS='-'
4980 set x $ac_cv_build 4854 set x $ac_cv_build
4981 shift 4855 shift
4989 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4863 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4990 4864
4991 4865
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4993 $as_echo_n "checking host system type... " >&6; } 4867 $as_echo_n "checking host system type... " >&6; }
4994 if test "${ac_cv_host+set}" = set; then : 4868 if ${ac_cv_host+:} false; then :
4995 $as_echo_n "(cached) " >&6 4869 $as_echo_n "(cached) " >&6
4996 else 4870 else
4997 if test "x$host_alias" = x; then 4871 if test "x$host_alias" = x; then
4998 ac_cv_host=$ac_cv_build 4872 ac_cv_host=$ac_cv_build
4999 else 4873 else
5004 fi 4878 fi
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5006 $as_echo "$ac_cv_host" >&6; } 4880 $as_echo "$ac_cv_host" >&6; }
5007 case $ac_cv_host in 4881 case $ac_cv_host in
5008 *-*-*) ;; 4882 *-*-*) ;;
5009 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4883 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5010 esac 4884 esac
5011 host=$ac_cv_host 4885 host=$ac_cv_host
5012 ac_save_IFS=$IFS; IFS='-' 4886 ac_save_IFS=$IFS; IFS='-'
5013 set x $ac_cv_host 4887 set x $ac_cv_host
5014 shift 4888 shift
5020 host_os=$* 4894 host_os=$*
5021 IFS=$ac_save_IFS 4895 IFS=$ac_save_IFS
5022 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4896 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5023 4897
5024 4898
4899 # Backslashify metacharacters that are still active within
4900 # double-quoted strings.
4901 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4902
4903 # Same as above, but do not quote variable references.
4904 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4905
4906 # Sed substitution to delay expansion of an escaped shell variable in a
4907 # double_quote_subst'ed string.
4908 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4909
4910 # Sed substitution to delay expansion of an escaped single quote.
4911 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4912
4913 # Sed substitution to avoid accidental globbing in evaled expressions
4914 no_glob_subst='s/\*/\\\*/g'
4915
4916 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4917 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4918 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4919
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4921 $as_echo_n "checking how to print strings... " >&6; }
4922 # Test print first, because it will be a builtin if present.
4923 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4924 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4925 ECHO='print -r --'
4926 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4927 ECHO='printf %s\n'
4928 else
4929 # Use this function as a fallback that always works.
4930 func_fallback_echo ()
4931 {
4932 eval 'cat <<_LTECHO_EOF
4933 $1
4934 _LTECHO_EOF'
4935 }
4936 ECHO='func_fallback_echo'
4937 fi
4938
4939 # func_echo_all arg...
4940 # Invoke $ECHO with all args, space-separated.
4941 func_echo_all ()
4942 {
4943 $ECHO ""
4944 }
4945
4946 case "$ECHO" in
4947 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4948 $as_echo "printf" >&6; } ;;
4949 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4950 $as_echo "print -r" >&6; } ;;
4951 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4952 $as_echo "cat" >&6; } ;;
4953 esac
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5026 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4969 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5027 if test "${ac_cv_path_SED+set}" = set; then : 4970 if ${ac_cv_path_SED+:} false; then :
5028 $as_echo_n "(cached) " >&6 4971 $as_echo_n "(cached) " >&6
5029 else 4972 else
5030 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4973 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5031 for ac_i in 1 2 3 4 5 6 7; do 4974 for ac_i in 1 2 3 4 5 6 7; do
5032 ac_script="$ac_script$as_nl$ac_script" 4975 ac_script="$ac_script$as_nl$ac_script"
5104 5047
5105 5048
5106 5049
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5108 $as_echo_n "checking for fgrep... " >&6; } 5051 $as_echo_n "checking for fgrep... " >&6; }
5109 if test "${ac_cv_path_FGREP+set}" = set; then : 5052 if ${ac_cv_path_FGREP+:} false; then :
5110 $as_echo_n "(cached) " >&6 5053 $as_echo_n "(cached) " >&6
5111 else 5054 else
5112 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5055 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5113 then ac_cv_path_FGREP="$GREP -F" 5056 then ac_cv_path_FGREP="$GREP -F"
5114 else 5057 else
5235 $as_echo_n "checking for GNU ld... " >&6; } 5178 $as_echo_n "checking for GNU ld... " >&6; }
5236 else 5179 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5238 $as_echo_n "checking for non-GNU ld... " >&6; } 5181 $as_echo_n "checking for non-GNU ld... " >&6; }
5239 fi 5182 fi
5240 if test "${lt_cv_path_LD+set}" = set; then : 5183 if ${lt_cv_path_LD+:} false; then :
5241 $as_echo_n "(cached) " >&6 5184 $as_echo_n "(cached) " >&6
5242 else 5185 else
5243 if test -z "$LD"; then 5186 if test -z "$LD"; then
5244 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5187 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5245 for ac_dir in $PATH; do 5188 for ac_dir in $PATH; do
5275 $as_echo "no" >&6; } 5218 $as_echo "no" >&6; }
5276 fi 5219 fi
5277 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5220 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5279 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5222 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5280 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5223 if ${lt_cv_prog_gnu_ld+:} false; then :
5281 $as_echo_n "(cached) " >&6 5224 $as_echo_n "(cached) " >&6
5282 else 5225 else
5283 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5226 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5284 case `$LD -v 2>&1 </dev/null` in 5227 case `$LD -v 2>&1 </dev/null` in
5285 *GNU* | *'with BFD'*) 5228 *GNU* | *'with BFD'*)
5302 5245
5303 5246
5304 5247
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5306 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5249 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5307 if test "${lt_cv_path_NM+set}" = set; then : 5250 if ${lt_cv_path_NM+:} false; then :
5308 $as_echo_n "(cached) " >&6 5251 $as_echo_n "(cached) " >&6
5309 else 5252 else
5310 if test -n "$NM"; then 5253 if test -n "$NM"; then
5311 # Let the user override the test. 5254 # Let the user override the test.
5312 lt_cv_path_NM="$NM" 5255 lt_cv_path_NM="$NM"
5355 $as_echo "$lt_cv_path_NM" >&6; } 5298 $as_echo "$lt_cv_path_NM" >&6; }
5356 if test "$lt_cv_path_NM" != "no"; then 5299 if test "$lt_cv_path_NM" != "no"; then
5357 NM="$lt_cv_path_NM" 5300 NM="$lt_cv_path_NM"
5358 else 5301 else
5359 # Didn't find any BSD compatible name lister, look for dumpbin. 5302 # Didn't find any BSD compatible name lister, look for dumpbin.
5360 if test -n "$ac_tool_prefix"; then 5303 if test -n "$DUMPBIN"; then :
5361 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5304 # Let the user override the test.
5305 else
5306 if test -n "$ac_tool_prefix"; then
5307 for ac_prog in dumpbin "link -dump"
5362 do 5308 do
5363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; } 5312 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5313 if ${ac_cv_prog_DUMPBIN+:} false; then :
5368 $as_echo_n "(cached) " >&6 5314 $as_echo_n "(cached) " >&6
5369 else 5315 else
5370 if test -n "$DUMPBIN"; then 5316 if test -n "$DUMPBIN"; then
5371 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5317 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5372 else 5318 else
5400 test -n "$DUMPBIN" && break 5346 test -n "$DUMPBIN" && break
5401 done 5347 done
5402 fi 5348 fi
5403 if test -z "$DUMPBIN"; then 5349 if test -z "$DUMPBIN"; then
5404 ac_ct_DUMPBIN=$DUMPBIN 5350 ac_ct_DUMPBIN=$DUMPBIN
5405 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5351 for ac_prog in dumpbin "link -dump"
5406 do 5352 do
5407 # Extract the first word of "$ac_prog", so it can be a program name with args. 5353 # Extract the first word of "$ac_prog", so it can be a program name with args.
5408 set dummy $ac_prog; ac_word=$2 5354 set dummy $ac_prog; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; } 5356 $as_echo_n "checking for $ac_word... " >&6; }
5411 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5357 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5412 $as_echo_n "(cached) " >&6 5358 $as_echo_n "(cached) " >&6
5413 else 5359 else
5414 if test -n "$ac_ct_DUMPBIN"; then 5360 if test -n "$ac_ct_DUMPBIN"; then
5415 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5361 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5416 else 5362 else
5455 esac 5401 esac
5456 DUMPBIN=$ac_ct_DUMPBIN 5402 DUMPBIN=$ac_ct_DUMPBIN
5457 fi 5403 fi
5458 fi 5404 fi
5459 5405
5406 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5407 *COFF*)
5408 DUMPBIN="$DUMPBIN -symbols"
5409 ;;
5410 *)
5411 DUMPBIN=:
5412 ;;
5413 esac
5414 fi
5460 5415
5461 if test "$DUMPBIN" != ":"; then 5416 if test "$DUMPBIN" != ":"; then
5462 NM="$DUMPBIN" 5417 NM="$DUMPBIN"
5463 fi 5418 fi
5464 fi 5419 fi
5469 5424
5470 5425
5471 5426
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5473 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5428 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5474 if test "${lt_cv_nm_interface+set}" = set; then : 5429 if ${lt_cv_nm_interface+:} false; then :
5475 $as_echo_n "(cached) " >&6 5430 $as_echo_n "(cached) " >&6
5476 else 5431 else
5477 lt_cv_nm_interface="BSD nm" 5432 lt_cv_nm_interface="BSD nm"
5478 echo "int some_variable = 0;" > conftest.$ac_ext 5433 echo "int some_variable = 0;" > conftest.$ac_ext
5479 (eval echo "\"\$as_me:5479: $ac_compile\"" >&5) 5434 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5480 (eval "$ac_compile" 2>conftest.err) 5435 (eval "$ac_compile" 2>conftest.err)
5481 cat conftest.err >&5 5436 cat conftest.err >&5
5482 (eval echo "\"\$as_me:5482: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5437 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5483 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5438 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5484 cat conftest.err >&5 5439 cat conftest.err >&5
5485 (eval echo "\"\$as_me:5485: output\"" >&5) 5440 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5486 cat conftest.out >&5 5441 cat conftest.out >&5
5487 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5442 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5488 lt_cv_nm_interface="MS dumpbin" 5443 lt_cv_nm_interface="MS dumpbin"
5489 fi 5444 fi
5490 rm -f conftest* 5445 rm -f conftest*
5504 fi 5459 fi
5505 5460
5506 # find the maximum length of command line arguments 5461 # find the maximum length of command line arguments
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5508 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5463 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5509 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5464 if ${lt_cv_sys_max_cmd_len+:} false; then :
5510 $as_echo_n "(cached) " >&6 5465 $as_echo_n "(cached) " >&6
5511 else 5466 else
5512 i=0 5467 i=0
5513 teststring="ABCD" 5468 teststring="ABCD"
5514 5469
5534 # Worse, since 9x/ME are not pre-emptively multitasking, 5489 # Worse, since 9x/ME are not pre-emptively multitasking,
5535 # you end up with a "frozen" computer, even though with patience 5490 # you end up with a "frozen" computer, even though with patience
5536 # the test eventually succeeds (with a max line length of 256k). 5491 # the test eventually succeeds (with a max line length of 256k).
5537 # Instead, let's just punt: use the minimum linelength reported by 5492 # Instead, let's just punt: use the minimum linelength reported by
5538 # all of the supported platforms: 8192 (on NT/2K/XP). 5493 # all of the supported platforms: 8192 (on NT/2K/XP).
5494 lt_cv_sys_max_cmd_len=8192;
5495 ;;
5496
5497 mint*)
5498 # On MiNT this can take a long time and run out of memory.
5539 lt_cv_sys_max_cmd_len=8192; 5499 lt_cv_sys_max_cmd_len=8192;
5540 ;; 5500 ;;
5541 5501
5542 amigaos*) 5502 amigaos*)
5543 # On AmigaOS with pdksh, this test takes hours, literally. 5503 # On AmigaOS with pdksh, this test takes hours, literally.
5601 done 5561 done
5602 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5562 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5603 # If test is not a shell built-in, we'll probably end up computing a 5563 # If test is not a shell built-in, we'll probably end up computing a
5604 # maximum length that is only half of the actual maximum length, but 5564 # maximum length that is only half of the actual maximum length, but
5605 # we can't tell. 5565 # we can't tell.
5606 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5566 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5607 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5567 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5608 test $i != 17 # 1/2 MB should be enough 5568 test $i != 17 # 1/2 MB should be enough
5609 do 5569 do
5610 i=`expr $i + 1` 5570 i=`expr $i + 1`
5611 teststring=$teststring$teststring 5571 teststring=$teststring$teststring
5612 done 5572 done
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5645 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5605 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5646 # Try some XSI features 5606 # Try some XSI features
5647 xsi_shell=no 5607 xsi_shell=no
5648 ( _lt_dummy="a/b/c" 5608 ( _lt_dummy="a/b/c"
5649 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5609 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5650 = c,a/b,, \ 5610 = c,a/b,b/c, \
5651 && eval 'test $(( 1 + 1 )) -eq 2 \ 5611 && eval 'test $(( 1 + 1 )) -eq 2 \
5652 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5612 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5653 && xsi_shell=yes 5613 && xsi_shell=yes
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5655 $as_echo "$xsi_shell" >&6; } 5615 $as_echo "$xsi_shell" >&6; }
5694 5654
5695 5655
5696 5656
5697 5657
5698 5658
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5660 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5661 if ${lt_cv_to_host_file_cmd+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 case $host in
5665 *-*-mingw* )
5666 case $build in
5667 *-*-mingw* ) # actually msys
5668 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5669 ;;
5670 *-*-cygwin* )
5671 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5672 ;;
5673 * ) # otherwise, assume *nix
5674 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5675 ;;
5676 esac
5677 ;;
5678 *-*-cygwin* )
5679 case $build in
5680 *-*-mingw* ) # actually msys
5681 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5682 ;;
5683 *-*-cygwin* )
5684 lt_cv_to_host_file_cmd=func_convert_file_noop
5685 ;;
5686 * ) # otherwise, assume *nix
5687 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5688 ;;
5689 esac
5690 ;;
5691 * ) # unhandled hosts (and "normal" native builds)
5692 lt_cv_to_host_file_cmd=func_convert_file_noop
5693 ;;
5694 esac
5695
5696 fi
5697
5698 to_host_file_cmd=$lt_cv_to_host_file_cmd
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5700 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5701
5702
5703
5704
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5707 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5708 if ${lt_cv_to_tool_file_cmd+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 #assume ordinary cross tools, or native build.
5712 lt_cv_to_tool_file_cmd=func_convert_file_noop
5713 case $host in
5714 *-*-mingw* )
5715 case $build in
5716 *-*-mingw* ) # actually msys
5717 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5718 ;;
5719 esac
5720 ;;
5721 esac
5722
5723 fi
5724
5725 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5727 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5728
5729
5730
5731
5732
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5700 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5734 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5701 if test "${lt_cv_ld_reload_flag+set}" = set; then : 5735 if ${lt_cv_ld_reload_flag+:} false; then :
5702 $as_echo_n "(cached) " >&6 5736 $as_echo_n "(cached) " >&6
5703 else 5737 else
5704 lt_cv_ld_reload_flag='-r' 5738 lt_cv_ld_reload_flag='-r'
5705 fi 5739 fi
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5710 "" | " "*) ;; 5744 "" | " "*) ;;
5711 *) reload_flag=" $reload_flag" ;; 5745 *) reload_flag=" $reload_flag" ;;
5712 esac 5746 esac
5713 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5714 case $host_os in 5748 case $host_os in
5749 cygwin* | mingw* | pw32* | cegcc*)
5750 if test "$GCC" != yes; then
5751 reload_cmds=false
5752 fi
5753 ;;
5715 darwin*) 5754 darwin*)
5716 if test "$GCC" = yes; then 5755 if test "$GCC" = yes; then
5717 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5756 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5718 else 5757 else
5719 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5758 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5732 if test -n "$ac_tool_prefix"; then 5771 if test -n "$ac_tool_prefix"; then
5733 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5772 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5734 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5773 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; } 5775 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5776 if ${ac_cv_prog_OBJDUMP+:} false; then :
5738 $as_echo_n "(cached) " >&6 5777 $as_echo_n "(cached) " >&6
5739 else 5778 else
5740 if test -n "$OBJDUMP"; then 5779 if test -n "$OBJDUMP"; then
5741 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5780 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5742 else 5781 else
5772 ac_ct_OBJDUMP=$OBJDUMP 5811 ac_ct_OBJDUMP=$OBJDUMP
5773 # Extract the first word of "objdump", so it can be a program name with args. 5812 # Extract the first word of "objdump", so it can be a program name with args.
5774 set dummy objdump; ac_word=$2 5813 set dummy objdump; ac_word=$2
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5776 $as_echo_n "checking for $ac_word... " >&6; } 5815 $as_echo_n "checking for $ac_word... " >&6; }
5777 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5816 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5778 $as_echo_n "(cached) " >&6 5817 $as_echo_n "(cached) " >&6
5779 else 5818 else
5780 if test -n "$ac_ct_OBJDUMP"; then 5819 if test -n "$ac_ct_OBJDUMP"; then
5781 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5820 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5782 else 5821 else
5831 5870
5832 5871
5833 5872
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5835 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 5874 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5836 if test "${lt_cv_deplibs_check_method+set}" = set; then : 5875 if ${lt_cv_deplibs_check_method+:} false; then :
5837 $as_echo_n "(cached) " >&6 5876 $as_echo_n "(cached) " >&6
5838 else 5877 else
5839 lt_cv_file_magic_cmd='$MAGIC_CMD' 5878 lt_cv_file_magic_cmd='$MAGIC_CMD'
5840 lt_cv_file_magic_test_file= 5879 lt_cv_file_magic_test_file=
5841 lt_cv_deplibs_check_method='unknown' 5880 lt_cv_deplibs_check_method='unknown'
5873 5912
5874 mingw* | pw32*) 5913 mingw* | pw32*)
5875 # Base MSYS/MinGW do not provide the 'file' command needed by 5914 # Base MSYS/MinGW do not provide the 'file' command needed by
5876 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5915 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5877 # unless we find 'file', for example because we are cross-compiling. 5916 # unless we find 'file', for example because we are cross-compiling.
5878 if ( file / ) >/dev/null 2>&1; then 5917 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5918 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5879 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5919 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5880 lt_cv_file_magic_cmd='func_win32_libid' 5920 lt_cv_file_magic_cmd='func_win32_libid'
5881 else 5921 else
5882 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5922 # Keep this pattern in sync with the one in func_win32_libid.
5923 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5883 lt_cv_file_magic_cmd='$OBJDUMP -f' 5924 lt_cv_file_magic_cmd='$OBJDUMP -f'
5884 fi 5925 fi
5885 ;; 5926 ;;
5886 5927
5887 cegcc) 5928 cegcc*)
5888 # use the weaker test based on 'objdump'. See mingw*. 5929 # use the weaker test based on 'objdump'. See mingw*.
5889 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5930 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5890 lt_cv_file_magic_cmd='$OBJDUMP -f' 5931 lt_cv_file_magic_cmd='$OBJDUMP -f'
5891 ;; 5932 ;;
5892 5933
5912 5953
5913 gnu*) 5954 gnu*)
5914 lt_cv_deplibs_check_method=pass_all 5955 lt_cv_deplibs_check_method=pass_all
5915 ;; 5956 ;;
5916 5957
5958 haiku*)
5959 lt_cv_deplibs_check_method=pass_all
5960 ;;
5961
5917 hpux10.20* | hpux11*) 5962 hpux10.20* | hpux11*)
5918 lt_cv_file_magic_cmd=/usr/bin/file 5963 lt_cv_file_magic_cmd=/usr/bin/file
5919 case $host_cpu in 5964 case $host_cpu in
5920 ia64*) 5965 ia64*)
5921 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5966 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5922 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5967 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5923 ;; 5968 ;;
5924 hppa*64*) 5969 hppa*64*)
5925 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 5970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5926 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5971 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5927 ;; 5972 ;;
5928 *) 5973 *)
5929 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5930 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5975 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5931 ;; 5976 ;;
5932 esac 5977 esac
5933 ;; 5978 ;;
5934 5979
6027 esac 6072 esac
6028 6073
6029 fi 6074 fi
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6031 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6076 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6077
6078 file_magic_glob=
6079 want_nocaseglob=no
6080 if test "$build" = "$host"; then
6081 case $host_os in
6082 mingw* | pw32*)
6083 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6084 want_nocaseglob=yes
6085 else
6086 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6087 fi
6088 ;;
6089 esac
6090 fi
6091
6032 file_magic_cmd=$lt_cv_file_magic_cmd 6092 file_magic_cmd=$lt_cv_file_magic_cmd
6033 deplibs_check_method=$lt_cv_deplibs_check_method 6093 deplibs_check_method=$lt_cv_deplibs_check_method
6034 test -z "$deplibs_check_method" && deplibs_check_method=unknown 6094 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6035 6095
6036 6096
6042 6102
6043 6103
6044 6104
6045 6105
6046 6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6047 if test -n "$ac_tool_prefix"; then 6117 if test -n "$ac_tool_prefix"; then
6048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6118 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6049 set dummy ${ac_tool_prefix}ar; ac_word=$2 6119 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; } 6121 $as_echo_n "checking for $ac_word... " >&6; }
6052 if test "${ac_cv_prog_AR+set}" = set; then : 6122 if ${ac_cv_prog_DLLTOOL+:} false; then :
6053 $as_echo_n "(cached) " >&6 6123 $as_echo_n "(cached) " >&6
6054 else 6124 else
6055 if test -n "$AR"; then 6125 if test -n "$DLLTOOL"; then
6056 ac_cv_prog_AR="$AR" # Let the user override the test. 6126 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6057 else 6127 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH 6129 for as_dir in $PATH
6060 do 6130 do
6061 IFS=$as_save_IFS 6131 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=. 6132 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do 6133 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_AR="${ac_tool_prefix}ar" 6135 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2 6137 break 2
6068 fi 6138 fi
6069 done 6139 done
6070 done 6140 done
6071 IFS=$as_save_IFS 6141 IFS=$as_save_IFS
6072 6142
6073 fi 6143 fi
6074 fi 6144 fi
6075 AR=$ac_cv_prog_AR 6145 DLLTOOL=$ac_cv_prog_DLLTOOL
6076 if test -n "$AR"; then 6146 if test -n "$DLLTOOL"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6078 $as_echo "$AR" >&6; } 6148 $as_echo "$DLLTOOL" >&6; }
6079 else 6149 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; } 6151 $as_echo "no" >&6; }
6082 fi 6152 fi
6083 6153
6084 6154
6085 fi 6155 fi
6086 if test -z "$ac_cv_prog_AR"; then 6156 if test -z "$ac_cv_prog_DLLTOOL"; then
6087 ac_ct_AR=$AR 6157 ac_ct_DLLTOOL=$DLLTOOL
6088 # Extract the first word of "ar", so it can be a program name with args. 6158 # Extract the first word of "dlltool", so it can be a program name with args.
6089 set dummy ar; ac_word=$2 6159 set dummy dlltool; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; } 6161 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6162 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6093 $as_echo_n "(cached) " >&6 6163 $as_echo_n "(cached) " >&6
6094 else 6164 else
6095 if test -n "$ac_ct_AR"; then 6165 if test -n "$ac_ct_DLLTOOL"; then
6096 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6166 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6097 else 6167 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH 6169 for as_dir in $PATH
6100 do 6170 do
6101 IFS=$as_save_IFS 6171 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=. 6172 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do 6173 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_ac_ct_AR="ar" 6175 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2 6177 break 2
6108 fi 6178 fi
6109 done 6179 done
6110 done 6180 done
6111 IFS=$as_save_IFS 6181 IFS=$as_save_IFS
6112 6182
6113 fi 6183 fi
6114 fi 6184 fi
6185 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6186 if test -n "$ac_ct_DLLTOOL"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6188 $as_echo "$ac_ct_DLLTOOL" >&6; }
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6192 fi
6193
6194 if test "x$ac_ct_DLLTOOL" = x; then
6195 DLLTOOL="false"
6196 else
6197 case $cross_compiling:$ac_tool_warned in
6198 yes:)
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6201 ac_tool_warned=yes ;;
6202 esac
6203 DLLTOOL=$ac_ct_DLLTOOL
6204 fi
6205 else
6206 DLLTOOL="$ac_cv_prog_DLLTOOL"
6207 fi
6208
6209 test -z "$DLLTOOL" && DLLTOOL=dlltool
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6221 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6222 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 lt_cv_sharedlib_from_linklib_cmd='unknown'
6226
6227 case $host_os in
6228 cygwin* | mingw* | pw32* | cegcc*)
6229 # two different shell functions defined in ltmain.sh
6230 # decide which to use based on capabilities of $DLLTOOL
6231 case `$DLLTOOL --help 2>&1` in
6232 *--identify-strict*)
6233 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6234 ;;
6235 *)
6236 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6237 ;;
6238 esac
6239 ;;
6240 *)
6241 # fallback: assume linklib IS sharedlib
6242 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6243 ;;
6244 esac
6245
6246 fi
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6248 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6249 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6250 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6251
6252
6253
6254
6255
6256
6257
6258 if test -n "$ac_tool_prefix"; then
6259 for ac_prog in ar
6260 do
6261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if ${ac_cv_prog_AR+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -n "$AR"; then
6269 ac_cv_prog_AR="$AR" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6273 do
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 break 2
6281 fi
6282 done
6283 done
6284 IFS=$as_save_IFS
6285
6286 fi
6287 fi
6288 AR=$ac_cv_prog_AR
6289 if test -n "$AR"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6291 $as_echo "$AR" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6295 fi
6296
6297
6298 test -n "$AR" && break
6299 done
6300 fi
6301 if test -z "$AR"; then
6302 ac_ct_AR=$AR
6303 for ac_prog in ar
6304 do
6305 # Extract the first word of "$ac_prog", so it can be a program name with args.
6306 set dummy $ac_prog; ac_word=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6310 $as_echo_n "(cached) " >&6
6311 else
6312 if test -n "$ac_ct_AR"; then
6313 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6314 else
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 for as_dir in $PATH
6317 do
6318 IFS=$as_save_IFS
6319 test -z "$as_dir" && as_dir=.
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322 ac_cv_prog_ac_ct_AR="$ac_prog"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 break 2
6325 fi
6326 done
6327 done
6328 IFS=$as_save_IFS
6329
6330 fi
6331 fi
6115 ac_ct_AR=$ac_cv_prog_ac_ct_AR 6332 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6116 if test -n "$ac_ct_AR"; then 6333 if test -n "$ac_ct_AR"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6118 $as_echo "$ac_ct_AR" >&6; } 6335 $as_echo "$ac_ct_AR" >&6; }
6119 else 6336 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; } 6338 $as_echo "no" >&6; }
6122 fi 6339 fi
6340
6341
6342 test -n "$ac_ct_AR" && break
6343 done
6123 6344
6124 if test "x$ac_ct_AR" = x; then 6345 if test "x$ac_ct_AR" = x; then
6125 AR="false" 6346 AR="false"
6126 else 6347 else
6127 case $cross_compiling:$ac_tool_warned in 6348 case $cross_compiling:$ac_tool_warned in
6130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6131 ac_tool_warned=yes ;; 6352 ac_tool_warned=yes ;;
6132 esac 6353 esac
6133 AR=$ac_ct_AR 6354 AR=$ac_ct_AR
6134 fi 6355 fi
6135 else 6356 fi
6136 AR="$ac_cv_prog_AR" 6357
6137 fi 6358 : ${AR=ar}
6138 6359 : ${AR_FLAGS=cru}
6139 test -z "$AR" && AR=ar 6360
6140 test -z "$AR_FLAGS" && AR_FLAGS=cru 6361
6141 6362
6142 6363
6143 6364
6144 6365
6366
6367
6368
6369
6370
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6372 $as_echo_n "checking for archiver @FILE support... " >&6; }
6373 if ${lt_cv_ar_at_file+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 lt_cv_ar_at_file=no
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379
6380 int
6381 main ()
6382 {
6383
6384 ;
6385 return 0;
6386 }
6387 _ACEOF
6388 if ac_fn_c_try_compile "$LINENO"; then :
6389 echo conftest.$ac_objext > conftest.lst
6390 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6391 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6392 (eval $lt_ar_try) 2>&5
6393 ac_status=$?
6394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6395 test $ac_status = 0; }
6396 if test "$ac_status" -eq 0; then
6397 # Ensure the archiver fails upon bogus file names.
6398 rm -f conftest.$ac_objext libconftest.a
6399 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6400 (eval $lt_ar_try) 2>&5
6401 ac_status=$?
6402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6403 test $ac_status = 0; }
6404 if test "$ac_status" -ne 0; then
6405 lt_cv_ar_at_file=@
6406 fi
6407 fi
6408 rm -f conftest.* libconftest.a
6409
6410 fi
6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412
6413 fi
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6415 $as_echo "$lt_cv_ar_at_file" >&6; }
6416
6417 if test "x$lt_cv_ar_at_file" = xno; then
6418 archiver_list_spec=
6419 else
6420 archiver_list_spec=$lt_cv_ar_at_file
6421 fi
6145 6422
6146 6423
6147 6424
6148 6425
6149 6426
6152 if test -n "$ac_tool_prefix"; then 6429 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6430 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6154 set dummy ${ac_tool_prefix}strip; ac_word=$2 6431 set dummy ${ac_tool_prefix}strip; ac_word=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 $as_echo_n "checking for $ac_word... " >&6; } 6433 $as_echo_n "checking for $ac_word... " >&6; }
6157 if test "${ac_cv_prog_STRIP+set}" = set; then : 6434 if ${ac_cv_prog_STRIP+:} false; then :
6158 $as_echo_n "(cached) " >&6 6435 $as_echo_n "(cached) " >&6
6159 else 6436 else
6160 if test -n "$STRIP"; then 6437 if test -n "$STRIP"; then
6161 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6438 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6162 else 6439 else
6192 ac_ct_STRIP=$STRIP 6469 ac_ct_STRIP=$STRIP
6193 # Extract the first word of "strip", so it can be a program name with args. 6470 # Extract the first word of "strip", so it can be a program name with args.
6194 set dummy strip; ac_word=$2 6471 set dummy strip; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; } 6473 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6474 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6198 $as_echo_n "(cached) " >&6 6475 $as_echo_n "(cached) " >&6
6199 else 6476 else
6200 if test -n "$ac_ct_STRIP"; then 6477 if test -n "$ac_ct_STRIP"; then
6201 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6478 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6202 else 6479 else
6251 if test -n "$ac_tool_prefix"; then 6528 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6529 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6530 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; } 6532 $as_echo_n "checking for $ac_word... " >&6; }
6256 if test "${ac_cv_prog_RANLIB+set}" = set; then : 6533 if ${ac_cv_prog_RANLIB+:} false; then :
6257 $as_echo_n "(cached) " >&6 6534 $as_echo_n "(cached) " >&6
6258 else 6535 else
6259 if test -n "$RANLIB"; then 6536 if test -n "$RANLIB"; then
6260 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6537 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6261 else 6538 else
6291 ac_ct_RANLIB=$RANLIB 6568 ac_ct_RANLIB=$RANLIB
6292 # Extract the first word of "ranlib", so it can be a program name with args. 6569 # Extract the first word of "ranlib", so it can be a program name with args.
6293 set dummy ranlib; ac_word=$2 6570 set dummy ranlib; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295 $as_echo_n "checking for $ac_word... " >&6; } 6572 $as_echo_n "checking for $ac_word... " >&6; }
6296 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6573 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6297 $as_echo_n "(cached) " >&6 6574 $as_echo_n "(cached) " >&6
6298 else 6575 else
6299 if test -n "$ac_ct_RANLIB"; then 6576 if test -n "$ac_ct_RANLIB"; then
6300 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6577 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6301 else 6578 else
6362 ;; 6639 ;;
6363 esac 6640 esac
6364 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6641 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6365 fi 6642 fi
6366 6643
6644 case $host_os in
6645 darwin*)
6646 lock_old_archive_extraction=yes ;;
6647 *)
6648 lock_old_archive_extraction=no ;;
6649 esac
6650
6651
6652
6653
6654
6655
6367 6656
6368 6657
6369 6658
6370 6659
6371 6660
6408 6697
6409 6698
6410 # Check for command to grab the raw symbol name followed by C symbol from nm. 6699 # Check for command to grab the raw symbol name followed by C symbol from nm.
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6412 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6701 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6413 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6702 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6414 $as_echo_n "(cached) " >&6 6703 $as_echo_n "(cached) " >&6
6415 else 6704 else
6416 6705
6417 # These are sane defaults that work on at least a few old systems. 6706 # These are sane defaults that work on at least a few old systems.
6418 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6707 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6469 # Some systems (esp. on ia64) link data and code symbols differently, 6758 # Some systems (esp. on ia64) link data and code symbols differently,
6470 # so use this general approach. 6759 # so use this general approach.
6471 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6760 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6472 6761
6473 # Transform an extracted symbol line into symbol name and symbol address 6762 # Transform an extracted symbol line into symbol name and symbol address
6474 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6763 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6764 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6476 6765
6477 # Handle CRLF in mingw tool chain 6766 # Handle CRLF in mingw tool chain
6478 opt_cr= 6767 opt_cr=
6479 case $build_os in 6768 case $build_os in
6480 mingw*) 6769 mingw*)
6506 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6795 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6507 " ' prfx=^$ac_symprfx" 6796 " ' prfx=^$ac_symprfx"
6508 else 6797 else
6509 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6798 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6510 fi 6799 fi
6800 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6511 6801
6512 # Check to see that the pipe works correctly. 6802 # Check to see that the pipe works correctly.
6513 pipe_works=no 6803 pipe_works=no
6514 6804
6515 rm -f conftest* 6805 rm -f conftest*
6531 ac_status=$? 6821 ac_status=$?
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533 test $ac_status = 0; }; then 6823 test $ac_status = 0; }; then
6534 # Now try to grab the symbols. 6824 # Now try to grab the symbols.
6535 nlist=conftest.nm 6825 nlist=conftest.nm
6536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 6826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6537 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6827 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6538 ac_status=$? 6828 ac_status=$?
6539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540 test $ac_status = 0; } && test -s "$nlist"; then 6830 test $ac_status = 0; } && test -s "$nlist"; then
6541 # Try sorting and uniquifying the output. 6831 # Try sorting and uniquifying the output.
6542 if sort "$nlist" | uniq > "$nlist"T; then 6832 if sort "$nlist" | uniq > "$nlist"T; then
6547 6837
6548 # Make sure that we snagged all the symbols we need. 6838 # Make sure that we snagged all the symbols we need.
6549 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6839 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6550 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6840 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6551 cat <<_LT_EOF > conftest.$ac_ext 6841 cat <<_LT_EOF > conftest.$ac_ext
6842 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6843 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6844 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6845 relocations are performed -- see ld's documentation on pseudo-relocs. */
6846 # define LT_DLSYM_CONST
6847 #elif defined(__osf__)
6848 /* This system does not cope well with relocations in const data. */
6849 # define LT_DLSYM_CONST
6850 #else
6851 # define LT_DLSYM_CONST const
6852 #endif
6853
6552 #ifdef __cplusplus 6854 #ifdef __cplusplus
6553 extern "C" { 6855 extern "C" {
6554 #endif 6856 #endif
6555 6857
6556 _LT_EOF 6858 _LT_EOF
6558 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6860 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6559 6861
6560 cat <<_LT_EOF >> conftest.$ac_ext 6862 cat <<_LT_EOF >> conftest.$ac_ext
6561 6863
6562 /* The mapping between symbol names and symbols. */ 6864 /* The mapping between symbol names and symbols. */
6563 const struct { 6865 LT_DLSYM_CONST struct {
6564 const char *name; 6866 const char *name;
6565 void *address; 6867 void *address;
6566 } 6868 }
6567 lt__PROGRAM__LTX_preloaded_symbols[] = 6869 lt__PROGRAM__LTX_preloaded_symbols[] =
6568 { 6870 {
6584 } 6886 }
6585 #endif 6887 #endif
6586 _LT_EOF 6888 _LT_EOF
6587 # Now try linking the two files. 6889 # Now try linking the two files.
6588 mv conftest.$ac_objext conftstm.$ac_objext 6890 mv conftest.$ac_objext conftstm.$ac_objext
6589 lt_save_LIBS="$LIBS" 6891 lt_globsym_save_LIBS=$LIBS
6590 lt_save_CFLAGS="$CFLAGS" 6892 lt_globsym_save_CFLAGS=$CFLAGS
6591 LIBS="conftstm.$ac_objext" 6893 LIBS="conftstm.$ac_objext"
6592 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6894 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6594 (eval $ac_link) 2>&5 6896 (eval $ac_link) 2>&5
6595 ac_status=$? 6897 ac_status=$?
6596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6899 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6598 pipe_works=yes 6900 pipe_works=yes
6599 fi 6901 fi
6600 LIBS="$lt_save_LIBS" 6902 LIBS=$lt_globsym_save_LIBS
6601 CFLAGS="$lt_save_CFLAGS" 6903 CFLAGS=$lt_globsym_save_CFLAGS
6602 else 6904 else
6603 echo "cannot find nm_test_func in $nlist" >&5 6905 echo "cannot find nm_test_func in $nlist" >&5
6604 fi 6906 fi
6605 else 6907 else
6606 echo "cannot find nm_test_var in $nlist" >&5 6908 echo "cannot find nm_test_var in $nlist" >&5
6633 else 6935 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6635 $as_echo "ok" >&6; } 6937 $as_echo "ok" >&6; }
6636 fi 6938 fi
6637 6939
6638 6940 # Response file support.
6639 6941 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6640 6942 nm_file_list_spec='@'
6641 6943 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6642 6944 nm_file_list_spec='@'
6643 6945 fi
6644 6946
6645 6947
6646 6948
6647 6949
6648 6950
6649 6951
6650 6952
6651 6953
6652 6954
6653 6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6974 $as_echo_n "checking for sysroot... " >&6; }
6975
6976 # Check whether --with-sysroot was given.
6977 if test "${with_sysroot+set}" = set; then :
6978 withval=$with_sysroot;
6979 else
6980 with_sysroot=no
6981 fi
6982
6983
6984 lt_sysroot=
6985 case ${with_sysroot} in #(
6986 yes)
6987 if test "$GCC" = yes; then
6988 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6989 fi
6990 ;; #(
6991 /*)
6992 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6993 ;; #(
6994 no|'')
6995 ;; #(
6996 *)
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6998 $as_echo "${with_sysroot}" >&6; }
6999 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7000 ;;
7001 esac
7002
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7004 $as_echo "${lt_sysroot:-no}" >&6; }
6654 7005
6655 7006
6656 7007
6657 7008
6658 7009
6685 fi 7036 fi
6686 rm -rf conftest* 7037 rm -rf conftest*
6687 ;; 7038 ;;
6688 *-*-irix6*) 7039 *-*-irix6*)
6689 # Find out which ABI we are using. 7040 # Find out which ABI we are using.
6690 echo '#line 6690 "configure"' > conftest.$ac_ext 7041 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6692 (eval $ac_compile) 2>&5 7043 (eval $ac_compile) 2>&5
6693 ac_status=$? 7044 ac_status=$?
6694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6695 test $ac_status = 0; }; then 7046 test $ac_status = 0; }; then
6779 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7130 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6780 SAVE_CFLAGS="$CFLAGS" 7131 SAVE_CFLAGS="$CFLAGS"
6781 CFLAGS="$CFLAGS -belf" 7132 CFLAGS="$CFLAGS -belf"
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6783 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7134 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6784 if test "${lt_cv_cc_needs_belf+set}" = set; then : 7135 if ${lt_cv_cc_needs_belf+:} false; then :
6785 $as_echo_n "(cached) " >&6 7136 $as_echo_n "(cached) " >&6
6786 else 7137 else
6787 ac_ext=c 7138 ac_ext=c
6788 ac_cpp='$CPP $CPPFLAGS' 7139 ac_cpp='$CPP $CPPFLAGS'
6789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6847 ;; 7198 ;;
6848 esac 7199 esac
6849 7200
6850 need_locks="$enable_libtool_lock" 7201 need_locks="$enable_libtool_lock"
6851 7202
7203 if test -n "$ac_tool_prefix"; then
7204 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7205 set dummy ${ac_tool_prefix}mt; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7209 $as_echo_n "(cached) " >&6
7210 else
7211 if test -n "$MANIFEST_TOOL"; then
7212 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7213 else
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 for as_dir in $PATH
7216 do
7217 IFS=$as_save_IFS
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 break 2
7224 fi
7225 done
7226 done
7227 IFS=$as_save_IFS
7228
7229 fi
7230 fi
7231 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7232 if test -n "$MANIFEST_TOOL"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7234 $as_echo "$MANIFEST_TOOL" >&6; }
7235 else
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7238 fi
7239
7240
7241 fi
7242 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7243 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7244 # Extract the first word of "mt", so it can be a program name with args.
7245 set dummy mt; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$ac_ct_MANIFEST_TOOL"; then
7252 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7256 do
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7261 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7264 fi
7265 done
7266 done
7267 IFS=$as_save_IFS
7268
7269 fi
7270 fi
7271 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7272 if test -n "$ac_ct_MANIFEST_TOOL"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7274 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7278 fi
7279
7280 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7281 MANIFEST_TOOL=":"
7282 else
7283 case $cross_compiling:$ac_tool_warned in
7284 yes:)
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7287 ac_tool_warned=yes ;;
7288 esac
7289 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7290 fi
7291 else
7292 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7293 fi
7294
7295 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7297 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7298 if ${lt_cv_path_mainfest_tool+:} false; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 lt_cv_path_mainfest_tool=no
7302 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7303 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7304 cat conftest.err >&5
7305 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7306 lt_cv_path_mainfest_tool=yes
7307 fi
7308 rm -f conftest*
7309 fi
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7311 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7312 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7313 MANIFEST_TOOL=:
7314 fi
7315
7316
7317
7318
7319
6852 7320
6853 case $host_os in 7321 case $host_os in
6854 rhapsody* | darwin*) 7322 rhapsody* | darwin*)
6855 if test -n "$ac_tool_prefix"; then 7323 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7324 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7325 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; } 7327 $as_echo_n "checking for $ac_word... " >&6; }
6860 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 7328 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6861 $as_echo_n "(cached) " >&6 7329 $as_echo_n "(cached) " >&6
6862 else 7330 else
6863 if test -n "$DSYMUTIL"; then 7331 if test -n "$DSYMUTIL"; then
6864 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7332 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6865 else 7333 else
6895 ac_ct_DSYMUTIL=$DSYMUTIL 7363 ac_ct_DSYMUTIL=$DSYMUTIL
6896 # Extract the first word of "dsymutil", so it can be a program name with args. 7364 # Extract the first word of "dsymutil", so it can be a program name with args.
6897 set dummy dsymutil; ac_word=$2 7365 set dummy dsymutil; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; } 7367 $as_echo_n "checking for $ac_word... " >&6; }
6900 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7368 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6901 $as_echo_n "(cached) " >&6 7369 $as_echo_n "(cached) " >&6
6902 else 7370 else
6903 if test -n "$ac_ct_DSYMUTIL"; then 7371 if test -n "$ac_ct_DSYMUTIL"; then
6904 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7372 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6905 else 7373 else
6947 if test -n "$ac_tool_prefix"; then 7415 if test -n "$ac_tool_prefix"; then
6948 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7416 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7417 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; } 7419 $as_echo_n "checking for $ac_word... " >&6; }
6952 if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7420 if ${ac_cv_prog_NMEDIT+:} false; then :
6953 $as_echo_n "(cached) " >&6 7421 $as_echo_n "(cached) " >&6
6954 else 7422 else
6955 if test -n "$NMEDIT"; then 7423 if test -n "$NMEDIT"; then
6956 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7424 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6957 else 7425 else
6987 ac_ct_NMEDIT=$NMEDIT 7455 ac_ct_NMEDIT=$NMEDIT
6988 # Extract the first word of "nmedit", so it can be a program name with args. 7456 # Extract the first word of "nmedit", so it can be a program name with args.
6989 set dummy nmedit; ac_word=$2 7457 set dummy nmedit; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; } 7459 $as_echo_n "checking for $ac_word... " >&6; }
6992 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7460 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6993 $as_echo_n "(cached) " >&6 7461 $as_echo_n "(cached) " >&6
6994 else 7462 else
6995 if test -n "$ac_ct_NMEDIT"; then 7463 if test -n "$ac_ct_NMEDIT"; then
6996 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7464 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6997 else 7465 else
7039 if test -n "$ac_tool_prefix"; then 7507 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7508 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}lipo; ac_word=$2 7509 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; } 7511 $as_echo_n "checking for $ac_word... " >&6; }
7044 if test "${ac_cv_prog_LIPO+set}" = set; then : 7512 if ${ac_cv_prog_LIPO+:} false; then :
7045 $as_echo_n "(cached) " >&6 7513 $as_echo_n "(cached) " >&6
7046 else 7514 else
7047 if test -n "$LIPO"; then 7515 if test -n "$LIPO"; then
7048 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7516 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7049 else 7517 else
7079 ac_ct_LIPO=$LIPO 7547 ac_ct_LIPO=$LIPO
7080 # Extract the first word of "lipo", so it can be a program name with args. 7548 # Extract the first word of "lipo", so it can be a program name with args.
7081 set dummy lipo; ac_word=$2 7549 set dummy lipo; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; } 7551 $as_echo_n "checking for $ac_word... " >&6; }
7084 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7552 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7085 $as_echo_n "(cached) " >&6 7553 $as_echo_n "(cached) " >&6
7086 else 7554 else
7087 if test -n "$ac_ct_LIPO"; then 7555 if test -n "$ac_ct_LIPO"; then
7088 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7556 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7089 else 7557 else
7131 if test -n "$ac_tool_prefix"; then 7599 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7600 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}otool; ac_word=$2 7601 set dummy ${ac_tool_prefix}otool; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; } 7603 $as_echo_n "checking for $ac_word... " >&6; }
7136 if test "${ac_cv_prog_OTOOL+set}" = set; then : 7604 if ${ac_cv_prog_OTOOL+:} false; then :
7137 $as_echo_n "(cached) " >&6 7605 $as_echo_n "(cached) " >&6
7138 else 7606 else
7139 if test -n "$OTOOL"; then 7607 if test -n "$OTOOL"; then
7140 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7608 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7141 else 7609 else
7171 ac_ct_OTOOL=$OTOOL 7639 ac_ct_OTOOL=$OTOOL
7172 # Extract the first word of "otool", so it can be a program name with args. 7640 # Extract the first word of "otool", so it can be a program name with args.
7173 set dummy otool; ac_word=$2 7641 set dummy otool; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; } 7643 $as_echo_n "checking for $ac_word... " >&6; }
7176 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7644 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7177 $as_echo_n "(cached) " >&6 7645 $as_echo_n "(cached) " >&6
7178 else 7646 else
7179 if test -n "$ac_ct_OTOOL"; then 7647 if test -n "$ac_ct_OTOOL"; then
7180 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7648 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7181 else 7649 else
7223 if test -n "$ac_tool_prefix"; then 7691 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7692 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7225 set dummy ${ac_tool_prefix}otool64; ac_word=$2 7693 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; } 7695 $as_echo_n "checking for $ac_word... " >&6; }
7228 if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7696 if ${ac_cv_prog_OTOOL64+:} false; then :
7229 $as_echo_n "(cached) " >&6 7697 $as_echo_n "(cached) " >&6
7230 else 7698 else
7231 if test -n "$OTOOL64"; then 7699 if test -n "$OTOOL64"; then
7232 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7700 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7233 else 7701 else
7263 ac_ct_OTOOL64=$OTOOL64 7731 ac_ct_OTOOL64=$OTOOL64
7264 # Extract the first word of "otool64", so it can be a program name with args. 7732 # Extract the first word of "otool64", so it can be a program name with args.
7265 set dummy otool64; ac_word=$2 7733 set dummy otool64; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; } 7735 $as_echo_n "checking for $ac_word... " >&6; }
7268 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7736 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7269 $as_echo_n "(cached) " >&6 7737 $as_echo_n "(cached) " >&6
7270 else 7738 else
7271 if test -n "$ac_ct_OTOOL64"; then 7739 if test -n "$ac_ct_OTOOL64"; then
7272 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7740 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7273 else 7741 else
7338 7806
7339 7807
7340 7808
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7342 $as_echo_n "checking for -single_module linker flag... " >&6; } 7810 $as_echo_n "checking for -single_module linker flag... " >&6; }
7343 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7811 if ${lt_cv_apple_cc_single_mod+:} false; then :
7344 $as_echo_n "(cached) " >&6 7812 $as_echo_n "(cached) " >&6
7345 else 7813 else
7346 lt_cv_apple_cc_single_mod=no 7814 lt_cv_apple_cc_single_mod=no
7347 if test -z "${LT_MULTI_MODULE}"; then 7815 if test -z "${LT_MULTI_MODULE}"; then
7348 # By default we will add the -single_module flag. You can override 7816 # By default we will add the -single_module flag. You can override
7367 fi 7835 fi
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7369 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7837 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7371 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7839 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7372 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7840 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7373 $as_echo_n "(cached) " >&6 7841 $as_echo_n "(cached) " >&6
7374 else 7842 else
7375 lt_cv_ld_exported_symbols_list=no 7843 lt_cv_ld_exported_symbols_list=no
7376 save_LDFLAGS=$LDFLAGS 7844 save_LDFLAGS=$LDFLAGS
7377 echo "_main" > conftest.sym 7845 echo "_main" > conftest.sym
7397 LDFLAGS="$save_LDFLAGS" 7865 LDFLAGS="$save_LDFLAGS"
7398 7866
7399 fi 7867 fi
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7401 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7869 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7871 $as_echo_n "checking for -force_load linker flag... " >&6; }
7872 if ${lt_cv_ld_force_load+:} false; then :
7873 $as_echo_n "(cached) " >&6
7874 else
7875 lt_cv_ld_force_load=no
7876 cat > conftest.c << _LT_EOF
7877 int forced_loaded() { return 2;}
7878 _LT_EOF
7879 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7880 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7881 echo "$AR cru libconftest.a conftest.o" >&5
7882 $AR cru libconftest.a conftest.o 2>&5
7883 echo "$RANLIB libconftest.a" >&5
7884 $RANLIB libconftest.a 2>&5
7885 cat > conftest.c << _LT_EOF
7886 int main() { return 0;}
7887 _LT_EOF
7888 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7889 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7890 _lt_result=$?
7891 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7892 lt_cv_ld_force_load=yes
7893 else
7894 cat conftest.err >&5
7895 fi
7896 rm -f conftest.err libconftest.a conftest conftest.c
7897 rm -rf conftest.dSYM
7898
7899 fi
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7901 $as_echo "$lt_cv_ld_force_load" >&6; }
7402 case $host_os in 7902 case $host_os in
7403 rhapsody* | darwin1.[012]) 7903 rhapsody* | darwin1.[012])
7404 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7904 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7405 darwin1.*) 7905 darwin1.*)
7406 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7906 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7424 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7924 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7425 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7925 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7426 else 7926 else
7427 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7927 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7428 fi 7928 fi
7429 if test "$DSYMUTIL" != ":"; then 7929 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7430 _lt_dsymutil='~$DSYMUTIL $lib || :' 7930 _lt_dsymutil='~$DSYMUTIL $lib || :'
7431 else 7931 else
7432 _lt_dsymutil= 7932 _lt_dsymutil=
7433 fi 7933 fi
7434 ;; 7934 ;;
7436 7936
7437 for ac_header in dlfcn.h 7937 for ac_header in dlfcn.h
7438 do : 7938 do :
7439 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7939 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7440 " 7940 "
7441 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7941 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7442 cat >>confdefs.h <<_ACEOF 7942 cat >>confdefs.h <<_ACEOF
7443 #define HAVE_DLFCN_H 1 7943 #define HAVE_DLFCN_H 1
7444 _ACEOF 7944 _ACEOF
7445 7945
7446 fi 7946 fi
7447 7947
7448 done 7948 done
7949
7950
7449 7951
7450 7952
7451 7953
7452 # Set options 7954 # Set options
7453 7955
7599 8101
7600 8102
7601 8103
7602 8104
7603 8105
8106
7604 test -z "$LN_S" && LN_S="ln -s" 8107 test -z "$LN_S" && LN_S="ln -s"
7605 8108
7606 8109
7607 8110
7608 8111
7620 setopt NO_GLOB_SUBST 8123 setopt NO_GLOB_SUBST
7621 fi 8124 fi
7622 8125
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7624 $as_echo_n "checking for objdir... " >&6; } 8127 $as_echo_n "checking for objdir... " >&6; }
7625 if test "${lt_cv_objdir+set}" = set; then : 8128 if ${lt_cv_objdir+:} false; then :
7626 $as_echo_n "(cached) " >&6 8129 $as_echo_n "(cached) " >&6
7627 else 8130 else
7628 rm -f .libs 2>/dev/null 8131 rm -f .libs 2>/dev/null
7629 mkdir .libs 2>/dev/null 8132 mkdir .libs 2>/dev/null
7630 if test -d .libs; then 8133 if test -d .libs; then
7644 8147
7645 8148
7646 cat >>confdefs.h <<_ACEOF 8149 cat >>confdefs.h <<_ACEOF
7647 #define LT_OBJDIR "$lt_cv_objdir/" 8150 #define LT_OBJDIR "$lt_cv_objdir/"
7648 _ACEOF 8151 _ACEOF
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662 8152
7663 8153
7664 8154
7665 8155
7666 case $host_os in 8156 case $host_os in
7673 export COLLECT_NAMES 8163 export COLLECT_NAMES
7674 fi 8164 fi
7675 ;; 8165 ;;
7676 esac 8166 esac
7677 8167
7678 # Sed substitution that helps us do robust quoting. It backslashifies
7679 # metacharacters that are still active within double-quoted strings.
7680 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7681
7682 # Same as above, but do not quote variable references.
7683 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7684
7685 # Sed substitution to delay expansion of an escaped shell variable in a
7686 # double_quote_subst'ed string.
7687 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7688
7689 # Sed substitution to delay expansion of an escaped single quote.
7690 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7691
7692 # Sed substitution to avoid accidental globbing in evaled expressions
7693 no_glob_subst='s/\*/\\\*/g'
7694
7695 # Global variables: 8168 # Global variables:
7696 ofile=libtool 8169 ofile=libtool
7697 can_build_shared=yes 8170 can_build_shared=yes
7698 8171
7699 # All known linkers require a `.a' archive for static linking (except MSVC, 8172 # All known linkers require a `.a' archive for static linking (except MSVC,
7718 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8191 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7719 \-*) ;; 8192 \-*) ;;
7720 *) break;; 8193 *) break;;
7721 esac 8194 esac
7722 done 8195 done
7723 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8196 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7724 8197
7725 8198
7726 # Only perform the check for file, if the check method requires it 8199 # Only perform the check for file, if the check method requires it
7727 test -z "$MAGIC_CMD" && MAGIC_CMD=file 8200 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7728 case $deplibs_check_method in 8201 case $deplibs_check_method in
7729 file_magic*) 8202 file_magic*)
7730 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7732 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8205 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7733 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7734 $as_echo_n "(cached) " >&6 8207 $as_echo_n "(cached) " >&6
7735 else 8208 else
7736 case $MAGIC_CMD in 8209 case $MAGIC_CMD in
7737 [\\/*] | ?:[\\/]*) 8210 [\\/*] | ?:[\\/]*)
7738 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7794 8267
7795 if test -z "$lt_cv_path_MAGIC_CMD"; then 8268 if test -z "$lt_cv_path_MAGIC_CMD"; then
7796 if test -n "$ac_tool_prefix"; then 8269 if test -n "$ac_tool_prefix"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7798 $as_echo_n "checking for file... " >&6; } 8271 $as_echo_n "checking for file... " >&6; }
7799 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7800 $as_echo_n "(cached) " >&6 8273 $as_echo_n "(cached) " >&6
7801 else 8274 else
7802 case $MAGIC_CMD in 8275 case $MAGIC_CMD in
7803 [\\/*] | ?:[\\/]*) 8276 [\\/*] | ?:[\\/]*)
7804 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7927 if test -n "$compiler"; then 8400 if test -n "$compiler"; then
7928 8401
7929 lt_prog_compiler_no_builtin_flag= 8402 lt_prog_compiler_no_builtin_flag=
7930 8403
7931 if test "$GCC" = yes; then 8404 if test "$GCC" = yes; then
7932 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8405 case $cc_basename in
8406 nvcc*)
8407 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8408 *)
8409 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8410 esac
7933 8411
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7935 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8413 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7936 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 8414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7937 $as_echo_n "(cached) " >&6 8415 $as_echo_n "(cached) " >&6
7938 else 8416 else
7939 lt_cv_prog_compiler_rtti_exceptions=no 8417 lt_cv_prog_compiler_rtti_exceptions=no
7940 ac_outfile=conftest.$ac_objext 8418 ac_outfile=conftest.$ac_objext
7941 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7947 # The option is referenced via a variable to avoid confusing sed. 8425 # The option is referenced via a variable to avoid confusing sed.
7948 lt_compile=`echo "$ac_compile" | $SED \ 8426 lt_compile=`echo "$ac_compile" | $SED \
7949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7951 -e 's:$: $lt_compiler_flag:'` 8429 -e 's:$: $lt_compiler_flag:'`
7952 (eval echo "\"\$as_me:7952: $lt_compile\"" >&5) 8430 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7953 (eval "$lt_compile" 2>conftest.err) 8431 (eval "$lt_compile" 2>conftest.err)
7954 ac_status=$? 8432 ac_status=$?
7955 cat conftest.err >&5 8433 cat conftest.err >&5
7956 echo "$as_me:7956: \$? = $ac_status" >&5 8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 if (exit $ac_status) && test -s "$ac_outfile"; then 8435 if (exit $ac_status) && test -s "$ac_outfile"; then
7958 # The compiler can only warn and ignore the option if not recognized 8436 # The compiler can only warn and ignore the option if not recognized
7959 # So say no if there are warnings other than the usual output. 8437 # So say no if there are warnings other than the usual output.
7960 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8438 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7961 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8439 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7962 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8440 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7963 lt_cv_prog_compiler_rtti_exceptions=yes 8441 lt_cv_prog_compiler_rtti_exceptions=yes
7964 fi 8442 fi
7965 fi 8443 fi
7984 8462
7985 lt_prog_compiler_wl= 8463 lt_prog_compiler_wl=
7986 lt_prog_compiler_pic= 8464 lt_prog_compiler_pic=
7987 lt_prog_compiler_static= 8465 lt_prog_compiler_static=
7988 8466
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7990 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7991 8467
7992 if test "$GCC" = yes; then 8468 if test "$GCC" = yes; then
7993 lt_prog_compiler_wl='-Wl,' 8469 lt_prog_compiler_wl='-Wl,'
7994 lt_prog_compiler_static='-static' 8470 lt_prog_compiler_static='-static'
7995 8471
8033 # PIC is the default on this platform 8509 # PIC is the default on this platform
8034 # Common symbols not allowed in MH_DYLIB files 8510 # Common symbols not allowed in MH_DYLIB files
8035 lt_prog_compiler_pic='-fno-common' 8511 lt_prog_compiler_pic='-fno-common'
8036 ;; 8512 ;;
8037 8513
8514 haiku*)
8515 # PIC is the default for Haiku.
8516 # The "-static" flag exists, but is broken.
8517 lt_prog_compiler_static=
8518 ;;
8519
8038 hpux*) 8520 hpux*)
8039 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8521 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8040 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8522 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8041 # sets the default TLS model and affects inlining. 8523 # sets the default TLS model and affects inlining.
8042 case $host_cpu in 8524 case $host_cpu in
8073 fi 8555 fi
8074 ;; 8556 ;;
8075 8557
8076 *) 8558 *)
8077 lt_prog_compiler_pic='-fPIC' 8559 lt_prog_compiler_pic='-fPIC'
8560 ;;
8561 esac
8562
8563 case $cc_basename in
8564 nvcc*) # Cuda Compiler Driver 2.2
8565 lt_prog_compiler_wl='-Xlinker '
8566 lt_prog_compiler_pic='-Xcompiler -fPIC'
8078 ;; 8567 ;;
8079 esac 8568 esac
8080 else 8569 else
8081 # PORTME Check for flag to pass linker flags through the system compiler. 8570 # PORTME Check for flag to pass linker flags through the system compiler.
8082 case $host_os in 8571 case $host_os in
8137 lf95*) 8626 lf95*)
8138 lt_prog_compiler_wl='-Wl,' 8627 lt_prog_compiler_wl='-Wl,'
8139 lt_prog_compiler_pic='--shared' 8628 lt_prog_compiler_pic='--shared'
8140 lt_prog_compiler_static='--static' 8629 lt_prog_compiler_static='--static'
8141 ;; 8630 ;;
8142 pgcc* | pgf77* | pgf90* | pgf95*) 8631 nagfor*)
8632 # NAG Fortran compiler
8633 lt_prog_compiler_wl='-Wl,-Wl,,'
8634 lt_prog_compiler_pic='-PIC'
8635 lt_prog_compiler_static='-Bstatic'
8636 ;;
8637 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8143 # Portland Group compilers (*not* the Pentium gcc compiler, 8638 # Portland Group compilers (*not* the Pentium gcc compiler,
8144 # which looks to be a dead project) 8639 # which looks to be a dead project)
8145 lt_prog_compiler_wl='-Wl,' 8640 lt_prog_compiler_wl='-Wl,'
8146 lt_prog_compiler_pic='-fpic' 8641 lt_prog_compiler_pic='-fpic'
8147 lt_prog_compiler_static='-Bstatic' 8642 lt_prog_compiler_static='-Bstatic'
8149 ccc*) 8644 ccc*)
8150 lt_prog_compiler_wl='-Wl,' 8645 lt_prog_compiler_wl='-Wl,'
8151 # All Alpha code is PIC. 8646 # All Alpha code is PIC.
8152 lt_prog_compiler_static='-non_shared' 8647 lt_prog_compiler_static='-non_shared'
8153 ;; 8648 ;;
8154 xl*) 8649 xl* | bgxl* | bgf* | mpixl*)
8155 # IBM XL C 8.0/Fortran 10.1 on PPC 8650 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8156 lt_prog_compiler_wl='-Wl,' 8651 lt_prog_compiler_wl='-Wl,'
8157 lt_prog_compiler_pic='-qpic' 8652 lt_prog_compiler_pic='-qpic'
8158 lt_prog_compiler_static='-qstaticlink' 8653 lt_prog_compiler_static='-qstaticlink'
8159 ;; 8654 ;;
8160 *) 8655 *)
8161 case `$CC -V 2>&1 | sed 5q` in 8656 case `$CC -V 2>&1 | sed 5q` in
8657 *Sun\ F* | *Sun*Fortran*)
8658 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8659 lt_prog_compiler_pic='-KPIC'
8660 lt_prog_compiler_static='-Bstatic'
8661 lt_prog_compiler_wl=''
8662 ;;
8162 *Sun\ C*) 8663 *Sun\ C*)
8163 # Sun C 5.9 8664 # Sun C 5.9
8164 lt_prog_compiler_pic='-KPIC' 8665 lt_prog_compiler_pic='-KPIC'
8165 lt_prog_compiler_static='-Bstatic' 8666 lt_prog_compiler_static='-Bstatic'
8166 lt_prog_compiler_wl='-Wl,' 8667 lt_prog_compiler_wl='-Wl,'
8167 ;; 8668 ;;
8168 *Sun\ F*)
8169 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8170 lt_prog_compiler_pic='-KPIC'
8171 lt_prog_compiler_static='-Bstatic'
8172 lt_prog_compiler_wl=''
8173 ;;
8174 esac 8669 esac
8175 ;; 8670 ;;
8176 esac 8671 esac
8177 ;; 8672 ;;
8178 8673
8199 8694
8200 solaris*) 8695 solaris*)
8201 lt_prog_compiler_pic='-KPIC' 8696 lt_prog_compiler_pic='-KPIC'
8202 lt_prog_compiler_static='-Bstatic' 8697 lt_prog_compiler_static='-Bstatic'
8203 case $cc_basename in 8698 case $cc_basename in
8204 f77* | f90* | f95*) 8699 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8205 lt_prog_compiler_wl='-Qoption ld ';; 8700 lt_prog_compiler_wl='-Qoption ld ';;
8206 *) 8701 *)
8207 lt_prog_compiler_wl='-Wl,';; 8702 lt_prog_compiler_wl='-Wl,';;
8208 esac 8703 esac
8209 ;; 8704 ;;
8256 ;; 8751 ;;
8257 *) 8752 *)
8258 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8753 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8259 ;; 8754 ;;
8260 esac 8755 esac
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8756
8262 $as_echo "$lt_prog_compiler_pic" >&6; } 8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8263 8758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8264 8759 if ${lt_cv_prog_compiler_pic+:} false; then :
8265 8760 $as_echo_n "(cached) " >&6
8266 8761 else
8267 8762 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8763 fi
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8765 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8766 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8268 8767
8269 # 8768 #
8270 # Check to make sure the PIC flag actually works. 8769 # Check to make sure the PIC flag actually works.
8271 # 8770 #
8272 if test -n "$lt_prog_compiler_pic"; then 8771 if test -n "$lt_prog_compiler_pic"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8274 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8773 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8275 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8774 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8276 $as_echo_n "(cached) " >&6 8775 $as_echo_n "(cached) " >&6
8277 else 8776 else
8278 lt_cv_prog_compiler_pic_works=no 8777 lt_cv_prog_compiler_pic_works=no
8279 ac_outfile=conftest.$ac_objext 8778 ac_outfile=conftest.$ac_objext
8280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8286 # The option is referenced via a variable to avoid confusing sed. 8785 # The option is referenced via a variable to avoid confusing sed.
8287 lt_compile=`echo "$ac_compile" | $SED \ 8786 lt_compile=`echo "$ac_compile" | $SED \
8288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8290 -e 's:$: $lt_compiler_flag:'` 8789 -e 's:$: $lt_compiler_flag:'`
8291 (eval echo "\"\$as_me:8291: $lt_compile\"" >&5) 8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8292 (eval "$lt_compile" 2>conftest.err) 8791 (eval "$lt_compile" 2>conftest.err)
8293 ac_status=$? 8792 ac_status=$?
8294 cat conftest.err >&5 8793 cat conftest.err >&5
8295 echo "$as_me:8295: \$? = $ac_status" >&5 8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 if (exit $ac_status) && test -s "$ac_outfile"; then 8795 if (exit $ac_status) && test -s "$ac_outfile"; then
8297 # The compiler can only warn and ignore the option if not recognized 8796 # The compiler can only warn and ignore the option if not recognized
8298 # So say no if there are warnings other than the usual output. 8797 # So say no if there are warnings other than the usual output.
8299 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8798 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8799 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8301 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8800 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8302 lt_cv_prog_compiler_pic_works=yes 8801 lt_cv_prog_compiler_pic_works=yes
8303 fi 8802 fi
8304 fi 8803 fi
8323 8822
8324 8823
8325 8824
8326 8825
8327 8826
8827
8828
8829
8830
8831
8328 # 8832 #
8329 # Check to make sure the static flag actually works. 8833 # Check to make sure the static flag actually works.
8330 # 8834 #
8331 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8835 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8333 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8837 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8334 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8838 if ${lt_cv_prog_compiler_static_works+:} false; then :
8335 $as_echo_n "(cached) " >&6 8839 $as_echo_n "(cached) " >&6
8336 else 8840 else
8337 lt_cv_prog_compiler_static_works=no 8841 lt_cv_prog_compiler_static_works=no
8338 save_LDFLAGS="$LDFLAGS" 8842 save_LDFLAGS="$LDFLAGS"
8339 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8843 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8342 # The linker can only warn and ignore the option if not recognized 8846 # The linker can only warn and ignore the option if not recognized
8343 # So say no if there are warnings 8847 # So say no if there are warnings
8344 if test -s conftest.err; then 8848 if test -s conftest.err; then
8345 # Append any errors to the config.log. 8849 # Append any errors to the config.log.
8346 cat conftest.err 1>&5 8850 cat conftest.err 1>&5
8347 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8851 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8348 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8349 if diff conftest.exp conftest.er2 >/dev/null; then 8853 if diff conftest.exp conftest.er2 >/dev/null; then
8350 lt_cv_prog_compiler_static_works=yes 8854 lt_cv_prog_compiler_static_works=yes
8351 fi 8855 fi
8352 else 8856 else
8372 8876
8373 8877
8374 8878
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8376 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8377 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8881 if ${lt_cv_prog_compiler_c_o+:} false; then :
8378 $as_echo_n "(cached) " >&6 8882 $as_echo_n "(cached) " >&6
8379 else 8883 else
8380 lt_cv_prog_compiler_c_o=no 8884 lt_cv_prog_compiler_c_o=no
8381 $RM -r conftest 2>/dev/null 8885 $RM -r conftest 2>/dev/null
8382 mkdir conftest 8886 mkdir conftest
8391 # with a dollar sign (not a hyphen), so the echo should work correctly. 8895 # with a dollar sign (not a hyphen), so the echo should work correctly.
8392 lt_compile=`echo "$ac_compile" | $SED \ 8896 lt_compile=`echo "$ac_compile" | $SED \
8393 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8394 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8395 -e 's:$: $lt_compiler_flag:'` 8899 -e 's:$: $lt_compiler_flag:'`
8396 (eval echo "\"\$as_me:8396: $lt_compile\"" >&5) 8900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8397 (eval "$lt_compile" 2>out/conftest.err) 8901 (eval "$lt_compile" 2>out/conftest.err)
8398 ac_status=$? 8902 ac_status=$?
8399 cat out/conftest.err >&5 8903 cat out/conftest.err >&5
8400 echo "$as_me:8400: \$? = $ac_status" >&5 8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8905 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8402 then 8906 then
8403 # The compiler can only warn and ignore the option if not recognized 8907 # The compiler can only warn and ignore the option if not recognized
8404 # So say no if there are warnings 8908 # So say no if there are warnings
8405 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8909 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8406 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8910 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8407 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8911 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8408 lt_cv_prog_compiler_c_o=yes 8912 lt_cv_prog_compiler_c_o=yes
8409 fi 8913 fi
8410 fi 8914 fi
8427 8931
8428 8932
8429 8933
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8431 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8432 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8936 if ${lt_cv_prog_compiler_c_o+:} false; then :
8433 $as_echo_n "(cached) " >&6 8937 $as_echo_n "(cached) " >&6
8434 else 8938 else
8435 lt_cv_prog_compiler_c_o=no 8939 lt_cv_prog_compiler_c_o=no
8436 $RM -r conftest 2>/dev/null 8940 $RM -r conftest 2>/dev/null
8437 mkdir conftest 8941 mkdir conftest
8446 # with a dollar sign (not a hyphen), so the echo should work correctly. 8950 # with a dollar sign (not a hyphen), so the echo should work correctly.
8447 lt_compile=`echo "$ac_compile" | $SED \ 8951 lt_compile=`echo "$ac_compile" | $SED \
8448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8450 -e 's:$: $lt_compiler_flag:'` 8954 -e 's:$: $lt_compiler_flag:'`
8451 (eval echo "\"\$as_me:8451: $lt_compile\"" >&5) 8955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8452 (eval "$lt_compile" 2>out/conftest.err) 8956 (eval "$lt_compile" 2>out/conftest.err)
8453 ac_status=$? 8957 ac_status=$?
8454 cat out/conftest.err >&5 8958 cat out/conftest.err >&5
8455 echo "$as_me:8455: \$? = $ac_status" >&5 8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8960 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8457 then 8961 then
8458 # The compiler can only warn and ignore the option if not recognized 8962 # The compiler can only warn and ignore the option if not recognized
8459 # So say no if there are warnings 8963 # So say no if there are warnings
8460 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8964 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8461 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8965 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8462 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8966 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8463 lt_cv_prog_compiler_c_o=yes 8967 lt_cv_prog_compiler_c_o=yes
8464 fi 8968 fi
8465 fi 8969 fi
8565 with_gnu_ld=yes 9069 with_gnu_ld=yes
8566 ;; 9070 ;;
8567 openbsd*) 9071 openbsd*)
8568 with_gnu_ld=no 9072 with_gnu_ld=no
8569 ;; 9073 ;;
8570 linux* | k*bsd*-gnu) 9074 linux* | k*bsd*-gnu | gnu*)
8571 link_all_deplibs=no 9075 link_all_deplibs=no
8572 ;; 9076 ;;
8573 esac 9077 esac
8574 9078
8575 ld_shlibs=yes 9079 ld_shlibs=yes
9080
9081 # On some targets, GNU ld is compatible enough with the native linker
9082 # that we're better off using the native interface for both.
9083 lt_use_gnu_ld_interface=no
8576 if test "$with_gnu_ld" = yes; then 9084 if test "$with_gnu_ld" = yes; then
9085 case $host_os in
9086 aix*)
9087 # The AIX port of GNU ld has always aspired to compatibility
9088 # with the native linker. However, as the warning in the GNU ld
9089 # block says, versions before 2.19.5* couldn't really create working
9090 # shared libraries, regardless of the interface used.
9091 case `$LD -v 2>&1` in
9092 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9093 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9094 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9095 *)
9096 lt_use_gnu_ld_interface=yes
9097 ;;
9098 esac
9099 ;;
9100 *)
9101 lt_use_gnu_ld_interface=yes
9102 ;;
9103 esac
9104 fi
9105
9106 if test "$lt_use_gnu_ld_interface" = yes; then
8577 # If archive_cmds runs LD, not CC, wlarc should be empty 9107 # If archive_cmds runs LD, not CC, wlarc should be empty
8578 wlarc='${wl}' 9108 wlarc='${wl}'
8579 9109
8580 # Set some defaults for GNU ld with shared library support. These 9110 # Set some defaults for GNU ld with shared library support. These
8581 # are reset later if shared libraries are not supported. Putting them 9111 # are reset later if shared libraries are not supported. Putting them
8605 # On AIX/PPC, the GNU linker is very broken 9135 # On AIX/PPC, the GNU linker is very broken
8606 if test "$host_cpu" != ia64; then 9136 if test "$host_cpu" != ia64; then
8607 ld_shlibs=no 9137 ld_shlibs=no
8608 cat <<_LT_EOF 1>&2 9138 cat <<_LT_EOF 1>&2
8609 9139
8610 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 9140 *** Warning: the GNU linker, at least up to release 2.19, is reported
8611 *** to be unable to reliably create shared libraries on AIX. 9141 *** to be unable to reliably create shared libraries on AIX.
8612 *** Therefore, libtool is disabling shared libraries support. If you 9142 *** Therefore, libtool is disabling shared libraries support. If you
8613 *** really care for shared libraries, you may want to modify your PATH 9143 *** really care for shared libraries, you may want to install binutils
8614 *** so that a non-GNU linker is found, and then restart. 9144 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9145 *** You will then need to restart the configuration process.
8615 9146
8616 _LT_EOF 9147 _LT_EOF
8617 fi 9148 fi
8618 ;; 9149 ;;
8619 9150
8645 9176
8646 cygwin* | mingw* | pw32* | cegcc*) 9177 cygwin* | mingw* | pw32* | cegcc*)
8647 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9178 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8648 # as there is no search path for DLLs. 9179 # as there is no search path for DLLs.
8649 hardcode_libdir_flag_spec='-L$libdir' 9180 hardcode_libdir_flag_spec='-L$libdir'
9181 export_dynamic_flag_spec='${wl}--export-all-symbols'
8650 allow_undefined_flag=unsupported 9182 allow_undefined_flag=unsupported
8651 always_export_symbols=no 9183 always_export_symbols=no
8652 enable_shared_with_static_runtimes=yes 9184 enable_shared_with_static_runtimes=yes
8653 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9185 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9186 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8654 9187
8655 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9188 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8656 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8657 # If the export-symbols file already is a .def file (1st line 9190 # If the export-symbols file already is a .def file (1st line
8658 # is EXPORTS), use it as is; otherwise, prepend... 9191 # is EXPORTS), use it as is; otherwise, prepend...
8666 else 9199 else
8667 ld_shlibs=no 9200 ld_shlibs=no
8668 fi 9201 fi
8669 ;; 9202 ;;
8670 9203
9204 haiku*)
9205 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206 link_all_deplibs=yes
9207 ;;
9208
8671 interix[3-9]*) 9209 interix[3-9]*)
8672 hardcode_direct=no 9210 hardcode_direct=no
8673 hardcode_shlibpath_var=no 9211 hardcode_shlibpath_var=no
8674 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9212 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8675 export_dynamic_flag_spec='${wl}-E' 9213 export_dynamic_flag_spec='${wl}-E'
8691 esac 9229 esac
8692 fi 9230 fi
8693 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9231 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8694 && test "$tmp_diet" = no 9232 && test "$tmp_diet" = no
8695 then 9233 then
8696 tmp_addflag= 9234 tmp_addflag=' $pic_flag'
8697 tmp_sharedflag='-shared' 9235 tmp_sharedflag='-shared'
8698 case $cc_basename,$host_cpu in 9236 case $cc_basename,$host_cpu in
8699 pgcc*) # Portland Group C compiler 9237 pgcc*) # Portland Group C compiler
8700 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' 9238 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8701 tmp_addflag=' $pic_flag' 9239 tmp_addflag=' $pic_flag'
8702 ;; 9240 ;;
8703 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9241 pgf77* | pgf90* | pgf95* | pgfortran*)
8704 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' 9242 # Portland Group f77 and f90 compilers
9243 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8705 tmp_addflag=' $pic_flag -Mnomain' ;; 9244 tmp_addflag=' $pic_flag -Mnomain' ;;
8706 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9245 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8707 tmp_addflag=' -i_dynamic' ;; 9246 tmp_addflag=' -i_dynamic' ;;
8708 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9247 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8709 tmp_addflag=' -i_dynamic -nofor_main' ;; 9248 tmp_addflag=' -i_dynamic -nofor_main' ;;
8710 ifc* | ifort*) # Intel Fortran compiler 9249 ifc* | ifort*) # Intel Fortran compiler
8711 tmp_addflag=' -nofor_main' ;; 9250 tmp_addflag=' -nofor_main' ;;
8712 lf95*) # Lahey Fortran 8.1 9251 lf95*) # Lahey Fortran 8.1
8713 whole_archive_flag_spec= 9252 whole_archive_flag_spec=
8714 tmp_sharedflag='--shared' ;; 9253 tmp_sharedflag='--shared' ;;
8715 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9254 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8716 tmp_sharedflag='-qmkshrobj' 9255 tmp_sharedflag='-qmkshrobj'
8717 tmp_addflag= ;; 9256 tmp_addflag= ;;
9257 nvcc*) # Cuda Compiler Driver 2.2
9258 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9259 compiler_needs_object=yes
9260 ;;
8718 esac 9261 esac
8719 case `$CC -V 2>&1 | sed 5q` in 9262 case `$CC -V 2>&1 | sed 5q` in
8720 *Sun\ C*) # Sun C 5.9 9263 *Sun\ C*) # Sun C 5.9
8721 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' 9264 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8722 compiler_needs_object=yes 9265 compiler_needs_object=yes
8723 tmp_sharedflag='-G' ;; 9266 tmp_sharedflag='-G' ;;
8724 *Sun\ F*) # Sun Fortran 8.3 9267 *Sun\ F*) # Sun Fortran 8.3
8725 tmp_sharedflag='-G' ;; 9268 tmp_sharedflag='-G' ;;
8726 esac 9269 esac
8732 echo "local: *; };" >> $output_objdir/$libname.ver~ 9275 echo "local: *; };" >> $output_objdir/$libname.ver~
8733 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9276 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8734 fi 9277 fi
8735 9278
8736 case $cc_basename in 9279 case $cc_basename in
8737 xlf*) 9280 xlf* | bgf* | bgxlf* | mpixlf*)
8738 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9281 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8739 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9282 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8740 hardcode_libdir_flag_spec= 9283 hardcode_libdir_flag_spec=
8741 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9284 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8742 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9285 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8743 if test "x$supports_anon_versioning" = xyes; then 9286 if test "x$supports_anon_versioning" = xyes; then
8744 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9287 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8746 echo "local: *; };" >> $output_objdir/$libname.ver~ 9289 echo "local: *; };" >> $output_objdir/$libname.ver~
8747 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9290 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8748 fi 9291 fi
8749 ;; 9292 ;;
8750 esac 9293 esac
8751 else 9294 else
8752 ld_shlibs=no 9295 ld_shlibs=no
8756 netbsd* | netbsdelf*-gnu) 9299 netbsd* | netbsdelf*-gnu)
8757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9300 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8758 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9301 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8759 wlarc= 9302 wlarc=
8760 else 9303 else
8761 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9304 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8762 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9305 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8763 fi 9306 fi
8764 ;; 9307 ;;
8765 9308
8766 solaris*) 9309 solaris*)
8767 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9310 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8775 *** your PATH or compiler configuration so that the native linker is 9318 *** your PATH or compiler configuration so that the native linker is
8776 *** used, and then restart. 9319 *** used, and then restart.
8777 9320
8778 _LT_EOF 9321 _LT_EOF
8779 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9322 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8780 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9323 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9324 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8782 else 9325 else
8783 ld_shlibs=no 9326 ld_shlibs=no
8784 fi 9327 fi
8785 ;; 9328 ;;
8786 9329
8822 hardcode_shlibpath_var=no 9365 hardcode_shlibpath_var=no
8823 ;; 9366 ;;
8824 9367
8825 *) 9368 *)
8826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9369 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8827 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9370 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8828 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9371 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8829 else 9372 else
8830 ld_shlibs=no 9373 ld_shlibs=no
8831 fi 9374 fi
8832 ;; 9375 ;;
8833 esac 9376 esac
8863 exp_sym_flag='-Bexport' 9406 exp_sym_flag='-Bexport'
8864 no_entry_flag="" 9407 no_entry_flag=""
8865 else 9408 else
8866 # If we're using GNU nm, then we don't want the "-C" option. 9409 # If we're using GNU nm, then we don't want the "-C" option.
8867 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9410 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9411 # Also, AIX nm treats weak defined symbols like other global
9412 # defined symbols, whereas GNU nm marks them as "W".
8868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9413 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8869 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9414 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8870 else 9415 else
8871 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9416 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8872 fi 9417 fi
8873 aix_use_runtimelinking=no 9418 aix_use_runtimelinking=no
8874 9419
8952 # Warning - without using the other runtime loading flags (-brtl), 9497 # Warning - without using the other runtime loading flags (-brtl),
8953 # -berok will link without error, but may produce a broken library. 9498 # -berok will link without error, but may produce a broken library.
8954 allow_undefined_flag='-berok' 9499 allow_undefined_flag='-berok'
8955 # Determine the default libpath from the value encoded in an 9500 # Determine the default libpath from the value encoded in an
8956 # empty executable. 9501 # empty executable.
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9502 if test "${lt_cv_aix_libpath+set}" = set; then
9503 aix_libpath=$lt_cv_aix_libpath
9504 else
9505 if ${lt_cv_aix_libpath_+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */ 9509 /* end confdefs.h. */
8959 9510
8960 int 9511 int
8961 main () 9512 main ()
8962 { 9513 {
8965 return 0; 9516 return 0;
8966 } 9517 }
8967 _ACEOF 9518 _ACEOF
8968 if ac_fn_c_try_link "$LINENO"; then : 9519 if ac_fn_c_try_link "$LINENO"; then :
8969 9520
8970 lt_aix_libpath_sed=' 9521 lt_aix_libpath_sed='
8971 /Import File Strings/,/^$/ { 9522 /Import File Strings/,/^$/ {
8972 /^0/ { 9523 /^0/ {
8973 s/^0 *\(.*\)$/\1/ 9524 s/^0 *\([^ ]*\) *$/\1/
8974 p 9525 p
8975 } 9526 }
8976 }' 9527 }'
8977 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9528 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8978 # Check for a 64-bit object if we didn't find anything. 9529 # Check for a 64-bit object if we didn't find anything.
8979 if test -z "$aix_libpath"; then 9530 if test -z "$lt_cv_aix_libpath_"; then
8980 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9531 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981 fi 9532 fi
8982 fi 9533 fi
8983 rm -f core conftest.err conftest.$ac_objext \ 9534 rm -f core conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext 9535 conftest$ac_exeext conftest.$ac_ext
8985 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9536 if test -z "$lt_cv_aix_libpath_"; then
9537 lt_cv_aix_libpath_="/usr/lib:/lib"
9538 fi
9539
9540 fi
9541
9542 aix_libpath=$lt_cv_aix_libpath_
9543 fi
8986 9544
8987 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9545 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8988 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9546 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8989 else 9547 else
8990 if test "$host_cpu" = ia64; then 9548 if test "$host_cpu" = ia64; then
8991 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9549 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8992 allow_undefined_flag="-z nodefs" 9550 allow_undefined_flag="-z nodefs"
8993 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" 9551 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"
8994 else 9552 else
8995 # Determine the default libpath from the value encoded in an 9553 # Determine the default libpath from the value encoded in an
8996 # empty executable. 9554 # empty executable.
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9555 if test "${lt_cv_aix_libpath+set}" = set; then
9556 aix_libpath=$lt_cv_aix_libpath
9557 else
9558 if ${lt_cv_aix_libpath_+:} false; then :
9559 $as_echo_n "(cached) " >&6
9560 else
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */ 9562 /* end confdefs.h. */
8999 9563
9000 int 9564 int
9001 main () 9565 main ()
9002 { 9566 {
9005 return 0; 9569 return 0;
9006 } 9570 }
9007 _ACEOF 9571 _ACEOF
9008 if ac_fn_c_try_link "$LINENO"; then : 9572 if ac_fn_c_try_link "$LINENO"; then :
9009 9573
9010 lt_aix_libpath_sed=' 9574 lt_aix_libpath_sed='
9011 /Import File Strings/,/^$/ { 9575 /Import File Strings/,/^$/ {
9012 /^0/ { 9576 /^0/ {
9013 s/^0 *\(.*\)$/\1/ 9577 s/^0 *\([^ ]*\) *$/\1/
9014 p 9578 p
9015 } 9579 }
9016 }' 9580 }'
9017 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9581 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9018 # Check for a 64-bit object if we didn't find anything. 9582 # Check for a 64-bit object if we didn't find anything.
9019 if test -z "$aix_libpath"; then 9583 if test -z "$lt_cv_aix_libpath_"; then
9020 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9584 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9021 fi 9585 fi
9022 fi 9586 fi
9023 rm -f core conftest.err conftest.$ac_objext \ 9587 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext 9588 conftest$ac_exeext conftest.$ac_ext
9025 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9589 if test -z "$lt_cv_aix_libpath_"; then
9590 lt_cv_aix_libpath_="/usr/lib:/lib"
9591 fi
9592
9593 fi
9594
9595 aix_libpath=$lt_cv_aix_libpath_
9596 fi
9026 9597
9027 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9598 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9028 # Warning - without using the other run time loading flags, 9599 # Warning - without using the other run time loading flags,
9029 # -berok will link without error, but may produce a broken library. 9600 # -berok will link without error, but may produce a broken library.
9030 no_undefined_flag=' ${wl}-bernotok' 9601 no_undefined_flag=' ${wl}-bernotok'
9031 allow_undefined_flag=' ${wl}-berok' 9602 allow_undefined_flag=' ${wl}-berok'
9032 # Exported symbols can be pulled into shared objects from archives 9603 if test "$with_gnu_ld" = yes; then
9033 whole_archive_flag_spec='$convenience' 9604 # We only use this code for GNU lds that support --whole-archive.
9605 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9606 else
9607 # Exported symbols can be pulled into shared objects from archives
9608 whole_archive_flag_spec='$convenience'
9609 fi
9034 archive_cmds_need_lc=yes 9610 archive_cmds_need_lc=yes
9035 # This is similar to how AIX traditionally builds its shared libraries. 9611 # This is similar to how AIX traditionally builds its shared libraries.
9036 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' 9612 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'
9037 fi 9613 fi
9038 fi 9614 fi
9060 cygwin* | mingw* | pw32* | cegcc*) 9636 cygwin* | mingw* | pw32* | cegcc*)
9061 # When not using gcc, we currently assume that we are using 9637 # When not using gcc, we currently assume that we are using
9062 # Microsoft Visual C++. 9638 # Microsoft Visual C++.
9063 # hardcode_libdir_flag_spec is actually meaningless, as there is 9639 # hardcode_libdir_flag_spec is actually meaningless, as there is
9064 # no search path for DLLs. 9640 # no search path for DLLs.
9065 hardcode_libdir_flag_spec=' ' 9641 case $cc_basename in
9066 allow_undefined_flag=unsupported 9642 cl*)
9067 # Tell ltmain to make .lib files, not .a files. 9643 # Native MSVC
9068 libext=lib 9644 hardcode_libdir_flag_spec=' '
9069 # Tell ltmain to make .dll files, not .so files. 9645 allow_undefined_flag=unsupported
9070 shrext_cmds=".dll" 9646 always_export_symbols=yes
9071 # FIXME: Setting linknames here is a bad hack. 9647 file_list_spec='@'
9072 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9648 # Tell ltmain to make .lib files, not .a files.
9073 # The linker will automatically build a .lib file if we build a DLL. 9649 libext=lib
9074 old_archive_from_new_cmds='true' 9650 # Tell ltmain to make .dll files, not .so files.
9075 # FIXME: Should let the user specify the lib program. 9651 shrext_cmds=".dll"
9076 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9652 # FIXME: Setting linknames here is a bad hack.
9077 fix_srcfile_path='`cygpath -w "$srcfile"`' 9653 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9078 enable_shared_with_static_runtimes=yes 9654 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9655 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9656 else
9657 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9658 fi~
9659 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9660 linknames='
9661 # The linker will not automatically build a static lib if we build a DLL.
9662 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9663 enable_shared_with_static_runtimes=yes
9664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9665 # Don't use ranlib
9666 old_postinstall_cmds='chmod 644 $oldlib'
9667 postlink_cmds='lt_outputfile="@OUTPUT@"~
9668 lt_tool_outputfile="@TOOL_OUTPUT@"~
9669 case $lt_outputfile in
9670 *.exe|*.EXE) ;;
9671 *)
9672 lt_outputfile="$lt_outputfile.exe"
9673 lt_tool_outputfile="$lt_tool_outputfile.exe"
9674 ;;
9675 esac~
9676 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9677 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9678 $RM "$lt_outputfile.manifest";
9679 fi'
9680 ;;
9681 *)
9682 # Assume MSVC wrapper
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9686 libext=lib
9687 # Tell ltmain to make .dll files, not .so files.
9688 shrext_cmds=".dll"
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 enable_shared_with_static_runtimes=yes
9696 ;;
9697 esac
9079 ;; 9698 ;;
9080 9699
9081 darwin* | rhapsody*) 9700 darwin* | rhapsody*)
9082 9701
9083 9702
9084 archive_cmds_need_lc=no 9703 archive_cmds_need_lc=no
9085 hardcode_direct=no 9704 hardcode_direct=no
9086 hardcode_automatic=yes 9705 hardcode_automatic=yes
9087 hardcode_shlibpath_var=unsupported 9706 hardcode_shlibpath_var=unsupported
9088 whole_archive_flag_spec='' 9707 if test "$lt_cv_ld_force_load" = "yes"; then
9708 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9709 else
9710 whole_archive_flag_spec=''
9711 fi
9089 link_all_deplibs=yes 9712 link_all_deplibs=yes
9090 allow_undefined_flag="$_lt_dar_allow_undefined" 9713 allow_undefined_flag="$_lt_dar_allow_undefined"
9091 case $cc_basename in 9714 case $cc_basename in
9092 ifort*) _lt_dar_can_shared=yes ;; 9715 ifort*) _lt_dar_can_shared=yes ;;
9093 *) _lt_dar_can_shared=$GCC ;; 9716 *) _lt_dar_can_shared=$GCC ;;
9094 esac 9717 esac
9095 if test "$_lt_dar_can_shared" = "yes"; then 9718 if test "$_lt_dar_can_shared" = "yes"; then
9096 output_verbose_link_cmd=echo 9719 output_verbose_link_cmd=func_echo_all
9097 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9720 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9098 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9721 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9099 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}" 9722 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}"
9100 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}" 9723 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}"
9101 9724
9134 hardcode_shlibpath_var=no 9757 hardcode_shlibpath_var=no
9135 ;; 9758 ;;
9136 9759
9137 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9760 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9138 freebsd* | dragonfly*) 9761 freebsd* | dragonfly*)
9139 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9762 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9140 hardcode_libdir_flag_spec='-R$libdir' 9763 hardcode_libdir_flag_spec='-R$libdir'
9141 hardcode_direct=yes 9764 hardcode_direct=yes
9142 hardcode_shlibpath_var=no 9765 hardcode_shlibpath_var=no
9143 ;; 9766 ;;
9144 9767
9145 hpux9*) 9768 hpux9*)
9146 if test "$GCC" = yes; then 9769 if test "$GCC" = yes; then
9147 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' 9770 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9148 else 9771 else
9149 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' 9772 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'
9150 fi 9773 fi
9151 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9774 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9152 hardcode_libdir_separator=: 9775 hardcode_libdir_separator=:
9157 hardcode_minus_L=yes 9780 hardcode_minus_L=yes
9158 export_dynamic_flag_spec='${wl}-E' 9781 export_dynamic_flag_spec='${wl}-E'
9159 ;; 9782 ;;
9160 9783
9161 hpux10*) 9784 hpux10*)
9162 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9785 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9163 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9786 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9164 else 9787 else
9165 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9788 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9166 fi 9789 fi
9167 if test "$with_gnu_ld" = no; then 9790 if test "$with_gnu_ld" = no; then
9168 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9791 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9176 hardcode_minus_L=yes 9799 hardcode_minus_L=yes
9177 fi 9800 fi
9178 ;; 9801 ;;
9179 9802
9180 hpux11*) 9803 hpux11*)
9181 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9804 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9182 case $host_cpu in 9805 case $host_cpu in
9183 hppa*64*) 9806 hppa*64*)
9184 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9807 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9185 ;; 9808 ;;
9186 ia64*) 9809 ia64*)
9187 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9810 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9188 ;; 9811 ;;
9189 *) 9812 *)
9190 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9813 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9191 ;; 9814 ;;
9192 esac 9815 esac
9193 else 9816 else
9194 case $host_cpu in 9817 case $host_cpu in
9195 hppa*64*) 9818 hppa*64*)
9197 ;; 9820 ;;
9198 ia64*) 9821 ia64*)
9199 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9822 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9200 ;; 9823 ;;
9201 *) 9824 *)
9202 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9825
9826 # Older versions of the 11.00 compiler do not understand -b yet
9827 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9829 $as_echo_n "checking if $CC understands -b... " >&6; }
9830 if ${lt_cv_prog_compiler__b+:} false; then :
9831 $as_echo_n "(cached) " >&6
9832 else
9833 lt_cv_prog_compiler__b=no
9834 save_LDFLAGS="$LDFLAGS"
9835 LDFLAGS="$LDFLAGS -b"
9836 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9837 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9838 # The linker can only warn and ignore the option if not recognized
9839 # So say no if there are warnings
9840 if test -s conftest.err; then
9841 # Append any errors to the config.log.
9842 cat conftest.err 1>&5
9843 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9845 if diff conftest.exp conftest.er2 >/dev/null; then
9846 lt_cv_prog_compiler__b=yes
9847 fi
9848 else
9849 lt_cv_prog_compiler__b=yes
9850 fi
9851 fi
9852 $RM -r conftest*
9853 LDFLAGS="$save_LDFLAGS"
9854
9855 fi
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9857 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9858
9859 if test x"$lt_cv_prog_compiler__b" = xyes; then
9860 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9861 else
9862 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9863 fi
9864
9203 ;; 9865 ;;
9204 esac 9866 esac
9205 fi 9867 fi
9206 if test "$with_gnu_ld" = no; then 9868 if test "$with_gnu_ld" = no; then
9207 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9869 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9225 fi 9887 fi
9226 ;; 9888 ;;
9227 9889
9228 irix5* | irix6* | nonstopux*) 9890 irix5* | irix6* | nonstopux*)
9229 if test "$GCC" = yes; then 9891 if test "$GCC" = yes; then
9230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9892 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9231 # Try to use the -exported_symbol ld option, if it does not 9893 # Try to use the -exported_symbol ld option, if it does not
9232 # work, assume that -exports_file does not work either and 9894 # work, assume that -exports_file does not work either and
9233 # implicitly export all symbols. 9895 # implicitly export all symbols.
9234 save_LDFLAGS="$LDFLAGS" 9896 # This should be the same for all languages, so no per-tag cache variable.
9235 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9898 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9899 if ${lt_cv_irix_exported_symbol+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 save_LDFLAGS="$LDFLAGS"
9903 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */ 9905 /* end confdefs.h. */
9238 int foo(void) {} 9906 int foo (void) { return 0; }
9239 _ACEOF 9907 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then : 9908 if ac_fn_c_try_link "$LINENO"; then :
9241 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9909 lt_cv_irix_exported_symbol=yes
9242 9910 else
9911 lt_cv_irix_exported_symbol=no
9243 fi 9912 fi
9244 rm -f core conftest.err conftest.$ac_objext \ 9913 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext 9914 conftest$ac_exeext conftest.$ac_ext
9246 LDFLAGS="$save_LDFLAGS" 9915 LDFLAGS="$save_LDFLAGS"
9916 fi
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9918 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9919 if test "$lt_cv_irix_exported_symbol" = yes; then
9920 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9921 fi
9247 else 9922 else
9248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9924 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9250 fi 9925 fi
9251 archive_cmds_need_lc='no' 9926 archive_cmds_need_lc='no'
9252 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9253 hardcode_libdir_separator=: 9928 hardcode_libdir_separator=:
9254 inherit_rpath=yes 9929 inherit_rpath=yes
9306 9981
9307 os2*) 9982 os2*)
9308 hardcode_libdir_flag_spec='-L$libdir' 9983 hardcode_libdir_flag_spec='-L$libdir'
9309 hardcode_minus_L=yes 9984 hardcode_minus_L=yes
9310 allow_undefined_flag=unsupported 9985 allow_undefined_flag=unsupported
9311 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' 9986 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'
9312 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9987 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9313 ;; 9988 ;;
9314 9989
9315 osf3*) 9990 osf3*)
9316 if test "$GCC" = yes; then 9991 if test "$GCC" = yes; then
9317 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9992 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9318 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9993 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9319 else 9994 else
9320 allow_undefined_flag=' -expect_unresolved \*' 9995 allow_undefined_flag=' -expect_unresolved \*'
9321 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9996 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9322 fi 9997 fi
9323 archive_cmds_need_lc='no' 9998 archive_cmds_need_lc='no'
9324 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9999 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9325 hardcode_libdir_separator=: 10000 hardcode_libdir_separator=:
9326 ;; 10001 ;;
9327 10002
9328 osf4* | osf5*) # as osf3* with the addition of -msym flag 10003 osf4* | osf5*) # as osf3* with the addition of -msym flag
9329 if test "$GCC" = yes; then 10004 if test "$GCC" = yes; then
9330 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10005 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9331 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10006 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9332 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10007 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9333 else 10008 else
9334 allow_undefined_flag=' -expect_unresolved \*' 10009 allow_undefined_flag=' -expect_unresolved \*'
9335 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 10010 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9336 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 10011 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9337 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 10012 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9338 10013
9339 # Both c and cxx compiler support -rpath directly 10014 # Both c and cxx compiler support -rpath directly
9340 hardcode_libdir_flag_spec='-rpath $libdir' 10015 hardcode_libdir_flag_spec='-rpath $libdir'
9341 fi 10016 fi
9342 archive_cmds_need_lc='no' 10017 archive_cmds_need_lc='no'
9345 10020
9346 solaris*) 10021 solaris*)
9347 no_undefined_flag=' -z defs' 10022 no_undefined_flag=' -z defs'
9348 if test "$GCC" = yes; then 10023 if test "$GCC" = yes; then
9349 wlarc='${wl}' 10024 wlarc='${wl}'
9350 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10025 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10026 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9352 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10027 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9353 else 10028 else
9354 case `$CC -V 2>&1` in 10029 case `$CC -V 2>&1` in
9355 *"Compilers 5.0"*) 10030 *"Compilers 5.0"*)
9356 wlarc='' 10031 wlarc=''
9357 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10032 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535 # Test whether the compiler implicitly links with -lc since on some 10210 # Test whether the compiler implicitly links with -lc since on some
9536 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10211 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9537 # to ld, don't add -lc before -lgcc. 10212 # to ld, don't add -lc before -lgcc.
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9539 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10214 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9540 $RM conftest* 10215 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9541 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10216 $as_echo_n "(cached) " >&6
9542 10217 else
9543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10218 $RM conftest*
10219 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10220
10221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9544 (eval $ac_compile) 2>&5 10222 (eval $ac_compile) 2>&5
9545 ac_status=$? 10223 ac_status=$?
9546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9547 test $ac_status = 0; } 2>conftest.err; then 10225 test $ac_status = 0; } 2>conftest.err; then
9548 soname=conftest 10226 soname=conftest
9549 lib=conftest 10227 lib=conftest
9550 libobjs=conftest.$ac_objext 10228 libobjs=conftest.$ac_objext
9551 deplibs= 10229 deplibs=
9552 wl=$lt_prog_compiler_wl 10230 wl=$lt_prog_compiler_wl
9553 pic_flag=$lt_prog_compiler_pic 10231 pic_flag=$lt_prog_compiler_pic
9554 compiler_flags=-v 10232 compiler_flags=-v
9555 linker_flags=-v 10233 linker_flags=-v
9556 verstring= 10234 verstring=
9557 output_objdir=. 10235 output_objdir=.
9558 libname=conftest 10236 libname=conftest
9559 lt_save_allow_undefined_flag=$allow_undefined_flag 10237 lt_save_allow_undefined_flag=$allow_undefined_flag
9560 allow_undefined_flag= 10238 allow_undefined_flag=
9561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9562 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10240 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9563 ac_status=$? 10241 ac_status=$?
9564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9565 test $ac_status = 0; } 10243 test $ac_status = 0; }
9566 then 10244 then
9567 archive_cmds_need_lc=no 10245 lt_cv_archive_cmds_need_lc=no
9568 else 10246 else
9569 archive_cmds_need_lc=yes 10247 lt_cv_archive_cmds_need_lc=yes
9570 fi 10248 fi
9571 allow_undefined_flag=$lt_save_allow_undefined_flag 10249 allow_undefined_flag=$lt_save_allow_undefined_flag
9572 else 10250 else
9573 cat conftest.err 1>&5 10251 cat conftest.err 1>&5
9574 fi 10252 fi
9575 $RM conftest* 10253 $RM conftest*
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 10254
9577 $as_echo "$archive_cmds_need_lc" >&6; } 10255 fi
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10257 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10258 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9578 ;; 10259 ;;
9579 esac 10260 esac
9580 fi 10261 fi
9581 ;; 10262 ;;
9582 esac 10263 esac
9743 if test "$GCC" = yes; then 10424 if test "$GCC" = yes; then
9744 case $host_os in 10425 case $host_os in
9745 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10426 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9746 *) lt_awk_arg="/^libraries:/" ;; 10427 *) lt_awk_arg="/^libraries:/" ;;
9747 esac 10428 esac
9748 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10429 case $host_os in
9749 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10430 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10431 *) lt_sed_strip_eq="s,=/,/,g" ;;
10432 esac
10433 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10434 case $lt_search_path_spec in
10435 *\;*)
9750 # if the path contains ";" then we assume it to be the separator 10436 # if the path contains ";" then we assume it to be the separator
9751 # otherwise default to the standard path separator (i.e. ":") - it is 10437 # otherwise default to the standard path separator (i.e. ":") - it is
9752 # assumed that no part of a normal pathname contains ";" but that should 10438 # assumed that no part of a normal pathname contains ";" but that should
9753 # okay in the real world where ";" in dirpaths is itself problematic. 10439 # okay in the real world where ";" in dirpaths is itself problematic.
9754 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10440 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9755 else 10441 ;;
9756 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10442 *)
9757 fi 10443 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10444 ;;
10445 esac
9758 # Ok, now we have the path, separated by spaces, we can step through it 10446 # Ok, now we have the path, separated by spaces, we can step through it
9759 # and add multilib dir if necessary. 10447 # and add multilib dir if necessary.
9760 lt_tmp_lt_search_path_spec= 10448 lt_tmp_lt_search_path_spec=
9761 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10449 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9762 for lt_sys_path in $lt_search_path_spec; do 10450 for lt_sys_path in $lt_search_path_spec; do
9765 else 10453 else
9766 test -d "$lt_sys_path" && \ 10454 test -d "$lt_sys_path" && \
9767 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10455 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9768 fi 10456 fi
9769 done 10457 done
9770 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10458 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9771 BEGIN {RS=" "; FS="/|\n";} { 10459 BEGIN {RS=" "; FS="/|\n";} {
9772 lt_foo=""; 10460 lt_foo="";
9773 lt_count=0; 10461 lt_count=0;
9774 for (lt_i = NF; lt_i > 0; lt_i--) { 10462 for (lt_i = NF; lt_i > 0; lt_i--) {
9775 if ($lt_i != "" && $lt_i != ".") { 10463 if ($lt_i != "" && $lt_i != ".") {
9785 } 10473 }
9786 } 10474 }
9787 if (lt_foo != "") { lt_freq[lt_foo]++; } 10475 if (lt_foo != "") { lt_freq[lt_foo]++; }
9788 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10476 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9789 }'` 10477 }'`
9790 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10478 # AWK program above erroneously prepends '/' to C:/dos/paths
10479 # for these hosts.
10480 case $host_os in
10481 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10482 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10483 esac
10484 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9791 else 10485 else
9792 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10486 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9793 fi 10487 fi
9794 library_names_spec= 10488 library_names_spec=
9795 libname_spec='lib$name' 10489 libname_spec='lib$name'
9873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9874 ;; 10568 ;;
9875 m68k) 10569 m68k)
9876 library_names_spec='$libname.ixlibrary $libname.a' 10570 library_names_spec='$libname.ixlibrary $libname.a'
9877 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10571 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9878 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' 10572 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
9879 ;; 10573 ;;
9880 esac 10574 esac
9881 ;; 10575 ;;
9882 10576
9883 beos*) 10577 beos*)
9904 version_type=windows 10598 version_type=windows
9905 shrext_cmds=".dll" 10599 shrext_cmds=".dll"
9906 need_version=no 10600 need_version=no
9907 need_lib_prefix=no 10601 need_lib_prefix=no
9908 10602
9909 case $GCC,$host_os in 10603 case $GCC,$cc_basename in
9910 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10604 yes,*)
10605 # gcc
9911 library_names_spec='$libname.dll.a' 10606 library_names_spec='$libname.dll.a'
9912 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9913 postinstall_cmds='base_file=`basename \${file}`~ 10608 postinstall_cmds='base_file=`basename \${file}`~
9914 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9915 dldir=$destdir/`dirname \$dlpath`~ 10610 dldir=$destdir/`dirname \$dlpath`~
9926 10621
9927 case $host_os in 10622 case $host_os in
9928 cygwin*) 10623 cygwin*)
9929 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9930 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10625 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9931 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10626
10627 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9932 ;; 10628 ;;
9933 mingw* | cegcc*) 10629 mingw* | cegcc*)
9934 # MinGW DLLs use traditional 'lib' prefix 10630 # MinGW DLLs use traditional 'lib' prefix
9935 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10631 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9936 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9937 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9938 # It is most probably a Windows format PATH printed by
9939 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9940 # path with ; separators, and with drive letters. We can handle the
9941 # drive letters (cygwin fileutils understands them), so leave them,
9942 # especially as we might pass files found there to a mingw objdump,
9943 # which wouldn't understand a cygwinified path. Ahh.
9944 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9945 else
9946 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9947 fi
9948 ;; 10632 ;;
9949 pw32*) 10633 pw32*)
9950 # pw32 DLLs use 'pw' prefix rather than 'lib' 10634 # pw32 DLLs use 'pw' prefix rather than 'lib'
9951 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10635 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9952 ;; 10636 ;;
9953 esac 10637 esac
10638 dynamic_linker='Win32 ld.exe'
9954 ;; 10639 ;;
9955 10640
10641 *,cl*)
10642 # Native MSVC
10643 libname_spec='$name'
10644 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645 library_names_spec='${libname}.dll.lib'
10646
10647 case $build_os in
10648 mingw*)
10649 sys_lib_search_path_spec=
10650 lt_save_ifs=$IFS
10651 IFS=';'
10652 for lt_path in $LIB
10653 do
10654 IFS=$lt_save_ifs
10655 # Let DOS variable expansion print the short 8.3 style file name.
10656 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10657 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10658 done
10659 IFS=$lt_save_ifs
10660 # Convert to MSYS style.
10661 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10662 ;;
10663 cygwin*)
10664 # Convert to unix form, then to dos form, then back to unix form
10665 # but this time dos style (no spaces!) so that the unix form looks
10666 # like /cygdrive/c/PROGRA~1:/cygdr...
10667 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10668 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10669 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10670 ;;
10671 *)
10672 sys_lib_search_path_spec="$LIB"
10673 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10674 # It is most probably a Windows format PATH.
10675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10676 else
10677 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10678 fi
10679 # FIXME: find the short name or the path components, as spaces are
10680 # common. (e.g. "Program Files" -> "PROGRA~1")
10681 ;;
10682 esac
10683
10684 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10685 postinstall_cmds='base_file=`basename \${file}`~
10686 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10687 dldir=$destdir/`dirname \$dlpath`~
10688 test -d \$dldir || mkdir -p \$dldir~
10689 $install_prog $dir/$dlname \$dldir/$dlname'
10690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10691 dlpath=$dir/\$dldll~
10692 $RM \$dlpath'
10693 shlibpath_overrides_runpath=yes
10694 dynamic_linker='Win32 link.exe'
10695 ;;
10696
9956 *) 10697 *)
10698 # Assume MSVC wrapper
9957 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10699 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10700 dynamic_linker='Win32 ld.exe'
9958 ;; 10701 ;;
9959 esac 10702 esac
9960 dynamic_linker='Win32 ld.exe'
9961 # FIXME: first we should search . and the directory the executable is in 10703 # FIXME: first we should search . and the directory the executable is in
9962 shlibpath_var=PATH 10704 shlibpath_var=PATH
9963 ;; 10705 ;;
9964 10706
9965 darwin* | rhapsody*) 10707 darwin* | rhapsody*)
10039 need_lib_prefix=no 10781 need_lib_prefix=no
10040 need_version=no 10782 need_version=no
10041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10042 soname_spec='${libname}${release}${shared_ext}$major' 10784 soname_spec='${libname}${release}${shared_ext}$major'
10043 shlibpath_var=LD_LIBRARY_PATH 10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10787 hardcode_into_libs=yes
10788 ;;
10789
10790 haiku*)
10791 version_type=linux
10792 need_lib_prefix=no
10793 need_version=no
10794 dynamic_linker="$host_os runtime_loader"
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 shlibpath_var=LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes
10799 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10044 hardcode_into_libs=yes 10800 hardcode_into_libs=yes
10045 ;; 10801 ;;
10046 10802
10047 hpux9* | hpux10* | hpux11*) 10803 hpux9* | hpux10* | hpux11*)
10048 # Give a soname corresponding to the major version so that dld.sl refuses to 10804 # Give a soname corresponding to the major version so that dld.sl refuses to
10084 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10840 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086 soname_spec='${libname}${release}${shared_ext}$major' 10842 soname_spec='${libname}${release}${shared_ext}$major'
10087 ;; 10843 ;;
10088 esac 10844 esac
10089 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10845 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10090 postinstall_cmds='chmod 555 $lib' 10846 postinstall_cmds='chmod 555 $lib'
10847 # or fails outright, so override atomically:
10848 install_override_mode=555
10091 ;; 10849 ;;
10092 10850
10093 interix[3-9]*) 10851 interix[3-9]*)
10094 version_type=linux 10852 version_type=linux
10095 need_lib_prefix=no 10853 need_lib_prefix=no
10152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 soname_spec='${libname}${release}${shared_ext}$major' 10911 soname_spec='${libname}${release}${shared_ext}$major'
10154 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10155 shlibpath_var=LD_LIBRARY_PATH 10913 shlibpath_var=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath=no 10914 shlibpath_overrides_runpath=no
10915
10157 # Some binutils ld are patched to set DT_RUNPATH 10916 # Some binutils ld are patched to set DT_RUNPATH
10158 save_LDFLAGS=$LDFLAGS 10917 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10159 save_libdir=$libdir 10918 $as_echo_n "(cached) " >&6
10160 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10919 else
10161 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10920 lt_cv_shlibpath_overrides_runpath=no
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10921 save_LDFLAGS=$LDFLAGS
10922 save_libdir=$libdir
10923 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10924 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */ 10926 /* end confdefs.h. */
10164 10927
10165 int 10928 int
10166 main () 10929 main ()
10167 { 10930 {
10170 return 0; 10933 return 0;
10171 } 10934 }
10172 _ACEOF 10935 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then : 10936 if ac_fn_c_try_link "$LINENO"; then :
10174 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10175 shlibpath_overrides_runpath=yes 10938 lt_cv_shlibpath_overrides_runpath=yes
10176 fi 10939 fi
10177 fi 10940 fi
10178 rm -f core conftest.err conftest.$ac_objext \ 10941 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext 10942 conftest$ac_exeext conftest.$ac_ext
10180 LDFLAGS=$save_LDFLAGS 10943 LDFLAGS=$save_LDFLAGS
10181 libdir=$save_libdir 10944 libdir=$save_libdir
10945
10946 fi
10947
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10182 10949
10183 # This implies no fast_install, which is unacceptable. 10950 # This implies no fast_install, which is unacceptable.
10184 # Some rework will be needed to allow for fast_install 10951 # Some rework will be needed to allow for fast_install
10185 # before this can be enabled. 10952 # before this can be enabled.
10186 hardcode_into_libs=yes 10953 hardcode_into_libs=yes
10187 10954
10188 # Append ld.so.conf contents to the search path 10955 # Append ld.so.conf contents to the search path
10189 if test -f /etc/ld.so.conf; then 10956 if test -f /etc/ld.so.conf; then
10190 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' ' '` 10957 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;s/"//g;/^$/d' | tr '\n' ' '`
10191 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10192 fi 10959 fi
10193 10960
10194 # We used to test for /lib/ld.so.1 and disable shared libraries on 10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10195 # powerpc, because MkLinux only supported shared libraries with the 10962 # powerpc, because MkLinux only supported shared libraries with the
10500 11267
10501 11268
10502 11269
10503 11270
10504 11271
11272
11273
11274
11275
11276
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10506 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11278 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10507 hardcode_action= 11279 hardcode_action=
10508 if test -n "$hardcode_libdir_flag_spec" || 11280 if test -n "$hardcode_libdir_flag_spec" ||
10509 test -n "$runpath_var" || 11281 test -n "$runpath_var" ||
10572 11344
10573 darwin*) 11345 darwin*)
10574 # if libdl is installed we need to link against it 11346 # if libdl is installed we need to link against it
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10576 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11348 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10577 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11349 if ${ac_cv_lib_dl_dlopen+:} false; then :
10578 $as_echo_n "(cached) " >&6 11350 $as_echo_n "(cached) " >&6
10579 else 11351 else
10580 ac_check_lib_save_LIBS=$LIBS 11352 ac_check_lib_save_LIBS=$LIBS
10581 LIBS="-ldl $LIBS" 11353 LIBS="-ldl $LIBS"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 conftest$ac_exeext conftest.$ac_ext 11378 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_lib_save_LIBS 11379 LIBS=$ac_check_lib_save_LIBS
10608 fi 11380 fi
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10610 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11382 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10611 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11383 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10612 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11384 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10613 else 11385 else
10614 11386
10615 lt_cv_dlopen="dyld" 11387 lt_cv_dlopen="dyld"
10616 lt_cv_dlopen_libs= 11388 lt_cv_dlopen_libs=
10620 11392
10621 ;; 11393 ;;
10622 11394
10623 *) 11395 *)
10624 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11396 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10625 if test "x$ac_cv_func_shl_load" = x""yes; then : 11397 if test "x$ac_cv_func_shl_load" = xyes; then :
10626 lt_cv_dlopen="shl_load" 11398 lt_cv_dlopen="shl_load"
10627 else 11399 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10629 $as_echo_n "checking for shl_load in -ldld... " >&6; } 11401 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10630 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11402 if ${ac_cv_lib_dld_shl_load+:} false; then :
10631 $as_echo_n "(cached) " >&6 11403 $as_echo_n "(cached) " >&6
10632 else 11404 else
10633 ac_check_lib_save_LIBS=$LIBS 11405 ac_check_lib_save_LIBS=$LIBS
10634 LIBS="-ldld $LIBS" 11406 LIBS="-ldld $LIBS"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 conftest$ac_exeext conftest.$ac_ext 11431 conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_check_lib_save_LIBS 11432 LIBS=$ac_check_lib_save_LIBS
10661 fi 11433 fi
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10663 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11435 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10664 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11436 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10665 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11437 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10666 else 11438 else
10667 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11439 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10668 if test "x$ac_cv_func_dlopen" = x""yes; then : 11440 if test "x$ac_cv_func_dlopen" = xyes; then :
10669 lt_cv_dlopen="dlopen" 11441 lt_cv_dlopen="dlopen"
10670 else 11442 else
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10672 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11444 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10673 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11445 if ${ac_cv_lib_dl_dlopen+:} false; then :
10674 $as_echo_n "(cached) " >&6 11446 $as_echo_n "(cached) " >&6
10675 else 11447 else
10676 ac_check_lib_save_LIBS=$LIBS 11448 ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-ldl $LIBS" 11449 LIBS="-ldl $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 conftest$ac_exeext conftest.$ac_ext 11474 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS 11475 LIBS=$ac_check_lib_save_LIBS
10704 fi 11476 fi
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10706 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11478 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10707 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11479 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10708 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11480 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10709 else 11481 else
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10711 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 11483 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10712 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11484 if ${ac_cv_lib_svld_dlopen+:} false; then :
10713 $as_echo_n "(cached) " >&6 11485 $as_echo_n "(cached) " >&6
10714 else 11486 else
10715 ac_check_lib_save_LIBS=$LIBS 11487 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-lsvld $LIBS" 11488 LIBS="-lsvld $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 conftest$ac_exeext conftest.$ac_ext 11513 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS 11514 LIBS=$ac_check_lib_save_LIBS
10743 fi 11515 fi
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10745 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10746 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 11518 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10747 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10748 else 11520 else
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10750 $as_echo_n "checking for dld_link in -ldld... " >&6; } 11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10751 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 11523 if ${ac_cv_lib_dld_dld_link+:} false; then :
10752 $as_echo_n "(cached) " >&6 11524 $as_echo_n "(cached) " >&6
10753 else 11525 else
10754 ac_check_lib_save_LIBS=$LIBS 11526 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-ldld $LIBS" 11527 LIBS="-ldld $LIBS"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 conftest$ac_exeext conftest.$ac_ext 11552 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_lib_save_LIBS 11553 LIBS=$ac_check_lib_save_LIBS
10782 fi 11554 fi
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10784 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11556 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10785 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11557 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10786 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11558 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10787 fi 11559 fi
10788 11560
10789 11561
10790 fi 11562 fi
10821 save_LIBS="$LIBS" 11593 save_LIBS="$LIBS"
10822 LIBS="$lt_cv_dlopen_libs $LIBS" 11594 LIBS="$lt_cv_dlopen_libs $LIBS"
10823 11595
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10825 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 11597 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10826 if test "${lt_cv_dlopen_self+set}" = set; then : 11598 if ${lt_cv_dlopen_self+:} false; then :
10827 $as_echo_n "(cached) " >&6 11599 $as_echo_n "(cached) " >&6
10828 else 11600 else
10829 if test "$cross_compiling" = yes; then : 11601 if test "$cross_compiling" = yes; then :
10830 lt_cv_dlopen_self=cross 11602 lt_cv_dlopen_self=cross
10831 else 11603 else
10832 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11604 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10833 lt_status=$lt_dlunknown 11605 lt_status=$lt_dlunknown
10834 cat > conftest.$ac_ext <<_LT_EOF 11606 cat > conftest.$ac_ext <<_LT_EOF
10835 #line 10835 "configure" 11607 #line $LINENO "configure"
10836 #include "confdefs.h" 11608 #include "confdefs.h"
10837 11609
10838 #if HAVE_DLFCN_H 11610 #if HAVE_DLFCN_H
10839 #include <dlfcn.h> 11611 #include <dlfcn.h>
10840 #endif 11612 #endif
10871 # endif 11643 # endif
10872 # endif 11644 # endif
10873 # endif 11645 # endif
10874 #endif 11646 #endif
10875 11647
10876 void fnord() { int i=42;} 11648 /* When -fvisbility=hidden is used, assume the code has been annotated
11649 correspondingly for the symbols needed. */
11650 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11651 int fnord () __attribute__((visibility("default")));
11652 #endif
11653
11654 int fnord () { return 42; }
10877 int main () 11655 int main ()
10878 { 11656 {
10879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10880 int status = $lt_dlunknown; 11658 int status = $lt_dlunknown;
10881 11659
10882 if (self) 11660 if (self)
10883 { 11661 {
10884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10885 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11663 else
11664 {
11665 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11666 else puts (dlerror ());
11667 }
10886 /* dlclose (self); */ 11668 /* dlclose (self); */
10887 } 11669 }
10888 else 11670 else
10889 puts (dlerror ()); 11671 puts (dlerror ());
10890 11672
10917 11699
10918 if test "x$lt_cv_dlopen_self" = xyes; then 11700 if test "x$lt_cv_dlopen_self" = xyes; then
10919 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11701 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10921 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11703 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10922 if test "${lt_cv_dlopen_self_static+set}" = set; then : 11704 if ${lt_cv_dlopen_self_static+:} false; then :
10923 $as_echo_n "(cached) " >&6 11705 $as_echo_n "(cached) " >&6
10924 else 11706 else
10925 if test "$cross_compiling" = yes; then : 11707 if test "$cross_compiling" = yes; then :
10926 lt_cv_dlopen_self_static=cross 11708 lt_cv_dlopen_self_static=cross
10927 else 11709 else
10928 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11710 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10929 lt_status=$lt_dlunknown 11711 lt_status=$lt_dlunknown
10930 cat > conftest.$ac_ext <<_LT_EOF 11712 cat > conftest.$ac_ext <<_LT_EOF
10931 #line 10931 "configure" 11713 #line $LINENO "configure"
10932 #include "confdefs.h" 11714 #include "confdefs.h"
10933 11715
10934 #if HAVE_DLFCN_H 11716 #if HAVE_DLFCN_H
10935 #include <dlfcn.h> 11717 #include <dlfcn.h>
10936 #endif 11718 #endif
10967 # endif 11749 # endif
10968 # endif 11750 # endif
10969 # endif 11751 # endif
10970 #endif 11752 #endif
10971 11753
10972 void fnord() { int i=42;} 11754 /* When -fvisbility=hidden is used, assume the code has been annotated
11755 correspondingly for the symbols needed. */
11756 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11757 int fnord () __attribute__((visibility("default")));
11758 #endif
11759
11760 int fnord () { return 42; }
10973 int main () 11761 int main ()
10974 { 11762 {
10975 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11763 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10976 int status = $lt_dlunknown; 11764 int status = $lt_dlunknown;
10977 11765
10978 if (self) 11766 if (self)
10979 { 11767 {
10980 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11768 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10981 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11769 else
11770 {
11771 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11772 else puts (dlerror ());
11773 }
10982 /* dlclose (self); */ 11774 /* dlclose (self); */
10983 } 11775 }
10984 else 11776 else
10985 puts (dlerror ()); 11777 puts (dlerror ());
10986 11778
11177 # then use that information and don't search ssldirs 11969 # then use that information and don't search ssldirs
11178 # Extract the first word of "pkg-config", so it can be a program name with args. 11970 # Extract the first word of "pkg-config", so it can be a program name with args.
11179 set dummy pkg-config; ac_word=$2 11971 set dummy pkg-config; ac_word=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11181 $as_echo_n "checking for $ac_word... " >&6; } 11973 $as_echo_n "checking for $ac_word... " >&6; }
11182 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11974 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11183 $as_echo_n "(cached) " >&6 11975 $as_echo_n "(cached) " >&6
11184 else 11976 else
11185 case $PKG_CONFIG in 11977 case $PKG_CONFIG in
11186 [\\/]* | ?:[\\/]*) 11978 [\\/]* | ?:[\\/]*)
11187 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11348 do 12140 do
11349 # Extract the first word of "$ac_prog", so it can be a program name with args. 12141 # Extract the first word of "$ac_prog", so it can be a program name with args.
11350 set dummy $ac_prog; ac_word=$2 12142 set dummy $ac_prog; ac_word=$2
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11352 $as_echo_n "checking for $ac_word... " >&6; } 12144 $as_echo_n "checking for $ac_word... " >&6; }
11353 if test "${ac_cv_prog_AWK+set}" = set; then : 12145 if ${ac_cv_prog_AWK+:} false; then :
11354 $as_echo_n "(cached) " >&6 12146 $as_echo_n "(cached) " >&6
11355 else 12147 else
11356 if test -n "$AWK"; then 12148 if test -n "$AWK"; then
11357 ac_cv_prog_AWK="$AWK" # Let the user override the test. 12149 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11358 else 12150 else
11396 _libcurl_ldflags="-L$withval/lib" 12188 _libcurl_ldflags="-L$withval/lib"
11397 # Extract the first word of "curl-config", so it can be a program name with args. 12189 # Extract the first word of "curl-config", so it can be a program name with args.
11398 set dummy curl-config; ac_word=$2 12190 set dummy curl-config; ac_word=$2
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11400 $as_echo_n "checking for $ac_word... " >&6; } 12192 $as_echo_n "checking for $ac_word... " >&6; }
11401 if test "${ac_cv_path__libcurl_config+set}" = set; then : 12193 if ${ac_cv_path__libcurl_config+:} false; then :
11402 $as_echo_n "(cached) " >&6 12194 $as_echo_n "(cached) " >&6
11403 else 12195 else
11404 case $_libcurl_config in 12196 case $_libcurl_config in
11405 [\\/]* | ?:[\\/]*) 12197 [\\/]* | ?:[\\/]*)
11406 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. 12198 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
11438 else 12230 else
11439 # Extract the first word of "curl-config", so it can be a program name with args. 12231 # Extract the first word of "curl-config", so it can be a program name with args.
11440 set dummy curl-config; ac_word=$2 12232 set dummy curl-config; ac_word=$2
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11442 $as_echo_n "checking for $ac_word... " >&6; } 12234 $as_echo_n "checking for $ac_word... " >&6; }
11443 if test "${ac_cv_path__libcurl_config+set}" = set; then : 12235 if ${ac_cv_path__libcurl_config+:} false; then :
11444 $as_echo_n "(cached) " >&6 12236 $as_echo_n "(cached) " >&6
11445 else 12237 else
11446 case $_libcurl_config in 12238 case $_libcurl_config in
11447 [\\/]* | ?:[\\/]*) 12239 [\\/]* | ?:[\\/]*)
11448 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. 12240 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
11479 fi 12271 fi
11480 12272
11481 if test x$_libcurl_config != "x" ; then 12273 if test x$_libcurl_config != "x" ; then
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5 12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
11483 $as_echo_n "checking for the version of libcurl... " >&6; } 12275 $as_echo_n "checking for the version of libcurl... " >&6; }
11484 if test "${libcurl_cv_lib_curl_version+set}" = set; then : 12276 if ${libcurl_cv_lib_curl_version+:} false; then :
11485 $as_echo_n "(cached) " >&6 12277 $as_echo_n "(cached) " >&6
11486 else 12278 else
11487 libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'` 12279 libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
11488 fi 12280 fi
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5 12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
11493 _libcurl_wanted=`echo 0 | $_libcurl_version_parse` 12285 _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
11494 12286
11495 if test $_libcurl_wanted -gt 0 ; then 12287 if test $_libcurl_wanted -gt 0 ; then
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5 12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5
11497 $as_echo_n "checking for libcurl >= version ... " >&6; } 12289 $as_echo_n "checking for libcurl >= version ... " >&6; }
11498 if test "${libcurl_cv_lib_version_ok+set}" = set; then : 12290 if ${libcurl_cv_lib_version_ok+:} false; then :
11499 $as_echo_n "(cached) " >&6 12291 $as_echo_n "(cached) " >&6
11500 else 12292 else
11501 12293
11502 if test $_libcurl_version -ge $_libcurl_wanted ; then 12294 if test $_libcurl_version -ge $_libcurl_wanted ; then
11503 libcurl_cv_lib_version_ok=yes 12295 libcurl_cv_lib_version_ok=yes
11547 # link line (or failing that, "-lcurl") is enough. 12339 # link line (or failing that, "-lcurl") is enough.
11548 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"} 12340 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
11549 12341
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5 12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
11551 $as_echo_n "checking whether libcurl is usable... " >&6; } 12343 $as_echo_n "checking whether libcurl is usable... " >&6; }
11552 if test "${libcurl_cv_lib_curl_usable+set}" = set; then : 12344 if ${libcurl_cv_lib_curl_usable+:} false; then :
11553 $as_echo_n "(cached) " >&6 12345 $as_echo_n "(cached) " >&6
11554 else 12346 else
11555 12347
11556 _libcurl_save_cppflags=$CPPFLAGS 12348 _libcurl_save_cppflags=$CPPFLAGS
11557 CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS" 12349 CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS"
11606 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS" 12398 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
11607 _libcurl_save_libs=$LIBS 12399 _libcurl_save_libs=$LIBS
11608 LIBS="$LIBS $LIBCURL" 12400 LIBS="$LIBS $LIBCURL"
11609 12401
11610 ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free" 12402 ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
11611 if test "x$ac_cv_func_curl_free" = x""yes; then : 12403 if test "x$ac_cv_func_curl_free" = xyes; then :
11612 12404
11613 else 12405 else
11614 12406
11615 $as_echo "#define curl_free free" >>confdefs.h 12407 $as_echo "#define curl_free free" >>confdefs.h
11616 12408
11708 do 12500 do
11709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11712 $as_echo_n "checking for $ac_word... " >&6; } 12504 $as_echo_n "checking for $ac_word... " >&6; }
11713 if test "${ac_cv_prog_CXX+set}" = set; then : 12505 if ${ac_cv_prog_CXX+:} false; then :
11714 $as_echo_n "(cached) " >&6 12506 $as_echo_n "(cached) " >&6
11715 else 12507 else
11716 if test -n "$CXX"; then 12508 if test -n "$CXX"; then
11717 ac_cv_prog_CXX="$CXX" # Let the user override the test. 12509 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11718 else 12510 else
11752 do 12544 do
11753 # Extract the first word of "$ac_prog", so it can be a program name with args. 12545 # Extract the first word of "$ac_prog", so it can be a program name with args.
11754 set dummy $ac_prog; ac_word=$2 12546 set dummy $ac_prog; ac_word=$2
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11756 $as_echo_n "checking for $ac_word... " >&6; } 12548 $as_echo_n "checking for $ac_word... " >&6; }
11757 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 12549 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11758 $as_echo_n "(cached) " >&6 12550 $as_echo_n "(cached) " >&6
11759 else 12551 else
11760 if test -n "$ac_ct_CXX"; then 12552 if test -n "$ac_ct_CXX"; then
11761 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 12553 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11762 else 12554 else
11830 test $ac_status = 0; } 12622 test $ac_status = 0; }
11831 done 12623 done
11832 12624
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11834 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 12626 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11835 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 12627 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11836 $as_echo_n "(cached) " >&6 12628 $as_echo_n "(cached) " >&6
11837 else 12629 else
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */ 12631 /* end confdefs.h. */
11840 12632
11867 fi 12659 fi
11868 ac_test_CXXFLAGS=${CXXFLAGS+set} 12660 ac_test_CXXFLAGS=${CXXFLAGS+set}
11869 ac_save_CXXFLAGS=$CXXFLAGS 12661 ac_save_CXXFLAGS=$CXXFLAGS
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11871 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 12663 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11872 if test "${ac_cv_prog_cxx_g+set}" = set; then : 12664 if ${ac_cv_prog_cxx_g+:} false; then :
11873 $as_echo_n "(cached) " >&6 12665 $as_echo_n "(cached) " >&6
11874 else 12666 else
11875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 12667 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11876 ac_cxx_werror_flag=yes 12668 ac_cxx_werror_flag=yes
11877 ac_cv_prog_cxx_g=no 12669 ac_cv_prog_cxx_g=no
11953 12745
11954 depcc="$CXX" am_compiler_list= 12746 depcc="$CXX" am_compiler_list=
11955 12747
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11957 $as_echo_n "checking dependency style of $depcc... " >&6; } 12749 $as_echo_n "checking dependency style of $depcc... " >&6; }
11958 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 12750 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11959 $as_echo_n "(cached) " >&6 12751 $as_echo_n "(cached) " >&6
11960 else 12752 else
11961 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11962 # We make a subdir and do the tests there. Otherwise we can end up 12754 # We make a subdir and do the tests there. Otherwise we can end up
11963 # making bogus files that we don't know about and never remove. For 12755 # making bogus files that we don't know about and never remove. For
12077 am__fastdepCXX_FALSE= 12869 am__fastdepCXX_FALSE=
12078 fi 12870 fi
12079 12871
12080 12872
12081 12873
12082 ac_ext=cpp 12874
12083 ac_cpp='$CXXCPP $CPPFLAGS' 12875 func_stripname_cnf ()
12084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12087 if test -z "$CXX"; then
12088 if test -n "$CCC"; then
12089 CXX=$CCC
12090 else
12091 if test -n "$ac_tool_prefix"; then
12092 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12093 do
12094 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12097 $as_echo_n "checking for $ac_word... " >&6; }
12098 if test "${ac_cv_prog_CXX+set}" = set; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 if test -n "$CXX"; then
12102 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12103 else
12104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12105 for as_dir in $PATH
12106 do
12107 IFS=$as_save_IFS
12108 test -z "$as_dir" && as_dir=.
12109 for ac_exec_ext in '' $ac_executable_extensions; do
12110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12111 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12113 break 2
12114 fi
12115 done
12116 done
12117 IFS=$as_save_IFS
12118
12119 fi
12120 fi
12121 CXX=$ac_cv_prog_CXX
12122 if test -n "$CXX"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12124 $as_echo "$CXX" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12128 fi
12129
12130
12131 test -n "$CXX" && break
12132 done
12133 fi
12134 if test -z "$CXX"; then
12135 ac_ct_CXX=$CXX
12136 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12137 do
12138 # Extract the first word of "$ac_prog", so it can be a program name with args.
12139 set dummy $ac_prog; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141 $as_echo_n "checking for $ac_word... " >&6; }
12142 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 if test -n "$ac_ct_CXX"; then
12146 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12147 else
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12150 do
12151 IFS=$as_save_IFS
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12155 ac_cv_prog_ac_ct_CXX="$ac_prog"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161 IFS=$as_save_IFS
12162
12163 fi
12164 fi
12165 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12166 if test -n "$ac_ct_CXX"; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12168 $as_echo "$ac_ct_CXX" >&6; }
12169 else
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171 $as_echo "no" >&6; }
12172 fi
12173
12174
12175 test -n "$ac_ct_CXX" && break
12176 done
12177
12178 if test "x$ac_ct_CXX" = x; then
12179 CXX="g++"
12180 else
12181 case $cross_compiling:$ac_tool_warned in
12182 yes:)
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12185 ac_tool_warned=yes ;;
12186 esac
12187 CXX=$ac_ct_CXX
12188 fi
12189 fi
12190
12191 fi
12192 fi
12193 # Provide some information about the compiler.
12194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12195 set X $ac_compile
12196 ac_compiler=$2
12197 for ac_option in --version -v -V -qversion; do
12198 { { ac_try="$ac_compiler $ac_option >&5"
12199 case "(($ac_try" in
12200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12201 *) ac_try_echo=$ac_try;;
12202 esac
12203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12204 $as_echo "$ac_try_echo"; } >&5
12205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12206 ac_status=$?
12207 if test -s conftest.err; then
12208 sed '10a\
12209 ... rest of stderr output deleted ...
12210 10q' conftest.err >conftest.er1
12211 cat conftest.er1 >&5
12212 fi
12213 rm -f conftest.er1 conftest.err
12214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12215 test $ac_status = 0; }
12216 done
12217
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12219 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12220 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12225
12226 int
12227 main ()
12228 { 12876 {
12229 #ifndef __GNUC__ 12877 case ${2} in
12230 choke me 12878 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12231 #endif 12879 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12232 12880 esac
12233 ; 12881 } # func_stripname_cnf
12234 return 0; 12882
12235 } 12883 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12236 _ACEOF
12237 if ac_fn_cxx_try_compile "$LINENO"; then :
12238 ac_compiler_gnu=yes
12239 else
12240 ac_compiler_gnu=no
12241 fi
12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12244
12245 fi
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12247 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12248 if test $ac_compiler_gnu = yes; then
12249 GXX=yes
12250 else
12251 GXX=
12252 fi
12253 ac_test_CXXFLAGS=${CXXFLAGS+set}
12254 ac_save_CXXFLAGS=$CXXFLAGS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12256 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12257 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12261 ac_cxx_werror_flag=yes
12262 ac_cv_prog_cxx_g=no
12263 CXXFLAGS="-g"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266
12267 int
12268 main ()
12269 {
12270
12271 ;
12272 return 0;
12273 }
12274 _ACEOF
12275 if ac_fn_cxx_try_compile "$LINENO"; then :
12276 ac_cv_prog_cxx_g=yes
12277 else
12278 CXXFLAGS=""
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281
12282 int
12283 main ()
12284 {
12285
12286 ;
12287 return 0;
12288 }
12289 _ACEOF
12290 if ac_fn_cxx_try_compile "$LINENO"; then :
12291
12292 else
12293 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12294 CXXFLAGS="-g"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12297
12298 int
12299 main ()
12300 {
12301
12302 ;
12303 return 0;
12304 }
12305 _ACEOF
12306 if ac_fn_cxx_try_compile "$LINENO"; then :
12307 ac_cv_prog_cxx_g=yes
12308 fi
12309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 fi
12311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12312 fi
12313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12314 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12315 fi
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12317 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12318 if test "$ac_test_CXXFLAGS" = set; then
12319 CXXFLAGS=$ac_save_CXXFLAGS
12320 elif test $ac_cv_prog_cxx_g = yes; then
12321 if test "$GXX" = yes; then
12322 CXXFLAGS="-g -O2"
12323 else
12324 CXXFLAGS="-g"
12325 fi
12326 else
12327 if test "$GXX" = yes; then
12328 CXXFLAGS="-O2"
12329 else
12330 CXXFLAGS=
12331 fi
12332 fi
12333 ac_ext=c
12334 ac_cpp='$CPP $CPPFLAGS'
12335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12338
12339 depcc="$CXX" am_compiler_list=
12340
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12342 $as_echo_n "checking dependency style of $depcc... " >&6; }
12343 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12347 # We make a subdir and do the tests there. Otherwise we can end up
12348 # making bogus files that we don't know about and never remove. For
12349 # instance it was reported that on HP-UX the gcc test will end up
12350 # making a dummy file named `D' -- because `-MD' means `put the output
12351 # in D'.
12352 mkdir conftest.dir
12353 # Copy depcomp to subdir because otherwise we won't find it if we're
12354 # using a relative directory.
12355 cp "$am_depcomp" conftest.dir
12356 cd conftest.dir
12357 # We will build objects and dependencies in a subdirectory because
12358 # it helps to detect inapplicable dependency modes. For instance
12359 # both Tru64's cc and ICC support -MD to output dependencies as a
12360 # side effect of compilation, but ICC will put the dependencies in
12361 # the current directory while Tru64 will put them in the object
12362 # directory.
12363 mkdir sub
12364
12365 am_cv_CXX_dependencies_compiler_type=none
12366 if test "$am_compiler_list" = ""; then
12367 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12368 fi
12369 am__universal=false
12370 case " $depcc " in #(
12371 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12372 esac
12373
12374 for depmode in $am_compiler_list; do
12375 # Setup a source with many dependencies, because some compilers
12376 # like to wrap large dependency lists on column 80 (with \), and
12377 # we should not choose a depcomp mode which is confused by this.
12378 #
12379 # We need to recreate these files for each test, as the compiler may
12380 # overwrite some of them when testing with obscure command lines.
12381 # This happens at least with the AIX C compiler.
12382 : > sub/conftest.c
12383 for i in 1 2 3 4 5 6; do
12384 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12385 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12386 # Solaris 8's {/usr,}/bin/sh.
12387 touch sub/conftst$i.h
12388 done
12389 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12390
12391 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12392 # mode. It turns out that the SunPro C++ compiler does not properly
12393 # handle `-M -o', and we need to detect this. Also, some Intel
12394 # versions had trouble with output in subdirs
12395 am__obj=sub/conftest.${OBJEXT-o}
12396 am__minus_obj="-o $am__obj"
12397 case $depmode in
12398 gcc)
12399 # This depmode causes a compiler race in universal mode.
12400 test "$am__universal" = false || continue
12401 ;;
12402 nosideeffect)
12403 # after this tag, mechanisms are not by side-effect, so they'll
12404 # only be used when explicitly requested
12405 if test "x$enable_dependency_tracking" = xyes; then
12406 continue
12407 else
12408 break
12409 fi
12410 ;;
12411 msvisualcpp | msvcmsys)
12412 # This compiler won't grok `-c -o', but also, the minuso test has
12413 # not run yet. These depmodes are late enough in the game, and
12414 # so weak that their functioning should not be impacted.
12415 am__obj=conftest.${OBJEXT-o}
12416 am__minus_obj=
12417 ;;
12418 none) break ;;
12419 esac
12420 if depmode=$depmode \
12421 source=sub/conftest.c object=$am__obj \
12422 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12423 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12424 >/dev/null 2>conftest.err &&
12425 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12426 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12427 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12428 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12429 # icc doesn't choke on unknown options, it will just issue warnings
12430 # or remarks (even with -Werror). So we grep stderr for any message
12431 # that says an option was ignored or not supported.
12432 # When given -MP, icc 7.0 and 7.1 complain thusly:
12433 # icc: Command line warning: ignoring option '-M'; no argument required
12434 # The diagnosis changed in icc 8.0:
12435 # icc: Command line remark: option '-MP' not supported
12436 if (grep 'ignoring option' conftest.err ||
12437 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12438 am_cv_CXX_dependencies_compiler_type=$depmode
12439 break
12440 fi
12441 fi
12442 done
12443
12444 cd ..
12445 rm -rf conftest.dir
12446 else
12447 am_cv_CXX_dependencies_compiler_type=none
12448 fi
12449
12450 fi
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12452 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12453 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12454
12455 if
12456 test "x$enable_dependency_tracking" != xno \
12457 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12458 am__fastdepCXX_TRUE=
12459 am__fastdepCXX_FALSE='#'
12460 else
12461 am__fastdepCXX_TRUE='#'
12462 am__fastdepCXX_FALSE=
12463 fi
12464
12465
12466 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12467 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 12884 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12468 (test "X$CXX" != "Xg++"))) ; then 12885 (test "X$CXX" != "Xg++"))) ; then
12469 ac_ext=cpp 12886 ac_ext=cpp
12470 ac_cpp='$CXXCPP $CPPFLAGS' 12887 ac_cpp='$CXXCPP $CPPFLAGS'
12471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12475 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12892 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12476 if test -z "$CXXCPP"; then 12893 if test -z "$CXXCPP"; then
12477 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 12894 if ${ac_cv_prog_CXXCPP+:} false; then :
12478 $as_echo_n "(cached) " >&6 12895 $as_echo_n "(cached) " >&6
12479 else 12896 else
12480 # Double quotes because CXXCPP needs to be expanded 12897 # Double quotes because CXXCPP needs to be expanded
12481 for CXXCPP in "$CXX -E" "/lib/cpp" 12898 for CXXCPP in "$CXX -E" "/lib/cpp"
12482 do 12899 do
12587 if $ac_preproc_ok; then : 13004 if $ac_preproc_ok; then :
12588 13005
12589 else 13006 else
12590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12592 _lt_caught_CXX_error=yes; } 13009 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13010 See \`config.log' for more details" "$LINENO" 5; }
12593 fi 13011 fi
12594 13012
12595 ac_ext=c 13013 ac_ext=c
12596 ac_cpp='$CPP $CPPFLAGS' 13014 ac_cpp='$CPP $CPPFLAGS'
12597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_compiler_gnu=$ac_cv_c_compiler_gnu 13017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12600 13018
12601 else 13019 else
12602 _lt_caught_CXX_error=yes 13020 _lt_caught_CXX_error=yes
12603 fi 13021 fi
12604
12605
12606
12607 13022
12608 ac_ext=cpp 13023 ac_ext=cpp
12609 ac_cpp='$CXXCPP $CPPFLAGS' 13024 ac_cpp='$CXXCPP $CPPFLAGS'
12610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12628 inherit_rpath_CXX=no 13043 inherit_rpath_CXX=no
12629 module_cmds_CXX= 13044 module_cmds_CXX=
12630 module_expsym_cmds_CXX= 13045 module_expsym_cmds_CXX=
12631 link_all_deplibs_CXX=unknown 13046 link_all_deplibs_CXX=unknown
12632 old_archive_cmds_CXX=$old_archive_cmds 13047 old_archive_cmds_CXX=$old_archive_cmds
13048 reload_flag_CXX=$reload_flag
13049 reload_cmds_CXX=$reload_cmds
12633 no_undefined_flag_CXX= 13050 no_undefined_flag_CXX=
12634 whole_archive_flag_spec_CXX= 13051 whole_archive_flag_spec_CXX=
12635 enable_shared_with_static_runtimes_CXX=no 13052 enable_shared_with_static_runtimes_CXX=no
12636 13053
12637 # Source file extension for C++ test sources. 13054 # Source file extension for C++ test sources.
12683 $RM -r conftest* 13100 $RM -r conftest*
12684 13101
12685 13102
12686 # Allow CC to be a program name with arguments. 13103 # Allow CC to be a program name with arguments.
12687 lt_save_CC=$CC 13104 lt_save_CC=$CC
13105 lt_save_CFLAGS=$CFLAGS
12688 lt_save_LD=$LD 13106 lt_save_LD=$LD
12689 lt_save_GCC=$GCC 13107 lt_save_GCC=$GCC
12690 GCC=$GXX 13108 GCC=$GXX
12691 lt_save_with_gnu_ld=$with_gnu_ld 13109 lt_save_with_gnu_ld=$with_gnu_ld
12692 lt_save_path_LD=$lt_cv_path_LD 13110 lt_save_path_LD=$lt_cv_path_LD
12700 else 13118 else
12701 $as_unset lt_cv_path_LD 13119 $as_unset lt_cv_path_LD
12702 fi 13120 fi
12703 test -z "${LDCXX+set}" || LD=$LDCXX 13121 test -z "${LDCXX+set}" || LD=$LDCXX
12704 CC=${CXX-"c++"} 13122 CC=${CXX-"c++"}
13123 CFLAGS=$CXXFLAGS
12705 compiler=$CC 13124 compiler=$CC
12706 compiler_CXX=$CC 13125 compiler_CXX=$CC
12707 for cc_temp in $compiler""; do 13126 for cc_temp in $compiler""; do
12708 case $cc_temp in 13127 case $cc_temp in
12709 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13128 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12710 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13129 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12711 \-*) ;; 13130 \-*) ;;
12712 *) break;; 13131 *) break;;
12713 esac 13132 esac
12714 done 13133 done
12715 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 13134 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12716 13135
12717 13136
12718 if test -n "$compiler"; then 13137 if test -n "$compiler"; then
12719 # We don't want -fno-exception when compiling C++ code, so set the 13138 # We don't want -fno-exception when compiling C++ code, so set the
12720 # no_builtin_flag separately 13139 # no_builtin_flag separately
12773 $as_echo_n "checking for GNU ld... " >&6; } 13192 $as_echo_n "checking for GNU ld... " >&6; }
12774 else 13193 else
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12776 $as_echo_n "checking for non-GNU ld... " >&6; } 13195 $as_echo_n "checking for non-GNU ld... " >&6; }
12777 fi 13196 fi
12778 if test "${lt_cv_path_LD+set}" = set; then : 13197 if ${lt_cv_path_LD+:} false; then :
12779 $as_echo_n "(cached) " >&6 13198 $as_echo_n "(cached) " >&6
12780 else 13199 else
12781 if test -z "$LD"; then 13200 if test -z "$LD"; then
12782 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13201 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12783 for ac_dir in $PATH; do 13202 for ac_dir in $PATH; do
12813 $as_echo "no" >&6; } 13232 $as_echo "no" >&6; }
12814 fi 13233 fi
12815 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13234 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12817 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13236 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12818 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 13237 if ${lt_cv_prog_gnu_ld+:} false; then :
12819 $as_echo_n "(cached) " >&6 13238 $as_echo_n "(cached) " >&6
12820 else 13239 else
12821 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13240 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12822 case `$LD -v 2>&1 </dev/null` in 13241 case `$LD -v 2>&1 </dev/null` in
12823 *GNU* | *'with BFD'*) 13242 *GNU* | *'with BFD'*)
12839 13258
12840 13259
12841 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13260 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12842 # archiving commands below assume that GNU ld is being used. 13261 # archiving commands below assume that GNU ld is being used.
12843 if test "$with_gnu_ld" = yes; then 13262 if test "$with_gnu_ld" = yes; then
12844 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13263 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12845 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13264 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12846 13265
12847 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13266 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12848 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13267 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12849 13268
12850 # If archive_cmds runs LD, not CC, wlarc should be empty 13269 # If archive_cmds runs LD, not CC, wlarc should be empty
12872 fi 13291 fi
12873 13292
12874 # Commands to make compiler produce verbose output that lists 13293 # Commands to make compiler produce verbose output that lists
12875 # what "hidden" libraries, object files and flags are used when 13294 # what "hidden" libraries, object files and flags are used when
12876 # linking a shared library. 13295 # linking a shared library.
12877 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13296 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12878 13297
12879 else 13298 else
12880 GXX=no 13299 GXX=no
12881 with_gnu_ld=no 13300 with_gnu_ld=no
12882 wlarc= 13301 wlarc=
12982 # Warning - without using the other runtime loading flags (-brtl), 13401 # Warning - without using the other runtime loading flags (-brtl),
12983 # -berok will link without error, but may produce a broken library. 13402 # -berok will link without error, but may produce a broken library.
12984 allow_undefined_flag_CXX='-berok' 13403 allow_undefined_flag_CXX='-berok'
12985 # Determine the default libpath from the value encoded in an empty 13404 # Determine the default libpath from the value encoded in an empty
12986 # executable. 13405 # executable.
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13406 if test "${lt_cv_aix_libpath+set}" = set; then
13407 aix_libpath=$lt_cv_aix_libpath
13408 else
13409 if ${lt_cv_aix_libpath__CXX+:} false; then :
13410 $as_echo_n "(cached) " >&6
13411 else
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */ 13413 /* end confdefs.h. */
12989 13414
12990 int 13415 int
12991 main () 13416 main ()
12992 { 13417 {
12995 return 0; 13420 return 0;
12996 } 13421 }
12997 _ACEOF 13422 _ACEOF
12998 if ac_fn_cxx_try_link "$LINENO"; then : 13423 if ac_fn_cxx_try_link "$LINENO"; then :
12999 13424
13000 lt_aix_libpath_sed=' 13425 lt_aix_libpath_sed='
13001 /Import File Strings/,/^$/ { 13426 /Import File Strings/,/^$/ {
13002 /^0/ { 13427 /^0/ {
13003 s/^0 *\(.*\)$/\1/ 13428 s/^0 *\([^ ]*\) *$/\1/
13004 p 13429 p
13005 } 13430 }
13006 }' 13431 }'
13007 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13432 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13008 # Check for a 64-bit object if we didn't find anything. 13433 # Check for a 64-bit object if we didn't find anything.
13009 if test -z "$aix_libpath"; then 13434 if test -z "$lt_cv_aix_libpath__CXX"; then
13010 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13435 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13011 fi 13436 fi
13012 fi 13437 fi
13013 rm -f core conftest.err conftest.$ac_objext \ 13438 rm -f core conftest.err conftest.$ac_objext \
13014 conftest$ac_exeext conftest.$ac_ext 13439 conftest$ac_exeext conftest.$ac_ext
13015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13440 if test -z "$lt_cv_aix_libpath__CXX"; then
13441 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13442 fi
13443
13444 fi
13445
13446 aix_libpath=$lt_cv_aix_libpath__CXX
13447 fi
13016 13448
13017 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13449 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13018 13450
13019 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 13451 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13020 else 13452 else
13021 if test "$host_cpu" = ia64; then 13453 if test "$host_cpu" = ia64; then
13022 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 13454 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13023 allow_undefined_flag_CXX="-z nodefs" 13455 allow_undefined_flag_CXX="-z nodefs"
13024 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 13456 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13025 else 13457 else
13026 # Determine the default libpath from the value encoded in an 13458 # Determine the default libpath from the value encoded in an
13027 # empty executable. 13459 # empty executable.
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13460 if test "${lt_cv_aix_libpath+set}" = set; then
13461 aix_libpath=$lt_cv_aix_libpath
13462 else
13463 if ${lt_cv_aix_libpath__CXX+:} false; then :
13464 $as_echo_n "(cached) " >&6
13465 else
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */ 13467 /* end confdefs.h. */
13030 13468
13031 int 13469 int
13032 main () 13470 main ()
13033 { 13471 {
13036 return 0; 13474 return 0;
13037 } 13475 }
13038 _ACEOF 13476 _ACEOF
13039 if ac_fn_cxx_try_link "$LINENO"; then : 13477 if ac_fn_cxx_try_link "$LINENO"; then :
13040 13478
13041 lt_aix_libpath_sed=' 13479 lt_aix_libpath_sed='
13042 /Import File Strings/,/^$/ { 13480 /Import File Strings/,/^$/ {
13043 /^0/ { 13481 /^0/ {
13044 s/^0 *\(.*\)$/\1/ 13482 s/^0 *\([^ ]*\) *$/\1/
13045 p 13483 p
13046 } 13484 }
13047 }' 13485 }'
13048 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13486 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13049 # Check for a 64-bit object if we didn't find anything. 13487 # Check for a 64-bit object if we didn't find anything.
13050 if test -z "$aix_libpath"; then 13488 if test -z "$lt_cv_aix_libpath__CXX"; then
13051 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13489 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13052 fi 13490 fi
13053 fi 13491 fi
13054 rm -f core conftest.err conftest.$ac_objext \ 13492 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext 13493 conftest$ac_exeext conftest.$ac_ext
13056 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13494 if test -z "$lt_cv_aix_libpath__CXX"; then
13495 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13496 fi
13497
13498 fi
13499
13500 aix_libpath=$lt_cv_aix_libpath__CXX
13501 fi
13057 13502
13058 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 13503 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13059 # Warning - without using the other run time loading flags, 13504 # Warning - without using the other run time loading flags,
13060 # -berok will link without error, but may produce a broken library. 13505 # -berok will link without error, but may produce a broken library.
13061 no_undefined_flag_CXX=' ${wl}-bernotok' 13506 no_undefined_flag_CXX=' ${wl}-bernotok'
13062 allow_undefined_flag_CXX=' ${wl}-berok' 13507 allow_undefined_flag_CXX=' ${wl}-berok'
13063 # Exported symbols can be pulled into shared objects from archives 13508 if test "$with_gnu_ld" = yes; then
13064 whole_archive_flag_spec_CXX='$convenience' 13509 # We only use this code for GNU lds that support --whole-archive.
13510 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13511 else
13512 # Exported symbols can be pulled into shared objects from archives
13513 whole_archive_flag_spec_CXX='$convenience'
13514 fi
13065 archive_cmds_need_lc_CXX=yes 13515 archive_cmds_need_lc_CXX=yes
13066 # This is similar to how AIX traditionally builds its shared 13516 # This is similar to how AIX traditionally builds its shared
13067 # libraries. 13517 # libraries.
13068 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 13518 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13069 fi 13519 fi
13089 ;; 13539 ;;
13090 esac 13540 esac
13091 ;; 13541 ;;
13092 13542
13093 cygwin* | mingw* | pw32* | cegcc*) 13543 cygwin* | mingw* | pw32* | cegcc*)
13094 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13544 case $GXX,$cc_basename in
13095 # as there is no search path for DLLs. 13545 ,cl* | no,cl*)
13096 hardcode_libdir_flag_spec_CXX='-L$libdir' 13546 # Native MSVC
13097 allow_undefined_flag_CXX=unsupported 13547 # hardcode_libdir_flag_spec is actually meaningless, as there is
13098 always_export_symbols_CXX=no 13548 # no search path for DLLs.
13099 enable_shared_with_static_runtimes_CXX=yes 13549 hardcode_libdir_flag_spec_CXX=' '
13100 13550 allow_undefined_flag_CXX=unsupported
13101 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13551 always_export_symbols_CXX=yes
13102 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13552 file_list_spec_CXX='@'
13103 # If the export-symbols file already is a .def file (1st line 13553 # Tell ltmain to make .lib files, not .a files.
13104 # is EXPORTS), use it as is; otherwise, prepend... 13554 libext=lib
13105 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13555 # Tell ltmain to make .dll files, not .so files.
13106 cp $export_symbols $output_objdir/$soname.def; 13556 shrext_cmds=".dll"
13107 else 13557 # FIXME: Setting linknames here is a bad hack.
13108 echo EXPORTS > $output_objdir/$soname.def; 13558 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13109 cat $export_symbols >> $output_objdir/$soname.def; 13559 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13110 fi~ 13560 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13111 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13561 else
13112 else 13562 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13113 ld_shlibs_CXX=no 13563 fi~
13114 fi 13564 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13115 ;; 13565 linknames='
13566 # The linker will not automatically build a static lib if we build a DLL.
13567 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13568 enable_shared_with_static_runtimes_CXX=yes
13569 # Don't use ranlib
13570 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13571 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13572 lt_tool_outputfile="@TOOL_OUTPUT@"~
13573 case $lt_outputfile in
13574 *.exe|*.EXE) ;;
13575 *)
13576 lt_outputfile="$lt_outputfile.exe"
13577 lt_tool_outputfile="$lt_tool_outputfile.exe"
13578 ;;
13579 esac~
13580 func_to_tool_file "$lt_outputfile"~
13581 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13582 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13583 $RM "$lt_outputfile.manifest";
13584 fi'
13585 ;;
13586 *)
13587 # g++
13588 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13589 # as there is no search path for DLLs.
13590 hardcode_libdir_flag_spec_CXX='-L$libdir'
13591 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13592 allow_undefined_flag_CXX=unsupported
13593 always_export_symbols_CXX=no
13594 enable_shared_with_static_runtimes_CXX=yes
13595
13596 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13597 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13598 # If the export-symbols file already is a .def file (1st line
13599 # is EXPORTS), use it as is; otherwise, prepend...
13600 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13601 cp $export_symbols $output_objdir/$soname.def;
13602 else
13603 echo EXPORTS > $output_objdir/$soname.def;
13604 cat $export_symbols >> $output_objdir/$soname.def;
13605 fi~
13606 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13607 else
13608 ld_shlibs_CXX=no
13609 fi
13610 ;;
13611 esac
13612 ;;
13116 darwin* | rhapsody*) 13613 darwin* | rhapsody*)
13117 13614
13118 13615
13119 archive_cmds_need_lc_CXX=no 13616 archive_cmds_need_lc_CXX=no
13120 hardcode_direct_CXX=no 13617 hardcode_direct_CXX=no
13121 hardcode_automatic_CXX=yes 13618 hardcode_automatic_CXX=yes
13122 hardcode_shlibpath_var_CXX=unsupported 13619 hardcode_shlibpath_var_CXX=unsupported
13123 whole_archive_flag_spec_CXX='' 13620 if test "$lt_cv_ld_force_load" = "yes"; then
13621 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13622 else
13623 whole_archive_flag_spec_CXX=''
13624 fi
13124 link_all_deplibs_CXX=yes 13625 link_all_deplibs_CXX=yes
13125 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 13626 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13126 case $cc_basename in 13627 case $cc_basename in
13127 ifort*) _lt_dar_can_shared=yes ;; 13628 ifort*) _lt_dar_can_shared=yes ;;
13128 *) _lt_dar_can_shared=$GCC ;; 13629 *) _lt_dar_can_shared=$GCC ;;
13129 esac 13630 esac
13130 if test "$_lt_dar_can_shared" = "yes"; then 13631 if test "$_lt_dar_can_shared" = "yes"; then
13131 output_verbose_link_cmd=echo 13632 output_verbose_link_cmd=func_echo_all
13132 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}" 13633 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}"
13133 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 13634 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13134 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}" 13635 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}"
13135 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}" 13636 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}"
13136 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 13637 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13179 ;; 13680 ;;
13180 13681
13181 gnu*) 13682 gnu*)
13182 ;; 13683 ;;
13183 13684
13685 haiku*)
13686 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13687 link_all_deplibs_CXX=yes
13688 ;;
13689
13184 hpux9*) 13690 hpux9*)
13185 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 13691 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13186 hardcode_libdir_separator_CXX=: 13692 hardcode_libdir_separator_CXX=:
13187 export_dynamic_flag_spec_CXX='${wl}-E' 13693 export_dynamic_flag_spec_CXX='${wl}-E'
13188 hardcode_direct_CXX=yes 13694 hardcode_direct_CXX=yes
13203 # 13709 #
13204 # There doesn't appear to be a way to prevent this compiler from 13710 # There doesn't appear to be a way to prevent this compiler from
13205 # explicitly linking system object files so we need to strip them 13711 # explicitly linking system object files so we need to strip them
13206 # from the output so that they don't get included in the library 13712 # from the output so that they don't get included in the library
13207 # dependencies. 13713 # dependencies.
13208 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13714 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13209 ;; 13715 ;;
13210 *) 13716 *)
13211 if test "$GXX" = yes; then 13717 if test "$GXX" = yes; then
13212 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13718 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13213 else 13719 else
13214 # FIXME: insert proper C++ library support 13720 # FIXME: insert proper C++ library support
13215 ld_shlibs_CXX=no 13721 ld_shlibs_CXX=no
13216 fi 13722 fi
13217 ;; 13723 ;;
13268 # 13774 #
13269 # There doesn't appear to be a way to prevent this compiler from 13775 # There doesn't appear to be a way to prevent this compiler from
13270 # explicitly linking system object files so we need to strip them 13776 # explicitly linking system object files so we need to strip them
13271 # from the output so that they don't get included in the library 13777 # from the output so that they don't get included in the library
13272 # dependencies. 13778 # dependencies.
13273 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13779 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13274 ;; 13780 ;;
13275 *) 13781 *)
13276 if test "$GXX" = yes; then 13782 if test "$GXX" = yes; then
13277 if test $with_gnu_ld = no; then 13783 if test $with_gnu_ld = no; then
13278 case $host_cpu in 13784 case $host_cpu in
13279 hppa*64*) 13785 hppa*64*)
13280 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13786 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13281 ;; 13787 ;;
13282 ia64*) 13788 ia64*)
13283 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13789 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13284 ;; 13790 ;;
13285 *) 13791 *)
13286 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13792 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13287 ;; 13793 ;;
13288 esac 13794 esac
13289 fi 13795 fi
13290 else 13796 else
13291 # FIXME: insert proper C++ library support 13797 # FIXME: insert proper C++ library support
13311 ;; 13817 ;;
13312 irix5* | irix6*) 13818 irix5* | irix6*)
13313 case $cc_basename in 13819 case $cc_basename in
13314 CC*) 13820 CC*)
13315 # SGI C++ 13821 # SGI C++
13316 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 13822 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13317 13823
13318 # Archives containing C++ object files must be created using 13824 # Archives containing C++ object files must be created using
13319 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13825 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13320 # necessary to make sure instantiated templates are included 13826 # necessary to make sure instantiated templates are included
13321 # in the archive. 13827 # in the archive.
13322 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13828 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13323 ;; 13829 ;;
13324 *) 13830 *)
13325 if test "$GXX" = yes; then 13831 if test "$GXX" = yes; then
13326 if test "$with_gnu_ld" = no; then 13832 if test "$with_gnu_ld" = no; then
13327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 13833 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13328 else 13834 else
13329 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' 13835 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13330 fi 13836 fi
13331 fi 13837 fi
13332 link_all_deplibs_CXX=yes 13838 link_all_deplibs_CXX=yes
13333 ;; 13839 ;;
13334 esac 13840 esac
13353 # 13859 #
13354 # There doesn't appear to be a way to prevent this compiler from 13860 # There doesn't appear to be a way to prevent this compiler from
13355 # explicitly linking system object files so we need to strip them 13861 # explicitly linking system object files so we need to strip them
13356 # from the output so that they don't get included in the library 13862 # from the output so that they don't get included in the library
13357 # dependencies. 13863 # dependencies.
13358 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13864 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13359 13865
13360 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13361 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13867 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13362 13868
13363 # Archives containing C++ object files must be created using 13869 # Archives containing C++ object files must be created using
13390 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13896 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13391 ;; 13897 ;;
13392 pgCC* | pgcpp*) 13898 pgCC* | pgcpp*)
13393 # Portland Group C++ compiler 13899 # Portland Group C++ compiler
13394 case `$CC -V` in 13900 case `$CC -V` in
13395 *pgCC\ [1-5]* | *pgcpp\ [1-5]*) 13901 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13396 prelink_cmds_CXX='tpldir=Template.dir~ 13902 prelink_cmds_CXX='tpldir=Template.dir~
13397 rm -rf $tpldir~ 13903 rm -rf $tpldir~
13398 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13904 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13399 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 13905 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13400 old_archive_cmds_CXX='tpldir=Template.dir~ 13906 old_archive_cmds_CXX='tpldir=Template.dir~
13401 rm -rf $tpldir~ 13907 rm -rf $tpldir~
13402 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13908 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13403 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 13909 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13404 $RANLIB $oldlib' 13910 $RANLIB $oldlib'
13405 archive_cmds_CXX='tpldir=Template.dir~ 13911 archive_cmds_CXX='tpldir=Template.dir~
13406 rm -rf $tpldir~ 13912 rm -rf $tpldir~
13407 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13913 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13408 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13914 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13409 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13915 archive_expsym_cmds_CXX='tpldir=Template.dir~
13410 rm -rf $tpldir~ 13916 rm -rf $tpldir~
13411 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13917 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13412 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13918 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13413 ;; 13919 ;;
13414 *) # Version 6 will use weak symbols 13920 *) # Version 6 and above use weak symbols
13415 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13921 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13416 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' 13922 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'
13417 ;; 13923 ;;
13418 esac 13924 esac
13419 13925
13420 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13926 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13421 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13927 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13422 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 13928 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13423 ;; 13929 ;;
13424 cxx*) 13930 cxx*)
13425 # Compaq C++ 13931 # Compaq C++
13426 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13932 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13427 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 13933 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13436 # 13942 #
13437 # There doesn't appear to be a way to prevent this compiler from 13943 # There doesn't appear to be a way to prevent this compiler from
13438 # explicitly linking system object files so we need to strip them 13944 # explicitly linking system object files so we need to strip them
13439 # from the output so that they don't get included in the library 13945 # from the output so that they don't get included in the library
13440 # dependencies. 13946 # dependencies.
13441 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 13947 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13442 ;; 13948 ;;
13443 xl*) 13949 xl* | mpixl* | bgxl*)
13444 # IBM XL 8.0 on PPC, with GNU ld 13950 # IBM XL 8.0 on PPC, with GNU ld
13445 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13951 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13446 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13952 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13447 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13953 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 if test "x$supports_anon_versioning" = xyes; then 13954 if test "x$supports_anon_versioning" = xyes; then
13458 # Sun C++ 5.9 13964 # Sun C++ 5.9
13459 no_undefined_flag_CXX=' -zdefs' 13965 no_undefined_flag_CXX=' -zdefs'
13460 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13966 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13461 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 13967 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13462 hardcode_libdir_flag_spec_CXX='-R$libdir' 13968 hardcode_libdir_flag_spec_CXX='-R$libdir'
13463 whole_archive_flag_spec_CXX='${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' 13969 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13464 compiler_needs_object_CXX=yes 13970 compiler_needs_object_CXX=yes
13465 13971
13466 # Not sure whether something based on 13972 # Not sure whether something based on
13467 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13973 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13468 # would be better. 13974 # would be better.
13469 output_verbose_link_cmd='echo' 13975 output_verbose_link_cmd='func_echo_all'
13470 13976
13471 # Archives containing C++ object files must be created using 13977 # Archives containing C++ object files must be created using
13472 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13978 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13473 # necessary to make sure instantiated templates are included 13979 # necessary to make sure instantiated templates are included
13474 # in the archive. 13980 # in the archive.
13533 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14039 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13534 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 14040 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13535 export_dynamic_flag_spec_CXX='${wl}-E' 14041 export_dynamic_flag_spec_CXX='${wl}-E'
13536 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14042 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13537 fi 14043 fi
13538 output_verbose_link_cmd=echo 14044 output_verbose_link_cmd=func_echo_all
13539 else 14045 else
13540 ld_shlibs_CXX=no 14046 ld_shlibs_CXX=no
13541 fi 14047 fi
13542 ;; 14048 ;;
13543 14049
13568 ;; 14074 ;;
13569 cxx*) 14075 cxx*)
13570 case $host in 14076 case $host in
13571 osf3*) 14077 osf3*)
13572 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13573 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 14079 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13574 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14080 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13575 ;; 14081 ;;
13576 *) 14082 *)
13577 allow_undefined_flag_CXX=' -expect_unresolved \*' 14083 allow_undefined_flag_CXX=' -expect_unresolved \*'
13578 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 14084 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13579 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14085 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13580 echo "-hidden">> $lib.exp~ 14086 echo "-hidden">> $lib.exp~
13581 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ 14087 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13582 $RM $lib.exp' 14088 $RM $lib.exp'
13583 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14089 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13584 ;; 14090 ;;
13585 esac 14091 esac
13586 14092
13592 # 14098 #
13593 # There doesn't appear to be a way to prevent this compiler from 14099 # There doesn't appear to be a way to prevent this compiler from
13594 # explicitly linking system object files so we need to strip them 14100 # explicitly linking system object files so we need to strip them
13595 # from the output so that they don't get included in the library 14101 # from the output so that they don't get included in the library
13596 # dependencies. 14102 # dependencies.
13597 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 14103 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13598 ;; 14104 ;;
13599 *) 14105 *)
13600 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14106 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13601 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14107 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13602 case $host in 14108 case $host in
13603 osf3*) 14109 osf3*)
13604 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14110 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13605 ;; 14111 ;;
13606 *) 14112 *)
13607 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14113 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13608 ;; 14114 ;;
13609 esac 14115 esac
13610 14116
13611 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14117 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13612 hardcode_libdir_separator_CXX=: 14118 hardcode_libdir_separator_CXX=:
13613 14119
13614 # Commands to make compiler produce verbose output that lists 14120 # Commands to make compiler produce verbose output that lists
13615 # what "hidden" libraries, object files and flags are used when 14121 # what "hidden" libraries, object files and flags are used when
13616 # linking a shared library. 14122 # linking a shared library.
13617 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 14123 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13618 14124
13619 else 14125 else
13620 # FIXME: insert proper C++ library support 14126 # FIXME: insert proper C++ library support
13621 ld_shlibs_CXX=no 14127 ld_shlibs_CXX=no
13622 fi 14128 fi
13648 esac 14154 esac
13649 ;; 14155 ;;
13650 14156
13651 solaris*) 14157 solaris*)
13652 case $cc_basename in 14158 case $cc_basename in
13653 CC*) 14159 CC* | sunCC*)
13654 # Sun C++ 4.2, 5.x and Centerline C++ 14160 # Sun C++ 4.2, 5.x and Centerline C++
13655 archive_cmds_need_lc_CXX=yes 14161 archive_cmds_need_lc_CXX=yes
13656 no_undefined_flag_CXX=' -zdefs' 14162 no_undefined_flag_CXX=' -zdefs'
13657 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14163 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13658 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14164 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13669 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14175 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13670 ;; 14176 ;;
13671 esac 14177 esac
13672 link_all_deplibs_CXX=yes 14178 link_all_deplibs_CXX=yes
13673 14179
13674 output_verbose_link_cmd='echo' 14180 output_verbose_link_cmd='func_echo_all'
13675 14181
13676 # Archives containing C++ object files must be created using 14182 # Archives containing C++ object files must be created using
13677 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14183 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13678 # necessary to make sure instantiated templates are included 14184 # necessary to make sure instantiated templates are included
13679 # in the archive. 14185 # in the archive.
13689 *) 14195 *)
13690 # GNU C++ compiler with Solaris linker 14196 # GNU C++ compiler with Solaris linker
13691 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14197 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13692 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 14198 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13693 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14199 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13694 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14200 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13695 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14201 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13696 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14202 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13697 14203
13698 # Commands to make compiler produce verbose output that lists 14204 # Commands to make compiler produce verbose output that lists
13699 # what "hidden" libraries, object files and flags are used when 14205 # what "hidden" libraries, object files and flags are used when
13700 # linking a shared library. 14206 # linking a shared library.
13701 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 14207 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13702 else 14208 else
13703 # g++ 2.7 appears to require `-G' NOT `-shared' on this 14209 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13704 # platform. 14210 # platform.
13705 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14211 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14212 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13707 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14213 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13708 14214
13709 # Commands to make compiler produce verbose output that lists 14215 # Commands to make compiler produce verbose output that lists
13710 # what "hidden" libraries, object files and flags are used when 14216 # what "hidden" libraries, object files and flags are used when
13711 # linking a shared library. 14217 # linking a shared library.
13712 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 14218 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13713 fi 14219 fi
13714 14220
13715 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 14221 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13716 case $host_os in 14222 case $host_os in
13717 solaris2.[0-5] | solaris2.[0-5].*) ;; 14223 solaris2.[0-5] | solaris2.[0-5].*) ;;
13761 14267
13762 case $cc_basename in 14268 case $cc_basename in
13763 CC*) 14269 CC*)
13764 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14270 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13765 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14271 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14272 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14273 '"$old_archive_cmds_CXX"
14274 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14275 '"$reload_cmds_CXX"
13766 ;; 14276 ;;
13767 *) 14277 *)
13768 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14278 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13769 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14279 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 ;; 14280 ;;
13822 private: 14332 private:
13823 int a; 14333 int a;
13824 }; 14334 };
13825 _LT_EOF 14335 _LT_EOF
13826 14336
14337
14338 _lt_libdeps_save_CFLAGS=$CFLAGS
14339 case "$CC $CFLAGS " in #(
14340 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14341 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14342 esac
14343
13827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13828 (eval $ac_compile) 2>&5 14345 (eval $ac_compile) 2>&5
13829 ac_status=$? 14346 ac_status=$?
13830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13831 test $ac_status = 0; }; then 14348 test $ac_status = 0; }; then
13835 # Sentinel used to keep track of whether or not we are before 14352 # Sentinel used to keep track of whether or not we are before
13836 # the conftest object file. 14353 # the conftest object file.
13837 pre_test_object_deps_done=no 14354 pre_test_object_deps_done=no
13838 14355
13839 for p in `eval "$output_verbose_link_cmd"`; do 14356 for p in `eval "$output_verbose_link_cmd"`; do
13840 case $p in 14357 case ${prev}${p} in
13841 14358
13842 -L* | -R* | -l*) 14359 -L* | -R* | -l*)
13843 # Some compilers place space between "-{L,R}" and the path. 14360 # Some compilers place space between "-{L,R}" and the path.
13844 # Remove the space. 14361 # Remove the space.
13845 if test $p = "-L" || 14362 if test $p = "-L" ||
13846 test $p = "-R"; then 14363 test $p = "-R"; then
13847 prev=$p 14364 prev=$p
13848 continue 14365 continue
13849 else
13850 prev=
13851 fi 14366 fi
13852 14367
14368 # Expand the sysroot to ease extracting the directories later.
14369 if test -z "$prev"; then
14370 case $p in
14371 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14372 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14373 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14374 esac
14375 fi
14376 case $p in
14377 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14378 esac
13853 if test "$pre_test_object_deps_done" = no; then 14379 if test "$pre_test_object_deps_done" = no; then
13854 case $p in 14380 case ${prev} in
13855 -L* | -R*) 14381 -L | -R)
13856 # Internal compiler library paths should come after those 14382 # Internal compiler library paths should come after those
13857 # provided the user. The postdeps already come after the 14383 # provided the user. The postdeps already come after the
13858 # user supplied libs so there is no need to process them. 14384 # user supplied libs so there is no need to process them.
13859 if test -z "$compiler_lib_search_path_CXX"; then 14385 if test -z "$compiler_lib_search_path_CXX"; then
13860 compiler_lib_search_path_CXX="${prev}${p}" 14386 compiler_lib_search_path_CXX="${prev}${p}"
13870 postdeps_CXX="${prev}${p}" 14396 postdeps_CXX="${prev}${p}"
13871 else 14397 else
13872 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 14398 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13873 fi 14399 fi
13874 fi 14400 fi
14401 prev=
13875 ;; 14402 ;;
13876 14403
14404 *.lto.$objext) ;; # Ignore GCC LTO objects
13877 *.$objext) 14405 *.$objext)
13878 # This assumes that the test object file only shows up 14406 # This assumes that the test object file only shows up
13879 # once in the compiler output. 14407 # once in the compiler output.
13880 if test "$p" = "conftest.$objext"; then 14408 if test "$p" = "conftest.$objext"; then
13881 pre_test_object_deps_done=yes 14409 pre_test_object_deps_done=yes
13907 else 14435 else
13908 echo "libtool.m4: error: problem compiling CXX test program" 14436 echo "libtool.m4: error: problem compiling CXX test program"
13909 fi 14437 fi
13910 14438
13911 $RM -f confest.$objext 14439 $RM -f confest.$objext
14440 CFLAGS=$_lt_libdeps_save_CFLAGS
13912 14441
13913 # PORTME: override above test on systems where it is broken 14442 # PORTME: override above test on systems where it is broken
13914 case $host_os in 14443 case $host_os in
13915 interix[3-9]*) 14444 interix[3-9]*)
13916 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14445 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13942 esac 14471 esac
13943 ;; 14472 ;;
13944 14473
13945 solaris*) 14474 solaris*)
13946 case $cc_basename in 14475 case $cc_basename in
13947 CC*) 14476 CC* | sunCC*)
13948 # The more standards-conforming stlport4 library is 14477 # The more standards-conforming stlport4 library is
13949 # incompatible with the Cstd library. Avoid specifying 14478 # incompatible with the Cstd library. Avoid specifying
13950 # it if it's in CXXFLAGS. Ignore libCrun as 14479 # it if it's in CXXFLAGS. Ignore libCrun as
13951 # -library=stlport4 depends on it. 14480 # -library=stlport4 depends on it.
13952 case " $CXX $CXXFLAGS " in 14481 case " $CXX $CXXFLAGS " in
14007 14536
14008 lt_prog_compiler_wl_CXX= 14537 lt_prog_compiler_wl_CXX=
14009 lt_prog_compiler_pic_CXX= 14538 lt_prog_compiler_pic_CXX=
14010 lt_prog_compiler_static_CXX= 14539 lt_prog_compiler_static_CXX=
14011 14540
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14013 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14014 14541
14015 # C++ specific cases for pic, static, wl, etc. 14542 # C++ specific cases for pic, static, wl, etc.
14016 if test "$GXX" = yes; then 14543 if test "$GXX" = yes; then
14017 lt_prog_compiler_wl_CXX='-Wl,' 14544 lt_prog_compiler_wl_CXX='-Wl,'
14018 lt_prog_compiler_static_CXX='-static' 14545 lt_prog_compiler_static_CXX='-static'
14057 lt_prog_compiler_pic_CXX='-fno-common' 14584 lt_prog_compiler_pic_CXX='-fno-common'
14058 ;; 14585 ;;
14059 *djgpp*) 14586 *djgpp*)
14060 # DJGPP does not support shared libraries at all 14587 # DJGPP does not support shared libraries at all
14061 lt_prog_compiler_pic_CXX= 14588 lt_prog_compiler_pic_CXX=
14589 ;;
14590 haiku*)
14591 # PIC is the default for Haiku.
14592 # The "-static" flag exists, but is broken.
14593 lt_prog_compiler_static_CXX=
14062 ;; 14594 ;;
14063 interix[3-9]*) 14595 interix[3-9]*)
14064 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14596 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14065 # Instead, we relocate shared libraries at runtime. 14597 # Instead, we relocate shared libraries at runtime.
14066 ;; 14598 ;;
14106 cxch68*) 14638 cxch68*)
14107 # Green Hills C++ Compiler 14639 # Green Hills C++ Compiler
14108 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14640 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14109 ;; 14641 ;;
14110 esac 14642 esac
14643 ;;
14644 mingw* | cygwin* | os2* | pw32* | cegcc*)
14645 # This hack is so that the source file can tell whether it is being
14646 # built for inclusion in a dll (and should export symbols for example).
14647 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14111 ;; 14648 ;;
14112 dgux*) 14649 dgux*)
14113 case $cc_basename in 14650 case $cc_basename in
14114 ec++*) 14651 ec++*)
14115 lt_prog_compiler_pic_CXX='-KPIC' 14652 lt_prog_compiler_pic_CXX='-KPIC'
14196 # Make sure the PIC flag is empty. It appears that all Alpha 14733 # Make sure the PIC flag is empty. It appears that all Alpha
14197 # Linux and Compaq Tru64 Unix objects are PIC. 14734 # Linux and Compaq Tru64 Unix objects are PIC.
14198 lt_prog_compiler_pic_CXX= 14735 lt_prog_compiler_pic_CXX=
14199 lt_prog_compiler_static_CXX='-non_shared' 14736 lt_prog_compiler_static_CXX='-non_shared'
14200 ;; 14737 ;;
14201 xlc* | xlC*) 14738 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14202 # IBM XL 8.0 on PPC 14739 # IBM XL 8.0, 9.0 on PPC and BlueGene
14203 lt_prog_compiler_wl_CXX='-Wl,' 14740 lt_prog_compiler_wl_CXX='-Wl,'
14204 lt_prog_compiler_pic_CXX='-qpic' 14741 lt_prog_compiler_pic_CXX='-qpic'
14205 lt_prog_compiler_static_CXX='-qstaticlink' 14742 lt_prog_compiler_static_CXX='-qstaticlink'
14206 ;; 14743 ;;
14207 *) 14744 *)
14259 ;; 14796 ;;
14260 psos*) 14797 psos*)
14261 ;; 14798 ;;
14262 solaris*) 14799 solaris*)
14263 case $cc_basename in 14800 case $cc_basename in
14264 CC*) 14801 CC* | sunCC*)
14265 # Sun C++ 4.2, 5.x and Centerline C++ 14802 # Sun C++ 4.2, 5.x and Centerline C++
14266 lt_prog_compiler_pic_CXX='-KPIC' 14803 lt_prog_compiler_pic_CXX='-KPIC'
14267 lt_prog_compiler_static_CXX='-Bstatic' 14804 lt_prog_compiler_static_CXX='-Bstatic'
14268 lt_prog_compiler_wl_CXX='-Qoption ld ' 14805 lt_prog_compiler_wl_CXX='-Qoption ld '
14269 ;; 14806 ;;
14324 ;; 14861 ;;
14325 *) 14862 *)
14326 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 14863 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14327 ;; 14864 ;;
14328 esac 14865 esac
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 14866
14330 $as_echo "$lt_prog_compiler_pic_CXX" >&6; } 14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14331 14868 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14332 14869 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14873 fi
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14875 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14876 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14333 14877
14334 # 14878 #
14335 # Check to make sure the PIC flag actually works. 14879 # Check to make sure the PIC flag actually works.
14336 # 14880 #
14337 if test -n "$lt_prog_compiler_pic_CXX"; then 14881 if test -n "$lt_prog_compiler_pic_CXX"; then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14339 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14883 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14340 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 14884 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14341 $as_echo_n "(cached) " >&6 14885 $as_echo_n "(cached) " >&6
14342 else 14886 else
14343 lt_cv_prog_compiler_pic_works_CXX=no 14887 lt_cv_prog_compiler_pic_works_CXX=no
14344 ac_outfile=conftest.$ac_objext 14888 ac_outfile=conftest.$ac_objext
14345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14889 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14351 # The option is referenced via a variable to avoid confusing sed. 14895 # The option is referenced via a variable to avoid confusing sed.
14352 lt_compile=`echo "$ac_compile" | $SED \ 14896 lt_compile=`echo "$ac_compile" | $SED \
14353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14355 -e 's:$: $lt_compiler_flag:'` 14899 -e 's:$: $lt_compiler_flag:'`
14356 (eval echo "\"\$as_me:14356: $lt_compile\"" >&5) 14900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14357 (eval "$lt_compile" 2>conftest.err) 14901 (eval "$lt_compile" 2>conftest.err)
14358 ac_status=$? 14902 ac_status=$?
14359 cat conftest.err >&5 14903 cat conftest.err >&5
14360 echo "$as_me:14360: \$? = $ac_status" >&5 14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 if (exit $ac_status) && test -s "$ac_outfile"; then 14905 if (exit $ac_status) && test -s "$ac_outfile"; then
14362 # The compiler can only warn and ignore the option if not recognized 14906 # The compiler can only warn and ignore the option if not recognized
14363 # So say no if there are warnings other than the usual output. 14907 # So say no if there are warnings other than the usual output.
14364 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 14908 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14365 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14366 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14910 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14367 lt_cv_prog_compiler_pic_works_CXX=yes 14911 lt_cv_prog_compiler_pic_works_CXX=yes
14368 fi 14912 fi
14369 fi 14913 fi
14385 14929
14386 fi 14930 fi
14387 14931
14388 14932
14389 14933
14934
14935
14390 # 14936 #
14391 # Check to make sure the static flag actually works. 14937 # Check to make sure the static flag actually works.
14392 # 14938 #
14393 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14939 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14395 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14941 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14396 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 14942 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14397 $as_echo_n "(cached) " >&6 14943 $as_echo_n "(cached) " >&6
14398 else 14944 else
14399 lt_cv_prog_compiler_static_works_CXX=no 14945 lt_cv_prog_compiler_static_works_CXX=no
14400 save_LDFLAGS="$LDFLAGS" 14946 save_LDFLAGS="$LDFLAGS"
14401 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14947 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14404 # The linker can only warn and ignore the option if not recognized 14950 # The linker can only warn and ignore the option if not recognized
14405 # So say no if there are warnings 14951 # So say no if there are warnings
14406 if test -s conftest.err; then 14952 if test -s conftest.err; then
14407 # Append any errors to the config.log. 14953 # Append any errors to the config.log.
14408 cat conftest.err 1>&5 14954 cat conftest.err 1>&5
14409 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 14955 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14410 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14956 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14411 if diff conftest.exp conftest.er2 >/dev/null; then 14957 if diff conftest.exp conftest.er2 >/dev/null; then
14412 lt_cv_prog_compiler_static_works_CXX=yes 14958 lt_cv_prog_compiler_static_works_CXX=yes
14413 fi 14959 fi
14414 else 14960 else
14431 14977
14432 14978
14433 14979
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14435 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14981 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14436 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 14982 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14437 $as_echo_n "(cached) " >&6 14983 $as_echo_n "(cached) " >&6
14438 else 14984 else
14439 lt_cv_prog_compiler_c_o_CXX=no 14985 lt_cv_prog_compiler_c_o_CXX=no
14440 $RM -r conftest 2>/dev/null 14986 $RM -r conftest 2>/dev/null
14441 mkdir conftest 14987 mkdir conftest
14450 # with a dollar sign (not a hyphen), so the echo should work correctly. 14996 # with a dollar sign (not a hyphen), so the echo should work correctly.
14451 lt_compile=`echo "$ac_compile" | $SED \ 14997 lt_compile=`echo "$ac_compile" | $SED \
14452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14454 -e 's:$: $lt_compiler_flag:'` 15000 -e 's:$: $lt_compiler_flag:'`
14455 (eval echo "\"\$as_me:14455: $lt_compile\"" >&5) 15001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14456 (eval "$lt_compile" 2>out/conftest.err) 15002 (eval "$lt_compile" 2>out/conftest.err)
14457 ac_status=$? 15003 ac_status=$?
14458 cat out/conftest.err >&5 15004 cat out/conftest.err >&5
14459 echo "$as_me:14459: \$? = $ac_status" >&5 15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15006 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14461 then 15007 then
14462 # The compiler can only warn and ignore the option if not recognized 15008 # The compiler can only warn and ignore the option if not recognized
14463 # So say no if there are warnings 15009 # So say no if there are warnings
14464 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 15010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14465 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14466 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14467 lt_cv_prog_compiler_c_o_CXX=yes 15013 lt_cv_prog_compiler_c_o_CXX=yes
14468 fi 15014 fi
14469 fi 15015 fi
14483 15029
14484 15030
14485 15031
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14487 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14488 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 15034 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14489 $as_echo_n "(cached) " >&6 15035 $as_echo_n "(cached) " >&6
14490 else 15036 else
14491 lt_cv_prog_compiler_c_o_CXX=no 15037 lt_cv_prog_compiler_c_o_CXX=no
14492 $RM -r conftest 2>/dev/null 15038 $RM -r conftest 2>/dev/null
14493 mkdir conftest 15039 mkdir conftest
14502 # with a dollar sign (not a hyphen), so the echo should work correctly. 15048 # with a dollar sign (not a hyphen), so the echo should work correctly.
14503 lt_compile=`echo "$ac_compile" | $SED \ 15049 lt_compile=`echo "$ac_compile" | $SED \
14504 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14505 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14506 -e 's:$: $lt_compiler_flag:'` 15052 -e 's:$: $lt_compiler_flag:'`
14507 (eval echo "\"\$as_me:14507: $lt_compile\"" >&5) 15053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14508 (eval "$lt_compile" 2>out/conftest.err) 15054 (eval "$lt_compile" 2>out/conftest.err)
14509 ac_status=$? 15055 ac_status=$?
14510 cat out/conftest.err >&5 15056 cat out/conftest.err >&5
14511 echo "$as_me:14511: \$? = $ac_status" >&5 15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15058 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14513 then 15059 then
14514 # The compiler can only warn and ignore the option if not recognized 15060 # The compiler can only warn and ignore the option if not recognized
14515 # So say no if there are warnings 15061 # So say no if there are warnings
14516 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 15062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14517 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14518 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14519 lt_cv_prog_compiler_c_o_CXX=yes 15065 lt_cv_prog_compiler_c_o_CXX=yes
14520 fi 15066 fi
14521 fi 15067 fi
14562 15108
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14564 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14565 15111
14566 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15112 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15113 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14567 case $host_os in 15114 case $host_os in
14568 aix[4-9]*) 15115 aix[4-9]*)
14569 # If we're using GNU nm, then we don't want the "-C" option. 15116 # If we're using GNU nm, then we don't want the "-C" option.
14570 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15117 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15118 # Also, AIX nm treats weak defined symbols like other global defined
15119 # symbols, whereas GNU nm marks them as "W".
14571 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15120 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14572 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15121 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14573 else 15122 else
14574 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15123 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14575 fi 15124 fi
14576 ;; 15125 ;;
14577 pw32*) 15126 pw32*)
14578 export_symbols_cmds_CXX="$ltdll_cmds" 15127 export_symbols_cmds_CXX="$ltdll_cmds"
14579 ;; 15128 ;;
14580 cygwin* | mingw* | cegcc*) 15129 cygwin* | mingw* | cegcc*)
14581 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15130 case $cc_basename in
14582 ;; 15131 cl*) ;;
14583 linux* | k*bsd*-gnu) 15132 *)
15133 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15134 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15135 ;;
15136 esac
15137 ;;
15138 linux* | k*bsd*-gnu | gnu*)
14584 link_all_deplibs_CXX=no 15139 link_all_deplibs_CXX=no
14585 ;; 15140 ;;
14586 *) 15141 *)
14587 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15142 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14588 ;; 15143 ;;
14589 esac 15144 esac
14590 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14591 15145
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14593 $as_echo "$ld_shlibs_CXX" >&6; } 15147 $as_echo "$ld_shlibs_CXX" >&6; }
14594 test "$ld_shlibs_CXX" = no && can_build_shared=no 15148 test "$ld_shlibs_CXX" = no && can_build_shared=no
14595 15149
14617 # Test whether the compiler implicitly links with -lc since on some 15171 # Test whether the compiler implicitly links with -lc since on some
14618 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14619 # to ld, don't add -lc before -lgcc. 15173 # to ld, don't add -lc before -lgcc.
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14621 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15175 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14622 $RM conftest* 15176 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14623 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15177 $as_echo_n "(cached) " >&6
14624 15178 else
14625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15179 $RM conftest*
15180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15181
15182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14626 (eval $ac_compile) 2>&5 15183 (eval $ac_compile) 2>&5
14627 ac_status=$? 15184 ac_status=$?
14628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14629 test $ac_status = 0; } 2>conftest.err; then 15186 test $ac_status = 0; } 2>conftest.err; then
14630 soname=conftest 15187 soname=conftest
14631 lib=conftest 15188 lib=conftest
14632 libobjs=conftest.$ac_objext 15189 libobjs=conftest.$ac_objext
14633 deplibs= 15190 deplibs=
14634 wl=$lt_prog_compiler_wl_CXX 15191 wl=$lt_prog_compiler_wl_CXX
14635 pic_flag=$lt_prog_compiler_pic_CXX 15192 pic_flag=$lt_prog_compiler_pic_CXX
14636 compiler_flags=-v 15193 compiler_flags=-v
14637 linker_flags=-v 15194 linker_flags=-v
14638 verstring= 15195 verstring=
14639 output_objdir=. 15196 output_objdir=.
14640 libname=conftest 15197 libname=conftest
14641 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15198 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14642 allow_undefined_flag_CXX= 15199 allow_undefined_flag_CXX=
14643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14644 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15201 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14645 ac_status=$? 15202 ac_status=$?
14646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14647 test $ac_status = 0; } 15204 test $ac_status = 0; }
14648 then 15205 then
14649 archive_cmds_need_lc_CXX=no 15206 lt_cv_archive_cmds_need_lc_CXX=no
14650 else 15207 else
14651 archive_cmds_need_lc_CXX=yes 15208 lt_cv_archive_cmds_need_lc_CXX=yes
14652 fi 15209 fi
14653 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15210 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14654 else 15211 else
14655 cat conftest.err 1>&5 15212 cat conftest.err 1>&5
14656 fi 15213 fi
14657 $RM conftest* 15214 $RM conftest*
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 15215
14659 $as_echo "$archive_cmds_need_lc_CXX" >&6; } 15216 fi
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15218 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15219 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14660 ;; 15220 ;;
14661 esac 15221 esac
14662 fi 15222 fi
14663 ;; 15223 ;;
14664 esac 15224 esac
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812 ;; 15372 ;;
14813 m68k) 15373 m68k)
14814 library_names_spec='$libname.ixlibrary $libname.a' 15374 library_names_spec='$libname.ixlibrary $libname.a'
14815 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14816 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' 15376 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14817 ;; 15377 ;;
14818 esac 15378 esac
14819 ;; 15379 ;;
14820 15380
14821 beos*) 15381 beos*)
14842 version_type=windows 15402 version_type=windows
14843 shrext_cmds=".dll" 15403 shrext_cmds=".dll"
14844 need_version=no 15404 need_version=no
14845 need_lib_prefix=no 15405 need_lib_prefix=no
14846 15406
14847 case $GCC,$host_os in 15407 case $GCC,$cc_basename in
14848 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 15408 yes,*)
15409 # gcc
14849 library_names_spec='$libname.dll.a' 15410 library_names_spec='$libname.dll.a'
14850 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15411 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14851 postinstall_cmds='base_file=`basename \${file}`~ 15412 postinstall_cmds='base_file=`basename \${file}`~
14852 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15413 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14853 dldir=$destdir/`dirname \$dlpath`~ 15414 dldir=$destdir/`dirname \$dlpath`~
14864 15425
14865 case $host_os in 15426 case $host_os in
14866 cygwin*) 15427 cygwin*)
14867 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14868 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15429 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14869 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 15430
14870 ;; 15431 ;;
14871 mingw* | cegcc*) 15432 mingw* | cegcc*)
14872 # MinGW DLLs use traditional 'lib' prefix 15433 # MinGW DLLs use traditional 'lib' prefix
14873 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15434 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14874 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14875 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14876 # It is most probably a Windows format PATH printed by
14877 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14878 # path with ; separators, and with drive letters. We can handle the
14879 # drive letters (cygwin fileutils understands them), so leave them,
14880 # especially as we might pass files found there to a mingw objdump,
14881 # which wouldn't understand a cygwinified path. Ahh.
14882 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14883 else
14884 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14885 fi
14886 ;; 15435 ;;
14887 pw32*) 15436 pw32*)
14888 # pw32 DLLs use 'pw' prefix rather than 'lib' 15437 # pw32 DLLs use 'pw' prefix rather than 'lib'
14889 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15438 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14890 ;; 15439 ;;
14891 esac 15440 esac
15441 dynamic_linker='Win32 ld.exe'
14892 ;; 15442 ;;
14893 15443
15444 *,cl*)
15445 # Native MSVC
15446 libname_spec='$name'
15447 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15448 library_names_spec='${libname}.dll.lib'
15449
15450 case $build_os in
15451 mingw*)
15452 sys_lib_search_path_spec=
15453 lt_save_ifs=$IFS
15454 IFS=';'
15455 for lt_path in $LIB
15456 do
15457 IFS=$lt_save_ifs
15458 # Let DOS variable expansion print the short 8.3 style file name.
15459 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15460 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15461 done
15462 IFS=$lt_save_ifs
15463 # Convert to MSYS style.
15464 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15465 ;;
15466 cygwin*)
15467 # Convert to unix form, then to dos form, then back to unix form
15468 # but this time dos style (no spaces!) so that the unix form looks
15469 # like /cygdrive/c/PROGRA~1:/cygdr...
15470 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15471 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15472 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15473 ;;
15474 *)
15475 sys_lib_search_path_spec="$LIB"
15476 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15477 # It is most probably a Windows format PATH.
15478 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15479 else
15480 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15481 fi
15482 # FIXME: find the short name or the path components, as spaces are
15483 # common. (e.g. "Program Files" -> "PROGRA~1")
15484 ;;
15485 esac
15486
15487 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15488 postinstall_cmds='base_file=`basename \${file}`~
15489 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15490 dldir=$destdir/`dirname \$dlpath`~
15491 test -d \$dldir || mkdir -p \$dldir~
15492 $install_prog $dir/$dlname \$dldir/$dlname'
15493 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15494 dlpath=$dir/\$dldll~
15495 $RM \$dlpath'
15496 shlibpath_overrides_runpath=yes
15497 dynamic_linker='Win32 link.exe'
15498 ;;
15499
14894 *) 15500 *)
15501 # Assume MSVC wrapper
14895 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15502 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15503 dynamic_linker='Win32 ld.exe'
14896 ;; 15504 ;;
14897 esac 15505 esac
14898 dynamic_linker='Win32 ld.exe'
14899 # FIXME: first we should search . and the directory the executable is in 15506 # FIXME: first we should search . and the directory the executable is in
14900 shlibpath_var=PATH 15507 shlibpath_var=PATH
14901 ;; 15508 ;;
14902 15509
14903 darwin* | rhapsody*) 15510 darwin* | rhapsody*)
14976 need_lib_prefix=no 15583 need_lib_prefix=no
14977 need_version=no 15584 need_version=no
14978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14979 soname_spec='${libname}${release}${shared_ext}$major' 15586 soname_spec='${libname}${release}${shared_ext}$major'
14980 shlibpath_var=LD_LIBRARY_PATH 15587 shlibpath_var=LD_LIBRARY_PATH
15588 shlibpath_overrides_runpath=no
15589 hardcode_into_libs=yes
15590 ;;
15591
15592 haiku*)
15593 version_type=linux
15594 need_lib_prefix=no
15595 need_version=no
15596 dynamic_linker="$host_os runtime_loader"
15597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15598 soname_spec='${libname}${release}${shared_ext}$major'
15599 shlibpath_var=LIBRARY_PATH
15600 shlibpath_overrides_runpath=yes
15601 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14981 hardcode_into_libs=yes 15602 hardcode_into_libs=yes
14982 ;; 15603 ;;
14983 15604
14984 hpux9* | hpux10* | hpux11*) 15605 hpux9* | hpux10* | hpux11*)
14985 # Give a soname corresponding to the major version so that dld.sl refuses to 15606 # Give a soname corresponding to the major version so that dld.sl refuses to
15021 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15642 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023 soname_spec='${libname}${release}${shared_ext}$major' 15644 soname_spec='${libname}${release}${shared_ext}$major'
15024 ;; 15645 ;;
15025 esac 15646 esac
15026 # HP-UX runs *really* slowly unless shared libraries are mode 555. 15647 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15027 postinstall_cmds='chmod 555 $lib' 15648 postinstall_cmds='chmod 555 $lib'
15649 # or fails outright, so override atomically:
15650 install_override_mode=555
15028 ;; 15651 ;;
15029 15652
15030 interix[3-9]*) 15653 interix[3-9]*)
15031 version_type=linux 15654 version_type=linux
15032 need_lib_prefix=no 15655 need_lib_prefix=no
15089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15090 soname_spec='${libname}${release}${shared_ext}$major' 15713 soname_spec='${libname}${release}${shared_ext}$major'
15091 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15714 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15092 shlibpath_var=LD_LIBRARY_PATH 15715 shlibpath_var=LD_LIBRARY_PATH
15093 shlibpath_overrides_runpath=no 15716 shlibpath_overrides_runpath=no
15717
15094 # Some binutils ld are patched to set DT_RUNPATH 15718 # Some binutils ld are patched to set DT_RUNPATH
15095 save_LDFLAGS=$LDFLAGS 15719 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15096 save_libdir=$libdir 15720 $as_echo_n "(cached) " >&6
15097 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15721 else
15098 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15722 lt_cv_shlibpath_overrides_runpath=no
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15723 save_LDFLAGS=$LDFLAGS
15724 save_libdir=$libdir
15725 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15726 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */ 15728 /* end confdefs.h. */
15101 15729
15102 int 15730 int
15103 main () 15731 main ()
15104 { 15732 {
15107 return 0; 15735 return 0;
15108 } 15736 }
15109 _ACEOF 15737 _ACEOF
15110 if ac_fn_cxx_try_link "$LINENO"; then : 15738 if ac_fn_cxx_try_link "$LINENO"; then :
15111 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15739 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15112 shlibpath_overrides_runpath=yes 15740 lt_cv_shlibpath_overrides_runpath=yes
15113 fi 15741 fi
15114 fi 15742 fi
15115 rm -f core conftest.err conftest.$ac_objext \ 15743 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext 15744 conftest$ac_exeext conftest.$ac_ext
15117 LDFLAGS=$save_LDFLAGS 15745 LDFLAGS=$save_LDFLAGS
15118 libdir=$save_libdir 15746 libdir=$save_libdir
15747
15748 fi
15749
15750 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15119 15751
15120 # This implies no fast_install, which is unacceptable. 15752 # This implies no fast_install, which is unacceptable.
15121 # Some rework will be needed to allow for fast_install 15753 # Some rework will be needed to allow for fast_install
15122 # before this can be enabled. 15754 # before this can be enabled.
15123 hardcode_into_libs=yes 15755 hardcode_into_libs=yes
15124 15756
15125 # Append ld.so.conf contents to the search path 15757 # Append ld.so.conf contents to the search path
15126 if test -f /etc/ld.so.conf; then 15758 if test -f /etc/ld.so.conf; then
15127 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' ' '` 15759 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;s/"//g;/^$/d' | tr '\n' ' '`
15128 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15760 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15129 fi 15761 fi
15130 15762
15131 # We used to test for /lib/ld.so.1 and disable shared libraries on 15763 # We used to test for /lib/ld.so.1 and disable shared libraries on
15132 # powerpc, because MkLinux only supported shared libraries with the 15764 # powerpc, because MkLinux only supported shared libraries with the
15386 16018
15387 16019
15388 16020
15389 16021
15390 16022
16023
16024
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15392 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16026 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15393 hardcode_action_CXX= 16027 hardcode_action_CXX=
15394 if test -n "$hardcode_libdir_flag_spec_CXX" || 16028 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15395 test -n "$runpath_var_CXX" || 16029 test -n "$runpath_var_CXX" ||
15433 16067
15434 16068
15435 fi # test -n "$compiler" 16069 fi # test -n "$compiler"
15436 16070
15437 CC=$lt_save_CC 16071 CC=$lt_save_CC
16072 CFLAGS=$lt_save_CFLAGS
15438 LDCXX=$LD 16073 LDCXX=$LD
15439 LD=$lt_save_LD 16074 LD=$lt_save_LD
15440 GCC=$lt_save_GCC 16075 GCC=$lt_save_GCC
15441 with_gnu_ld=$lt_save_with_gnu_ld 16076 with_gnu_ld=$lt_save_with_gnu_ld
15442 lt_cv_path_LDCXX=$lt_cv_path_LD 16077 lt_cv_path_LDCXX=$lt_cv_path_LD
15808 t end 16443 t end
15809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15810 :end' >>confcache 16445 :end' >>confcache
15811 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15812 if test -w "$cache_file"; then 16447 if test -w "$cache_file"; then
15813 test "x$cache_file" != "x/dev/null" && 16448 if test "x$cache_file" != "x/dev/null"; then
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15815 $as_echo "$as_me: updating cache $cache_file" >&6;} 16450 $as_echo "$as_me: updating cache $cache_file" >&6;}
15816 cat confcache >$cache_file 16451 if test ! -f "$cache_file" || test -h "$cache_file"; then
16452 cat confcache >"$cache_file"
16453 else
16454 case $cache_file in #(
16455 */* | ?:*)
16456 mv -f confcache "$cache_file"$$ &&
16457 mv -f "$cache_file"$$ "$cache_file" ;; #(
16458 *)
16459 mv -f confcache "$cache_file" ;;
16460 esac
16461 fi
16462 fi
15817 else 16463 else
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16464 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15819 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15820 fi 16466 fi
15821 fi 16467 fi
15898 16544
15899 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16545 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15900 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 16546 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15901 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15902 fi 16548 fi
15903 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16549
15904 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 16550 : "${CONFIG_STATUS=./config.status}"
15905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15906 fi
15907
15908 : ${CONFIG_STATUS=./config.status}
15909 ac_write_fail=0 16551 ac_write_fail=0
15910 ac_clean_files_save=$ac_clean_files 16552 ac_clean_files_save=$ac_clean_files
15911 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16555 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16004 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 16646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16005 # splitting by setting IFS to empty value.) 16647 # splitting by setting IFS to empty value.)
16006 IFS=" "" $as_nl" 16648 IFS=" "" $as_nl"
16007 16649
16008 # Find who we are. Look in the path if we contain no directory separator. 16650 # Find who we are. Look in the path if we contain no directory separator.
16651 as_myself=
16009 case $0 in #(( 16652 case $0 in #((
16010 *[\\/]* ) as_myself=$0 ;; 16653 *[\\/]* ) as_myself=$0 ;;
16011 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16654 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH 16655 for as_dir in $PATH
16013 do 16656 do
16311 # Save the log message, to keep $0 and so on meaningful, and to 16954 # Save the log message, to keep $0 and so on meaningful, and to
16312 # report actual input values of CONFIG_FILES etc. instead of their 16955 # report actual input values of CONFIG_FILES etc. instead of their
16313 # values after options handling. 16956 # values after options handling.
16314 ac_log=" 16957 ac_log="
16315 This file was extended by urweb_openid $as_me 1.0, which was 16958 This file was extended by urweb_openid $as_me 1.0, which was
16316 generated by GNU Autoconf 2.67. Invocation command line was 16959 generated by GNU Autoconf 2.68. Invocation command line was
16317 16960
16318 CONFIG_FILES = $CONFIG_FILES 16961 CONFIG_FILES = $CONFIG_FILES
16319 CONFIG_HEADERS = $CONFIG_HEADERS 16962 CONFIG_HEADERS = $CONFIG_HEADERS
16320 CONFIG_LINKS = $CONFIG_LINKS 16963 CONFIG_LINKS = $CONFIG_LINKS
16321 CONFIG_COMMANDS = $CONFIG_COMMANDS 16964 CONFIG_COMMANDS = $CONFIG_COMMANDS
16368 _ACEOF 17011 _ACEOF
16369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16370 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17013 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16371 ac_cs_version="\\ 17014 ac_cs_version="\\
16372 urweb_openid config.status 1.0 17015 urweb_openid config.status 1.0
16373 configured by $0, generated by GNU Autoconf 2.67, 17016 configured by $0, generated by GNU Autoconf 2.68,
16374 with options \\"\$ac_cs_config\\" 17017 with options \\"\$ac_cs_config\\"
16375 17018
16376 Copyright (C) 2010 Free Software Foundation, Inc. 17019 Copyright (C) 2010 Free Software Foundation, Inc.
16377 This config.status script is free software; the Free Software Foundation 17020 This config.status script is free software; the Free Software Foundation
16378 gives unlimited permission to copy, distribute and modify it." 17021 gives unlimited permission to copy, distribute and modify it."
16485 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17128 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16486 17129
16487 sed_quote_subst='$sed_quote_subst' 17130 sed_quote_subst='$sed_quote_subst'
16488 double_quote_subst='$double_quote_subst' 17131 double_quote_subst='$double_quote_subst'
16489 delay_variable_subst='$delay_variable_subst' 17132 delay_variable_subst='$delay_variable_subst'
16490 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 17133 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16491 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 17134 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16492 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 17135 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16493 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 17136 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16494 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 17137 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16495 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 17138 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16496 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 17139 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16497 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 17140 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16498 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 17141 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16499 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 17142 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16500 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 17143 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16501 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 17144 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16502 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 17145 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16503 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 17146 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16504 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 17147 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16505 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 17148 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16506 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 17149 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16507 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 17150 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16508 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 17151 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16509 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 17152 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16510 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 17153 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16511 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 17154 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16512 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 17155 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16513 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 17156 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16514 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 17157 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16515 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 17158 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16516 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 17159 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16517 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17160 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16518 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 17161 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16519 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 17162 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16520 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 17163 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16521 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 17164 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16522 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 17165 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16523 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 17166 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16524 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 17167 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16525 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17168 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16526 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17169 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16527 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17170 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16528 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 17171 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16529 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 17172 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16530 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 17173 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16531 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 17174 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16532 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 17175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 17176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16534 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 17177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16535 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 17178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16536 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 17179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16537 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 17180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16538 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 17181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16539 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 17182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16540 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 17183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16541 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 17184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16542 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 17185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16543 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 17186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16544 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 17187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16545 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 17188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16546 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 17189 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16547 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 17190 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16548 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 17191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16549 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 17192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16550 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 17193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16551 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 17194 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16552 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17195 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16553 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16554 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 17197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16555 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 17198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16556 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 17199 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16557 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 17200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16558 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 17201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16559 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16560 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17203 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16561 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17204 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16562 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17205 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16563 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17206 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16564 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17207 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16565 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 17208 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16566 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 17209 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16567 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 17210 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16568 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 17211 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16569 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 17212 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16570 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 17213 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16571 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 17214 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16572 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 17215 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16573 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 17216 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16574 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 17217 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16575 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 17218 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16576 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 17219 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16577 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 17220 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16578 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 17221 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16579 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 17222 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16580 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17223 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16581 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 17224 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16582 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 17225 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16583 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17226 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16584 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 17227 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16585 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 17228 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16586 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 17229 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16587 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 17230 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16588 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 17231 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16589 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 17232 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16590 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 17233 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16591 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 17234 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16592 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 17235 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16593 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 17236 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16594 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 17237 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16595 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17238 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16596 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17239 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16597 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 17240 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16598 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 17241 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16599 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 17242 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16600 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 17243 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16601 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 17244 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16602 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 17245 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16603 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 17246 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16604 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 17247 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16605 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 17248 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16606 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 17249 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16607 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 17250 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16608 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 17251 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16609 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 17252 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16610 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 17253 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16611 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 17254 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16612 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 17255 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16613 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 17256 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16614 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17257 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16615 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17258 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16616 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17259 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16617 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17260 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16618 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17261 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16619 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17262 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16620 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17263 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16621 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17264 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16622 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17265 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16623 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17266 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16624 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17267 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16625 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17268 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16626 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17269 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16627 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17270 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16628 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17271 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16629 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17272 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16630 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17273 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16631 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17274 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16632 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17275 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16633 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17276 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16634 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17277 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16635 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17278 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16636 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17279 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16637 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17280 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16638 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17281 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16639 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17282 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16640 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17283 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16641 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17284 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16642 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17285 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16643 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17286 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16644 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17287 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16645 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17288 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16646 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17289 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16647 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17290 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16648 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17291 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16649 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17292 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16650 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17293 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16651 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17294 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16652 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17295 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16653 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17296 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16654 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17297 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16655 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17298 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16656 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17299 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16657 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17300 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16658 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17301 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16659 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17302 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16660 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 17303 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17304 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17305 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17306 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17307 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17308 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17309 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17310 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17311 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17312 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17313 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17314 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17315 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17316 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17317 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16661 17318
16662 LTCC='$LTCC' 17319 LTCC='$LTCC'
16663 LTCFLAGS='$LTCFLAGS' 17320 LTCFLAGS='$LTCFLAGS'
16664 compiler='$compiler_DEFAULT' 17321 compiler='$compiler_DEFAULT'
16665 17322
17323 # A function that is used when there is no print builtin or printf.
17324 func_fallback_echo ()
17325 {
17326 eval 'cat <<_LTECHO_EOF
17327 \$1
17328 _LTECHO_EOF'
17329 }
17330
16666 # Quote evaled strings. 17331 # Quote evaled strings.
16667 for var in SED \ 17332 for var in SHELL \
17333 ECHO \
17334 SED \
16668 GREP \ 17335 GREP \
16669 EGREP \ 17336 EGREP \
16670 FGREP \ 17337 FGREP \
16671 LD \ 17338 LD \
16672 NM \ 17339 NM \
16675 lt_NL2SP \ 17342 lt_NL2SP \
16676 reload_flag \ 17343 reload_flag \
16677 OBJDUMP \ 17344 OBJDUMP \
16678 deplibs_check_method \ 17345 deplibs_check_method \
16679 file_magic_cmd \ 17346 file_magic_cmd \
17347 file_magic_glob \
17348 want_nocaseglob \
17349 DLLTOOL \
17350 sharedlib_from_linklib_cmd \
16680 AR \ 17351 AR \
16681 AR_FLAGS \ 17352 AR_FLAGS \
17353 archiver_list_spec \
16682 STRIP \ 17354 STRIP \
16683 RANLIB \ 17355 RANLIB \
16684 CC \ 17356 CC \
16685 CFLAGS \ 17357 CFLAGS \
16686 compiler \ 17358 compiler \
16687 lt_cv_sys_global_symbol_pipe \ 17359 lt_cv_sys_global_symbol_pipe \
16688 lt_cv_sys_global_symbol_to_cdecl \ 17360 lt_cv_sys_global_symbol_to_cdecl \
16689 lt_cv_sys_global_symbol_to_c_name_address \ 17361 lt_cv_sys_global_symbol_to_c_name_address \
16690 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17362 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16691 SHELL \ 17363 nm_file_list_spec \
16692 ECHO \
16693 lt_prog_compiler_no_builtin_flag \ 17364 lt_prog_compiler_no_builtin_flag \
17365 lt_prog_compiler_pic \
16694 lt_prog_compiler_wl \ 17366 lt_prog_compiler_wl \
16695 lt_prog_compiler_pic \
16696 lt_prog_compiler_static \ 17367 lt_prog_compiler_static \
16697 lt_cv_prog_compiler_c_o \ 17368 lt_cv_prog_compiler_c_o \
16698 need_locks \ 17369 need_locks \
17370 MANIFEST_TOOL \
16699 DSYMUTIL \ 17371 DSYMUTIL \
16700 NMEDIT \ 17372 NMEDIT \
16701 LIPO \ 17373 LIPO \
16702 OTOOL \ 17374 OTOOL \
16703 OTOOL64 \ 17375 OTOOL64 \
16709 allow_undefined_flag \ 17381 allow_undefined_flag \
16710 no_undefined_flag \ 17382 no_undefined_flag \
16711 hardcode_libdir_flag_spec \ 17383 hardcode_libdir_flag_spec \
16712 hardcode_libdir_flag_spec_ld \ 17384 hardcode_libdir_flag_spec_ld \
16713 hardcode_libdir_separator \ 17385 hardcode_libdir_separator \
16714 fix_srcfile_path \
16715 exclude_expsyms \ 17386 exclude_expsyms \
16716 include_expsyms \ 17387 include_expsyms \
16717 file_list_spec \ 17388 file_list_spec \
16718 variables_saved_for_relink \ 17389 variables_saved_for_relink \
16719 libname_spec \ 17390 libname_spec \
16720 library_names_spec \ 17391 library_names_spec \
16721 soname_spec \ 17392 soname_spec \
17393 install_override_mode \
16722 finish_eval \ 17394 finish_eval \
16723 old_striplib \ 17395 old_striplib \
16724 striplib \ 17396 striplib \
16725 compiler_lib_search_dirs \ 17397 compiler_lib_search_dirs \
16726 predep_objects \ 17398 predep_objects \
16727 postdep_objects \ 17399 postdep_objects \
16728 predeps \ 17400 predeps \
16729 postdeps \ 17401 postdeps \
16730 compiler_lib_search_path \ 17402 compiler_lib_search_path \
16731 LD_CXX \ 17403 LD_CXX \
17404 reload_flag_CXX \
16732 compiler_CXX \ 17405 compiler_CXX \
16733 lt_prog_compiler_no_builtin_flag_CXX \ 17406 lt_prog_compiler_no_builtin_flag_CXX \
17407 lt_prog_compiler_pic_CXX \
16734 lt_prog_compiler_wl_CXX \ 17408 lt_prog_compiler_wl_CXX \
16735 lt_prog_compiler_pic_CXX \
16736 lt_prog_compiler_static_CXX \ 17409 lt_prog_compiler_static_CXX \
16737 lt_cv_prog_compiler_c_o_CXX \ 17410 lt_cv_prog_compiler_c_o_CXX \
16738 export_dynamic_flag_spec_CXX \ 17411 export_dynamic_flag_spec_CXX \
16739 whole_archive_flag_spec_CXX \ 17412 whole_archive_flag_spec_CXX \
16740 compiler_needs_object_CXX \ 17413 compiler_needs_object_CXX \
16742 allow_undefined_flag_CXX \ 17415 allow_undefined_flag_CXX \
16743 no_undefined_flag_CXX \ 17416 no_undefined_flag_CXX \
16744 hardcode_libdir_flag_spec_CXX \ 17417 hardcode_libdir_flag_spec_CXX \
16745 hardcode_libdir_flag_spec_ld_CXX \ 17418 hardcode_libdir_flag_spec_ld_CXX \
16746 hardcode_libdir_separator_CXX \ 17419 hardcode_libdir_separator_CXX \
16747 fix_srcfile_path_CXX \
16748 exclude_expsyms_CXX \ 17420 exclude_expsyms_CXX \
16749 include_expsyms_CXX \ 17421 include_expsyms_CXX \
16750 file_list_spec_CXX \ 17422 file_list_spec_CXX \
16751 compiler_lib_search_dirs_CXX \ 17423 compiler_lib_search_dirs_CXX \
16752 predep_objects_CXX \ 17424 predep_objects_CXX \
16753 postdep_objects_CXX \ 17425 postdep_objects_CXX \
16754 predeps_CXX \ 17426 predeps_CXX \
16755 postdeps_CXX \ 17427 postdeps_CXX \
16756 compiler_lib_search_path_CXX; do 17428 compiler_lib_search_path_CXX; do
16757 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 17429 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16758 *[\\\\\\\`\\"\\\$]*) 17430 *[\\\\\\\`\\"\\\$]*)
16759 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 17431 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16760 ;; 17432 ;;
16761 *) 17433 *)
16762 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17434 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16763 ;; 17435 ;;
16764 esac 17436 esac
16776 archive_expsym_cmds \ 17448 archive_expsym_cmds \
16777 module_cmds \ 17449 module_cmds \
16778 module_expsym_cmds \ 17450 module_expsym_cmds \
16779 export_symbols_cmds \ 17451 export_symbols_cmds \
16780 prelink_cmds \ 17452 prelink_cmds \
17453 postlink_cmds \
16781 postinstall_cmds \ 17454 postinstall_cmds \
16782 postuninstall_cmds \ 17455 postuninstall_cmds \
16783 finish_cmds \ 17456 finish_cmds \
16784 sys_lib_search_path_spec \ 17457 sys_lib_search_path_spec \
16785 sys_lib_dlsearch_path_spec \ 17458 sys_lib_dlsearch_path_spec \
17459 reload_cmds_CXX \
16786 old_archive_cmds_CXX \ 17460 old_archive_cmds_CXX \
16787 old_archive_from_new_cmds_CXX \ 17461 old_archive_from_new_cmds_CXX \
16788 old_archive_from_expsyms_cmds_CXX \ 17462 old_archive_from_expsyms_cmds_CXX \
16789 archive_cmds_CXX \ 17463 archive_cmds_CXX \
16790 archive_expsym_cmds_CXX \ 17464 archive_expsym_cmds_CXX \
16791 module_cmds_CXX \ 17465 module_cmds_CXX \
16792 module_expsym_cmds_CXX \ 17466 module_expsym_cmds_CXX \
16793 export_symbols_cmds_CXX \ 17467 export_symbols_cmds_CXX \
16794 prelink_cmds_CXX; do 17468 prelink_cmds_CXX \
16795 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 17469 postlink_cmds_CXX; do
17470 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16796 *[\\\\\\\`\\"\\\$]*) 17471 *[\\\\\\\`\\"\\\$]*)
16797 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 17472 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16798 ;; 17473 ;;
16799 *) 17474 *)
16800 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17475 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16801 ;; 17476 ;;
16802 esac 17477 esac
16803 done 17478 done
16804
16805 # Fix-up fallback echo if it was mangled by the above quoting rules.
16806 case \$lt_ECHO in
16807 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16808 ;;
16809 esac
16810 17479
16811 ac_aux_dir='$ac_aux_dir' 17480 ac_aux_dir='$ac_aux_dir'
16812 xsi_shell='$xsi_shell' 17481 xsi_shell='$xsi_shell'
16813 lt_shell_append='$lt_shell_append' 17482 lt_shell_append='$lt_shell_append'
16814 17483
16842 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17511 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16843 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17512 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16844 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;; 17513 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;;
16845 "src/ur/config.urp") CONFIG_FILES="$CONFIG_FILES src/ur/config.urp" ;; 17514 "src/ur/config.urp") CONFIG_FILES="$CONFIG_FILES src/ur/config.urp" ;;
16846 17515
16847 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 17516 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16848 esac 17517 esac
16849 done 17518 done
16850 17519
16851 17520
16852 # If the user did not use the arguments to specify the items to instantiate, 17521 # If the user did not use the arguments to specify the items to instantiate,
16864 # Hook for its removal unless debugging. 17533 # Hook for its removal unless debugging.
16865 # Note that there is a small window in which the directory will not be cleaned: 17534 # Note that there is a small window in which the directory will not be cleaned:
16866 # after its creation but before its name has been assigned to `$tmp'. 17535 # after its creation but before its name has been assigned to `$tmp'.
16867 $debug || 17536 $debug ||
16868 { 17537 {
16869 tmp= 17538 tmp= ac_tmp=
16870 trap 'exit_status=$? 17539 trap 'exit_status=$?
16871 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 17540 : "${ac_tmp:=$tmp}"
17541 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16872 ' 0 17542 ' 0
16873 trap 'as_fn_exit 1' 1 2 13 15 17543 trap 'as_fn_exit 1' 1 2 13 15
16874 } 17544 }
16875 # Create a (secure) tmp directory for tmp files. 17545 # Create a (secure) tmp directory for tmp files.
16876 17546
16877 { 17547 {
16878 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17548 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16879 test -n "$tmp" && test -d "$tmp" 17549 test -d "$tmp"
16880 } || 17550 } ||
16881 { 17551 {
16882 tmp=./conf$$-$RANDOM 17552 tmp=./conf$$-$RANDOM
16883 (umask 077 && mkdir "$tmp") 17553 (umask 077 && mkdir "$tmp")
16884 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17554 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17555 ac_tmp=$tmp
16885 17556
16886 # Set up the scripts for CONFIG_FILES section. 17557 # Set up the scripts for CONFIG_FILES section.
16887 # No need to generate them if there are no CONFIG_FILES. 17558 # No need to generate them if there are no CONFIG_FILES.
16888 # This happens for instance with `./config.status config.h'. 17559 # This happens for instance with `./config.status config.h'.
16889 if test -n "$CONFIG_FILES"; then 17560 if test -n "$CONFIG_FILES"; then
16901 ac_cs_awk_cr='\\r' 17572 ac_cs_awk_cr='\\r'
16902 else 17573 else
16903 ac_cs_awk_cr=$ac_cr 17574 ac_cs_awk_cr=$ac_cr
16904 fi 17575 fi
16905 17576
16906 echo 'BEGIN {' >"$tmp/subs1.awk" && 17577 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16907 _ACEOF 17578 _ACEOF
16908 17579
16909 17580
16910 { 17581 {
16911 echo "cat >conf$$subs.awk <<_ACEOF" && 17582 echo "cat >conf$$subs.awk <<_ACEOF" &&
16929 fi 17600 fi
16930 done 17601 done
16931 rm -f conf$$subs.sh 17602 rm -f conf$$subs.sh
16932 17603
16933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16934 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 17605 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16935 _ACEOF 17606 _ACEOF
16936 sed -n ' 17607 sed -n '
16937 h 17608 h
16938 s/^/S["/; s/!.*/"]=/ 17609 s/^/S["/; s/!.*/"]=/
16939 p 17610 p
16977 } 17648 }
16978 ' >>$CONFIG_STATUS || ac_write_fail=1 17649 ' >>$CONFIG_STATUS || ac_write_fail=1
16979 rm -f conf$$subs.awk 17650 rm -f conf$$subs.awk
16980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16981 _ACAWK 17652 _ACAWK
16982 cat >>"\$tmp/subs1.awk" <<_ACAWK && 17653 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16983 for (key in S) S_is_set[key] = 1 17654 for (key in S) S_is_set[key] = 1
16984 FS = "" 17655 FS = ""
16985 17656
16986 } 17657 }
16987 { 17658 {
17009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17010 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17681 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17011 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17682 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17012 else 17683 else
17013 cat 17684 cat
17014 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17685 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17015 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17686 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17016 _ACEOF 17687 _ACEOF
17017 17688
17018 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17689 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17019 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17690 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17049 case $ac_tag in 17720 case $ac_tag in
17050 :[FHLC]) ac_mode=$ac_tag; continue;; 17721 :[FHLC]) ac_mode=$ac_tag; continue;;
17051 esac 17722 esac
17052 case $ac_mode$ac_tag in 17723 case $ac_mode$ac_tag in
17053 :[FHL]*:*);; 17724 :[FHL]*:*);;
17054 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 17725 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17055 :[FH]-) ac_tag=-:-;; 17726 :[FH]-) ac_tag=-:-;;
17056 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17727 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17057 esac 17728 esac
17058 ac_save_IFS=$IFS 17729 ac_save_IFS=$IFS
17059 IFS=: 17730 IFS=:
17068 :[FH]) 17739 :[FH])
17069 ac_file_inputs= 17740 ac_file_inputs=
17070 for ac_f 17741 for ac_f
17071 do 17742 do
17072 case $ac_f in 17743 case $ac_f in
17073 -) ac_f="$tmp/stdin";; 17744 -) ac_f="$ac_tmp/stdin";;
17074 *) # Look for the file first in the build tree, then in the source tree 17745 *) # Look for the file first in the build tree, then in the source tree
17075 # (if the path is not absolute). The absolute path cannot be DOS-style, 17746 # (if the path is not absolute). The absolute path cannot be DOS-style,
17076 # because $ac_f cannot contain `:'. 17747 # because $ac_f cannot contain `:'.
17077 test -f "$ac_f" || 17748 test -f "$ac_f" ||
17078 case $ac_f in 17749 case $ac_f in
17079 [\\/$]*) false;; 17750 [\\/$]*) false;;
17080 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17751 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17081 esac || 17752 esac ||
17082 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 17753 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17083 esac 17754 esac
17084 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17755 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17085 as_fn_append ac_file_inputs " '$ac_f'" 17756 as_fn_append ac_file_inputs " '$ac_f'"
17086 done 17757 done
17087 17758
17103 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17774 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17104 *) ac_sed_conf_input=$configure_input;; 17775 *) ac_sed_conf_input=$configure_input;;
17105 esac 17776 esac
17106 17777
17107 case $ac_tag in 17778 case $ac_tag in
17108 *:-:* | *:-) cat >"$tmp/stdin" \ 17779 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17110 esac 17781 esac
17111 ;; 17782 ;;
17112 esac 17783 esac
17113 17784
17114 ac_dir=`$as_dirname -- "$ac_file" || 17785 ac_dir=`$as_dirname -- "$ac_file" ||
17240 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17911 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17241 s&@INSTALL@&$ac_INSTALL&;t t 17912 s&@INSTALL@&$ac_INSTALL&;t t
17242 s&@MKDIR_P@&$ac_MKDIR_P&;t t 17913 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17243 $ac_datarootdir_hack 17914 $ac_datarootdir_hack
17244 " 17915 "
17245 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 17916 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17917 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17247 17918
17248 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17919 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17249 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17920 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17250 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17921 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17922 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17252 which seems to be undefined. Please make sure it is defined" >&5 17924 which seems to be undefined. Please make sure it is defined" >&5
17253 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17925 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17254 which seems to be undefined. Please make sure it is defined" >&2;} 17926 which seems to be undefined. Please make sure it is defined" >&2;}
17255 17927
17256 rm -f "$tmp/stdin" 17928 rm -f "$ac_tmp/stdin"
17257 case $ac_file in 17929 case $ac_file in
17258 -) cat "$tmp/out" && rm -f "$tmp/out";; 17930 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17259 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 17931 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17260 esac \ 17932 esac \
17261 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17262 ;; 17934 ;;
17263 17935
17264 17936
17383 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 18055 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17384 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18056 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17385 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 18057 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17386 # 18058 #
17387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18059 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17388 # 2006, 2007, 2008 Free Software Foundation, Inc. 18060 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18061 # Inc.
17389 # Written by Gordon Matzigkeit, 1996 18062 # Written by Gordon Matzigkeit, 1996
17390 # 18063 #
17391 # This file is part of GNU Libtool. 18064 # This file is part of GNU Libtool.
17392 # 18065 #
17393 # GNU Libtool is free software; you can redistribute it and/or 18066 # GNU Libtool is free software; you can redistribute it and/or
17431 pic_mode=$pic_mode 18104 pic_mode=$pic_mode
17432 18105
17433 # Whether or not to optimize for fast installation. 18106 # Whether or not to optimize for fast installation.
17434 fast_install=$enable_fast_install 18107 fast_install=$enable_fast_install
17435 18108
18109 # Shell to use when invoking shell scripts.
18110 SHELL=$lt_SHELL
18111
18112 # An echo program that protects backslashes.
18113 ECHO=$lt_ECHO
18114
17436 # The host system. 18115 # The host system.
17437 host_alias=$host_alias 18116 host_alias=$host_alias
17438 host=$host 18117 host=$host
17439 host_os=$host_os 18118 host_os=$host_os
17440 18119
17480 SP2NL=$lt_lt_SP2NL 18159 SP2NL=$lt_lt_SP2NL
17481 18160
17482 # turn newlines into spaces. 18161 # turn newlines into spaces.
17483 NL2SP=$lt_lt_NL2SP 18162 NL2SP=$lt_lt_NL2SP
17484 18163
17485 # How to create reloadable object files. 18164 # convert \$build file names to \$host format.
17486 reload_flag=$lt_reload_flag 18165 to_host_file_cmd=$lt_cv_to_host_file_cmd
17487 reload_cmds=$lt_reload_cmds 18166
18167 # convert \$build files to toolchain format.
18168 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17488 18169
17489 # An object symbol dumper. 18170 # An object symbol dumper.
17490 OBJDUMP=$lt_OBJDUMP 18171 OBJDUMP=$lt_OBJDUMP
17491 18172
17492 # Method to check whether dependent libraries are shared objects. 18173 # Method to check whether dependent libraries are shared objects.
17493 deplibs_check_method=$lt_deplibs_check_method 18174 deplibs_check_method=$lt_deplibs_check_method
17494 18175
17495 # Command to use when deplibs_check_method == "file_magic". 18176 # Command to use when deplibs_check_method = "file_magic".
17496 file_magic_cmd=$lt_file_magic_cmd 18177 file_magic_cmd=$lt_file_magic_cmd
18178
18179 # How to find potential files when deplibs_check_method = "file_magic".
18180 file_magic_glob=$lt_file_magic_glob
18181
18182 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18183 want_nocaseglob=$lt_want_nocaseglob
18184
18185 # DLL creation program.
18186 DLLTOOL=$lt_DLLTOOL
18187
18188 # Command to associate shared and link libraries.
18189 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17497 18190
17498 # The archiver. 18191 # The archiver.
17499 AR=$lt_AR 18192 AR=$lt_AR
18193
18194 # Flags to create an archive.
17500 AR_FLAGS=$lt_AR_FLAGS 18195 AR_FLAGS=$lt_AR_FLAGS
18196
18197 # How to feed a file listing to the archiver.
18198 archiver_list_spec=$lt_archiver_list_spec
17501 18199
17502 # A symbol stripping program. 18200 # A symbol stripping program.
17503 STRIP=$lt_STRIP 18201 STRIP=$lt_STRIP
17504 18202
17505 # Commands used to install an old-style archive. 18203 # Commands used to install an old-style archive.
17506 RANLIB=$lt_RANLIB 18204 RANLIB=$lt_RANLIB
17507 old_postinstall_cmds=$lt_old_postinstall_cmds 18205 old_postinstall_cmds=$lt_old_postinstall_cmds
17508 old_postuninstall_cmds=$lt_old_postuninstall_cmds 18206 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17509 18207
18208 # Whether to use a lock for old archive extraction.
18209 lock_old_archive_extraction=$lock_old_archive_extraction
18210
17510 # A C compiler. 18211 # A C compiler.
17511 LTCC=$lt_CC 18212 LTCC=$lt_CC
17512 18213
17513 # LTCC compiler flags. 18214 # LTCC compiler flags.
17514 LTCFLAGS=$lt_CFLAGS 18215 LTCFLAGS=$lt_CFLAGS
17523 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18224 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17524 18225
17525 # Transform the output of nm in a C name address pair when lib prefix is needed. 18226 # Transform the output of nm in a C name address pair when lib prefix is needed.
17526 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17527 18228
18229 # Specify filename containing input files for \$NM.
18230 nm_file_list_spec=$lt_nm_file_list_spec
18231
18232 # The root where to search for dependent libraries,and in which our libraries should be installed.
18233 lt_sysroot=$lt_sysroot
18234
17528 # The name of the directory that contains temporary libtool files. 18235 # The name of the directory that contains temporary libtool files.
17529 objdir=$objdir 18236 objdir=$objdir
17530 18237
17531 # Shell to use when invoking shell scripts.
17532 SHELL=$lt_SHELL
17533
17534 # An echo program that does not interpret backslashes.
17535 ECHO=$lt_ECHO
17536
17537 # Used to examine libraries when file_magic_cmd begins with "file". 18238 # Used to examine libraries when file_magic_cmd begins with "file".
17538 MAGIC_CMD=$MAGIC_CMD 18239 MAGIC_CMD=$MAGIC_CMD
17539 18240
17540 # Must we lock files when doing compilation? 18241 # Must we lock files when doing compilation?
17541 need_locks=$lt_need_locks 18242 need_locks=$lt_need_locks
18243
18244 # Manifest tool.
18245 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17542 18246
17543 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18247 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17544 DSYMUTIL=$lt_DSYMUTIL 18248 DSYMUTIL=$lt_DSYMUTIL
17545 18249
17546 # Tool to change global to local symbols on Mac OS X. 18250 # Tool to change global to local symbols on Mac OS X.
17594 library_names_spec=$lt_library_names_spec 18298 library_names_spec=$lt_library_names_spec
17595 18299
17596 # The coded name of the library, if different from the real name. 18300 # The coded name of the library, if different from the real name.
17597 soname_spec=$lt_soname_spec 18301 soname_spec=$lt_soname_spec
17598 18302
18303 # Permission mode override for installation of shared libraries.
18304 install_override_mode=$lt_install_override_mode
18305
17599 # Command to use after installation of a shared archive. 18306 # Command to use after installation of a shared archive.
17600 postinstall_cmds=$lt_postinstall_cmds 18307 postinstall_cmds=$lt_postinstall_cmds
17601 18308
17602 # Command to use after uninstallation of a shared archive. 18309 # Command to use after uninstallation of a shared archive.
17603 postuninstall_cmds=$lt_postuninstall_cmds 18310 postuninstall_cmds=$lt_postuninstall_cmds
17633 18340
17634 18341
17635 # The linker used to build libraries. 18342 # The linker used to build libraries.
17636 LD=$lt_LD 18343 LD=$lt_LD
17637 18344
18345 # How to create reloadable object files.
18346 reload_flag=$lt_reload_flag
18347 reload_cmds=$lt_reload_cmds
18348
17638 # Commands used to build an old-style archive. 18349 # Commands used to build an old-style archive.
17639 old_archive_cmds=$lt_old_archive_cmds 18350 old_archive_cmds=$lt_old_archive_cmds
17640 18351
17641 # A language specific compiler. 18352 # A language specific compiler.
17642 CC=$lt_compiler 18353 CC=$lt_compiler
17645 with_gcc=$GCC 18356 with_gcc=$GCC
17646 18357
17647 # Compiler flag to turn off builtin functions. 18358 # Compiler flag to turn off builtin functions.
17648 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18359 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17649 18360
18361 # Additional compiler flags for building library objects.
18362 pic_flag=$lt_lt_prog_compiler_pic
18363
17650 # How to pass a linker flag through the compiler. 18364 # How to pass a linker flag through the compiler.
17651 wl=$lt_lt_prog_compiler_wl 18365 wl=$lt_lt_prog_compiler_wl
17652
17653 # Additional compiler flags for building library objects.
17654 pic_flag=$lt_lt_prog_compiler_pic
17655 18366
17656 # Compiler flag to prevent dynamic linking. 18367 # Compiler flag to prevent dynamic linking.
17657 link_static_flag=$lt_lt_prog_compiler_static 18368 link_static_flag=$lt_lt_prog_compiler_static
17658 18369
17659 # Does compiler simultaneously support -c and -o options? 18370 # Does compiler simultaneously support -c and -o options?
17737 inherit_rpath=$inherit_rpath 18448 inherit_rpath=$inherit_rpath
17738 18449
17739 # Whether libtool must link a program against all its dependency libraries. 18450 # Whether libtool must link a program against all its dependency libraries.
17740 link_all_deplibs=$link_all_deplibs 18451 link_all_deplibs=$link_all_deplibs
17741 18452
17742 # Fix the shell variable \$srcfile for the compiler.
17743 fix_srcfile_path=$lt_fix_srcfile_path
17744
17745 # Set to "yes" if exported symbols are required. 18453 # Set to "yes" if exported symbols are required.
17746 always_export_symbols=$always_export_symbols 18454 always_export_symbols=$always_export_symbols
17747 18455
17748 # The commands to list exported symbols. 18456 # The commands to list exported symbols.
17749 export_symbols_cmds=$lt_export_symbols_cmds 18457 export_symbols_cmds=$lt_export_symbols_cmds
17754 # Symbols that must always be exported. 18462 # Symbols that must always be exported.
17755 include_expsyms=$lt_include_expsyms 18463 include_expsyms=$lt_include_expsyms
17756 18464
17757 # Commands necessary for linking programs (against libraries) with templates. 18465 # Commands necessary for linking programs (against libraries) with templates.
17758 prelink_cmds=$lt_prelink_cmds 18466 prelink_cmds=$lt_prelink_cmds
18467
18468 # Commands necessary for finishing linking programs.
18469 postlink_cmds=$lt_postlink_cmds
17759 18470
17760 # Specify filename containing input files. 18471 # Specify filename containing input files.
17761 file_list_spec=$lt_file_list_spec 18472 file_list_spec=$lt_file_list_spec
17762 18473
17763 # How to hardcode a shared library path into an executable. 18474 # How to hardcode a shared library path into an executable.
17801 18512
17802 # We use sed instead of cat because bash on DJGPP gets confused if 18513 # We use sed instead of cat because bash on DJGPP gets confused if
17803 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18514 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17804 # text mode, it properly converts lines to CR/LF. This bash problem 18515 # text mode, it properly converts lines to CR/LF. This bash problem
17805 # is reportedly fixed, but why not run on old versions too? 18516 # is reportedly fixed, but why not run on old versions too?
17806 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 18517 sed '$q' "$ltmain" >> "$cfgfile" \
17807 || (rm -f "$cfgfile"; exit 1) 18518 || (rm -f "$cfgfile"; exit 1)
17808 18519
17809 case $xsi_shell in 18520 if test x"$xsi_shell" = xyes; then
17810 yes) 18521 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17811 cat << \_LT_EOF >> "$cfgfile" 18522 func_dirname ()\
17812 18523 {\
17813 # func_dirname file append nondir_replacement 18524 \ case ${1} in\
17814 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 18525 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17815 # otherwise set result to NONDIR_REPLACEMENT. 18526 \ * ) func_dirname_result="${3}" ;;\
17816 func_dirname () 18527 \ esac\
17817 { 18528 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17818 case ${1} in 18529 && mv -f "$cfgfile.tmp" "$cfgfile" \
17819 */*) func_dirname_result="${1%/*}${2}" ;; 18530 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17820 * ) func_dirname_result="${3}" ;; 18531 test 0 -eq $? || _lt_function_replace_fail=:
17821 esac 18532
17822 } 18533
17823 18534 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17824 # func_basename file 18535 func_basename ()\
17825 func_basename () 18536 {\
17826 { 18537 \ func_basename_result="${1##*/}"\
17827 func_basename_result="${1##*/}" 18538 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17828 } 18539 && mv -f "$cfgfile.tmp" "$cfgfile" \
17829 18540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17830 # func_dirname_and_basename file append nondir_replacement 18541 test 0 -eq $? || _lt_function_replace_fail=:
17831 # perform func_basename and func_dirname in a single function 18542
17832 # call: 18543
17833 # dirname: Compute the dirname of FILE. If nonempty, 18544 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17834 # add APPEND to the result, otherwise set result 18545 func_dirname_and_basename ()\
17835 # to NONDIR_REPLACEMENT. 18546 {\
17836 # value returned in "$func_dirname_result" 18547 \ case ${1} in\
17837 # basename: Compute filename of FILE. 18548 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17838 # value retuned in "$func_basename_result" 18549 \ * ) func_dirname_result="${3}" ;;\
17839 # Implementation must be kept synchronized with func_dirname 18550 \ esac\
17840 # and func_basename. For efficiency, we do not delegate to 18551 \ func_basename_result="${1##*/}"\
17841 # those functions but instead duplicate the functionality here. 18552 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17842 func_dirname_and_basename () 18553 && mv -f "$cfgfile.tmp" "$cfgfile" \
17843 { 18554 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17844 case ${1} in 18555 test 0 -eq $? || _lt_function_replace_fail=:
17845 */*) func_dirname_result="${1%/*}${2}" ;; 18556
17846 * ) func_dirname_result="${3}" ;; 18557
17847 esac 18558 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17848 func_basename_result="${1##*/}" 18559 func_stripname ()\
17849 } 18560 {\
17850 18561 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17851 # func_stripname prefix suffix name 18562 \ # positional parameters, so assign one to ordinary parameter first.\
17852 # strip PREFIX and SUFFIX off of NAME. 18563 \ func_stripname_result=${3}\
17853 # PREFIX and SUFFIX must not contain globbing or regex special 18564 \ func_stripname_result=${func_stripname_result#"${1}"}\
17854 # characters, hashes, percent signs, but SUFFIX may contain a leading 18565 \ func_stripname_result=${func_stripname_result%"${2}"}\
17855 # dot (in which case that matches only a dot). 18566 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17856 func_stripname () 18567 && mv -f "$cfgfile.tmp" "$cfgfile" \
17857 { 18568 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17858 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 18569 test 0 -eq $? || _lt_function_replace_fail=:
17859 # positional parameters, so assign one to ordinary parameter first. 18570
17860 func_stripname_result=${3} 18571
17861 func_stripname_result=${func_stripname_result#"${1}"} 18572 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17862 func_stripname_result=${func_stripname_result%"${2}"} 18573 func_split_long_opt ()\
17863 } 18574 {\
17864 18575 \ func_split_long_opt_name=${1%%=*}\
17865 # func_opt_split 18576 \ func_split_long_opt_arg=${1#*=}\
17866 func_opt_split () 18577 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17867 { 18578 && mv -f "$cfgfile.tmp" "$cfgfile" \
17868 func_opt_split_opt=${1%%=*} 18579 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17869 func_opt_split_arg=${1#*=} 18580 test 0 -eq $? || _lt_function_replace_fail=:
17870 } 18581
17871 18582
17872 # func_lo2o object 18583 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17873 func_lo2o () 18584 func_split_short_opt ()\
17874 { 18585 {\
17875 case ${1} in 18586 \ func_split_short_opt_arg=${1#??}\
17876 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 18587 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17877 *) func_lo2o_result=${1} ;; 18588 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17878 esac 18589 && mv -f "$cfgfile.tmp" "$cfgfile" \
17879 } 18590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17880 18591 test 0 -eq $? || _lt_function_replace_fail=:
17881 # func_xform libobj-or-source 18592
17882 func_xform () 18593
17883 { 18594 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17884 func_xform_result=${1%.*}.lo 18595 func_lo2o ()\
17885 } 18596 {\
17886 18597 \ case ${1} in\
17887 # func_arith arithmetic-term... 18598 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17888 func_arith () 18599 \ *) func_lo2o_result=${1} ;;\
17889 { 18600 \ esac\
17890 func_arith_result=$(( $* )) 18601 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17891 } 18602 && mv -f "$cfgfile.tmp" "$cfgfile" \
17892 18603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17893 # func_len string 18604 test 0 -eq $? || _lt_function_replace_fail=:
17894 # STRING may not start with a hyphen. 18605
17895 func_len () 18606
17896 { 18607 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17897 func_len_result=${#1} 18608 func_xform ()\
17898 } 18609 {\
17899 18610 func_xform_result=${1%.*}.lo\
17900 _LT_EOF 18611 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17901 ;; 18612 && mv -f "$cfgfile.tmp" "$cfgfile" \
17902 *) # Bourne compatible functions. 18613 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17903 cat << \_LT_EOF >> "$cfgfile" 18614 test 0 -eq $? || _lt_function_replace_fail=:
17904 18615
17905 # func_dirname file append nondir_replacement 18616
17906 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 18617 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17907 # otherwise set result to NONDIR_REPLACEMENT. 18618 func_arith ()\
17908 func_dirname () 18619 {\
17909 { 18620 func_arith_result=$(( $* ))\
17910 # Extract subdirectory from the argument. 18621 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17911 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 18622 && mv -f "$cfgfile.tmp" "$cfgfile" \
17912 if test "X$func_dirname_result" = "X${1}"; then 18623 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17913 func_dirname_result="${3}" 18624 test 0 -eq $? || _lt_function_replace_fail=:
17914 else 18625
17915 func_dirname_result="$func_dirname_result${2}" 18626
17916 fi 18627 sed -e '/^func_len ()$/,/^} # func_len /c\
17917 } 18628 func_len ()\
17918 18629 {\
17919 # func_basename file 18630 func_len_result=${#1}\
17920 func_basename () 18631 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17921 { 18632 && mv -f "$cfgfile.tmp" "$cfgfile" \
17922 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 18633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17923 } 18634 test 0 -eq $? || _lt_function_replace_fail=:
17924 18635
17925 18636 fi
17926 # func_stripname prefix suffix name 18637
17927 # strip PREFIX and SUFFIX off of NAME. 18638 if test x"$lt_shell_append" = xyes; then
17928 # PREFIX and SUFFIX must not contain globbing or regex special 18639 sed -e '/^func_append ()$/,/^} # func_append /c\
17929 # characters, hashes, percent signs, but SUFFIX may contain a leading 18640 func_append ()\
17930 # dot (in which case that matches only a dot). 18641 {\
17931 # func_strip_suffix prefix name 18642 eval "${1}+=\\${2}"\
17932 func_stripname () 18643 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17933 { 18644 && mv -f "$cfgfile.tmp" "$cfgfile" \
17934 case ${2} in 18645 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17935 .*) func_stripname_result=`$ECHO "X${3}" \ 18646 test 0 -eq $? || _lt_function_replace_fail=:
17936 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 18647
17937 *) func_stripname_result=`$ECHO "X${3}" \ 18648
17938 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 18649 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17939 esac 18650 func_append_quoted ()\
17940 } 18651 {\
17941 18652 \ func_quote_for_eval "${2}"\
17942 # sed scripts: 18653 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17943 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 18654 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17944 my_sed_long_arg='1s/^-[^=]*=//' 18655 && mv -f "$cfgfile.tmp" "$cfgfile" \
17945 18656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17946 # func_opt_split 18657 test 0 -eq $? || _lt_function_replace_fail=:
17947 func_opt_split () 18658
17948 { 18659
17949 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 18660 # Save a `func_append' function call where possible by direct use of '+='
17950 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 18661 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17951 } 18662 && mv -f "$cfgfile.tmp" "$cfgfile" \
17952 18663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17953 # func_lo2o object 18664 test 0 -eq $? || _lt_function_replace_fail=:
17954 func_lo2o () 18665 else
17955 { 18666 # Save a `func_append' function call even when '+=' is not available
17956 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 18667 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17957 } 18668 && mv -f "$cfgfile.tmp" "$cfgfile" \
17958 18669 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17959 # func_xform libobj-or-source 18670 test 0 -eq $? || _lt_function_replace_fail=:
17960 func_xform () 18671 fi
17961 { 18672
17962 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 18673 if test x"$_lt_function_replace_fail" = x":"; then
17963 } 18674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17964 18675 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17965 # func_arith arithmetic-term... 18676 fi
17966 func_arith () 18677
17967 { 18678
17968 func_arith_result=`expr "$@"` 18679 mv -f "$cfgfile" "$ofile" ||
17969 }
17970
17971 # func_len string
17972 # STRING may not start with a hyphen.
17973 func_len ()
17974 {
17975 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17976 }
17977
17978 _LT_EOF
17979 esac
17980
17981 case $lt_shell_append in
17982 yes)
17983 cat << \_LT_EOF >> "$cfgfile"
17984
17985 # func_append var value
17986 # Append VALUE to the end of shell variable VAR.
17987 func_append ()
17988 {
17989 eval "$1+=\$2"
17990 }
17991 _LT_EOF
17992 ;;
17993 *)
17994 cat << \_LT_EOF >> "$cfgfile"
17995
17996 # func_append var value
17997 # Append VALUE to the end of shell variable VAR.
17998 func_append ()
17999 {
18000 eval "$1=\$$1\$2"
18001 }
18002
18003 _LT_EOF
18004 ;;
18005 esac
18006
18007
18008 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18009 || (rm -f "$cfgfile"; exit 1)
18010
18011 mv -f "$cfgfile" "$ofile" ||
18012 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18680 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18013 chmod +x "$ofile" 18681 chmod +x "$ofile"
18014 18682
18015 18683
18016 cat <<_LT_EOF >> "$ofile" 18684 cat <<_LT_EOF >> "$ofile"
18018 # ### BEGIN LIBTOOL TAG CONFIG: CXX 18686 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18019 18687
18020 # The linker used to build libraries. 18688 # The linker used to build libraries.
18021 LD=$lt_LD_CXX 18689 LD=$lt_LD_CXX
18022 18690
18691 # How to create reloadable object files.
18692 reload_flag=$lt_reload_flag_CXX
18693 reload_cmds=$lt_reload_cmds_CXX
18694
18023 # Commands used to build an old-style archive. 18695 # Commands used to build an old-style archive.
18024 old_archive_cmds=$lt_old_archive_cmds_CXX 18696 old_archive_cmds=$lt_old_archive_cmds_CXX
18025 18697
18026 # A language specific compiler. 18698 # A language specific compiler.
18027 CC=$lt_compiler_CXX 18699 CC=$lt_compiler_CXX
18030 with_gcc=$GCC_CXX 18702 with_gcc=$GCC_CXX
18031 18703
18032 # Compiler flag to turn off builtin functions. 18704 # Compiler flag to turn off builtin functions.
18033 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 18705 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18034 18706
18707 # Additional compiler flags for building library objects.
18708 pic_flag=$lt_lt_prog_compiler_pic_CXX
18709
18035 # How to pass a linker flag through the compiler. 18710 # How to pass a linker flag through the compiler.
18036 wl=$lt_lt_prog_compiler_wl_CXX 18711 wl=$lt_lt_prog_compiler_wl_CXX
18037
18038 # Additional compiler flags for building library objects.
18039 pic_flag=$lt_lt_prog_compiler_pic_CXX
18040 18712
18041 # Compiler flag to prevent dynamic linking. 18713 # Compiler flag to prevent dynamic linking.
18042 link_static_flag=$lt_lt_prog_compiler_static_CXX 18714 link_static_flag=$lt_lt_prog_compiler_static_CXX
18043 18715
18044 # Does compiler simultaneously support -c and -o options? 18716 # Does compiler simultaneously support -c and -o options?
18122 inherit_rpath=$inherit_rpath_CXX 18794 inherit_rpath=$inherit_rpath_CXX
18123 18795
18124 # Whether libtool must link a program against all its dependency libraries. 18796 # Whether libtool must link a program against all its dependency libraries.
18125 link_all_deplibs=$link_all_deplibs_CXX 18797 link_all_deplibs=$link_all_deplibs_CXX
18126 18798
18127 # Fix the shell variable \$srcfile for the compiler.
18128 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18129
18130 # Set to "yes" if exported symbols are required. 18799 # Set to "yes" if exported symbols are required.
18131 always_export_symbols=$always_export_symbols_CXX 18800 always_export_symbols=$always_export_symbols_CXX
18132 18801
18133 # The commands to list exported symbols. 18802 # The commands to list exported symbols.
18134 export_symbols_cmds=$lt_export_symbols_cmds_CXX 18803 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18139 # Symbols that must always be exported. 18808 # Symbols that must always be exported.
18140 include_expsyms=$lt_include_expsyms_CXX 18809 include_expsyms=$lt_include_expsyms_CXX
18141 18810
18142 # Commands necessary for linking programs (against libraries) with templates. 18811 # Commands necessary for linking programs (against libraries) with templates.
18143 prelink_cmds=$lt_prelink_cmds_CXX 18812 prelink_cmds=$lt_prelink_cmds_CXX
18813
18814 # Commands necessary for finishing linking programs.
18815 postlink_cmds=$lt_postlink_cmds_CXX
18144 18816
18145 # Specify filename containing input files. 18817 # Specify filename containing input files.
18146 file_list_spec=$lt_file_list_spec_CXX 18818 file_list_spec=$lt_file_list_spec_CXX
18147 18819
18148 # How to hardcode a shared library path into an executable. 18820 # How to hardcode a shared library path into an executable.