comparison configure @ 1459:156b8e8c25d8

Grandfather into release: Use latest Debian testing autotools, etc.
author Adam Chlipala <adam@chlipala.net>
date Sun, 15 May 2011 17:20:08 -0400
parents 8524a1709821
children 969b90b1f2f9
comparison
equal deleted inserted replaced
1458:bd6b03bc6333 1459:156b8e8c25d8
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 1.0. 3 # Generated by GNU Autoconf 2.68 for urweb 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
760 OTOOL64 629 OTOOL64
761 OTOOL 630 OTOOL
762 LIPO 631 LIPO
763 NMEDIT 632 NMEDIT
764 DSYMUTIL 633 DSYMUTIL
765 lt_ECHO 634 MANIFEST_TOOL
766 RANLIB 635 RANLIB
636 ac_ct_AR
767 AR 637 AR
638 DLLTOOL
768 OBJDUMP 639 OBJDUMP
769 LN_S 640 LN_S
770 NM 641 NM
771 ac_ct_DUMPBIN 642 ac_ct_DUMPBIN
772 DUMPBIN 643 DUMPBIN
869 enable_shared 740 enable_shared
870 enable_static 741 enable_static
871 with_pic 742 with_pic
872 enable_fast_install 743 enable_fast_install
873 with_gnu_ld 744 with_gnu_ld
745 with_sysroot
874 enable_libtool_lock 746 enable_libtool_lock
875 with_openssl 747 with_openssl
876 with_emacs 748 with_emacs
877 ' 749 '
878 ac_precious_vars='build_alias 750 ac_precious_vars='build_alias
1286 *) 1158 *)
1287 # FIXME: should be removed in autoconf 3.0. 1159 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1160 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1162 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1163 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1292 ;; 1164 ;;
1293 1165
1294 esac 1166 esac
1295 done 1167 done
1296 1168
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1388 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1389 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --with-pic try to use only PIC/non-PIC objects [default=use 1390 --with-pic try to use only PIC/non-PIC objects [default=use
1519 both] 1391 both]
1520 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1392 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1393 --with-sysroot=DIR Search for dependent libraries within DIR
1394 (or the compiler's sysroot if not specified).
1521 --with-openssl=DIR root of the OpenSSL directory 1395 --with-openssl=DIR root of the OpenSSL directory
1522 --without-emacs disable installation of Emacs mode 1396 --without-emacs disable installation of Emacs mode
1523 1397
1524 Some influential environment variables: 1398 Some influential environment variables:
1525 CC C compiler command 1399 CC C compiler command
1596 1470
1597 test -n "$ac_init_help" && exit $ac_status 1471 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then 1472 if $ac_init_version; then
1599 cat <<\_ACEOF 1473 cat <<\_ACEOF
1600 urweb configure 1.0 1474 urweb configure 1.0
1601 generated by GNU Autoconf 2.67 1475 generated by GNU Autoconf 2.68
1602 1476
1603 Copyright (C) 2010 Free Software Foundation, Inc. 1477 Copyright (C) 2010 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation 1478 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it. 1479 gives unlimited permission to copy, distribute and modify it.
1606 _ACEOF 1480 _ACEOF
1642 $as_echo "$as_me: failed program was:" >&5 1516 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5 1517 sed 's/^/| /' conftest.$ac_ext >&5
1644 1518
1645 ac_retval=1 1519 ac_retval=1
1646 fi 1520 fi
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status $ac_retval 1522 as_fn_set_status $ac_retval
1649 1523
1650 } # ac_fn_c_try_compile 1524 } # ac_fn_c_try_compile
1651 1525
1652 # ac_fn_c_try_cpp LINENO 1526 # ac_fn_c_try_cpp LINENO
1679 $as_echo "$as_me: failed program was:" >&5 1553 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5 1554 sed 's/^/| /' conftest.$ac_ext >&5
1681 1555
1682 ac_retval=1 1556 ac_retval=1
1683 fi 1557 fi
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval 1559 as_fn_set_status $ac_retval
1686 1560
1687 } # ac_fn_c_try_cpp 1561 } # ac_fn_c_try_cpp
1688 1562
1689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1692 # the include files in INCLUDES and setting the cache variable VAR 1566 # the include files in INCLUDES and setting the cache variable VAR
1693 # accordingly. 1567 # accordingly.
1694 ac_fn_c_check_header_mongrel () 1568 ac_fn_c_check_header_mongrel ()
1695 { 1569 {
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if eval "test \"\${$3+set}\"" = set; then : 1571 if eval \${$3+:} false; then :
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; } 1573 $as_echo_n "checking for $2... " >&6; }
1700 if eval "test \"\${$3+set}\"" = set; then : 1574 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6 1575 $as_echo_n "(cached) " >&6
1702 fi 1576 fi
1703 eval ac_res=\$$3 1577 eval ac_res=\$$3
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; } 1579 $as_echo "$ac_res" >&6; }
1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1759 ;; 1633 ;;
1760 esac 1634 esac
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; } 1636 $as_echo_n "checking for $2... " >&6; }
1763 if eval "test \"\${$3+set}\"" = set; then : 1637 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6 1638 $as_echo_n "(cached) " >&6
1765 else 1639 else
1766 eval "$3=\$ac_header_compiler" 1640 eval "$3=\$ac_header_compiler"
1767 fi 1641 fi
1768 eval ac_res=\$$3 1642 eval ac_res=\$$3
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; } 1644 $as_echo "$ac_res" >&6; }
1771 fi 1645 fi
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 1647
1774 } # ac_fn_c_check_header_mongrel 1648 } # ac_fn_c_check_header_mongrel
1775 1649
1776 # ac_fn_c_try_run LINENO 1650 # ac_fn_c_try_run LINENO
1777 # ---------------------- 1651 # ----------------------
1808 sed 's/^/| /' conftest.$ac_ext >&5 1682 sed 's/^/| /' conftest.$ac_ext >&5
1809 1683
1810 ac_retval=$ac_status 1684 ac_retval=$ac_status
1811 fi 1685 fi
1812 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1813 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 as_fn_set_status $ac_retval 1688 as_fn_set_status $ac_retval
1815 1689
1816 } # ac_fn_c_try_run 1690 } # ac_fn_c_try_run
1817 1691
1818 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822 ac_fn_c_check_header_compile () 1696 ac_fn_c_check_header_compile ()
1823 { 1697 {
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; } 1700 $as_echo_n "checking for $2... " >&6; }
1827 if eval "test \"\${$3+set}\"" = set; then : 1701 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6 1702 $as_echo_n "(cached) " >&6
1829 else 1703 else
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */ 1705 /* end confdefs.h. */
1832 $4 1706 $4
1840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841 fi 1715 fi
1842 eval ac_res=\$$3 1716 eval ac_res=\$$3
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; } 1718 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 1720
1847 } # ac_fn_c_check_header_compile 1721 } # ac_fn_c_check_header_compile
1848 1722
1849 # ac_fn_c_try_link LINENO 1723 # ac_fn_c_try_link LINENO
1850 # ----------------------- 1724 # -----------------------
1885 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1886 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1887 # interfere with the next link command; also delete a directory that is 1761 # interfere with the next link command; also delete a directory that is
1888 # left behind by Apple's compiler. We do this before executing the actions. 1762 # left behind by Apple's compiler. We do this before executing the actions.
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status $ac_retval 1765 as_fn_set_status $ac_retval
1892 1766
1893 } # ac_fn_c_try_link 1767 } # ac_fn_c_try_link
1894 1768
1895 # ac_fn_c_check_func LINENO FUNC VAR 1769 # ac_fn_c_check_func LINENO FUNC VAR
1898 ac_fn_c_check_func () 1772 ac_fn_c_check_func ()
1899 { 1773 {
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; } 1776 $as_echo_n "checking for $2... " >&6; }
1903 if eval "test \"\${$3+set}\"" = set; then : 1777 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6 1778 $as_echo_n "(cached) " >&6
1905 else 1779 else
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */ 1781 /* end confdefs.h. */
1908 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1782 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1953 conftest$ac_exeext conftest.$ac_ext 1827 conftest$ac_exeext conftest.$ac_ext
1954 fi 1828 fi
1955 eval ac_res=\$$3 1829 eval ac_res=\$$3
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; } 1831 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 1833
1960 } # ac_fn_c_check_func 1834 } # ac_fn_c_check_func
1961 cat >config.log <<_ACEOF 1835 cat >config.log <<_ACEOF
1962 This file contains any messages produced by compilers while 1836 This file contains any messages produced by compilers while
1963 running configure, to aid debugging if configure makes a mistake. 1837 running configure, to aid debugging if configure makes a mistake.
1964 1838
1965 It was created by urweb $as_me 1.0, which was 1839 It was created by urweb $as_me 1.0, which was
1966 generated by GNU Autoconf 2.67. Invocation command line was 1840 generated by GNU Autoconf 2.68. Invocation command line was
1967 1841
1968 $ $0 $@ 1842 $ $0 $@
1969 1843
1970 _ACEOF 1844 _ACEOF
1971 exec 5>>config.log 1845 exec 5>>config.log
2219 sed 's/^/| /' "$ac_site_file" >&5 2093 sed 's/^/| /' "$ac_site_file" >&5
2220 . "$ac_site_file" \ 2094 . "$ac_site_file" \
2221 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2095 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $? "failed to load site script $ac_site_file 2097 as_fn_error $? "failed to load site script $ac_site_file
2224 See \`config.log' for more details" "$LINENO" 5 ; } 2098 See \`config.log' for more details" "$LINENO" 5; }
2225 fi 2099 fi
2226 done 2100 done
2227 2101
2228 if test -r "$cache_file"; then 2102 if test -r "$cache_file"; then
2229 # Some versions of bash will fail to source /dev/null (special files 2103 # Some versions of bash will fail to source /dev/null (special files
2318 if test -n "$ac_tool_prefix"; then 2192 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2193 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2194 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; } 2196 $as_echo_n "checking for $ac_word... " >&6; }
2323 if test "${ac_cv_prog_CC+set}" = set; then : 2197 if ${ac_cv_prog_CC+:} false; then :
2324 $as_echo_n "(cached) " >&6 2198 $as_echo_n "(cached) " >&6
2325 else 2199 else
2326 if test -n "$CC"; then 2200 if test -n "$CC"; then
2327 ac_cv_prog_CC="$CC" # Let the user override the test. 2201 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 else 2202 else
2358 ac_ct_CC=$CC 2232 ac_ct_CC=$CC
2359 # Extract the first word of "gcc", so it can be a program name with args. 2233 # Extract the first word of "gcc", so it can be a program name with args.
2360 set dummy gcc; ac_word=$2 2234 set dummy gcc; ac_word=$2
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; } 2236 $as_echo_n "checking for $ac_word... " >&6; }
2363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2237 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2364 $as_echo_n "(cached) " >&6 2238 $as_echo_n "(cached) " >&6
2365 else 2239 else
2366 if test -n "$ac_ct_CC"; then 2240 if test -n "$ac_ct_CC"; then
2367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2368 else 2242 else
2411 if test -n "$ac_tool_prefix"; then 2285 if test -n "$ac_tool_prefix"; then
2412 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2286 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2413 set dummy ${ac_tool_prefix}cc; ac_word=$2 2287 set dummy ${ac_tool_prefix}cc; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; } 2289 $as_echo_n "checking for $ac_word... " >&6; }
2416 if test "${ac_cv_prog_CC+set}" = set; then : 2290 if ${ac_cv_prog_CC+:} false; then :
2417 $as_echo_n "(cached) " >&6 2291 $as_echo_n "(cached) " >&6
2418 else 2292 else
2419 if test -n "$CC"; then 2293 if test -n "$CC"; then
2420 ac_cv_prog_CC="$CC" # Let the user override the test. 2294 ac_cv_prog_CC="$CC" # Let the user override the test.
2421 else 2295 else
2451 if test -z "$CC"; then 2325 if test -z "$CC"; then
2452 # Extract the first word of "cc", so it can be a program name with args. 2326 # Extract the first word of "cc", so it can be a program name with args.
2453 set dummy cc; ac_word=$2 2327 set dummy cc; ac_word=$2
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2455 $as_echo_n "checking for $ac_word... " >&6; } 2329 $as_echo_n "checking for $ac_word... " >&6; }
2456 if test "${ac_cv_prog_CC+set}" = set; then : 2330 if ${ac_cv_prog_CC+:} false; then :
2457 $as_echo_n "(cached) " >&6 2331 $as_echo_n "(cached) " >&6
2458 else 2332 else
2459 if test -n "$CC"; then 2333 if test -n "$CC"; then
2460 ac_cv_prog_CC="$CC" # Let the user override the test. 2334 ac_cv_prog_CC="$CC" # Let the user override the test.
2461 else 2335 else
2510 do 2384 do
2511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 $as_echo_n "checking for $ac_word... " >&6; } 2388 $as_echo_n "checking for $ac_word... " >&6; }
2515 if test "${ac_cv_prog_CC+set}" = set; then : 2389 if ${ac_cv_prog_CC+:} false; then :
2516 $as_echo_n "(cached) " >&6 2390 $as_echo_n "(cached) " >&6
2517 else 2391 else
2518 if test -n "$CC"; then 2392 if test -n "$CC"; then
2519 ac_cv_prog_CC="$CC" # Let the user override the test. 2393 ac_cv_prog_CC="$CC" # Let the user override the test.
2520 else 2394 else
2554 do 2428 do
2555 # Extract the first word of "$ac_prog", so it can be a program name with args. 2429 # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy $ac_prog; ac_word=$2 2430 set dummy $ac_prog; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; } 2432 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2433 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2560 $as_echo_n "(cached) " >&6 2434 $as_echo_n "(cached) " >&6
2561 else 2435 else
2562 if test -n "$ac_ct_CC"; then 2436 if test -n "$ac_ct_CC"; then
2563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2564 else 2438 else
2609 2483
2610 2484
2611 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2485 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 as_fn_error $? "no acceptable C compiler found in \$PATH 2487 as_fn_error $? "no acceptable C compiler found in \$PATH
2614 See \`config.log' for more details" "$LINENO" 5 ; } 2488 See \`config.log' for more details" "$LINENO" 5; }
2615 2489
2616 # Provide some information about the compiler. 2490 # Provide some information about the compiler.
2617 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2491 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2618 set X $ac_compile 2492 set X $ac_compile
2619 ac_compiler=$2 2493 ac_compiler=$2
2724 sed 's/^/| /' conftest.$ac_ext >&5 2598 sed 's/^/| /' conftest.$ac_ext >&5
2725 2599
2726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728 as_fn_error 77 "C compiler cannot create executables 2602 as_fn_error 77 "C compiler cannot create executables
2729 See \`config.log' for more details" "$LINENO" 5 ; } 2603 See \`config.log' for more details" "$LINENO" 5; }
2730 else 2604 else
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; } 2606 $as_echo "yes" >&6; }
2733 fi 2607 fi
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2767 done 2641 done
2768 else 2642 else
2769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2771 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2645 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2772 See \`config.log' for more details" "$LINENO" 5 ; } 2646 See \`config.log' for more details" "$LINENO" 5; }
2773 fi 2647 fi
2774 rm -f conftest conftest$ac_cv_exeext 2648 rm -f conftest conftest$ac_cv_exeext
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2776 $as_echo "$ac_cv_exeext" >&6; } 2650 $as_echo "$ac_cv_exeext" >&6; }
2777 2651
2826 else 2700 else
2827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 as_fn_error $? "cannot run C compiled programs. 2703 as_fn_error $? "cannot run C compiled programs.
2830 If you meant to cross compile, use \`--host'. 2704 If you meant to cross compile, use \`--host'.
2831 See \`config.log' for more details" "$LINENO" 5 ; } 2705 See \`config.log' for more details" "$LINENO" 5; }
2832 fi 2706 fi
2833 fi 2707 fi
2834 fi 2708 fi
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2836 $as_echo "$cross_compiling" >&6; } 2710 $as_echo "$cross_compiling" >&6; }
2837 2711
2838 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2712 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2839 ac_clean_files=$ac_clean_files_save 2713 ac_clean_files=$ac_clean_files_save
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2841 $as_echo_n "checking for suffix of object files... " >&6; } 2715 $as_echo_n "checking for suffix of object files... " >&6; }
2842 if test "${ac_cv_objext+set}" = set; then : 2716 if ${ac_cv_objext+:} false; then :
2843 $as_echo_n "(cached) " >&6 2717 $as_echo_n "(cached) " >&6
2844 else 2718 else
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */ 2720 /* end confdefs.h. */
2847 2721
2878 sed 's/^/| /' conftest.$ac_ext >&5 2752 sed 's/^/| /' conftest.$ac_ext >&5
2879 2753
2880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error $? "cannot compute suffix of object files: cannot compile 2756 as_fn_error $? "cannot compute suffix of object files: cannot compile
2883 See \`config.log' for more details" "$LINENO" 5 ; } 2757 See \`config.log' for more details" "$LINENO" 5; }
2884 fi 2758 fi
2885 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2759 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2886 fi 2760 fi
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2888 $as_echo "$ac_cv_objext" >&6; } 2762 $as_echo "$ac_cv_objext" >&6; }
2889 OBJEXT=$ac_cv_objext 2763 OBJEXT=$ac_cv_objext
2890 ac_objext=$OBJEXT 2764 ac_objext=$OBJEXT
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2892 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2766 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2893 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2767 if ${ac_cv_c_compiler_gnu+:} false; then :
2894 $as_echo_n "(cached) " >&6 2768 $as_echo_n "(cached) " >&6
2895 else 2769 else
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */ 2771 /* end confdefs.h. */
2898 2772
2925 fi 2799 fi
2926 ac_test_CFLAGS=${CFLAGS+set} 2800 ac_test_CFLAGS=${CFLAGS+set}
2927 ac_save_CFLAGS=$CFLAGS 2801 ac_save_CFLAGS=$CFLAGS
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2929 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2803 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2930 if test "${ac_cv_prog_cc_g+set}" = set; then : 2804 if ${ac_cv_prog_cc_g+:} false; then :
2931 $as_echo_n "(cached) " >&6 2805 $as_echo_n "(cached) " >&6
2932 else 2806 else
2933 ac_save_c_werror_flag=$ac_c_werror_flag 2807 ac_save_c_werror_flag=$ac_c_werror_flag
2934 ac_c_werror_flag=yes 2808 ac_c_werror_flag=yes
2935 ac_cv_prog_cc_g=no 2809 ac_cv_prog_cc_g=no
3003 CFLAGS= 2877 CFLAGS=
3004 fi 2878 fi
3005 fi 2879 fi
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3007 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2881 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3008 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2882 if ${ac_cv_prog_cc_c89+:} false; then :
3009 $as_echo_n "(cached) " >&6 2883 $as_echo_n "(cached) " >&6
3010 else 2884 else
3011 ac_cv_prog_cc_c89=no 2885 ac_cv_prog_cc_c89=no
3012 ac_save_CC=$CC 2886 ac_save_CC=$CC
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 # On Suns, sometimes $CPP names a directory. 2985 # On Suns, sometimes $CPP names a directory.
3112 if test -n "$CPP" && test -d "$CPP"; then 2986 if test -n "$CPP" && test -d "$CPP"; then
3113 CPP= 2987 CPP=
3114 fi 2988 fi
3115 if test -z "$CPP"; then 2989 if test -z "$CPP"; then
3116 if test "${ac_cv_prog_CPP+set}" = set; then : 2990 if ${ac_cv_prog_CPP+:} false; then :
3117 $as_echo_n "(cached) " >&6 2991 $as_echo_n "(cached) " >&6
3118 else 2992 else
3119 # Double quotes because CPP needs to be expanded 2993 # Double quotes because CPP needs to be expanded
3120 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2994 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3121 do 2995 do
3227 3101
3228 else 3102 else
3229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3105 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3232 See \`config.log' for more details" "$LINENO" 5 ; } 3106 See \`config.log' for more details" "$LINENO" 5; }
3233 fi 3107 fi
3234 3108
3235 ac_ext=c 3109 ac_ext=c
3236 ac_cpp='$CPP $CPPFLAGS' 3110 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240 3114
3241 3115
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3243 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3117 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3244 if test "${ac_cv_path_GREP+set}" = set; then : 3118 if ${ac_cv_path_GREP+:} false; then :
3245 $as_echo_n "(cached) " >&6 3119 $as_echo_n "(cached) " >&6
3246 else 3120 else
3247 if test -z "$GREP"; then 3121 if test -z "$GREP"; then
3248 ac_path_GREP_found=false 3122 ac_path_GREP_found=false
3249 # Loop through the user's path and test for each of PROGNAME-LIST 3123 # Loop through the user's path and test for each of PROGNAME-LIST
3302 GREP="$ac_cv_path_GREP" 3176 GREP="$ac_cv_path_GREP"
3303 3177
3304 3178
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3306 $as_echo_n "checking for egrep... " >&6; } 3180 $as_echo_n "checking for egrep... " >&6; }
3307 if test "${ac_cv_path_EGREP+set}" = set; then : 3181 if ${ac_cv_path_EGREP+:} false; then :
3308 $as_echo_n "(cached) " >&6 3182 $as_echo_n "(cached) " >&6
3309 else 3183 else
3310 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3184 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3311 then ac_cv_path_EGREP="$GREP -E" 3185 then ac_cv_path_EGREP="$GREP -E"
3312 else 3186 else
3369 EGREP="$ac_cv_path_EGREP" 3243 EGREP="$ac_cv_path_EGREP"
3370 3244
3371 3245
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3373 $as_echo_n "checking for ANSI C header files... " >&6; } 3247 $as_echo_n "checking for ANSI C header files... " >&6; }
3374 if test "${ac_cv_header_stdc+set}" = set; then : 3248 if ${ac_cv_header_stdc+:} false; then :
3375 $as_echo_n "(cached) " >&6 3249 $as_echo_n "(cached) " >&6
3376 else 3250 else
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */ 3252 /* end confdefs.h. */
3379 #include <stdlib.h> 3253 #include <stdlib.h>
3498 done 3372 done
3499 3373
3500 3374
3501 3375
3502 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3376 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3503 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 3377 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3504 MINIX=yes 3378 MINIX=yes
3505 else 3379 else
3506 MINIX= 3380 MINIX=
3507 fi 3381 fi
3508 3382
3520 fi 3394 fi
3521 3395
3522 3396
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3524 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3398 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3525 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 3399 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3526 $as_echo_n "(cached) " >&6 3400 $as_echo_n "(cached) " >&6
3527 else 3401 else
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */ 3403 /* end confdefs.h. */
3530 3404
3605 # ./install, which can be erroneously created by make from ./install.sh. 3479 # ./install, which can be erroneously created by make from ./install.sh.
3606 # Reject install programs that cannot install multiple files. 3480 # Reject install programs that cannot install multiple files.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3608 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3482 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3609 if test -z "$INSTALL"; then 3483 if test -z "$INSTALL"; then
3610 if test "${ac_cv_path_install+set}" = set; then : 3484 if ${ac_cv_path_install+:} false; then :
3611 $as_echo_n "(cached) " >&6 3485 $as_echo_n "(cached) " >&6
3612 else 3486 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH 3488 for as_dir in $PATH
3615 do 3489 do
3692 # name. Accept space and tab only in the latter. 3566 # name. Accept space and tab only in the latter.
3693 am_lf=' 3567 am_lf='
3694 ' 3568 '
3695 case `pwd` in 3569 case `pwd` in
3696 *[\\\"\#\$\&\'\`$am_lf]*) 3570 *[\\\"\#\$\&\'\`$am_lf]*)
3697 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 3571 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3698 esac 3572 esac
3699 case $srcdir in 3573 case $srcdir in
3700 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3574 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3701 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 3575 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3702 esac 3576 esac
3703 3577
3704 # Do `set' in a subshell so we don't clobber the current shell's 3578 # Do `set' in a subshell so we don't clobber the current shell's
3705 # arguments. Must try -L first in case configure is actually a 3579 # arguments. Must try -L first in case configure is actually a
3706 # symlink; some systems play weird games with the mod time of symlinks 3580 # symlink; some systems play weird games with the mod time of symlinks
3782 if test -n "$ac_tool_prefix"; then 3656 if test -n "$ac_tool_prefix"; then
3783 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3657 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3784 set dummy ${ac_tool_prefix}strip; ac_word=$2 3658 set dummy ${ac_tool_prefix}strip; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; } 3660 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test "${ac_cv_prog_STRIP+set}" = set; then : 3661 if ${ac_cv_prog_STRIP+:} false; then :
3788 $as_echo_n "(cached) " >&6 3662 $as_echo_n "(cached) " >&6
3789 else 3663 else
3790 if test -n "$STRIP"; then 3664 if test -n "$STRIP"; then
3791 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3665 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3792 else 3666 else
3822 ac_ct_STRIP=$STRIP 3696 ac_ct_STRIP=$STRIP
3823 # Extract the first word of "strip", so it can be a program name with args. 3697 # Extract the first word of "strip", so it can be a program name with args.
3824 set dummy strip; ac_word=$2 3698 set dummy strip; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; } 3700 $as_echo_n "checking for $ac_word... " >&6; }
3827 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3701 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3828 $as_echo_n "(cached) " >&6 3702 $as_echo_n "(cached) " >&6
3829 else 3703 else
3830 if test -n "$ac_ct_STRIP"; then 3704 if test -n "$ac_ct_STRIP"; then
3831 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3705 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3832 else 3706 else
3875 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3749 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3876 3750
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3878 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3752 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3879 if test -z "$MKDIR_P"; then 3753 if test -z "$MKDIR_P"; then
3880 if test "${ac_cv_path_mkdir+set}" = set; then : 3754 if ${ac_cv_path_mkdir+:} false; then :
3881 $as_echo_n "(cached) " >&6 3755 $as_echo_n "(cached) " >&6
3882 else 3756 else
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3758 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3885 do 3759 do
3926 do 3800 do
3927 # Extract the first word of "$ac_prog", so it can be a program name with args. 3801 # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy $ac_prog; ac_word=$2 3802 set dummy $ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; } 3804 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_AWK+set}" = set; then : 3805 if ${ac_cv_prog_AWK+:} false; then :
3932 $as_echo_n "(cached) " >&6 3806 $as_echo_n "(cached) " >&6
3933 else 3807 else
3934 if test -n "$AWK"; then 3808 if test -n "$AWK"; then
3935 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3809 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3936 else 3810 else
3966 3840
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3968 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3842 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3969 set x ${MAKE-make} 3843 set x ${MAKE-make}
3970 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3844 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3845 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3972 $as_echo_n "(cached) " >&6 3846 $as_echo_n "(cached) " >&6
3973 else 3847 else
3974 cat >conftest.make <<\_ACEOF 3848 cat >conftest.make <<\_ACEOF
3975 SHELL = /bin/sh 3849 SHELL = /bin/sh
3976 all: 3850 all:
4120 3994
4121 depcc="$CC" am_compiler_list= 3995 depcc="$CC" am_compiler_list=
4122 3996
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4124 $as_echo_n "checking dependency style of $depcc... " >&6; } 3998 $as_echo_n "checking dependency style of $depcc... " >&6; }
4125 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3999 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4126 $as_echo_n "(cached) " >&6 4000 $as_echo_n "(cached) " >&6
4127 else 4001 else
4128 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4129 # We make a subdir and do the tests there. Otherwise we can end up 4003 # We make a subdir and do the tests there. Otherwise we can end up
4130 # making bogus files that we don't know about and never remove. For 4004 # making bogus files that we don't know about and never remove. For
4254 if test -n "$ac_tool_prefix"; then 4128 if test -n "$ac_tool_prefix"; then
4255 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4256 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4130 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; } 4132 $as_echo_n "checking for $ac_word... " >&6; }
4259 if test "${ac_cv_prog_CC+set}" = set; then : 4133 if ${ac_cv_prog_CC+:} false; then :
4260 $as_echo_n "(cached) " >&6 4134 $as_echo_n "(cached) " >&6
4261 else 4135 else
4262 if test -n "$CC"; then 4136 if test -n "$CC"; then
4263 ac_cv_prog_CC="$CC" # Let the user override the test. 4137 ac_cv_prog_CC="$CC" # Let the user override the test.
4264 else 4138 else
4294 ac_ct_CC=$CC 4168 ac_ct_CC=$CC
4295 # Extract the first word of "gcc", so it can be a program name with args. 4169 # Extract the first word of "gcc", so it can be a program name with args.
4296 set dummy gcc; ac_word=$2 4170 set dummy gcc; ac_word=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; } 4172 $as_echo_n "checking for $ac_word... " >&6; }
4299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4300 $as_echo_n "(cached) " >&6 4174 $as_echo_n "(cached) " >&6
4301 else 4175 else
4302 if test -n "$ac_ct_CC"; then 4176 if test -n "$ac_ct_CC"; then
4303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4304 else 4178 else
4347 if test -n "$ac_tool_prefix"; then 4221 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4222 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}cc; ac_word=$2 4223 set dummy ${ac_tool_prefix}cc; ac_word=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; } 4225 $as_echo_n "checking for $ac_word... " >&6; }
4352 if test "${ac_cv_prog_CC+set}" = set; then : 4226 if ${ac_cv_prog_CC+:} false; then :
4353 $as_echo_n "(cached) " >&6 4227 $as_echo_n "(cached) " >&6
4354 else 4228 else
4355 if test -n "$CC"; then 4229 if test -n "$CC"; then
4356 ac_cv_prog_CC="$CC" # Let the user override the test. 4230 ac_cv_prog_CC="$CC" # Let the user override the test.
4357 else 4231 else
4387 if test -z "$CC"; then 4261 if test -z "$CC"; then
4388 # Extract the first word of "cc", so it can be a program name with args. 4262 # Extract the first word of "cc", so it can be a program name with args.
4389 set dummy cc; ac_word=$2 4263 set dummy cc; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; } 4265 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_CC+set}" = set; then : 4266 if ${ac_cv_prog_CC+:} false; then :
4393 $as_echo_n "(cached) " >&6 4267 $as_echo_n "(cached) " >&6
4394 else 4268 else
4395 if test -n "$CC"; then 4269 if test -n "$CC"; then
4396 ac_cv_prog_CC="$CC" # Let the user override the test. 4270 ac_cv_prog_CC="$CC" # Let the user override the test.
4397 else 4271 else
4446 do 4320 do
4447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4322 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; } 4324 $as_echo_n "checking for $ac_word... " >&6; }
4451 if test "${ac_cv_prog_CC+set}" = set; then : 4325 if ${ac_cv_prog_CC+:} false; then :
4452 $as_echo_n "(cached) " >&6 4326 $as_echo_n "(cached) " >&6
4453 else 4327 else
4454 if test -n "$CC"; then 4328 if test -n "$CC"; then
4455 ac_cv_prog_CC="$CC" # Let the user override the test. 4329 ac_cv_prog_CC="$CC" # Let the user override the test.
4456 else 4330 else
4490 do 4364 do
4491 # Extract the first word of "$ac_prog", so it can be a program name with args. 4365 # Extract the first word of "$ac_prog", so it can be a program name with args.
4492 set dummy $ac_prog; ac_word=$2 4366 set dummy $ac_prog; ac_word=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; } 4368 $as_echo_n "checking for $ac_word... " >&6; }
4495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4369 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4496 $as_echo_n "(cached) " >&6 4370 $as_echo_n "(cached) " >&6
4497 else 4371 else
4498 if test -n "$ac_ct_CC"; then 4372 if test -n "$ac_ct_CC"; then
4499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4500 else 4374 else
4545 4419
4546 4420
4547 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4421 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4549 as_fn_error $? "no acceptable C compiler found in \$PATH 4423 as_fn_error $? "no acceptable C compiler found in \$PATH
4550 See \`config.log' for more details" "$LINENO" 5 ; } 4424 See \`config.log' for more details" "$LINENO" 5; }
4551 4425
4552 # Provide some information about the compiler. 4426 # Provide some information about the compiler.
4553 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4427 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4554 set X $ac_compile 4428 set X $ac_compile
4555 ac_compiler=$2 4429 ac_compiler=$2
4574 test $ac_status = 0; } 4448 test $ac_status = 0; }
4575 done 4449 done
4576 4450
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4452 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4579 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4453 if ${ac_cv_c_compiler_gnu+:} false; then :
4580 $as_echo_n "(cached) " >&6 4454 $as_echo_n "(cached) " >&6
4581 else 4455 else
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */ 4457 /* end confdefs.h. */
4584 4458
4611 fi 4485 fi
4612 ac_test_CFLAGS=${CFLAGS+set} 4486 ac_test_CFLAGS=${CFLAGS+set}
4613 ac_save_CFLAGS=$CFLAGS 4487 ac_save_CFLAGS=$CFLAGS
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4615 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4489 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4616 if test "${ac_cv_prog_cc_g+set}" = set; then : 4490 if ${ac_cv_prog_cc_g+:} false; then :
4617 $as_echo_n "(cached) " >&6 4491 $as_echo_n "(cached) " >&6
4618 else 4492 else
4619 ac_save_c_werror_flag=$ac_c_werror_flag 4493 ac_save_c_werror_flag=$ac_c_werror_flag
4620 ac_c_werror_flag=yes 4494 ac_c_werror_flag=yes
4621 ac_cv_prog_cc_g=no 4495 ac_cv_prog_cc_g=no
4689 CFLAGS= 4563 CFLAGS=
4690 fi 4564 fi
4691 fi 4565 fi
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4567 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4694 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4568 if ${ac_cv_prog_cc_c89+:} false; then :
4695 $as_echo_n "(cached) " >&6 4569 $as_echo_n "(cached) " >&6
4696 else 4570 else
4697 ac_cv_prog_cc_c89=no 4571 ac_cv_prog_cc_c89=no
4698 ac_save_CC=$CC 4572 ac_save_CC=$CC
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4666 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4793 esac 4667 esac
4794 4668
4795 4669
4796 4670
4797 macro_version='2.2.6b' 4671 macro_version='2.4'
4798 macro_revision='1.3017' 4672 macro_revision='1.3293'
4799 4673
4800 4674
4801 4675
4802 4676
4803 4677
4815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4689 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4816 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4690 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4817 4691
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4819 $as_echo_n "checking build system type... " >&6; } 4693 $as_echo_n "checking build system type... " >&6; }
4820 if test "${ac_cv_build+set}" = set; then : 4694 if ${ac_cv_build+:} false; then :
4821 $as_echo_n "(cached) " >&6 4695 $as_echo_n "(cached) " >&6
4822 else 4696 else
4823 ac_build_alias=$build_alias 4697 ac_build_alias=$build_alias
4824 test "x$ac_build_alias" = x && 4698 test "x$ac_build_alias" = x &&
4825 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4699 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4831 fi 4705 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4833 $as_echo "$ac_cv_build" >&6; } 4707 $as_echo "$ac_cv_build" >&6; }
4834 case $ac_cv_build in 4708 case $ac_cv_build in
4835 *-*-*) ;; 4709 *-*-*) ;;
4836 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4710 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4837 esac 4711 esac
4838 build=$ac_cv_build 4712 build=$ac_cv_build
4839 ac_save_IFS=$IFS; IFS='-' 4713 ac_save_IFS=$IFS; IFS='-'
4840 set x $ac_cv_build 4714 set x $ac_cv_build
4841 shift 4715 shift
4849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4723 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4850 4724
4851 4725
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4853 $as_echo_n "checking host system type... " >&6; } 4727 $as_echo_n "checking host system type... " >&6; }
4854 if test "${ac_cv_host+set}" = set; then : 4728 if ${ac_cv_host+:} false; then :
4855 $as_echo_n "(cached) " >&6 4729 $as_echo_n "(cached) " >&6
4856 else 4730 else
4857 if test "x$host_alias" = x; then 4731 if test "x$host_alias" = x; then
4858 ac_cv_host=$ac_cv_build 4732 ac_cv_host=$ac_cv_build
4859 else 4733 else
4864 fi 4738 fi
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4866 $as_echo "$ac_cv_host" >&6; } 4740 $as_echo "$ac_cv_host" >&6; }
4867 case $ac_cv_host in 4741 case $ac_cv_host in
4868 *-*-*) ;; 4742 *-*-*) ;;
4869 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4743 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4870 esac 4744 esac
4871 host=$ac_cv_host 4745 host=$ac_cv_host
4872 ac_save_IFS=$IFS; IFS='-' 4746 ac_save_IFS=$IFS; IFS='-'
4873 set x $ac_cv_host 4747 set x $ac_cv_host
4874 shift 4748 shift
4880 host_os=$* 4754 host_os=$*
4881 IFS=$ac_save_IFS 4755 IFS=$ac_save_IFS
4882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4756 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4883 4757
4884 4758
4759 # Backslashify metacharacters that are still active within
4760 # double-quoted strings.
4761 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4762
4763 # Same as above, but do not quote variable references.
4764 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4765
4766 # Sed substitution to delay expansion of an escaped shell variable in a
4767 # double_quote_subst'ed string.
4768 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4769
4770 # Sed substitution to delay expansion of an escaped single quote.
4771 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4772
4773 # Sed substitution to avoid accidental globbing in evaled expressions
4774 no_glob_subst='s/\*/\\\*/g'
4775
4776 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4777 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4778 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4779
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4781 $as_echo_n "checking how to print strings... " >&6; }
4782 # Test print first, because it will be a builtin if present.
4783 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4784 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4785 ECHO='print -r --'
4786 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4787 ECHO='printf %s\n'
4788 else
4789 # Use this function as a fallback that always works.
4790 func_fallback_echo ()
4791 {
4792 eval 'cat <<_LTECHO_EOF
4793 $1
4794 _LTECHO_EOF'
4795 }
4796 ECHO='func_fallback_echo'
4797 fi
4798
4799 # func_echo_all arg...
4800 # Invoke $ECHO with all args, space-separated.
4801 func_echo_all ()
4802 {
4803 $ECHO ""
4804 }
4805
4806 case "$ECHO" in
4807 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4808 $as_echo "printf" >&6; } ;;
4809 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4810 $as_echo "print -r" >&6; } ;;
4811 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4812 $as_echo "cat" >&6; } ;;
4813 esac
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4886 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4829 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4887 if test "${ac_cv_path_SED+set}" = set; then : 4830 if ${ac_cv_path_SED+:} false; then :
4888 $as_echo_n "(cached) " >&6 4831 $as_echo_n "(cached) " >&6
4889 else 4832 else
4890 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4833 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4891 for ac_i in 1 2 3 4 5 6 7; do 4834 for ac_i in 1 2 3 4 5 6 7; do
4892 ac_script="$ac_script$as_nl$ac_script" 4835 ac_script="$ac_script$as_nl$ac_script"
4964 4907
4965 4908
4966 4909
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4968 $as_echo_n "checking for fgrep... " >&6; } 4911 $as_echo_n "checking for fgrep... " >&6; }
4969 if test "${ac_cv_path_FGREP+set}" = set; then : 4912 if ${ac_cv_path_FGREP+:} false; then :
4970 $as_echo_n "(cached) " >&6 4913 $as_echo_n "(cached) " >&6
4971 else 4914 else
4972 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4915 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4973 then ac_cv_path_FGREP="$GREP -F" 4916 then ac_cv_path_FGREP="$GREP -F"
4974 else 4917 else
5095 $as_echo_n "checking for GNU ld... " >&6; } 5038 $as_echo_n "checking for GNU ld... " >&6; }
5096 else 5039 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5098 $as_echo_n "checking for non-GNU ld... " >&6; } 5041 $as_echo_n "checking for non-GNU ld... " >&6; }
5099 fi 5042 fi
5100 if test "${lt_cv_path_LD+set}" = set; then : 5043 if ${lt_cv_path_LD+:} false; then :
5101 $as_echo_n "(cached) " >&6 5044 $as_echo_n "(cached) " >&6
5102 else 5045 else
5103 if test -z "$LD"; then 5046 if test -z "$LD"; then
5104 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5047 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5105 for ac_dir in $PATH; do 5048 for ac_dir in $PATH; do
5135 $as_echo "no" >&6; } 5078 $as_echo "no" >&6; }
5136 fi 5079 fi
5137 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5080 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5139 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5082 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5140 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5083 if ${lt_cv_prog_gnu_ld+:} false; then :
5141 $as_echo_n "(cached) " >&6 5084 $as_echo_n "(cached) " >&6
5142 else 5085 else
5143 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5086 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5144 case `$LD -v 2>&1 </dev/null` in 5087 case `$LD -v 2>&1 </dev/null` in
5145 *GNU* | *'with BFD'*) 5088 *GNU* | *'with BFD'*)
5162 5105
5163 5106
5164 5107
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5166 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5109 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5167 if test "${lt_cv_path_NM+set}" = set; then : 5110 if ${lt_cv_path_NM+:} false; then :
5168 $as_echo_n "(cached) " >&6 5111 $as_echo_n "(cached) " >&6
5169 else 5112 else
5170 if test -n "$NM"; then 5113 if test -n "$NM"; then
5171 # Let the user override the test. 5114 # Let the user override the test.
5172 lt_cv_path_NM="$NM" 5115 lt_cv_path_NM="$NM"
5215 $as_echo "$lt_cv_path_NM" >&6; } 5158 $as_echo "$lt_cv_path_NM" >&6; }
5216 if test "$lt_cv_path_NM" != "no"; then 5159 if test "$lt_cv_path_NM" != "no"; then
5217 NM="$lt_cv_path_NM" 5160 NM="$lt_cv_path_NM"
5218 else 5161 else
5219 # Didn't find any BSD compatible name lister, look for dumpbin. 5162 # Didn't find any BSD compatible name lister, look for dumpbin.
5220 if test -n "$ac_tool_prefix"; then 5163 if test -n "$DUMPBIN"; then :
5221 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5164 # Let the user override the test.
5165 else
5166 if test -n "$ac_tool_prefix"; then
5167 for ac_prog in dumpbin "link -dump"
5222 do 5168 do
5223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; } 5172 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5173 if ${ac_cv_prog_DUMPBIN+:} false; then :
5228 $as_echo_n "(cached) " >&6 5174 $as_echo_n "(cached) " >&6
5229 else 5175 else
5230 if test -n "$DUMPBIN"; then 5176 if test -n "$DUMPBIN"; then
5231 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5177 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5232 else 5178 else
5260 test -n "$DUMPBIN" && break 5206 test -n "$DUMPBIN" && break
5261 done 5207 done
5262 fi 5208 fi
5263 if test -z "$DUMPBIN"; then 5209 if test -z "$DUMPBIN"; then
5264 ac_ct_DUMPBIN=$DUMPBIN 5210 ac_ct_DUMPBIN=$DUMPBIN
5265 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5211 for ac_prog in dumpbin "link -dump"
5266 do 5212 do
5267 # Extract the first word of "$ac_prog", so it can be a program name with args. 5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5268 set dummy $ac_prog; ac_word=$2 5214 set dummy $ac_prog; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; } 5216 $as_echo_n "checking for $ac_word... " >&6; }
5271 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5217 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5272 $as_echo_n "(cached) " >&6 5218 $as_echo_n "(cached) " >&6
5273 else 5219 else
5274 if test -n "$ac_ct_DUMPBIN"; then 5220 if test -n "$ac_ct_DUMPBIN"; then
5275 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5221 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5276 else 5222 else
5315 esac 5261 esac
5316 DUMPBIN=$ac_ct_DUMPBIN 5262 DUMPBIN=$ac_ct_DUMPBIN
5317 fi 5263 fi
5318 fi 5264 fi
5319 5265
5266 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5267 *COFF*)
5268 DUMPBIN="$DUMPBIN -symbols"
5269 ;;
5270 *)
5271 DUMPBIN=:
5272 ;;
5273 esac
5274 fi
5320 5275
5321 if test "$DUMPBIN" != ":"; then 5276 if test "$DUMPBIN" != ":"; then
5322 NM="$DUMPBIN" 5277 NM="$DUMPBIN"
5323 fi 5278 fi
5324 fi 5279 fi
5329 5284
5330 5285
5331 5286
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5333 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5288 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5334 if test "${lt_cv_nm_interface+set}" = set; then : 5289 if ${lt_cv_nm_interface+:} false; then :
5335 $as_echo_n "(cached) " >&6 5290 $as_echo_n "(cached) " >&6
5336 else 5291 else
5337 lt_cv_nm_interface="BSD nm" 5292 lt_cv_nm_interface="BSD nm"
5338 echo "int some_variable = 0;" > conftest.$ac_ext 5293 echo "int some_variable = 0;" > conftest.$ac_ext
5339 (eval echo "\"\$as_me:5339: $ac_compile\"" >&5) 5294 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5340 (eval "$ac_compile" 2>conftest.err) 5295 (eval "$ac_compile" 2>conftest.err)
5341 cat conftest.err >&5 5296 cat conftest.err >&5
5342 (eval echo "\"\$as_me:5342: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5297 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5343 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5298 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5344 cat conftest.err >&5 5299 cat conftest.err >&5
5345 (eval echo "\"\$as_me:5345: output\"" >&5) 5300 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5346 cat conftest.out >&5 5301 cat conftest.out >&5
5347 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5302 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5348 lt_cv_nm_interface="MS dumpbin" 5303 lt_cv_nm_interface="MS dumpbin"
5349 fi 5304 fi
5350 rm -f conftest* 5305 rm -f conftest*
5364 fi 5319 fi
5365 5320
5366 # find the maximum length of command line arguments 5321 # find the maximum length of command line arguments
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5368 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5323 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5369 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5324 if ${lt_cv_sys_max_cmd_len+:} false; then :
5370 $as_echo_n "(cached) " >&6 5325 $as_echo_n "(cached) " >&6
5371 else 5326 else
5372 i=0 5327 i=0
5373 teststring="ABCD" 5328 teststring="ABCD"
5374 5329
5394 # Worse, since 9x/ME are not pre-emptively multitasking, 5349 # Worse, since 9x/ME are not pre-emptively multitasking,
5395 # you end up with a "frozen" computer, even though with patience 5350 # you end up with a "frozen" computer, even though with patience
5396 # the test eventually succeeds (with a max line length of 256k). 5351 # the test eventually succeeds (with a max line length of 256k).
5397 # Instead, let's just punt: use the minimum linelength reported by 5352 # Instead, let's just punt: use the minimum linelength reported by
5398 # all of the supported platforms: 8192 (on NT/2K/XP). 5353 # all of the supported platforms: 8192 (on NT/2K/XP).
5354 lt_cv_sys_max_cmd_len=8192;
5355 ;;
5356
5357 mint*)
5358 # On MiNT this can take a long time and run out of memory.
5399 lt_cv_sys_max_cmd_len=8192; 5359 lt_cv_sys_max_cmd_len=8192;
5400 ;; 5360 ;;
5401 5361
5402 amigaos*) 5362 amigaos*)
5403 # On AmigaOS with pdksh, this test takes hours, literally. 5363 # On AmigaOS with pdksh, this test takes hours, literally.
5461 done 5421 done
5462 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5422 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5463 # If test is not a shell built-in, we'll probably end up computing a 5423 # If test is not a shell built-in, we'll probably end up computing a
5464 # maximum length that is only half of the actual maximum length, but 5424 # maximum length that is only half of the actual maximum length, but
5465 # we can't tell. 5425 # we can't tell.
5466 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5426 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5467 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5427 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5468 test $i != 17 # 1/2 MB should be enough 5428 test $i != 17 # 1/2 MB should be enough
5469 do 5429 do
5470 i=`expr $i + 1` 5430 i=`expr $i + 1`
5471 teststring=$teststring$teststring 5431 teststring=$teststring$teststring
5472 done 5432 done
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5505 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5465 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5506 # Try some XSI features 5466 # Try some XSI features
5507 xsi_shell=no 5467 xsi_shell=no
5508 ( _lt_dummy="a/b/c" 5468 ( _lt_dummy="a/b/c"
5509 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5469 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5510 = c,a/b,, \ 5470 = c,a/b,b/c, \
5511 && eval 'test $(( 1 + 1 )) -eq 2 \ 5471 && eval 'test $(( 1 + 1 )) -eq 2 \
5512 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5472 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5513 && xsi_shell=yes 5473 && xsi_shell=yes
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5515 $as_echo "$xsi_shell" >&6; } 5475 $as_echo "$xsi_shell" >&6; }
5554 5514
5555 5515
5556 5516
5557 5517
5558 5518
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5520 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5521 if ${lt_cv_to_host_file_cmd+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 case $host in
5525 *-*-mingw* )
5526 case $build in
5527 *-*-mingw* ) # actually msys
5528 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5529 ;;
5530 *-*-cygwin* )
5531 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5532 ;;
5533 * ) # otherwise, assume *nix
5534 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5535 ;;
5536 esac
5537 ;;
5538 *-*-cygwin* )
5539 case $build in
5540 *-*-mingw* ) # actually msys
5541 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5542 ;;
5543 *-*-cygwin* )
5544 lt_cv_to_host_file_cmd=func_convert_file_noop
5545 ;;
5546 * ) # otherwise, assume *nix
5547 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5548 ;;
5549 esac
5550 ;;
5551 * ) # unhandled hosts (and "normal" native builds)
5552 lt_cv_to_host_file_cmd=func_convert_file_noop
5553 ;;
5554 esac
5555
5556 fi
5557
5558 to_host_file_cmd=$lt_cv_to_host_file_cmd
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5560 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5561
5562
5563
5564
5565
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5567 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5568 if ${lt_cv_to_tool_file_cmd+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 #assume ordinary cross tools, or native build.
5572 lt_cv_to_tool_file_cmd=func_convert_file_noop
5573 case $host in
5574 *-*-mingw* )
5575 case $build in
5576 *-*-mingw* ) # actually msys
5577 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5578 ;;
5579 esac
5580 ;;
5581 esac
5582
5583 fi
5584
5585 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5587 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5588
5589
5590
5591
5592
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5560 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5594 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5561 if test "${lt_cv_ld_reload_flag+set}" = set; then : 5595 if ${lt_cv_ld_reload_flag+:} false; then :
5562 $as_echo_n "(cached) " >&6 5596 $as_echo_n "(cached) " >&6
5563 else 5597 else
5564 lt_cv_ld_reload_flag='-r' 5598 lt_cv_ld_reload_flag='-r'
5565 fi 5599 fi
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5570 "" | " "*) ;; 5604 "" | " "*) ;;
5571 *) reload_flag=" $reload_flag" ;; 5605 *) reload_flag=" $reload_flag" ;;
5572 esac 5606 esac
5573 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5607 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5574 case $host_os in 5608 case $host_os in
5609 cygwin* | mingw* | pw32* | cegcc*)
5610 if test "$GCC" != yes; then
5611 reload_cmds=false
5612 fi
5613 ;;
5575 darwin*) 5614 darwin*)
5576 if test "$GCC" = yes; then 5615 if test "$GCC" = yes; then
5577 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5616 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5578 else 5617 else
5579 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5618 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5592 if test -n "$ac_tool_prefix"; then 5631 if test -n "$ac_tool_prefix"; then
5593 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5632 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5594 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5633 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; } 5635 $as_echo_n "checking for $ac_word... " >&6; }
5597 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5636 if ${ac_cv_prog_OBJDUMP+:} false; then :
5598 $as_echo_n "(cached) " >&6 5637 $as_echo_n "(cached) " >&6
5599 else 5638 else
5600 if test -n "$OBJDUMP"; then 5639 if test -n "$OBJDUMP"; then
5601 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5640 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5602 else 5641 else
5632 ac_ct_OBJDUMP=$OBJDUMP 5671 ac_ct_OBJDUMP=$OBJDUMP
5633 # Extract the first word of "objdump", so it can be a program name with args. 5672 # Extract the first word of "objdump", so it can be a program name with args.
5634 set dummy objdump; ac_word=$2 5673 set dummy objdump; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; } 5675 $as_echo_n "checking for $ac_word... " >&6; }
5637 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5676 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5638 $as_echo_n "(cached) " >&6 5677 $as_echo_n "(cached) " >&6
5639 else 5678 else
5640 if test -n "$ac_ct_OBJDUMP"; then 5679 if test -n "$ac_ct_OBJDUMP"; then
5641 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5680 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5642 else 5681 else
5691 5730
5692 5731
5693 5732
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5695 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 5734 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5696 if test "${lt_cv_deplibs_check_method+set}" = set; then : 5735 if ${lt_cv_deplibs_check_method+:} false; then :
5697 $as_echo_n "(cached) " >&6 5736 $as_echo_n "(cached) " >&6
5698 else 5737 else
5699 lt_cv_file_magic_cmd='$MAGIC_CMD' 5738 lt_cv_file_magic_cmd='$MAGIC_CMD'
5700 lt_cv_file_magic_test_file= 5739 lt_cv_file_magic_test_file=
5701 lt_cv_deplibs_check_method='unknown' 5740 lt_cv_deplibs_check_method='unknown'
5733 5772
5734 mingw* | pw32*) 5773 mingw* | pw32*)
5735 # Base MSYS/MinGW do not provide the 'file' command needed by 5774 # Base MSYS/MinGW do not provide the 'file' command needed by
5736 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5775 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5737 # unless we find 'file', for example because we are cross-compiling. 5776 # unless we find 'file', for example because we are cross-compiling.
5738 if ( file / ) >/dev/null 2>&1; then 5777 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5778 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5739 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5779 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5740 lt_cv_file_magic_cmd='func_win32_libid' 5780 lt_cv_file_magic_cmd='func_win32_libid'
5741 else 5781 else
5742 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5782 # Keep this pattern in sync with the one in func_win32_libid.
5783 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5743 lt_cv_file_magic_cmd='$OBJDUMP -f' 5784 lt_cv_file_magic_cmd='$OBJDUMP -f'
5744 fi 5785 fi
5745 ;; 5786 ;;
5746 5787
5747 cegcc) 5788 cegcc*)
5748 # use the weaker test based on 'objdump'. See mingw*. 5789 # use the weaker test based on 'objdump'. See mingw*.
5749 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5790 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5750 lt_cv_file_magic_cmd='$OBJDUMP -f' 5791 lt_cv_file_magic_cmd='$OBJDUMP -f'
5751 ;; 5792 ;;
5752 5793
5772 5813
5773 gnu*) 5814 gnu*)
5774 lt_cv_deplibs_check_method=pass_all 5815 lt_cv_deplibs_check_method=pass_all
5775 ;; 5816 ;;
5776 5817
5818 haiku*)
5819 lt_cv_deplibs_check_method=pass_all
5820 ;;
5821
5777 hpux10.20* | hpux11*) 5822 hpux10.20* | hpux11*)
5778 lt_cv_file_magic_cmd=/usr/bin/file 5823 lt_cv_file_magic_cmd=/usr/bin/file
5779 case $host_cpu in 5824 case $host_cpu in
5780 ia64*) 5825 ia64*)
5781 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5826 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5782 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5827 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5783 ;; 5828 ;;
5784 hppa*64*) 5829 hppa*64*)
5785 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]' 5830 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]'
5786 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5831 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5787 ;; 5832 ;;
5788 *) 5833 *)
5789 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5834 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5790 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5835 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5791 ;; 5836 ;;
5792 esac 5837 esac
5793 ;; 5838 ;;
5794 5839
5887 esac 5932 esac
5888 5933
5889 fi 5934 fi
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5891 $as_echo "$lt_cv_deplibs_check_method" >&6; } 5936 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5937
5938 file_magic_glob=
5939 want_nocaseglob=no
5940 if test "$build" = "$host"; then
5941 case $host_os in
5942 mingw* | pw32*)
5943 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5944 want_nocaseglob=yes
5945 else
5946 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5947 fi
5948 ;;
5949 esac
5950 fi
5951
5892 file_magic_cmd=$lt_cv_file_magic_cmd 5952 file_magic_cmd=$lt_cv_file_magic_cmd
5893 deplibs_check_method=$lt_cv_deplibs_check_method 5953 deplibs_check_method=$lt_cv_deplibs_check_method
5894 test -z "$deplibs_check_method" && deplibs_check_method=unknown 5954 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5895 5955
5896 5956
5902 5962
5903 5963
5904 5964
5905 5965
5906 5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5907 if test -n "$ac_tool_prefix"; then 5977 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5978 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}ar; ac_word=$2 5979 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; } 5981 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_AR+set}" = set; then : 5982 if ${ac_cv_prog_DLLTOOL+:} false; then :
5913 $as_echo_n "(cached) " >&6 5983 $as_echo_n "(cached) " >&6
5914 else 5984 else
5915 if test -n "$AR"; then 5985 if test -n "$DLLTOOL"; then
5916 ac_cv_prog_AR="$AR" # Let the user override the test. 5986 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5917 else 5987 else
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 for as_dir in $PATH 5989 for as_dir in $PATH
5920 do 5990 do
5921 IFS=$as_save_IFS 5991 IFS=$as_save_IFS
5922 test -z "$as_dir" && as_dir=. 5992 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do 5993 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_AR="${ac_tool_prefix}ar" 5995 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 break 2 5997 break 2
5928 fi 5998 fi
5929 done 5999 done
5930 done 6000 done
5931 IFS=$as_save_IFS 6001 IFS=$as_save_IFS
5932 6002
5933 fi 6003 fi
5934 fi 6004 fi
5935 AR=$ac_cv_prog_AR 6005 DLLTOOL=$ac_cv_prog_DLLTOOL
5936 if test -n "$AR"; then 6006 if test -n "$DLLTOOL"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5938 $as_echo "$AR" >&6; } 6008 $as_echo "$DLLTOOL" >&6; }
5939 else 6009 else
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; } 6011 $as_echo "no" >&6; }
5942 fi 6012 fi
5943 6013
5944 6014
5945 fi 6015 fi
5946 if test -z "$ac_cv_prog_AR"; then 6016 if test -z "$ac_cv_prog_DLLTOOL"; then
5947 ac_ct_AR=$AR 6017 ac_ct_DLLTOOL=$DLLTOOL
5948 # Extract the first word of "ar", so it can be a program name with args. 6018 # Extract the first word of "dlltool", so it can be a program name with args.
5949 set dummy ar; ac_word=$2 6019 set dummy dlltool; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; } 6021 $as_echo_n "checking for $ac_word... " >&6; }
5952 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6022 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5953 $as_echo_n "(cached) " >&6 6023 $as_echo_n "(cached) " >&6
5954 else 6024 else
5955 if test -n "$ac_ct_AR"; then 6025 if test -n "$ac_ct_DLLTOOL"; then
5956 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6026 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5957 else 6027 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH 6029 for as_dir in $PATH
5960 do 6030 do
5961 IFS=$as_save_IFS 6031 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=. 6032 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do 6033 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_ac_ct_AR="ar" 6035 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6038 fi
6039 done
6040 done
6041 IFS=$as_save_IFS
6042
6043 fi
6044 fi
6045 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6046 if test -n "$ac_ct_DLLTOOL"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6048 $as_echo "$ac_ct_DLLTOOL" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6052 fi
6053
6054 if test "x$ac_ct_DLLTOOL" = x; then
6055 DLLTOOL="false"
6056 else
6057 case $cross_compiling:$ac_tool_warned in
6058 yes:)
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6061 ac_tool_warned=yes ;;
6062 esac
6063 DLLTOOL=$ac_ct_DLLTOOL
6064 fi
6065 else
6066 DLLTOOL="$ac_cv_prog_DLLTOOL"
6067 fi
6068
6069 test -z "$DLLTOOL" && DLLTOOL=dlltool
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6081 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6082 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6083 $as_echo_n "(cached) " >&6
6084 else
6085 lt_cv_sharedlib_from_linklib_cmd='unknown'
6086
6087 case $host_os in
6088 cygwin* | mingw* | pw32* | cegcc*)
6089 # two different shell functions defined in ltmain.sh
6090 # decide which to use based on capabilities of $DLLTOOL
6091 case `$DLLTOOL --help 2>&1` in
6092 *--identify-strict*)
6093 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6094 ;;
6095 *)
6096 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6097 ;;
6098 esac
6099 ;;
6100 *)
6101 # fallback: assume linklib IS sharedlib
6102 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6103 ;;
6104 esac
6105
6106 fi
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6108 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6109 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6110 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6111
6112
6113
6114
6115
6116
6117
6118 if test -n "$ac_tool_prefix"; then
6119 for ac_prog in ar
6120 do
6121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_AR+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$AR"; then
6129 ac_cv_prog_AR="$AR" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6133 do
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6141 fi
6142 done
6143 done
6144 IFS=$as_save_IFS
6145
6146 fi
6147 fi
6148 AR=$ac_cv_prog_AR
6149 if test -n "$AR"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6151 $as_echo "$AR" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6155 fi
6156
6157
6158 test -n "$AR" && break
6159 done
6160 fi
6161 if test -z "$AR"; then
6162 ac_ct_AR=$AR
6163 for ac_prog in ar
6164 do
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$ac_ct_AR"; then
6173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_AR="$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 break 2 6184 break 2
5968 fi 6185 fi
5969 done 6186 done
5970 done 6187 done
5978 $as_echo "$ac_ct_AR" >&6; } 6195 $as_echo "$ac_ct_AR" >&6; }
5979 else 6196 else
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; } 6198 $as_echo "no" >&6; }
5982 fi 6199 fi
6200
6201
6202 test -n "$ac_ct_AR" && break
6203 done
5983 6204
5984 if test "x$ac_ct_AR" = x; then 6205 if test "x$ac_ct_AR" = x; then
5985 AR="false" 6206 AR="false"
5986 else 6207 else
5987 case $cross_compiling:$ac_tool_warned in 6208 case $cross_compiling:$ac_tool_warned in
5990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5991 ac_tool_warned=yes ;; 6212 ac_tool_warned=yes ;;
5992 esac 6213 esac
5993 AR=$ac_ct_AR 6214 AR=$ac_ct_AR
5994 fi 6215 fi
5995 else 6216 fi
5996 AR="$ac_cv_prog_AR" 6217
5997 fi 6218 : ${AR=ar}
5998 6219 : ${AR_FLAGS=cru}
5999 test -z "$AR" && AR=ar 6220
6000 test -z "$AR_FLAGS" && AR_FLAGS=cru 6221
6001 6222
6002 6223
6003 6224
6004 6225
6226
6227
6228
6229
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6232 $as_echo_n "checking for archiver @FILE support... " >&6; }
6233 if ${lt_cv_ar_at_file+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 lt_cv_ar_at_file=no
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6239
6240 int
6241 main ()
6242 {
6243
6244 ;
6245 return 0;
6246 }
6247 _ACEOF
6248 if ac_fn_c_try_compile "$LINENO"; then :
6249 echo conftest.$ac_objext > conftest.lst
6250 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6251 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6252 (eval $lt_ar_try) 2>&5
6253 ac_status=$?
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; }
6256 if test "$ac_status" -eq 0; then
6257 # Ensure the archiver fails upon bogus file names.
6258 rm -f conftest.$ac_objext libconftest.a
6259 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6260 (eval $lt_ar_try) 2>&5
6261 ac_status=$?
6262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6263 test $ac_status = 0; }
6264 if test "$ac_status" -ne 0; then
6265 lt_cv_ar_at_file=@
6266 fi
6267 fi
6268 rm -f conftest.* libconftest.a
6269
6270 fi
6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272
6273 fi
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6275 $as_echo "$lt_cv_ar_at_file" >&6; }
6276
6277 if test "x$lt_cv_ar_at_file" = xno; then
6278 archiver_list_spec=
6279 else
6280 archiver_list_spec=$lt_cv_ar_at_file
6281 fi
6005 6282
6006 6283
6007 6284
6008 6285
6009 6286
6012 if test -n "$ac_tool_prefix"; then 6289 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6290 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}strip; ac_word=$2 6291 set dummy ${ac_tool_prefix}strip; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; } 6293 $as_echo_n "checking for $ac_word... " >&6; }
6017 if test "${ac_cv_prog_STRIP+set}" = set; then : 6294 if ${ac_cv_prog_STRIP+:} false; then :
6018 $as_echo_n "(cached) " >&6 6295 $as_echo_n "(cached) " >&6
6019 else 6296 else
6020 if test -n "$STRIP"; then 6297 if test -n "$STRIP"; then
6021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6298 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6022 else 6299 else
6052 ac_ct_STRIP=$STRIP 6329 ac_ct_STRIP=$STRIP
6053 # Extract the first word of "strip", so it can be a program name with args. 6330 # Extract the first word of "strip", so it can be a program name with args.
6054 set dummy strip; ac_word=$2 6331 set dummy strip; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; } 6333 $as_echo_n "checking for $ac_word... " >&6; }
6057 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6334 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6058 $as_echo_n "(cached) " >&6 6335 $as_echo_n "(cached) " >&6
6059 else 6336 else
6060 if test -n "$ac_ct_STRIP"; then 6337 if test -n "$ac_ct_STRIP"; then
6061 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6338 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6062 else 6339 else
6111 if test -n "$ac_tool_prefix"; then 6388 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6389 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6390 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; } 6392 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_RANLIB+set}" = set; then : 6393 if ${ac_cv_prog_RANLIB+:} false; then :
6117 $as_echo_n "(cached) " >&6 6394 $as_echo_n "(cached) " >&6
6118 else 6395 else
6119 if test -n "$RANLIB"; then 6396 if test -n "$RANLIB"; then
6120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6397 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6121 else 6398 else
6151 ac_ct_RANLIB=$RANLIB 6428 ac_ct_RANLIB=$RANLIB
6152 # Extract the first word of "ranlib", so it can be a program name with args. 6429 # Extract the first word of "ranlib", so it can be a program name with args.
6153 set dummy ranlib; ac_word=$2 6430 set dummy ranlib; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; } 6432 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6433 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6157 $as_echo_n "(cached) " >&6 6434 $as_echo_n "(cached) " >&6
6158 else 6435 else
6159 if test -n "$ac_ct_RANLIB"; then 6436 if test -n "$ac_ct_RANLIB"; then
6160 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6437 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6161 else 6438 else
6222 ;; 6499 ;;
6223 esac 6500 esac
6224 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6501 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6225 fi 6502 fi
6226 6503
6504 case $host_os in
6505 darwin*)
6506 lock_old_archive_extraction=yes ;;
6507 *)
6508 lock_old_archive_extraction=no ;;
6509 esac
6510
6511
6512
6513
6514
6515
6227 6516
6228 6517
6229 6518
6230 6519
6231 6520
6268 6557
6269 6558
6270 # Check for command to grab the raw symbol name followed by C symbol from nm. 6559 # Check for command to grab the raw symbol name followed by C symbol from nm.
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6272 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6561 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6273 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6562 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6274 $as_echo_n "(cached) " >&6 6563 $as_echo_n "(cached) " >&6
6275 else 6564 else
6276 6565
6277 # These are sane defaults that work on at least a few old systems. 6566 # These are sane defaults that work on at least a few old systems.
6278 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6567 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6329 # Some systems (esp. on ia64) link data and code symbols differently, 6618 # Some systems (esp. on ia64) link data and code symbols differently,
6330 # so use this general approach. 6619 # so use this general approach.
6331 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6620 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6332 6621
6333 # Transform an extracted symbol line into symbol name and symbol address 6622 # Transform an extracted symbol line into symbol name and symbol address
6334 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6623 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6335 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'" 6624 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'"
6336 6625
6337 # Handle CRLF in mingw tool chain 6626 # Handle CRLF in mingw tool chain
6338 opt_cr= 6627 opt_cr=
6339 case $build_os in 6628 case $build_os in
6340 mingw*) 6629 mingw*)
6366 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6655 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6367 " ' prfx=^$ac_symprfx" 6656 " ' prfx=^$ac_symprfx"
6368 else 6657 else
6369 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6658 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6370 fi 6659 fi
6660 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6371 6661
6372 # Check to see that the pipe works correctly. 6662 # Check to see that the pipe works correctly.
6373 pipe_works=no 6663 pipe_works=no
6374 6664
6375 rm -f conftest* 6665 rm -f conftest*
6391 ac_status=$? 6681 ac_status=$?
6392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6393 test $ac_status = 0; }; then 6683 test $ac_status = 0; }; then
6394 # Now try to grab the symbols. 6684 # Now try to grab the symbols.
6395 nlist=conftest.nm 6685 nlist=conftest.nm
6396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6397 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6687 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6398 ac_status=$? 6688 ac_status=$?
6399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6400 test $ac_status = 0; } && test -s "$nlist"; then 6690 test $ac_status = 0; } && test -s "$nlist"; then
6401 # Try sorting and uniquifying the output. 6691 # Try sorting and uniquifying the output.
6402 if sort "$nlist" | uniq > "$nlist"T; then 6692 if sort "$nlist" | uniq > "$nlist"T; then
6407 6697
6408 # Make sure that we snagged all the symbols we need. 6698 # Make sure that we snagged all the symbols we need.
6409 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6699 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6410 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6700 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6411 cat <<_LT_EOF > conftest.$ac_ext 6701 cat <<_LT_EOF > conftest.$ac_ext
6702 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6703 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6704 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6705 relocations are performed -- see ld's documentation on pseudo-relocs. */
6706 # define LT_DLSYM_CONST
6707 #elif defined(__osf__)
6708 /* This system does not cope well with relocations in const data. */
6709 # define LT_DLSYM_CONST
6710 #else
6711 # define LT_DLSYM_CONST const
6712 #endif
6713
6412 #ifdef __cplusplus 6714 #ifdef __cplusplus
6413 extern "C" { 6715 extern "C" {
6414 #endif 6716 #endif
6415 6717
6416 _LT_EOF 6718 _LT_EOF
6418 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6720 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6419 6721
6420 cat <<_LT_EOF >> conftest.$ac_ext 6722 cat <<_LT_EOF >> conftest.$ac_ext
6421 6723
6422 /* The mapping between symbol names and symbols. */ 6724 /* The mapping between symbol names and symbols. */
6423 const struct { 6725 LT_DLSYM_CONST struct {
6424 const char *name; 6726 const char *name;
6425 void *address; 6727 void *address;
6426 } 6728 }
6427 lt__PROGRAM__LTX_preloaded_symbols[] = 6729 lt__PROGRAM__LTX_preloaded_symbols[] =
6428 { 6730 {
6444 } 6746 }
6445 #endif 6747 #endif
6446 _LT_EOF 6748 _LT_EOF
6447 # Now try linking the two files. 6749 # Now try linking the two files.
6448 mv conftest.$ac_objext conftstm.$ac_objext 6750 mv conftest.$ac_objext conftstm.$ac_objext
6449 lt_save_LIBS="$LIBS" 6751 lt_globsym_save_LIBS=$LIBS
6450 lt_save_CFLAGS="$CFLAGS" 6752 lt_globsym_save_CFLAGS=$CFLAGS
6451 LIBS="conftstm.$ac_objext" 6753 LIBS="conftstm.$ac_objext"
6452 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6754 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6454 (eval $ac_link) 2>&5 6756 (eval $ac_link) 2>&5
6455 ac_status=$? 6757 ac_status=$?
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6457 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6759 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6458 pipe_works=yes 6760 pipe_works=yes
6459 fi 6761 fi
6460 LIBS="$lt_save_LIBS" 6762 LIBS=$lt_globsym_save_LIBS
6461 CFLAGS="$lt_save_CFLAGS" 6763 CFLAGS=$lt_globsym_save_CFLAGS
6462 else 6764 else
6463 echo "cannot find nm_test_func in $nlist" >&5 6765 echo "cannot find nm_test_func in $nlist" >&5
6464 fi 6766 fi
6465 else 6767 else
6466 echo "cannot find nm_test_var in $nlist" >&5 6768 echo "cannot find nm_test_var in $nlist" >&5
6493 else 6795 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6495 $as_echo "ok" >&6; } 6797 $as_echo "ok" >&6; }
6496 fi 6798 fi
6497 6799
6498 6800 # Response file support.
6499 6801 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6500 6802 nm_file_list_spec='@'
6501 6803 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6502 6804 nm_file_list_spec='@'
6503 6805 fi
6504 6806
6505 6807
6506 6808
6507 6809
6508 6810
6509 6811
6510 6812
6511 6813
6512 6814
6513 6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6834 $as_echo_n "checking for sysroot... " >&6; }
6835
6836 # Check whether --with-sysroot was given.
6837 if test "${with_sysroot+set}" = set; then :
6838 withval=$with_sysroot;
6839 else
6840 with_sysroot=no
6841 fi
6842
6843
6844 lt_sysroot=
6845 case ${with_sysroot} in #(
6846 yes)
6847 if test "$GCC" = yes; then
6848 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6849 fi
6850 ;; #(
6851 /*)
6852 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6853 ;; #(
6854 no|'')
6855 ;; #(
6856 *)
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6858 $as_echo "${with_sysroot}" >&6; }
6859 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6860 ;;
6861 esac
6862
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6864 $as_echo "${lt_sysroot:-no}" >&6; }
6514 6865
6515 6866
6516 6867
6517 6868
6518 6869
6545 fi 6896 fi
6546 rm -rf conftest* 6897 rm -rf conftest*
6547 ;; 6898 ;;
6548 *-*-irix6*) 6899 *-*-irix6*)
6549 # Find out which ABI we are using. 6900 # Find out which ABI we are using.
6550 echo '#line 6550 "configure"' > conftest.$ac_ext 6901 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6551 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6552 (eval $ac_compile) 2>&5 6903 (eval $ac_compile) 2>&5
6553 ac_status=$? 6904 ac_status=$?
6554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555 test $ac_status = 0; }; then 6906 test $ac_status = 0; }; then
6639 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6990 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6640 SAVE_CFLAGS="$CFLAGS" 6991 SAVE_CFLAGS="$CFLAGS"
6641 CFLAGS="$CFLAGS -belf" 6992 CFLAGS="$CFLAGS -belf"
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6643 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6994 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6644 if test "${lt_cv_cc_needs_belf+set}" = set; then : 6995 if ${lt_cv_cc_needs_belf+:} false; then :
6645 $as_echo_n "(cached) " >&6 6996 $as_echo_n "(cached) " >&6
6646 else 6997 else
6647 ac_ext=c 6998 ac_ext=c
6648 ac_cpp='$CPP $CPPFLAGS' 6999 ac_cpp='$CPP $CPPFLAGS'
6649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ;; 7058 ;;
6708 esac 7059 esac
6709 7060
6710 need_locks="$enable_libtool_lock" 7061 need_locks="$enable_libtool_lock"
6711 7062
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}mt; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7069 $as_echo_n "(cached) " >&6
7070 else
7071 if test -n "$MANIFEST_TOOL"; then
7072 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7073 else
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 for as_dir in $PATH
7076 do
7077 IFS=$as_save_IFS
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 break 2
7084 fi
7085 done
7086 done
7087 IFS=$as_save_IFS
7088
7089 fi
7090 fi
7091 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7092 if test -n "$MANIFEST_TOOL"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7094 $as_echo "$MANIFEST_TOOL" >&6; }
7095 else
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7098 fi
7099
7100
7101 fi
7102 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7103 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7104 # Extract the first word of "mt", so it can be a program name with args.
7105 set dummy mt; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 if test -n "$ac_ct_MANIFEST_TOOL"; then
7112 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117 IFS=$as_save_IFS
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7121 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 break 2
7124 fi
7125 done
7126 done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7132 if test -n "$ac_ct_MANIFEST_TOOL"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7134 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7135 else
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7141 MANIFEST_TOOL=":"
7142 else
7143 case $cross_compiling:$ac_tool_warned in
7144 yes:)
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7148 esac
7149 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7150 fi
7151 else
7152 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7153 fi
7154
7155 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7157 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7158 if ${lt_cv_path_mainfest_tool+:} false; then :
7159 $as_echo_n "(cached) " >&6
7160 else
7161 lt_cv_path_mainfest_tool=no
7162 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7163 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7164 cat conftest.err >&5
7165 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7166 lt_cv_path_mainfest_tool=yes
7167 fi
7168 rm -f conftest*
7169 fi
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7171 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7172 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7173 MANIFEST_TOOL=:
7174 fi
7175
7176
7177
7178
7179
6712 7180
6713 case $host_os in 7181 case $host_os in
6714 rhapsody* | darwin*) 7182 rhapsody* | darwin*)
6715 if test -n "$ac_tool_prefix"; then 7183 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7184 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6717 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7185 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; } 7187 $as_echo_n "checking for $ac_word... " >&6; }
6720 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 7188 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6721 $as_echo_n "(cached) " >&6 7189 $as_echo_n "(cached) " >&6
6722 else 7190 else
6723 if test -n "$DSYMUTIL"; then 7191 if test -n "$DSYMUTIL"; then
6724 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7192 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6725 else 7193 else
6755 ac_ct_DSYMUTIL=$DSYMUTIL 7223 ac_ct_DSYMUTIL=$DSYMUTIL
6756 # Extract the first word of "dsymutil", so it can be a program name with args. 7224 # Extract the first word of "dsymutil", so it can be a program name with args.
6757 set dummy dsymutil; ac_word=$2 7225 set dummy dsymutil; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; } 7227 $as_echo_n "checking for $ac_word... " >&6; }
6760 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7228 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6761 $as_echo_n "(cached) " >&6 7229 $as_echo_n "(cached) " >&6
6762 else 7230 else
6763 if test -n "$ac_ct_DSYMUTIL"; then 7231 if test -n "$ac_ct_DSYMUTIL"; then
6764 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7232 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6765 else 7233 else
6807 if test -n "$ac_tool_prefix"; then 7275 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7276 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6809 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7277 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; } 7279 $as_echo_n "checking for $ac_word... " >&6; }
6812 if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7280 if ${ac_cv_prog_NMEDIT+:} false; then :
6813 $as_echo_n "(cached) " >&6 7281 $as_echo_n "(cached) " >&6
6814 else 7282 else
6815 if test -n "$NMEDIT"; then 7283 if test -n "$NMEDIT"; then
6816 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7284 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6817 else 7285 else
6847 ac_ct_NMEDIT=$NMEDIT 7315 ac_ct_NMEDIT=$NMEDIT
6848 # Extract the first word of "nmedit", so it can be a program name with args. 7316 # Extract the first word of "nmedit", so it can be a program name with args.
6849 set dummy nmedit; ac_word=$2 7317 set dummy nmedit; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6851 $as_echo_n "checking for $ac_word... " >&6; } 7319 $as_echo_n "checking for $ac_word... " >&6; }
6852 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7320 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6853 $as_echo_n "(cached) " >&6 7321 $as_echo_n "(cached) " >&6
6854 else 7322 else
6855 if test -n "$ac_ct_NMEDIT"; then 7323 if test -n "$ac_ct_NMEDIT"; then
6856 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7324 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6857 else 7325 else
6899 if test -n "$ac_tool_prefix"; then 7367 if test -n "$ac_tool_prefix"; then
6900 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7368 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}lipo; ac_word=$2 7369 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; } 7371 $as_echo_n "checking for $ac_word... " >&6; }
6904 if test "${ac_cv_prog_LIPO+set}" = set; then : 7372 if ${ac_cv_prog_LIPO+:} false; then :
6905 $as_echo_n "(cached) " >&6 7373 $as_echo_n "(cached) " >&6
6906 else 7374 else
6907 if test -n "$LIPO"; then 7375 if test -n "$LIPO"; then
6908 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7376 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6909 else 7377 else
6939 ac_ct_LIPO=$LIPO 7407 ac_ct_LIPO=$LIPO
6940 # Extract the first word of "lipo", so it can be a program name with args. 7408 # Extract the first word of "lipo", so it can be a program name with args.
6941 set dummy lipo; ac_word=$2 7409 set dummy lipo; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; } 7411 $as_echo_n "checking for $ac_word... " >&6; }
6944 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7412 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6945 $as_echo_n "(cached) " >&6 7413 $as_echo_n "(cached) " >&6
6946 else 7414 else
6947 if test -n "$ac_ct_LIPO"; then 7415 if test -n "$ac_ct_LIPO"; then
6948 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7416 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6949 else 7417 else
6991 if test -n "$ac_tool_prefix"; then 7459 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7460 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}otool; ac_word=$2 7461 set dummy ${ac_tool_prefix}otool; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; } 7463 $as_echo_n "checking for $ac_word... " >&6; }
6996 if test "${ac_cv_prog_OTOOL+set}" = set; then : 7464 if ${ac_cv_prog_OTOOL+:} false; then :
6997 $as_echo_n "(cached) " >&6 7465 $as_echo_n "(cached) " >&6
6998 else 7466 else
6999 if test -n "$OTOOL"; then 7467 if test -n "$OTOOL"; then
7000 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7468 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7001 else 7469 else
7031 ac_ct_OTOOL=$OTOOL 7499 ac_ct_OTOOL=$OTOOL
7032 # Extract the first word of "otool", so it can be a program name with args. 7500 # Extract the first word of "otool", so it can be a program name with args.
7033 set dummy otool; ac_word=$2 7501 set dummy otool; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; } 7503 $as_echo_n "checking for $ac_word... " >&6; }
7036 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7504 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7037 $as_echo_n "(cached) " >&6 7505 $as_echo_n "(cached) " >&6
7038 else 7506 else
7039 if test -n "$ac_ct_OTOOL"; then 7507 if test -n "$ac_ct_OTOOL"; then
7040 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7508 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7041 else 7509 else
7083 if test -n "$ac_tool_prefix"; then 7551 if test -n "$ac_tool_prefix"; then
7084 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7552 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7085 set dummy ${ac_tool_prefix}otool64; ac_word=$2 7553 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; } 7555 $as_echo_n "checking for $ac_word... " >&6; }
7088 if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7556 if ${ac_cv_prog_OTOOL64+:} false; then :
7089 $as_echo_n "(cached) " >&6 7557 $as_echo_n "(cached) " >&6
7090 else 7558 else
7091 if test -n "$OTOOL64"; then 7559 if test -n "$OTOOL64"; then
7092 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7560 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7093 else 7561 else
7123 ac_ct_OTOOL64=$OTOOL64 7591 ac_ct_OTOOL64=$OTOOL64
7124 # Extract the first word of "otool64", so it can be a program name with args. 7592 # Extract the first word of "otool64", so it can be a program name with args.
7125 set dummy otool64; ac_word=$2 7593 set dummy otool64; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; } 7595 $as_echo_n "checking for $ac_word... " >&6; }
7128 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7596 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7129 $as_echo_n "(cached) " >&6 7597 $as_echo_n "(cached) " >&6
7130 else 7598 else
7131 if test -n "$ac_ct_OTOOL64"; then 7599 if test -n "$ac_ct_OTOOL64"; then
7132 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7600 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7133 else 7601 else
7198 7666
7199 7667
7200 7668
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7202 $as_echo_n "checking for -single_module linker flag... " >&6; } 7670 $as_echo_n "checking for -single_module linker flag... " >&6; }
7203 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7671 if ${lt_cv_apple_cc_single_mod+:} false; then :
7204 $as_echo_n "(cached) " >&6 7672 $as_echo_n "(cached) " >&6
7205 else 7673 else
7206 lt_cv_apple_cc_single_mod=no 7674 lt_cv_apple_cc_single_mod=no
7207 if test -z "${LT_MULTI_MODULE}"; then 7675 if test -z "${LT_MULTI_MODULE}"; then
7208 # By default we will add the -single_module flag. You can override 7676 # By default we will add the -single_module flag. You can override
7227 fi 7695 fi
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7229 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7697 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7231 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7699 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7232 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7700 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7233 $as_echo_n "(cached) " >&6 7701 $as_echo_n "(cached) " >&6
7234 else 7702 else
7235 lt_cv_ld_exported_symbols_list=no 7703 lt_cv_ld_exported_symbols_list=no
7236 save_LDFLAGS=$LDFLAGS 7704 save_LDFLAGS=$LDFLAGS
7237 echo "_main" > conftest.sym 7705 echo "_main" > conftest.sym
7257 LDFLAGS="$save_LDFLAGS" 7725 LDFLAGS="$save_LDFLAGS"
7258 7726
7259 fi 7727 fi
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7261 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7729 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7731 $as_echo_n "checking for -force_load linker flag... " >&6; }
7732 if ${lt_cv_ld_force_load+:} false; then :
7733 $as_echo_n "(cached) " >&6
7734 else
7735 lt_cv_ld_force_load=no
7736 cat > conftest.c << _LT_EOF
7737 int forced_loaded() { return 2;}
7738 _LT_EOF
7739 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7740 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7741 echo "$AR cru libconftest.a conftest.o" >&5
7742 $AR cru libconftest.a conftest.o 2>&5
7743 echo "$RANLIB libconftest.a" >&5
7744 $RANLIB libconftest.a 2>&5
7745 cat > conftest.c << _LT_EOF
7746 int main() { return 0;}
7747 _LT_EOF
7748 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7749 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7750 _lt_result=$?
7751 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7752 lt_cv_ld_force_load=yes
7753 else
7754 cat conftest.err >&5
7755 fi
7756 rm -f conftest.err libconftest.a conftest conftest.c
7757 rm -rf conftest.dSYM
7758
7759 fi
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7761 $as_echo "$lt_cv_ld_force_load" >&6; }
7262 case $host_os in 7762 case $host_os in
7263 rhapsody* | darwin1.[012]) 7763 rhapsody* | darwin1.[012])
7264 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7764 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7265 darwin1.*) 7765 darwin1.*)
7266 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7766 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7284 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7784 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7285 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7785 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7286 else 7786 else
7287 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7787 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7288 fi 7788 fi
7289 if test "$DSYMUTIL" != ":"; then 7789 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7290 _lt_dsymutil='~$DSYMUTIL $lib || :' 7790 _lt_dsymutil='~$DSYMUTIL $lib || :'
7291 else 7791 else
7292 _lt_dsymutil= 7792 _lt_dsymutil=
7293 fi 7793 fi
7294 ;; 7794 ;;
7296 7796
7297 for ac_header in dlfcn.h 7797 for ac_header in dlfcn.h
7298 do : 7798 do :
7299 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7799 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7300 " 7800 "
7301 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7801 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7302 cat >>confdefs.h <<_ACEOF 7802 cat >>confdefs.h <<_ACEOF
7303 #define HAVE_DLFCN_H 1 7803 #define HAVE_DLFCN_H 1
7304 _ACEOF 7804 _ACEOF
7305 7805
7306 fi 7806 fi
7307 7807
7308 done 7808 done
7809
7810
7309 7811
7310 7812
7311 7813
7312 # Set options 7814 # Set options
7313 7815
7459 7961
7460 7962
7461 7963
7462 7964
7463 7965
7966
7464 test -z "$LN_S" && LN_S="ln -s" 7967 test -z "$LN_S" && LN_S="ln -s"
7465 7968
7466 7969
7467 7970
7468 7971
7480 setopt NO_GLOB_SUBST 7983 setopt NO_GLOB_SUBST
7481 fi 7984 fi
7482 7985
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7484 $as_echo_n "checking for objdir... " >&6; } 7987 $as_echo_n "checking for objdir... " >&6; }
7485 if test "${lt_cv_objdir+set}" = set; then : 7988 if ${lt_cv_objdir+:} false; then :
7486 $as_echo_n "(cached) " >&6 7989 $as_echo_n "(cached) " >&6
7487 else 7990 else
7488 rm -f .libs 2>/dev/null 7991 rm -f .libs 2>/dev/null
7489 mkdir .libs 2>/dev/null 7992 mkdir .libs 2>/dev/null
7490 if test -d .libs; then 7993 if test -d .libs; then
7504 8007
7505 8008
7506 cat >>confdefs.h <<_ACEOF 8009 cat >>confdefs.h <<_ACEOF
7507 #define LT_OBJDIR "$lt_cv_objdir/" 8010 #define LT_OBJDIR "$lt_cv_objdir/"
7508 _ACEOF 8011 _ACEOF
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522 8012
7523 8013
7524 8014
7525 8015
7526 case $host_os in 8016 case $host_os in
7533 export COLLECT_NAMES 8023 export COLLECT_NAMES
7534 fi 8024 fi
7535 ;; 8025 ;;
7536 esac 8026 esac
7537 8027
7538 # Sed substitution that helps us do robust quoting. It backslashifies
7539 # metacharacters that are still active within double-quoted strings.
7540 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7541
7542 # Same as above, but do not quote variable references.
7543 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7544
7545 # Sed substitution to delay expansion of an escaped shell variable in a
7546 # double_quote_subst'ed string.
7547 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7548
7549 # Sed substitution to delay expansion of an escaped single quote.
7550 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7551
7552 # Sed substitution to avoid accidental globbing in evaled expressions
7553 no_glob_subst='s/\*/\\\*/g'
7554
7555 # Global variables: 8028 # Global variables:
7556 ofile=libtool 8029 ofile=libtool
7557 can_build_shared=yes 8030 can_build_shared=yes
7558 8031
7559 # All known linkers require a `.a' archive for static linking (except MSVC, 8032 # All known linkers require a `.a' archive for static linking (except MSVC,
7578 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8051 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7579 \-*) ;; 8052 \-*) ;;
7580 *) break;; 8053 *) break;;
7581 esac 8054 esac
7582 done 8055 done
7583 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8056 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7584 8057
7585 8058
7586 # Only perform the check for file, if the check method requires it 8059 # Only perform the check for file, if the check method requires it
7587 test -z "$MAGIC_CMD" && MAGIC_CMD=file 8060 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7588 case $deplibs_check_method in 8061 case $deplibs_check_method in
7589 file_magic*) 8062 file_magic*)
7590 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8063 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7592 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8065 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7593 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8066 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7594 $as_echo_n "(cached) " >&6 8067 $as_echo_n "(cached) " >&6
7595 else 8068 else
7596 case $MAGIC_CMD in 8069 case $MAGIC_CMD in
7597 [\\/*] | ?:[\\/]*) 8070 [\\/*] | ?:[\\/]*)
7598 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8071 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7654 8127
7655 if test -z "$lt_cv_path_MAGIC_CMD"; then 8128 if test -z "$lt_cv_path_MAGIC_CMD"; then
7656 if test -n "$ac_tool_prefix"; then 8129 if test -n "$ac_tool_prefix"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7658 $as_echo_n "checking for file... " >&6; } 8131 $as_echo_n "checking for file... " >&6; }
7659 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8132 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7660 $as_echo_n "(cached) " >&6 8133 $as_echo_n "(cached) " >&6
7661 else 8134 else
7662 case $MAGIC_CMD in 8135 case $MAGIC_CMD in
7663 [\\/*] | ?:[\\/]*) 8136 [\\/*] | ?:[\\/]*)
7664 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8137 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7787 if test -n "$compiler"; then 8260 if test -n "$compiler"; then
7788 8261
7789 lt_prog_compiler_no_builtin_flag= 8262 lt_prog_compiler_no_builtin_flag=
7790 8263
7791 if test "$GCC" = yes; then 8264 if test "$GCC" = yes; then
7792 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8265 case $cc_basename in
8266 nvcc*)
8267 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8268 *)
8269 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8270 esac
7793 8271
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7795 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8273 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7796 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 8274 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7797 $as_echo_n "(cached) " >&6 8275 $as_echo_n "(cached) " >&6
7798 else 8276 else
7799 lt_cv_prog_compiler_rtti_exceptions=no 8277 lt_cv_prog_compiler_rtti_exceptions=no
7800 ac_outfile=conftest.$ac_objext 8278 ac_outfile=conftest.$ac_objext
7801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8279 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7807 # The option is referenced via a variable to avoid confusing sed. 8285 # The option is referenced via a variable to avoid confusing sed.
7808 lt_compile=`echo "$ac_compile" | $SED \ 8286 lt_compile=`echo "$ac_compile" | $SED \
7809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8287 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8288 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7811 -e 's:$: $lt_compiler_flag:'` 8289 -e 's:$: $lt_compiler_flag:'`
7812 (eval echo "\"\$as_me:7812: $lt_compile\"" >&5) 8290 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7813 (eval "$lt_compile" 2>conftest.err) 8291 (eval "$lt_compile" 2>conftest.err)
7814 ac_status=$? 8292 ac_status=$?
7815 cat conftest.err >&5 8293 cat conftest.err >&5
7816 echo "$as_me:7816: \$? = $ac_status" >&5 8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 if (exit $ac_status) && test -s "$ac_outfile"; then 8295 if (exit $ac_status) && test -s "$ac_outfile"; then
7818 # The compiler can only warn and ignore the option if not recognized 8296 # The compiler can only warn and ignore the option if not recognized
7819 # So say no if there are warnings other than the usual output. 8297 # So say no if there are warnings other than the usual output.
7820 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8298 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8299 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7822 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8300 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7823 lt_cv_prog_compiler_rtti_exceptions=yes 8301 lt_cv_prog_compiler_rtti_exceptions=yes
7824 fi 8302 fi
7825 fi 8303 fi
7844 8322
7845 lt_prog_compiler_wl= 8323 lt_prog_compiler_wl=
7846 lt_prog_compiler_pic= 8324 lt_prog_compiler_pic=
7847 lt_prog_compiler_static= 8325 lt_prog_compiler_static=
7848 8326
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7850 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7851 8327
7852 if test "$GCC" = yes; then 8328 if test "$GCC" = yes; then
7853 lt_prog_compiler_wl='-Wl,' 8329 lt_prog_compiler_wl='-Wl,'
7854 lt_prog_compiler_static='-static' 8330 lt_prog_compiler_static='-static'
7855 8331
7893 # PIC is the default on this platform 8369 # PIC is the default on this platform
7894 # Common symbols not allowed in MH_DYLIB files 8370 # Common symbols not allowed in MH_DYLIB files
7895 lt_prog_compiler_pic='-fno-common' 8371 lt_prog_compiler_pic='-fno-common'
7896 ;; 8372 ;;
7897 8373
8374 haiku*)
8375 # PIC is the default for Haiku.
8376 # The "-static" flag exists, but is broken.
8377 lt_prog_compiler_static=
8378 ;;
8379
7898 hpux*) 8380 hpux*)
7899 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8381 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7900 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8382 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7901 # sets the default TLS model and affects inlining. 8383 # sets the default TLS model and affects inlining.
7902 case $host_cpu in 8384 case $host_cpu in
7933 fi 8415 fi
7934 ;; 8416 ;;
7935 8417
7936 *) 8418 *)
7937 lt_prog_compiler_pic='-fPIC' 8419 lt_prog_compiler_pic='-fPIC'
8420 ;;
8421 esac
8422
8423 case $cc_basename in
8424 nvcc*) # Cuda Compiler Driver 2.2
8425 lt_prog_compiler_wl='-Xlinker '
8426 lt_prog_compiler_pic='-Xcompiler -fPIC'
7938 ;; 8427 ;;
7939 esac 8428 esac
7940 else 8429 else
7941 # PORTME Check for flag to pass linker flags through the system compiler. 8430 # PORTME Check for flag to pass linker flags through the system compiler.
7942 case $host_os in 8431 case $host_os in
7997 lf95*) 8486 lf95*)
7998 lt_prog_compiler_wl='-Wl,' 8487 lt_prog_compiler_wl='-Wl,'
7999 lt_prog_compiler_pic='--shared' 8488 lt_prog_compiler_pic='--shared'
8000 lt_prog_compiler_static='--static' 8489 lt_prog_compiler_static='--static'
8001 ;; 8490 ;;
8002 pgcc* | pgf77* | pgf90* | pgf95*) 8491 nagfor*)
8492 # NAG Fortran compiler
8493 lt_prog_compiler_wl='-Wl,-Wl,,'
8494 lt_prog_compiler_pic='-PIC'
8495 lt_prog_compiler_static='-Bstatic'
8496 ;;
8497 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8003 # Portland Group compilers (*not* the Pentium gcc compiler, 8498 # Portland Group compilers (*not* the Pentium gcc compiler,
8004 # which looks to be a dead project) 8499 # which looks to be a dead project)
8005 lt_prog_compiler_wl='-Wl,' 8500 lt_prog_compiler_wl='-Wl,'
8006 lt_prog_compiler_pic='-fpic' 8501 lt_prog_compiler_pic='-fpic'
8007 lt_prog_compiler_static='-Bstatic' 8502 lt_prog_compiler_static='-Bstatic'
8009 ccc*) 8504 ccc*)
8010 lt_prog_compiler_wl='-Wl,' 8505 lt_prog_compiler_wl='-Wl,'
8011 # All Alpha code is PIC. 8506 # All Alpha code is PIC.
8012 lt_prog_compiler_static='-non_shared' 8507 lt_prog_compiler_static='-non_shared'
8013 ;; 8508 ;;
8014 xl*) 8509 xl* | bgxl* | bgf* | mpixl*)
8015 # IBM XL C 8.0/Fortran 10.1 on PPC 8510 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8016 lt_prog_compiler_wl='-Wl,' 8511 lt_prog_compiler_wl='-Wl,'
8017 lt_prog_compiler_pic='-qpic' 8512 lt_prog_compiler_pic='-qpic'
8018 lt_prog_compiler_static='-qstaticlink' 8513 lt_prog_compiler_static='-qstaticlink'
8019 ;; 8514 ;;
8020 *) 8515 *)
8021 case `$CC -V 2>&1 | sed 5q` in 8516 case `$CC -V 2>&1 | sed 5q` in
8517 *Sun\ F* | *Sun*Fortran*)
8518 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8521 lt_prog_compiler_wl=''
8522 ;;
8022 *Sun\ C*) 8523 *Sun\ C*)
8023 # Sun C 5.9 8524 # Sun C 5.9
8024 lt_prog_compiler_pic='-KPIC' 8525 lt_prog_compiler_pic='-KPIC'
8025 lt_prog_compiler_static='-Bstatic' 8526 lt_prog_compiler_static='-Bstatic'
8026 lt_prog_compiler_wl='-Wl,' 8527 lt_prog_compiler_wl='-Wl,'
8027 ;; 8528 ;;
8028 *Sun\ F*)
8029 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8030 lt_prog_compiler_pic='-KPIC'
8031 lt_prog_compiler_static='-Bstatic'
8032 lt_prog_compiler_wl=''
8033 ;;
8034 esac 8529 esac
8035 ;; 8530 ;;
8036 esac 8531 esac
8037 ;; 8532 ;;
8038 8533
8059 8554
8060 solaris*) 8555 solaris*)
8061 lt_prog_compiler_pic='-KPIC' 8556 lt_prog_compiler_pic='-KPIC'
8062 lt_prog_compiler_static='-Bstatic' 8557 lt_prog_compiler_static='-Bstatic'
8063 case $cc_basename in 8558 case $cc_basename in
8064 f77* | f90* | f95*) 8559 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8065 lt_prog_compiler_wl='-Qoption ld ';; 8560 lt_prog_compiler_wl='-Qoption ld ';;
8066 *) 8561 *)
8067 lt_prog_compiler_wl='-Wl,';; 8562 lt_prog_compiler_wl='-Wl,';;
8068 esac 8563 esac
8069 ;; 8564 ;;
8116 ;; 8611 ;;
8117 *) 8612 *)
8118 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8613 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8119 ;; 8614 ;;
8120 esac 8615 esac
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8616
8122 $as_echo "$lt_prog_compiler_pic" >&6; } 8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8123 8618 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8124 8619 if ${lt_cv_prog_compiler_pic+:} false; then :
8125 8620 $as_echo_n "(cached) " >&6
8126 8621 else
8127 8622 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8623 fi
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8625 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8626 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8128 8627
8129 # 8628 #
8130 # Check to make sure the PIC flag actually works. 8629 # Check to make sure the PIC flag actually works.
8131 # 8630 #
8132 if test -n "$lt_prog_compiler_pic"; then 8631 if test -n "$lt_prog_compiler_pic"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8134 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8633 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8135 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 8634 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8136 $as_echo_n "(cached) " >&6 8635 $as_echo_n "(cached) " >&6
8137 else 8636 else
8138 lt_cv_prog_compiler_pic_works=no 8637 lt_cv_prog_compiler_pic_works=no
8139 ac_outfile=conftest.$ac_objext 8638 ac_outfile=conftest.$ac_objext
8140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8639 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8146 # The option is referenced via a variable to avoid confusing sed. 8645 # The option is referenced via a variable to avoid confusing sed.
8147 lt_compile=`echo "$ac_compile" | $SED \ 8646 lt_compile=`echo "$ac_compile" | $SED \
8148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8150 -e 's:$: $lt_compiler_flag:'` 8649 -e 's:$: $lt_compiler_flag:'`
8151 (eval echo "\"\$as_me:8151: $lt_compile\"" >&5) 8650 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8152 (eval "$lt_compile" 2>conftest.err) 8651 (eval "$lt_compile" 2>conftest.err)
8153 ac_status=$? 8652 ac_status=$?
8154 cat conftest.err >&5 8653 cat conftest.err >&5
8155 echo "$as_me:8155: \$? = $ac_status" >&5 8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 if (exit $ac_status) && test -s "$ac_outfile"; then 8655 if (exit $ac_status) && test -s "$ac_outfile"; then
8157 # The compiler can only warn and ignore the option if not recognized 8656 # The compiler can only warn and ignore the option if not recognized
8158 # So say no if there are warnings other than the usual output. 8657 # So say no if there are warnings other than the usual output.
8159 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8658 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8659 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8161 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8660 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8162 lt_cv_prog_compiler_pic_works=yes 8661 lt_cv_prog_compiler_pic_works=yes
8163 fi 8662 fi
8164 fi 8663 fi
8183 8682
8184 8683
8185 8684
8186 8685
8187 8686
8687
8688
8689
8690
8691
8188 # 8692 #
8189 # Check to make sure the static flag actually works. 8693 # Check to make sure the static flag actually works.
8190 # 8694 #
8191 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8695 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8193 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8697 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8194 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 8698 if ${lt_cv_prog_compiler_static_works+:} false; then :
8195 $as_echo_n "(cached) " >&6 8699 $as_echo_n "(cached) " >&6
8196 else 8700 else
8197 lt_cv_prog_compiler_static_works=no 8701 lt_cv_prog_compiler_static_works=no
8198 save_LDFLAGS="$LDFLAGS" 8702 save_LDFLAGS="$LDFLAGS"
8199 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8703 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8202 # The linker can only warn and ignore the option if not recognized 8706 # The linker can only warn and ignore the option if not recognized
8203 # So say no if there are warnings 8707 # So say no if there are warnings
8204 if test -s conftest.err; then 8708 if test -s conftest.err; then
8205 # Append any errors to the config.log. 8709 # Append any errors to the config.log.
8206 cat conftest.err 1>&5 8710 cat conftest.err 1>&5
8207 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8711 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8208 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8712 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8209 if diff conftest.exp conftest.er2 >/dev/null; then 8713 if diff conftest.exp conftest.er2 >/dev/null; then
8210 lt_cv_prog_compiler_static_works=yes 8714 lt_cv_prog_compiler_static_works=yes
8211 fi 8715 fi
8212 else 8716 else
8232 8736
8233 8737
8234 8738
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8236 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8237 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8741 if ${lt_cv_prog_compiler_c_o+:} false; then :
8238 $as_echo_n "(cached) " >&6 8742 $as_echo_n "(cached) " >&6
8239 else 8743 else
8240 lt_cv_prog_compiler_c_o=no 8744 lt_cv_prog_compiler_c_o=no
8241 $RM -r conftest 2>/dev/null 8745 $RM -r conftest 2>/dev/null
8242 mkdir conftest 8746 mkdir conftest
8251 # with a dollar sign (not a hyphen), so the echo should work correctly. 8755 # with a dollar sign (not a hyphen), so the echo should work correctly.
8252 lt_compile=`echo "$ac_compile" | $SED \ 8756 lt_compile=`echo "$ac_compile" | $SED \
8253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8255 -e 's:$: $lt_compiler_flag:'` 8759 -e 's:$: $lt_compiler_flag:'`
8256 (eval echo "\"\$as_me:8256: $lt_compile\"" >&5) 8760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8257 (eval "$lt_compile" 2>out/conftest.err) 8761 (eval "$lt_compile" 2>out/conftest.err)
8258 ac_status=$? 8762 ac_status=$?
8259 cat out/conftest.err >&5 8763 cat out/conftest.err >&5
8260 echo "$as_me:8260: \$? = $ac_status" >&5 8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8765 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8262 then 8766 then
8263 # The compiler can only warn and ignore the option if not recognized 8767 # The compiler can only warn and ignore the option if not recognized
8264 # So say no if there are warnings 8768 # So say no if there are warnings
8265 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8769 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8266 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8770 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8267 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8771 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8268 lt_cv_prog_compiler_c_o=yes 8772 lt_cv_prog_compiler_c_o=yes
8269 fi 8773 fi
8270 fi 8774 fi
8287 8791
8288 8792
8289 8793
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8291 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8795 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8292 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 8796 if ${lt_cv_prog_compiler_c_o+:} false; then :
8293 $as_echo_n "(cached) " >&6 8797 $as_echo_n "(cached) " >&6
8294 else 8798 else
8295 lt_cv_prog_compiler_c_o=no 8799 lt_cv_prog_compiler_c_o=no
8296 $RM -r conftest 2>/dev/null 8800 $RM -r conftest 2>/dev/null
8297 mkdir conftest 8801 mkdir conftest
8306 # with a dollar sign (not a hyphen), so the echo should work correctly. 8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8307 lt_compile=`echo "$ac_compile" | $SED \ 8811 lt_compile=`echo "$ac_compile" | $SED \
8308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8310 -e 's:$: $lt_compiler_flag:'` 8814 -e 's:$: $lt_compiler_flag:'`
8311 (eval echo "\"\$as_me:8311: $lt_compile\"" >&5) 8815 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8312 (eval "$lt_compile" 2>out/conftest.err) 8816 (eval "$lt_compile" 2>out/conftest.err)
8313 ac_status=$? 8817 ac_status=$?
8314 cat out/conftest.err >&5 8818 cat out/conftest.err >&5
8315 echo "$as_me:8315: \$? = $ac_status" >&5 8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8820 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8317 then 8821 then
8318 # The compiler can only warn and ignore the option if not recognized 8822 # The compiler can only warn and ignore the option if not recognized
8319 # So say no if there are warnings 8823 # So say no if there are warnings
8320 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8321 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8825 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8322 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8826 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8323 lt_cv_prog_compiler_c_o=yes 8827 lt_cv_prog_compiler_c_o=yes
8324 fi 8828 fi
8325 fi 8829 fi
8425 with_gnu_ld=yes 8929 with_gnu_ld=yes
8426 ;; 8930 ;;
8427 openbsd*) 8931 openbsd*)
8428 with_gnu_ld=no 8932 with_gnu_ld=no
8429 ;; 8933 ;;
8430 linux* | k*bsd*-gnu) 8934 linux* | k*bsd*-gnu | gnu*)
8431 link_all_deplibs=no 8935 link_all_deplibs=no
8432 ;; 8936 ;;
8433 esac 8937 esac
8434 8938
8435 ld_shlibs=yes 8939 ld_shlibs=yes
8940
8941 # On some targets, GNU ld is compatible enough with the native linker
8942 # that we're better off using the native interface for both.
8943 lt_use_gnu_ld_interface=no
8436 if test "$with_gnu_ld" = yes; then 8944 if test "$with_gnu_ld" = yes; then
8945 case $host_os in
8946 aix*)
8947 # The AIX port of GNU ld has always aspired to compatibility
8948 # with the native linker. However, as the warning in the GNU ld
8949 # block says, versions before 2.19.5* couldn't really create working
8950 # shared libraries, regardless of the interface used.
8951 case `$LD -v 2>&1` in
8952 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8953 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8954 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8955 *)
8956 lt_use_gnu_ld_interface=yes
8957 ;;
8958 esac
8959 ;;
8960 *)
8961 lt_use_gnu_ld_interface=yes
8962 ;;
8963 esac
8964 fi
8965
8966 if test "$lt_use_gnu_ld_interface" = yes; then
8437 # If archive_cmds runs LD, not CC, wlarc should be empty 8967 # If archive_cmds runs LD, not CC, wlarc should be empty
8438 wlarc='${wl}' 8968 wlarc='${wl}'
8439 8969
8440 # Set some defaults for GNU ld with shared library support. These 8970 # Set some defaults for GNU ld with shared library support. These
8441 # are reset later if shared libraries are not supported. Putting them 8971 # are reset later if shared libraries are not supported. Putting them
8465 # On AIX/PPC, the GNU linker is very broken 8995 # On AIX/PPC, the GNU linker is very broken
8466 if test "$host_cpu" != ia64; then 8996 if test "$host_cpu" != ia64; then
8467 ld_shlibs=no 8997 ld_shlibs=no
8468 cat <<_LT_EOF 1>&2 8998 cat <<_LT_EOF 1>&2
8469 8999
8470 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 9000 *** Warning: the GNU linker, at least up to release 2.19, is reported
8471 *** to be unable to reliably create shared libraries on AIX. 9001 *** to be unable to reliably create shared libraries on AIX.
8472 *** Therefore, libtool is disabling shared libraries support. If you 9002 *** Therefore, libtool is disabling shared libraries support. If you
8473 *** really care for shared libraries, you may want to modify your PATH 9003 *** really care for shared libraries, you may want to install binutils
8474 *** so that a non-GNU linker is found, and then restart. 9004 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9005 *** You will then need to restart the configuration process.
8475 9006
8476 _LT_EOF 9007 _LT_EOF
8477 fi 9008 fi
8478 ;; 9009 ;;
8479 9010
8505 9036
8506 cygwin* | mingw* | pw32* | cegcc*) 9037 cygwin* | mingw* | pw32* | cegcc*)
8507 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9038 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8508 # as there is no search path for DLLs. 9039 # as there is no search path for DLLs.
8509 hardcode_libdir_flag_spec='-L$libdir' 9040 hardcode_libdir_flag_spec='-L$libdir'
9041 export_dynamic_flag_spec='${wl}--export-all-symbols'
8510 allow_undefined_flag=unsupported 9042 allow_undefined_flag=unsupported
8511 always_export_symbols=no 9043 always_export_symbols=no
8512 enable_shared_with_static_runtimes=yes 9044 enable_shared_with_static_runtimes=yes
8513 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9045 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'
9046 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8514 9047
8515 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9048 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8517 # If the export-symbols file already is a .def file (1st line 9050 # If the export-symbols file already is a .def file (1st line
8518 # is EXPORTS), use it as is; otherwise, prepend... 9051 # is EXPORTS), use it as is; otherwise, prepend...
8526 else 9059 else
8527 ld_shlibs=no 9060 ld_shlibs=no
8528 fi 9061 fi
8529 ;; 9062 ;;
8530 9063
9064 haiku*)
9065 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066 link_all_deplibs=yes
9067 ;;
9068
8531 interix[3-9]*) 9069 interix[3-9]*)
8532 hardcode_direct=no 9070 hardcode_direct=no
8533 hardcode_shlibpath_var=no 9071 hardcode_shlibpath_var=no
8534 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9072 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8535 export_dynamic_flag_spec='${wl}-E' 9073 export_dynamic_flag_spec='${wl}-E'
8551 esac 9089 esac
8552 fi 9090 fi
8553 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9091 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8554 && test "$tmp_diet" = no 9092 && test "$tmp_diet" = no
8555 then 9093 then
8556 tmp_addflag= 9094 tmp_addflag=' $pic_flag'
8557 tmp_sharedflag='-shared' 9095 tmp_sharedflag='-shared'
8558 case $cc_basename,$host_cpu in 9096 case $cc_basename,$host_cpu in
8559 pgcc*) # Portland Group C compiler 9097 pgcc*) # Portland Group C compiler
8560 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' 9098 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'
8561 tmp_addflag=' $pic_flag' 9099 tmp_addflag=' $pic_flag'
8562 ;; 9100 ;;
8563 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9101 pgf77* | pgf90* | pgf95* | pgfortran*)
8564 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' 9102 # Portland Group f77 and f90 compilers
9103 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'
8565 tmp_addflag=' $pic_flag -Mnomain' ;; 9104 tmp_addflag=' $pic_flag -Mnomain' ;;
8566 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9105 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8567 tmp_addflag=' -i_dynamic' ;; 9106 tmp_addflag=' -i_dynamic' ;;
8568 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9107 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8569 tmp_addflag=' -i_dynamic -nofor_main' ;; 9108 tmp_addflag=' -i_dynamic -nofor_main' ;;
8570 ifc* | ifort*) # Intel Fortran compiler 9109 ifc* | ifort*) # Intel Fortran compiler
8571 tmp_addflag=' -nofor_main' ;; 9110 tmp_addflag=' -nofor_main' ;;
8572 lf95*) # Lahey Fortran 8.1 9111 lf95*) # Lahey Fortran 8.1
8573 whole_archive_flag_spec= 9112 whole_archive_flag_spec=
8574 tmp_sharedflag='--shared' ;; 9113 tmp_sharedflag='--shared' ;;
8575 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9114 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8576 tmp_sharedflag='-qmkshrobj' 9115 tmp_sharedflag='-qmkshrobj'
8577 tmp_addflag= ;; 9116 tmp_addflag= ;;
9117 nvcc*) # Cuda Compiler Driver 2.2
9118 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'
9119 compiler_needs_object=yes
9120 ;;
8578 esac 9121 esac
8579 case `$CC -V 2>&1 | sed 5q` in 9122 case `$CC -V 2>&1 | sed 5q` in
8580 *Sun\ C*) # Sun C 5.9 9123 *Sun\ C*) # Sun C 5.9
8581 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' 9124 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'
8582 compiler_needs_object=yes 9125 compiler_needs_object=yes
8583 tmp_sharedflag='-G' ;; 9126 tmp_sharedflag='-G' ;;
8584 *Sun\ F*) # Sun Fortran 8.3 9127 *Sun\ F*) # Sun Fortran 8.3
8585 tmp_sharedflag='-G' ;; 9128 tmp_sharedflag='-G' ;;
8586 esac 9129 esac
8592 echo "local: *; };" >> $output_objdir/$libname.ver~ 9135 echo "local: *; };" >> $output_objdir/$libname.ver~
8593 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9136 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8594 fi 9137 fi
8595 9138
8596 case $cc_basename in 9139 case $cc_basename in
8597 xlf*) 9140 xlf* | bgf* | bgxlf* | mpixlf*)
8598 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9141 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8599 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9142 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8600 hardcode_libdir_flag_spec= 9143 hardcode_libdir_flag_spec=
8601 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9144 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8602 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9145 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8603 if test "x$supports_anon_versioning" = xyes; then 9146 if test "x$supports_anon_versioning" = xyes; then
8604 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9147 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8605 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8606 echo "local: *; };" >> $output_objdir/$libname.ver~ 9149 echo "local: *; };" >> $output_objdir/$libname.ver~
8607 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9150 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8608 fi 9151 fi
8609 ;; 9152 ;;
8610 esac 9153 esac
8611 else 9154 else
8612 ld_shlibs=no 9155 ld_shlibs=no
8616 netbsd* | netbsdelf*-gnu) 9159 netbsd* | netbsdelf*-gnu)
8617 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9160 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8618 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9161 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8619 wlarc= 9162 wlarc=
8620 else 9163 else
8621 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9164 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8622 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9165 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8623 fi 9166 fi
8624 ;; 9167 ;;
8625 9168
8626 solaris*) 9169 solaris*)
8627 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9170 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8635 *** your PATH or compiler configuration so that the native linker is 9178 *** your PATH or compiler configuration so that the native linker is
8636 *** used, and then restart. 9179 *** used, and then restart.
8637 9180
8638 _LT_EOF 9181 _LT_EOF
8639 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9182 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8640 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9183 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8641 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9184 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8642 else 9185 else
8643 ld_shlibs=no 9186 ld_shlibs=no
8644 fi 9187 fi
8645 ;; 9188 ;;
8646 9189
8682 hardcode_shlibpath_var=no 9225 hardcode_shlibpath_var=no
8683 ;; 9226 ;;
8684 9227
8685 *) 9228 *)
8686 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9229 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8687 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8688 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9231 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 else 9232 else
8690 ld_shlibs=no 9233 ld_shlibs=no
8691 fi 9234 fi
8692 ;; 9235 ;;
8693 esac 9236 esac
8723 exp_sym_flag='-Bexport' 9266 exp_sym_flag='-Bexport'
8724 no_entry_flag="" 9267 no_entry_flag=""
8725 else 9268 else
8726 # If we're using GNU nm, then we don't want the "-C" option. 9269 # If we're using GNU nm, then we don't want the "-C" option.
8727 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9270 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9271 # Also, AIX nm treats weak defined symbols like other global
9272 # defined symbols, whereas GNU nm marks them as "W".
8728 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9273 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8729 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' 9274 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'
8730 else 9275 else
8731 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' 9276 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'
8732 fi 9277 fi
8733 aix_use_runtimelinking=no 9278 aix_use_runtimelinking=no
8734 9279
8812 # Warning - without using the other runtime loading flags (-brtl), 9357 # Warning - without using the other runtime loading flags (-brtl),
8813 # -berok will link without error, but may produce a broken library. 9358 # -berok will link without error, but may produce a broken library.
8814 allow_undefined_flag='-berok' 9359 allow_undefined_flag='-berok'
8815 # Determine the default libpath from the value encoded in an 9360 # Determine the default libpath from the value encoded in an
8816 # empty executable. 9361 # empty executable.
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9362 if test "${lt_cv_aix_libpath+set}" = set; then
9363 aix_libpath=$lt_cv_aix_libpath
9364 else
9365 if ${lt_cv_aix_libpath_+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */ 9369 /* end confdefs.h. */
8819 9370
8820 int 9371 int
8821 main () 9372 main ()
8822 { 9373 {
8825 return 0; 9376 return 0;
8826 } 9377 }
8827 _ACEOF 9378 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then : 9379 if ac_fn_c_try_link "$LINENO"; then :
8829 9380
8830 lt_aix_libpath_sed=' 9381 lt_aix_libpath_sed='
8831 /Import File Strings/,/^$/ { 9382 /Import File Strings/,/^$/ {
8832 /^0/ { 9383 /^0/ {
8833 s/^0 *\(.*\)$/\1/ 9384 s/^0 *\([^ ]*\) *$/\1/
8834 p 9385 p
8835 } 9386 }
8836 }' 9387 }'
8837 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9388 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8838 # Check for a 64-bit object if we didn't find anything. 9389 # Check for a 64-bit object if we didn't find anything.
8839 if test -z "$aix_libpath"; then 9390 if test -z "$lt_cv_aix_libpath_"; then
8840 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9391 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8841 fi 9392 fi
8842 fi 9393 fi
8843 rm -f core conftest.err conftest.$ac_objext \ 9394 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext 9395 conftest$ac_exeext conftest.$ac_ext
8845 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9396 if test -z "$lt_cv_aix_libpath_"; then
9397 lt_cv_aix_libpath_="/usr/lib:/lib"
9398 fi
9399
9400 fi
9401
9402 aix_libpath=$lt_cv_aix_libpath_
9403 fi
8846 9404
8847 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9405 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8848 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" 9406 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"
8849 else 9407 else
8850 if test "$host_cpu" = ia64; then 9408 if test "$host_cpu" = ia64; then
8851 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9409 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8852 allow_undefined_flag="-z nodefs" 9410 allow_undefined_flag="-z nodefs"
8853 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" 9411 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"
8854 else 9412 else
8855 # Determine the default libpath from the value encoded in an 9413 # Determine the default libpath from the value encoded in an
8856 # empty executable. 9414 # empty executable.
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9415 if test "${lt_cv_aix_libpath+set}" = set; then
9416 aix_libpath=$lt_cv_aix_libpath
9417 else
9418 if ${lt_cv_aix_libpath_+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */ 9422 /* end confdefs.h. */
8859 9423
8860 int 9424 int
8861 main () 9425 main ()
8862 { 9426 {
8865 return 0; 9429 return 0;
8866 } 9430 }
8867 _ACEOF 9431 _ACEOF
8868 if ac_fn_c_try_link "$LINENO"; then : 9432 if ac_fn_c_try_link "$LINENO"; then :
8869 9433
8870 lt_aix_libpath_sed=' 9434 lt_aix_libpath_sed='
8871 /Import File Strings/,/^$/ { 9435 /Import File Strings/,/^$/ {
8872 /^0/ { 9436 /^0/ {
8873 s/^0 *\(.*\)$/\1/ 9437 s/^0 *\([^ ]*\) *$/\1/
8874 p 9438 p
8875 } 9439 }
8876 }' 9440 }'
8877 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9441 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8878 # Check for a 64-bit object if we didn't find anything. 9442 # Check for a 64-bit object if we didn't find anything.
8879 if test -z "$aix_libpath"; then 9443 if test -z "$lt_cv_aix_libpath_"; then
8880 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9444 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8881 fi 9445 fi
8882 fi 9446 fi
8883 rm -f core conftest.err conftest.$ac_objext \ 9447 rm -f core conftest.err conftest.$ac_objext \
8884 conftest$ac_exeext conftest.$ac_ext 9448 conftest$ac_exeext conftest.$ac_ext
8885 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9449 if test -z "$lt_cv_aix_libpath_"; then
9450 lt_cv_aix_libpath_="/usr/lib:/lib"
9451 fi
9452
9453 fi
9454
9455 aix_libpath=$lt_cv_aix_libpath_
9456 fi
8886 9457
8887 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9458 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8888 # Warning - without using the other run time loading flags, 9459 # Warning - without using the other run time loading flags,
8889 # -berok will link without error, but may produce a broken library. 9460 # -berok will link without error, but may produce a broken library.
8890 no_undefined_flag=' ${wl}-bernotok' 9461 no_undefined_flag=' ${wl}-bernotok'
8891 allow_undefined_flag=' ${wl}-berok' 9462 allow_undefined_flag=' ${wl}-berok'
8892 # Exported symbols can be pulled into shared objects from archives 9463 if test "$with_gnu_ld" = yes; then
8893 whole_archive_flag_spec='$convenience' 9464 # We only use this code for GNU lds that support --whole-archive.
9465 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9466 else
9467 # Exported symbols can be pulled into shared objects from archives
9468 whole_archive_flag_spec='$convenience'
9469 fi
8894 archive_cmds_need_lc=yes 9470 archive_cmds_need_lc=yes
8895 # This is similar to how AIX traditionally builds its shared libraries. 9471 # This is similar to how AIX traditionally builds its shared libraries.
8896 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' 9472 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'
8897 fi 9473 fi
8898 fi 9474 fi
8920 cygwin* | mingw* | pw32* | cegcc*) 9496 cygwin* | mingw* | pw32* | cegcc*)
8921 # When not using gcc, we currently assume that we are using 9497 # When not using gcc, we currently assume that we are using
8922 # Microsoft Visual C++. 9498 # Microsoft Visual C++.
8923 # hardcode_libdir_flag_spec is actually meaningless, as there is 9499 # hardcode_libdir_flag_spec is actually meaningless, as there is
8924 # no search path for DLLs. 9500 # no search path for DLLs.
8925 hardcode_libdir_flag_spec=' ' 9501 case $cc_basename in
8926 allow_undefined_flag=unsupported 9502 cl*)
8927 # Tell ltmain to make .lib files, not .a files. 9503 # Native MSVC
8928 libext=lib 9504 hardcode_libdir_flag_spec=' '
8929 # Tell ltmain to make .dll files, not .so files. 9505 allow_undefined_flag=unsupported
8930 shrext_cmds=".dll" 9506 always_export_symbols=yes
8931 # FIXME: Setting linknames here is a bad hack. 9507 file_list_spec='@'
8932 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9508 # Tell ltmain to make .lib files, not .a files.
8933 # The linker will automatically build a .lib file if we build a DLL. 9509 libext=lib
8934 old_archive_from_new_cmds='true' 9510 # Tell ltmain to make .dll files, not .so files.
8935 # FIXME: Should let the user specify the lib program. 9511 shrext_cmds=".dll"
8936 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9512 # FIXME: Setting linknames here is a bad hack.
8937 fix_srcfile_path='`cygpath -w "$srcfile"`' 9513 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8938 enable_shared_with_static_runtimes=yes 9514 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9515 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9516 else
9517 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9518 fi~
9519 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9520 linknames='
9521 # The linker will not automatically build a static lib if we build a DLL.
9522 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9523 enable_shared_with_static_runtimes=yes
9524 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9525 # Don't use ranlib
9526 old_postinstall_cmds='chmod 644 $oldlib'
9527 postlink_cmds='lt_outputfile="@OUTPUT@"~
9528 lt_tool_outputfile="@TOOL_OUTPUT@"~
9529 case $lt_outputfile in
9530 *.exe|*.EXE) ;;
9531 *)
9532 lt_outputfile="$lt_outputfile.exe"
9533 lt_tool_outputfile="$lt_tool_outputfile.exe"
9534 ;;
9535 esac~
9536 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9537 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9538 $RM "$lt_outputfile.manifest";
9539 fi'
9540 ;;
9541 *)
9542 # Assume MSVC wrapper
9543 hardcode_libdir_flag_spec=' '
9544 allow_undefined_flag=unsupported
9545 # Tell ltmain to make .lib files, not .a files.
9546 libext=lib
9547 # Tell ltmain to make .dll files, not .so files.
9548 shrext_cmds=".dll"
9549 # FIXME: Setting linknames here is a bad hack.
9550 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9551 # The linker will automatically build a .lib file if we build a DLL.
9552 old_archive_from_new_cmds='true'
9553 # FIXME: Should let the user specify the lib program.
9554 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9555 enable_shared_with_static_runtimes=yes
9556 ;;
9557 esac
8939 ;; 9558 ;;
8940 9559
8941 darwin* | rhapsody*) 9560 darwin* | rhapsody*)
8942 9561
8943 9562
8944 archive_cmds_need_lc=no 9563 archive_cmds_need_lc=no
8945 hardcode_direct=no 9564 hardcode_direct=no
8946 hardcode_automatic=yes 9565 hardcode_automatic=yes
8947 hardcode_shlibpath_var=unsupported 9566 hardcode_shlibpath_var=unsupported
8948 whole_archive_flag_spec='' 9567 if test "$lt_cv_ld_force_load" = "yes"; then
9568 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\"`'
9569 else
9570 whole_archive_flag_spec=''
9571 fi
8949 link_all_deplibs=yes 9572 link_all_deplibs=yes
8950 allow_undefined_flag="$_lt_dar_allow_undefined" 9573 allow_undefined_flag="$_lt_dar_allow_undefined"
8951 case $cc_basename in 9574 case $cc_basename in
8952 ifort*) _lt_dar_can_shared=yes ;; 9575 ifort*) _lt_dar_can_shared=yes ;;
8953 *) _lt_dar_can_shared=$GCC ;; 9576 *) _lt_dar_can_shared=$GCC ;;
8954 esac 9577 esac
8955 if test "$_lt_dar_can_shared" = "yes"; then 9578 if test "$_lt_dar_can_shared" = "yes"; then
8956 output_verbose_link_cmd=echo 9579 output_verbose_link_cmd=func_echo_all
8957 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9580 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8958 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9581 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8959 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}" 9582 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}"
8960 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}" 9583 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}"
8961 9584
8994 hardcode_shlibpath_var=no 9617 hardcode_shlibpath_var=no
8995 ;; 9618 ;;
8996 9619
8997 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9620 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8998 freebsd* | dragonfly*) 9621 freebsd* | dragonfly*)
8999 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9000 hardcode_libdir_flag_spec='-R$libdir' 9623 hardcode_libdir_flag_spec='-R$libdir'
9001 hardcode_direct=yes 9624 hardcode_direct=yes
9002 hardcode_shlibpath_var=no 9625 hardcode_shlibpath_var=no
9003 ;; 9626 ;;
9004 9627
9005 hpux9*) 9628 hpux9*)
9006 if test "$GCC" = yes; then 9629 if test "$GCC" = yes; then
9007 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' 9630 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'
9008 else 9631 else
9009 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' 9632 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'
9010 fi 9633 fi
9011 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9634 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9012 hardcode_libdir_separator=: 9635 hardcode_libdir_separator=:
9017 hardcode_minus_L=yes 9640 hardcode_minus_L=yes
9018 export_dynamic_flag_spec='${wl}-E' 9641 export_dynamic_flag_spec='${wl}-E'
9019 ;; 9642 ;;
9020 9643
9021 hpux10*) 9644 hpux10*)
9022 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9645 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9023 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9646 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9024 else 9647 else
9025 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9648 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9026 fi 9649 fi
9027 if test "$with_gnu_ld" = no; then 9650 if test "$with_gnu_ld" = no; then
9028 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9651 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9036 hardcode_minus_L=yes 9659 hardcode_minus_L=yes
9037 fi 9660 fi
9038 ;; 9661 ;;
9039 9662
9040 hpux11*) 9663 hpux11*)
9041 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9664 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9042 case $host_cpu in 9665 case $host_cpu in
9043 hppa*64*) 9666 hppa*64*)
9044 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9667 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9045 ;; 9668 ;;
9046 ia64*) 9669 ia64*)
9047 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9670 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9048 ;; 9671 ;;
9049 *) 9672 *)
9050 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9673 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9051 ;; 9674 ;;
9052 esac 9675 esac
9053 else 9676 else
9054 case $host_cpu in 9677 case $host_cpu in
9055 hppa*64*) 9678 hppa*64*)
9057 ;; 9680 ;;
9058 ia64*) 9681 ia64*)
9059 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9682 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9060 ;; 9683 ;;
9061 *) 9684 *)
9062 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9685
9686 # Older versions of the 11.00 compiler do not understand -b yet
9687 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9689 $as_echo_n "checking if $CC understands -b... " >&6; }
9690 if ${lt_cv_prog_compiler__b+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 lt_cv_prog_compiler__b=no
9694 save_LDFLAGS="$LDFLAGS"
9695 LDFLAGS="$LDFLAGS -b"
9696 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9697 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9698 # The linker can only warn and ignore the option if not recognized
9699 # So say no if there are warnings
9700 if test -s conftest.err; then
9701 # Append any errors to the config.log.
9702 cat conftest.err 1>&5
9703 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9704 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9705 if diff conftest.exp conftest.er2 >/dev/null; then
9706 lt_cv_prog_compiler__b=yes
9707 fi
9708 else
9709 lt_cv_prog_compiler__b=yes
9710 fi
9711 fi
9712 $RM -r conftest*
9713 LDFLAGS="$save_LDFLAGS"
9714
9715 fi
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9717 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9718
9719 if test x"$lt_cv_prog_compiler__b" = xyes; then
9720 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9721 else
9722 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9723 fi
9724
9063 ;; 9725 ;;
9064 esac 9726 esac
9065 fi 9727 fi
9066 if test "$with_gnu_ld" = no; then 9728 if test "$with_gnu_ld" = no; then
9067 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9729 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9085 fi 9747 fi
9086 ;; 9748 ;;
9087 9749
9088 irix5* | irix6* | nonstopux*) 9750 irix5* | irix6* | nonstopux*)
9089 if test "$GCC" = yes; then 9751 if test "$GCC" = yes; then
9090 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' 9752 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'
9091 # Try to use the -exported_symbol ld option, if it does not 9753 # Try to use the -exported_symbol ld option, if it does not
9092 # work, assume that -exports_file does not work either and 9754 # work, assume that -exports_file does not work either and
9093 # implicitly export all symbols. 9755 # implicitly export all symbols.
9094 save_LDFLAGS="$LDFLAGS" 9756 # This should be the same for all languages, so no per-tag cache variable.
9095 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9758 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9759 if ${lt_cv_irix_exported_symbol+:} false; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 save_LDFLAGS="$LDFLAGS"
9763 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */ 9765 /* end confdefs.h. */
9098 int foo(void) {} 9766 int foo (void) { return 0; }
9099 _ACEOF 9767 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then : 9768 if ac_fn_c_try_link "$LINENO"; then :
9101 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' 9769 lt_cv_irix_exported_symbol=yes
9102 9770 else
9771 lt_cv_irix_exported_symbol=no
9103 fi 9772 fi
9104 rm -f core conftest.err conftest.$ac_objext \ 9773 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext 9774 conftest$ac_exeext conftest.$ac_ext
9106 LDFLAGS="$save_LDFLAGS" 9775 LDFLAGS="$save_LDFLAGS"
9776 fi
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9778 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9779 if test "$lt_cv_irix_exported_symbol" = yes; then
9780 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'
9781 fi
9107 else 9782 else
9108 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' 9783 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'
9109 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' 9784 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'
9110 fi 9785 fi
9111 archive_cmds_need_lc='no' 9786 archive_cmds_need_lc='no'
9112 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9787 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9113 hardcode_libdir_separator=: 9788 hardcode_libdir_separator=:
9114 inherit_rpath=yes 9789 inherit_rpath=yes
9166 9841
9167 os2*) 9842 os2*)
9168 hardcode_libdir_flag_spec='-L$libdir' 9843 hardcode_libdir_flag_spec='-L$libdir'
9169 hardcode_minus_L=yes 9844 hardcode_minus_L=yes
9170 allow_undefined_flag=unsupported 9845 allow_undefined_flag=unsupported
9171 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' 9846 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'
9172 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9847 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9173 ;; 9848 ;;
9174 9849
9175 osf3*) 9850 osf3*)
9176 if test "$GCC" = yes; then 9851 if test "$GCC" = yes; then
9177 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9852 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9178 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' 9853 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'
9179 else 9854 else
9180 allow_undefined_flag=' -expect_unresolved \*' 9855 allow_undefined_flag=' -expect_unresolved \*'
9181 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' 9856 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'
9182 fi 9857 fi
9183 archive_cmds_need_lc='no' 9858 archive_cmds_need_lc='no'
9184 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9859 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9185 hardcode_libdir_separator=: 9860 hardcode_libdir_separator=:
9186 ;; 9861 ;;
9187 9862
9188 osf4* | osf5*) # as osf3* with the addition of -msym flag 9863 osf4* | osf5*) # as osf3* with the addition of -msym flag
9189 if test "$GCC" = yes; then 9864 if test "$GCC" = yes; then
9190 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9865 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9191 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' 9866 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'
9192 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9193 else 9868 else
9194 allow_undefined_flag=' -expect_unresolved \*' 9869 allow_undefined_flag=' -expect_unresolved \*'
9195 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' 9870 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'
9196 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~ 9871 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~
9197 $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' 9872 $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'
9198 9873
9199 # Both c and cxx compiler support -rpath directly 9874 # Both c and cxx compiler support -rpath directly
9200 hardcode_libdir_flag_spec='-rpath $libdir' 9875 hardcode_libdir_flag_spec='-rpath $libdir'
9201 fi 9876 fi
9202 archive_cmds_need_lc='no' 9877 archive_cmds_need_lc='no'
9205 9880
9206 solaris*) 9881 solaris*)
9207 no_undefined_flag=' -z defs' 9882 no_undefined_flag=' -z defs'
9208 if test "$GCC" = yes; then 9883 if test "$GCC" = yes; then
9209 wlarc='${wl}' 9884 wlarc='${wl}'
9210 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9885 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9886 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9212 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9887 $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'
9213 else 9888 else
9214 case `$CC -V 2>&1` in 9889 case `$CC -V 2>&1` in
9215 *"Compilers 5.0"*) 9890 *"Compilers 5.0"*)
9216 wlarc='' 9891 wlarc=''
9217 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9892 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9395 # Test whether the compiler implicitly links with -lc since on some 10070 # Test whether the compiler implicitly links with -lc since on some
9396 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10071 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9397 # to ld, don't add -lc before -lgcc. 10072 # to ld, don't add -lc before -lgcc.
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9399 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10074 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9400 $RM conftest* 10075 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10076 $as_echo_n "(cached) " >&6
9402 10077 else
9403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10078 $RM conftest*
10079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10080
10081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9404 (eval $ac_compile) 2>&5 10082 (eval $ac_compile) 2>&5
9405 ac_status=$? 10083 ac_status=$?
9406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9407 test $ac_status = 0; } 2>conftest.err; then 10085 test $ac_status = 0; } 2>conftest.err; then
9408 soname=conftest 10086 soname=conftest
9409 lib=conftest 10087 lib=conftest
9410 libobjs=conftest.$ac_objext 10088 libobjs=conftest.$ac_objext
9411 deplibs= 10089 deplibs=
9412 wl=$lt_prog_compiler_wl 10090 wl=$lt_prog_compiler_wl
9413 pic_flag=$lt_prog_compiler_pic 10091 pic_flag=$lt_prog_compiler_pic
9414 compiler_flags=-v 10092 compiler_flags=-v
9415 linker_flags=-v 10093 linker_flags=-v
9416 verstring= 10094 verstring=
9417 output_objdir=. 10095 output_objdir=.
9418 libname=conftest 10096 libname=conftest
9419 lt_save_allow_undefined_flag=$allow_undefined_flag 10097 lt_save_allow_undefined_flag=$allow_undefined_flag
9420 allow_undefined_flag= 10098 allow_undefined_flag=
9421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9422 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10100 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9423 ac_status=$? 10101 ac_status=$?
9424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9425 test $ac_status = 0; } 10103 test $ac_status = 0; }
9426 then 10104 then
9427 archive_cmds_need_lc=no 10105 lt_cv_archive_cmds_need_lc=no
9428 else 10106 else
9429 archive_cmds_need_lc=yes 10107 lt_cv_archive_cmds_need_lc=yes
9430 fi 10108 fi
9431 allow_undefined_flag=$lt_save_allow_undefined_flag 10109 allow_undefined_flag=$lt_save_allow_undefined_flag
9432 else 10110 else
9433 cat conftest.err 1>&5 10111 cat conftest.err 1>&5
9434 fi 10112 fi
9435 $RM conftest* 10113 $RM conftest*
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 10114
9437 $as_echo "$archive_cmds_need_lc" >&6; } 10115 fi
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10117 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10118 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9438 ;; 10119 ;;
9439 esac 10120 esac
9440 fi 10121 fi
9441 ;; 10122 ;;
9442 esac 10123 esac
9603 if test "$GCC" = yes; then 10284 if test "$GCC" = yes; then
9604 case $host_os in 10285 case $host_os in
9605 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10286 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9606 *) lt_awk_arg="/^libraries:/" ;; 10287 *) lt_awk_arg="/^libraries:/" ;;
9607 esac 10288 esac
9608 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10289 case $host_os in
9609 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10290 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10291 *) lt_sed_strip_eq="s,=/,/,g" ;;
10292 esac
10293 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10294 case $lt_search_path_spec in
10295 *\;*)
9610 # if the path contains ";" then we assume it to be the separator 10296 # if the path contains ";" then we assume it to be the separator
9611 # otherwise default to the standard path separator (i.e. ":") - it is 10297 # otherwise default to the standard path separator (i.e. ":") - it is
9612 # assumed that no part of a normal pathname contains ";" but that should 10298 # assumed that no part of a normal pathname contains ";" but that should
9613 # okay in the real world where ";" in dirpaths is itself problematic. 10299 # okay in the real world where ";" in dirpaths is itself problematic.
9614 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10300 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9615 else 10301 ;;
9616 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10302 *)
9617 fi 10303 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10304 ;;
10305 esac
9618 # Ok, now we have the path, separated by spaces, we can step through it 10306 # Ok, now we have the path, separated by spaces, we can step through it
9619 # and add multilib dir if necessary. 10307 # and add multilib dir if necessary.
9620 lt_tmp_lt_search_path_spec= 10308 lt_tmp_lt_search_path_spec=
9621 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10309 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9622 for lt_sys_path in $lt_search_path_spec; do 10310 for lt_sys_path in $lt_search_path_spec; do
9625 else 10313 else
9626 test -d "$lt_sys_path" && \ 10314 test -d "$lt_sys_path" && \
9627 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10315 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9628 fi 10316 fi
9629 done 10317 done
9630 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10318 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9631 BEGIN {RS=" "; FS="/|\n";} { 10319 BEGIN {RS=" "; FS="/|\n";} {
9632 lt_foo=""; 10320 lt_foo="";
9633 lt_count=0; 10321 lt_count=0;
9634 for (lt_i = NF; lt_i > 0; lt_i--) { 10322 for (lt_i = NF; lt_i > 0; lt_i--) {
9635 if ($lt_i != "" && $lt_i != ".") { 10323 if ($lt_i != "" && $lt_i != ".") {
9645 } 10333 }
9646 } 10334 }
9647 if (lt_foo != "") { lt_freq[lt_foo]++; } 10335 if (lt_foo != "") { lt_freq[lt_foo]++; }
9648 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10336 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9649 }'` 10337 }'`
9650 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10338 # AWK program above erroneously prepends '/' to C:/dos/paths
10339 # for these hosts.
10340 case $host_os in
10341 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10342 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10343 esac
10344 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9651 else 10345 else
9652 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10346 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9653 fi 10347 fi
9654 library_names_spec= 10348 library_names_spec=
9655 libname_spec='lib$name' 10349 libname_spec='lib$name'
9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9734 ;; 10428 ;;
9735 m68k) 10429 m68k)
9736 library_names_spec='$libname.ixlibrary $libname.a' 10430 library_names_spec='$libname.ixlibrary $libname.a'
9737 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10431 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9738 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' 10432 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'
9739 ;; 10433 ;;
9740 esac 10434 esac
9741 ;; 10435 ;;
9742 10436
9743 beos*) 10437 beos*)
9764 version_type=windows 10458 version_type=windows
9765 shrext_cmds=".dll" 10459 shrext_cmds=".dll"
9766 need_version=no 10460 need_version=no
9767 need_lib_prefix=no 10461 need_lib_prefix=no
9768 10462
9769 case $GCC,$host_os in 10463 case $GCC,$cc_basename in
9770 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10464 yes,*)
10465 # gcc
9771 library_names_spec='$libname.dll.a' 10466 library_names_spec='$libname.dll.a'
9772 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10467 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9773 postinstall_cmds='base_file=`basename \${file}`~ 10468 postinstall_cmds='base_file=`basename \${file}`~
9774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10469 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9775 dldir=$destdir/`dirname \$dlpath`~ 10470 dldir=$destdir/`dirname \$dlpath`~
9786 10481
9787 case $host_os in 10482 case $host_os in
9788 cygwin*) 10483 cygwin*)
9789 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10484 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9790 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10485 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9791 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10486
10487 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9792 ;; 10488 ;;
9793 mingw* | cegcc*) 10489 mingw* | cegcc*)
9794 # MinGW DLLs use traditional 'lib' prefix 10490 # MinGW DLLs use traditional 'lib' prefix
9795 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10491 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9796 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9797 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9798 # It is most probably a Windows format PATH printed by
9799 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9800 # path with ; separators, and with drive letters. We can handle the
9801 # drive letters (cygwin fileutils understands them), so leave them,
9802 # especially as we might pass files found there to a mingw objdump,
9803 # which wouldn't understand a cygwinified path. Ahh.
9804 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9805 else
9806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9807 fi
9808 ;; 10492 ;;
9809 pw32*) 10493 pw32*)
9810 # pw32 DLLs use 'pw' prefix rather than 'lib' 10494 # pw32 DLLs use 'pw' prefix rather than 'lib'
9811 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10495 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9812 ;; 10496 ;;
9813 esac 10497 esac
10498 dynamic_linker='Win32 ld.exe'
9814 ;; 10499 ;;
9815 10500
10501 *,cl*)
10502 # Native MSVC
10503 libname_spec='$name'
10504 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10505 library_names_spec='${libname}.dll.lib'
10506
10507 case $build_os in
10508 mingw*)
10509 sys_lib_search_path_spec=
10510 lt_save_ifs=$IFS
10511 IFS=';'
10512 for lt_path in $LIB
10513 do
10514 IFS=$lt_save_ifs
10515 # Let DOS variable expansion print the short 8.3 style file name.
10516 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10517 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10518 done
10519 IFS=$lt_save_ifs
10520 # Convert to MSYS style.
10521 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10522 ;;
10523 cygwin*)
10524 # Convert to unix form, then to dos form, then back to unix form
10525 # but this time dos style (no spaces!) so that the unix form looks
10526 # like /cygdrive/c/PROGRA~1:/cygdr...
10527 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10528 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10529 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10530 ;;
10531 *)
10532 sys_lib_search_path_spec="$LIB"
10533 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10534 # It is most probably a Windows format PATH.
10535 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10536 else
10537 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10538 fi
10539 # FIXME: find the short name or the path components, as spaces are
10540 # common. (e.g. "Program Files" -> "PROGRA~1")
10541 ;;
10542 esac
10543
10544 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10545 postinstall_cmds='base_file=`basename \${file}`~
10546 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10547 dldir=$destdir/`dirname \$dlpath`~
10548 test -d \$dldir || mkdir -p \$dldir~
10549 $install_prog $dir/$dlname \$dldir/$dlname'
10550 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10551 dlpath=$dir/\$dldll~
10552 $RM \$dlpath'
10553 shlibpath_overrides_runpath=yes
10554 dynamic_linker='Win32 link.exe'
10555 ;;
10556
9816 *) 10557 *)
10558 # Assume MSVC wrapper
9817 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10559 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10560 dynamic_linker='Win32 ld.exe'
9818 ;; 10561 ;;
9819 esac 10562 esac
9820 dynamic_linker='Win32 ld.exe'
9821 # FIXME: first we should search . and the directory the executable is in 10563 # FIXME: first we should search . and the directory the executable is in
9822 shlibpath_var=PATH 10564 shlibpath_var=PATH
9823 ;; 10565 ;;
9824 10566
9825 darwin* | rhapsody*) 10567 darwin* | rhapsody*)
9899 need_lib_prefix=no 10641 need_lib_prefix=no
9900 need_version=no 10642 need_version=no
9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9902 soname_spec='${libname}${release}${shared_ext}$major' 10644 soname_spec='${libname}${release}${shared_ext}$major'
9903 shlibpath_var=LD_LIBRARY_PATH 10645 shlibpath_var=LD_LIBRARY_PATH
10646 shlibpath_overrides_runpath=no
10647 hardcode_into_libs=yes
10648 ;;
10649
10650 haiku*)
10651 version_type=linux
10652 need_lib_prefix=no
10653 need_version=no
10654 dynamic_linker="$host_os runtime_loader"
10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10656 soname_spec='${libname}${release}${shared_ext}$major'
10657 shlibpath_var=LIBRARY_PATH
10658 shlibpath_overrides_runpath=yes
10659 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9904 hardcode_into_libs=yes 10660 hardcode_into_libs=yes
9905 ;; 10661 ;;
9906 10662
9907 hpux9* | hpux10* | hpux11*) 10663 hpux9* | hpux10* | hpux11*)
9908 # Give a soname corresponding to the major version so that dld.sl refuses to 10664 # Give a soname corresponding to the major version so that dld.sl refuses to
9944 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10700 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9946 soname_spec='${libname}${release}${shared_ext}$major' 10702 soname_spec='${libname}${release}${shared_ext}$major'
9947 ;; 10703 ;;
9948 esac 10704 esac
9949 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10705 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9950 postinstall_cmds='chmod 555 $lib' 10706 postinstall_cmds='chmod 555 $lib'
10707 # or fails outright, so override atomically:
10708 install_override_mode=555
9951 ;; 10709 ;;
9952 10710
9953 interix[3-9]*) 10711 interix[3-9]*)
9954 version_type=linux 10712 version_type=linux
9955 need_lib_prefix=no 10713 need_lib_prefix=no
10012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 soname_spec='${libname}${release}${shared_ext}$major' 10771 soname_spec='${libname}${release}${shared_ext}$major'
10014 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10772 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10015 shlibpath_var=LD_LIBRARY_PATH 10773 shlibpath_var=LD_LIBRARY_PATH
10016 shlibpath_overrides_runpath=no 10774 shlibpath_overrides_runpath=no
10775
10017 # Some binutils ld are patched to set DT_RUNPATH 10776 # Some binutils ld are patched to set DT_RUNPATH
10018 save_LDFLAGS=$LDFLAGS 10777 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10019 save_libdir=$libdir 10778 $as_echo_n "(cached) " >&6
10020 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10779 else
10021 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10780 lt_cv_shlibpath_overrides_runpath=no
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10781 save_LDFLAGS=$LDFLAGS
10782 save_libdir=$libdir
10783 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10784 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */ 10786 /* end confdefs.h. */
10024 10787
10025 int 10788 int
10026 main () 10789 main ()
10027 { 10790 {
10030 return 0; 10793 return 0;
10031 } 10794 }
10032 _ACEOF 10795 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then : 10796 if ac_fn_c_try_link "$LINENO"; then :
10034 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10797 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10035 shlibpath_overrides_runpath=yes 10798 lt_cv_shlibpath_overrides_runpath=yes
10036 fi 10799 fi
10037 fi 10800 fi
10038 rm -f core conftest.err conftest.$ac_objext \ 10801 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext 10802 conftest$ac_exeext conftest.$ac_ext
10040 LDFLAGS=$save_LDFLAGS 10803 LDFLAGS=$save_LDFLAGS
10041 libdir=$save_libdir 10804 libdir=$save_libdir
10805
10806 fi
10807
10808 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10042 10809
10043 # This implies no fast_install, which is unacceptable. 10810 # This implies no fast_install, which is unacceptable.
10044 # Some rework will be needed to allow for fast_install 10811 # Some rework will be needed to allow for fast_install
10045 # before this can be enabled. 10812 # before this can be enabled.
10046 hardcode_into_libs=yes 10813 hardcode_into_libs=yes
10047 10814
10048 # Append ld.so.conf contents to the search path 10815 # Append ld.so.conf contents to the search path
10049 if test -f /etc/ld.so.conf; then 10816 if test -f /etc/ld.so.conf; then
10050 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' ' '` 10817 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' ' '`
10051 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10818 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10052 fi 10819 fi
10053 10820
10054 # We used to test for /lib/ld.so.1 and disable shared libraries on 10821 # We used to test for /lib/ld.so.1 and disable shared libraries on
10055 # powerpc, because MkLinux only supported shared libraries with the 10822 # powerpc, because MkLinux only supported shared libraries with the
10360 11127
10361 11128
10362 11129
10363 11130
10364 11131
11132
11133
11134
11135
11136
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10366 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11138 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10367 hardcode_action= 11139 hardcode_action=
10368 if test -n "$hardcode_libdir_flag_spec" || 11140 if test -n "$hardcode_libdir_flag_spec" ||
10369 test -n "$runpath_var" || 11141 test -n "$runpath_var" ||
10432 11204
10433 darwin*) 11205 darwin*)
10434 # if libdl is installed we need to link against it 11206 # if libdl is installed we need to link against it
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10436 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11208 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11209 if ${ac_cv_lib_dl_dlopen+:} false; then :
10438 $as_echo_n "(cached) " >&6 11210 $as_echo_n "(cached) " >&6
10439 else 11211 else
10440 ac_check_lib_save_LIBS=$LIBS 11212 ac_check_lib_save_LIBS=$LIBS
10441 LIBS="-ldl $LIBS" 11213 LIBS="-ldl $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 conftest$ac_exeext conftest.$ac_ext 11238 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_lib_save_LIBS 11239 LIBS=$ac_check_lib_save_LIBS
10468 fi 11240 fi
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11242 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10471 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11243 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10472 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11244 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10473 else 11245 else
10474 11246
10475 lt_cv_dlopen="dyld" 11247 lt_cv_dlopen="dyld"
10476 lt_cv_dlopen_libs= 11248 lt_cv_dlopen_libs=
10480 11252
10481 ;; 11253 ;;
10482 11254
10483 *) 11255 *)
10484 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11256 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10485 if test "x$ac_cv_func_shl_load" = x""yes; then : 11257 if test "x$ac_cv_func_shl_load" = xyes; then :
10486 lt_cv_dlopen="shl_load" 11258 lt_cv_dlopen="shl_load"
10487 else 11259 else
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10489 $as_echo_n "checking for shl_load in -ldld... " >&6; } 11261 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10490 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11262 if ${ac_cv_lib_dld_shl_load+:} false; then :
10491 $as_echo_n "(cached) " >&6 11263 $as_echo_n "(cached) " >&6
10492 else 11264 else
10493 ac_check_lib_save_LIBS=$LIBS 11265 ac_check_lib_save_LIBS=$LIBS
10494 LIBS="-ldld $LIBS" 11266 LIBS="-ldld $LIBS"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 conftest$ac_exeext conftest.$ac_ext 11291 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_lib_save_LIBS 11292 LIBS=$ac_check_lib_save_LIBS
10521 fi 11293 fi
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10523 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11295 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10524 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11296 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10525 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11297 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10526 else 11298 else
10527 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11299 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10528 if test "x$ac_cv_func_dlopen" = x""yes; then : 11300 if test "x$ac_cv_func_dlopen" = xyes; then :
10529 lt_cv_dlopen="dlopen" 11301 lt_cv_dlopen="dlopen"
10530 else 11302 else
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10532 $as_echo_n "checking for dlopen in -ldl... " >&6; } 11304 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10533 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11305 if ${ac_cv_lib_dl_dlopen+:} false; then :
10534 $as_echo_n "(cached) " >&6 11306 $as_echo_n "(cached) " >&6
10535 else 11307 else
10536 ac_check_lib_save_LIBS=$LIBS 11308 ac_check_lib_save_LIBS=$LIBS
10537 LIBS="-ldl $LIBS" 11309 LIBS="-ldl $LIBS"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 conftest$ac_exeext conftest.$ac_ext 11334 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_lib_save_LIBS 11335 LIBS=$ac_check_lib_save_LIBS
10564 fi 11336 fi
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11338 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10567 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11339 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10568 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11340 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10569 else 11341 else
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10571 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 11343 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10572 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11344 if ${ac_cv_lib_svld_dlopen+:} false; then :
10573 $as_echo_n "(cached) " >&6 11345 $as_echo_n "(cached) " >&6
10574 else 11346 else
10575 ac_check_lib_save_LIBS=$LIBS 11347 ac_check_lib_save_LIBS=$LIBS
10576 LIBS="-lsvld $LIBS" 11348 LIBS="-lsvld $LIBS"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 conftest$ac_exeext conftest.$ac_ext 11373 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_lib_save_LIBS 11374 LIBS=$ac_check_lib_save_LIBS
10603 fi 11375 fi
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10605 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11377 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10606 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 11378 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10607 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11379 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10608 else 11380 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10610 $as_echo_n "checking for dld_link in -ldld... " >&6; } 11382 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10611 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 11383 if ${ac_cv_lib_dld_dld_link+:} false; then :
10612 $as_echo_n "(cached) " >&6 11384 $as_echo_n "(cached) " >&6
10613 else 11385 else
10614 ac_check_lib_save_LIBS=$LIBS 11386 ac_check_lib_save_LIBS=$LIBS
10615 LIBS="-ldld $LIBS" 11387 LIBS="-ldld $LIBS"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 conftest$ac_exeext conftest.$ac_ext 11412 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_lib_save_LIBS 11413 LIBS=$ac_check_lib_save_LIBS
10642 fi 11414 fi
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10644 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11416 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10645 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11417 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10646 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11418 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10647 fi 11419 fi
10648 11420
10649 11421
10650 fi 11422 fi
10681 save_LIBS="$LIBS" 11453 save_LIBS="$LIBS"
10682 LIBS="$lt_cv_dlopen_libs $LIBS" 11454 LIBS="$lt_cv_dlopen_libs $LIBS"
10683 11455
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10685 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 11457 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10686 if test "${lt_cv_dlopen_self+set}" = set; then : 11458 if ${lt_cv_dlopen_self+:} false; then :
10687 $as_echo_n "(cached) " >&6 11459 $as_echo_n "(cached) " >&6
10688 else 11460 else
10689 if test "$cross_compiling" = yes; then : 11461 if test "$cross_compiling" = yes; then :
10690 lt_cv_dlopen_self=cross 11462 lt_cv_dlopen_self=cross
10691 else 11463 else
10692 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10693 lt_status=$lt_dlunknown 11465 lt_status=$lt_dlunknown
10694 cat > conftest.$ac_ext <<_LT_EOF 11466 cat > conftest.$ac_ext <<_LT_EOF
10695 #line 10695 "configure" 11467 #line $LINENO "configure"
10696 #include "confdefs.h" 11468 #include "confdefs.h"
10697 11469
10698 #if HAVE_DLFCN_H 11470 #if HAVE_DLFCN_H
10699 #include <dlfcn.h> 11471 #include <dlfcn.h>
10700 #endif 11472 #endif
10731 # endif 11503 # endif
10732 # endif 11504 # endif
10733 # endif 11505 # endif
10734 #endif 11506 #endif
10735 11507
10736 void fnord() { int i=42;} 11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509 correspondingly for the symbols needed. */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 int fnord () __attribute__((visibility("default")));
11512 #endif
11513
11514 int fnord () { return 42; }
10737 int main () 11515 int main ()
10738 { 11516 {
10739 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10740 int status = $lt_dlunknown; 11518 int status = $lt_dlunknown;
10741 11519
10742 if (self) 11520 if (self)
10743 { 11521 {
10744 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10745 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11523 else
11524 {
11525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11526 else puts (dlerror ());
11527 }
10746 /* dlclose (self); */ 11528 /* dlclose (self); */
10747 } 11529 }
10748 else 11530 else
10749 puts (dlerror ()); 11531 puts (dlerror ());
10750 11532
10777 11559
10778 if test "x$lt_cv_dlopen_self" = xyes; then 11560 if test "x$lt_cv_dlopen_self" = xyes; then
10779 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11561 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10781 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11563 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10782 if test "${lt_cv_dlopen_self_static+set}" = set; then : 11564 if ${lt_cv_dlopen_self_static+:} false; then :
10783 $as_echo_n "(cached) " >&6 11565 $as_echo_n "(cached) " >&6
10784 else 11566 else
10785 if test "$cross_compiling" = yes; then : 11567 if test "$cross_compiling" = yes; then :
10786 lt_cv_dlopen_self_static=cross 11568 lt_cv_dlopen_self_static=cross
10787 else 11569 else
10788 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11570 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10789 lt_status=$lt_dlunknown 11571 lt_status=$lt_dlunknown
10790 cat > conftest.$ac_ext <<_LT_EOF 11572 cat > conftest.$ac_ext <<_LT_EOF
10791 #line 10791 "configure" 11573 #line $LINENO "configure"
10792 #include "confdefs.h" 11574 #include "confdefs.h"
10793 11575
10794 #if HAVE_DLFCN_H 11576 #if HAVE_DLFCN_H
10795 #include <dlfcn.h> 11577 #include <dlfcn.h>
10796 #endif 11578 #endif
10827 # endif 11609 # endif
10828 # endif 11610 # endif
10829 # endif 11611 # endif
10830 #endif 11612 #endif
10831 11613
10832 void fnord() { int i=42;} 11614 /* When -fvisbility=hidden is used, assume the code has been annotated
11615 correspondingly for the symbols needed. */
11616 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11617 int fnord () __attribute__((visibility("default")));
11618 #endif
11619
11620 int fnord () { return 42; }
10833 int main () 11621 int main ()
10834 { 11622 {
10835 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11623 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10836 int status = $lt_dlunknown; 11624 int status = $lt_dlunknown;
10837 11625
10838 if (self) 11626 if (self)
10839 { 11627 {
10840 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11628 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10841 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11629 else
11630 {
11631 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11632 else puts (dlerror ());
11633 }
10842 /* dlclose (self); */ 11634 /* dlclose (self); */
10843 } 11635 }
10844 else 11636 else
10845 puts (dlerror ()); 11637 puts (dlerror ());
10846 11638
11039 # then use that information and don't search ssldirs 11831 # then use that information and don't search ssldirs
11040 # Extract the first word of "pkg-config", so it can be a program name with args. 11832 # Extract the first word of "pkg-config", so it can be a program name with args.
11041 set dummy pkg-config; ac_word=$2 11833 set dummy pkg-config; ac_word=$2
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11043 $as_echo_n "checking for $ac_word... " >&6; } 11835 $as_echo_n "checking for $ac_word... " >&6; }
11044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11836 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11045 $as_echo_n "(cached) " >&6 11837 $as_echo_n "(cached) " >&6
11046 else 11838 else
11047 case $PKG_CONFIG in 11839 case $PKG_CONFIG in
11048 [\\/]* | ?:[\\/]*) 11840 [\\/]* | ?:[\\/]*)
11049 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11841 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11173 11965
11174 # Extract the first word of "mlton", so it can be a program name with args. 11966 # Extract the first word of "mlton", so it can be a program name with args.
11175 set dummy mlton; ac_word=$2 11967 set dummy mlton; ac_word=$2
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11177 $as_echo_n "checking for $ac_word... " >&6; } 11969 $as_echo_n "checking for $ac_word... " >&6; }
11178 if test "${ac_cv_prog_MLTON+set}" = set; then : 11970 if ${ac_cv_prog_MLTON+:} false; then :
11179 $as_echo_n "(cached) " >&6 11971 $as_echo_n "(cached) " >&6
11180 else 11972 else
11181 if test -n "$MLTON"; then 11973 if test -n "$MLTON"; then
11182 ac_cv_prog_MLTON="$MLTON" # Let the user override the test. 11974 ac_cv_prog_MLTON="$MLTON" # Let the user override the test.
11183 else 11975 else
11216 12008
11217 # Extract the first word of "mllex", so it can be a program name with args. 12009 # Extract the first word of "mllex", so it can be a program name with args.
11218 set dummy mllex; ac_word=$2 12010 set dummy mllex; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11220 $as_echo_n "checking for $ac_word... " >&6; } 12012 $as_echo_n "checking for $ac_word... " >&6; }
11221 if test "${ac_cv_prog_MLLEX+set}" = set; then : 12013 if ${ac_cv_prog_MLLEX+:} false; then :
11222 $as_echo_n "(cached) " >&6 12014 $as_echo_n "(cached) " >&6
11223 else 12015 else
11224 if test -n "$MLLEX"; then 12016 if test -n "$MLLEX"; then
11225 ac_cv_prog_MLLEX="$MLLEX" # Let the user override the test. 12017 ac_cv_prog_MLLEX="$MLLEX" # Let the user override the test.
11226 else 12018 else
11259 12051
11260 # Extract the first word of "mlyacc", so it can be a program name with args. 12052 # Extract the first word of "mlyacc", so it can be a program name with args.
11261 set dummy mlyacc; ac_word=$2 12053 set dummy mlyacc; ac_word=$2
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11263 $as_echo_n "checking for $ac_word... " >&6; } 12055 $as_echo_n "checking for $ac_word... " >&6; }
11264 if test "${ac_cv_prog_MLYACC+set}" = set; then : 12056 if ${ac_cv_prog_MLYACC+:} false; then :
11265 $as_echo_n "(cached) " >&6 12057 $as_echo_n "(cached) " >&6
11266 else 12058 else
11267 if test -n "$MLYACC"; then 12059 if test -n "$MLYACC"; then
11268 ac_cv_prog_MLYACC="$MLYACC" # Let the user override the test. 12060 ac_cv_prog_MLYACC="$MLYACC" # Let the user override the test.
11269 else 12061 else
11409 t end 12201 t end
11410 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12202 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11411 :end' >>confcache 12203 :end' >>confcache
11412 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11413 if test -w "$cache_file"; then 12205 if test -w "$cache_file"; then
11414 test "x$cache_file" != "x/dev/null" && 12206 if test "x$cache_file" != "x/dev/null"; then
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12207 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11416 $as_echo "$as_me: updating cache $cache_file" >&6;} 12208 $as_echo "$as_me: updating cache $cache_file" >&6;}
11417 cat confcache >$cache_file 12209 if test ! -f "$cache_file" || test -h "$cache_file"; then
12210 cat confcache >"$cache_file"
12211 else
12212 case $cache_file in #(
12213 */* | ?:*)
12214 mv -f confcache "$cache_file"$$ &&
12215 mv -f "$cache_file"$$ "$cache_file" ;; #(
12216 *)
12217 mv -f confcache "$cache_file" ;;
12218 esac
12219 fi
12220 fi
11418 else 12221 else
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12222 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11420 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12223 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11421 fi 12224 fi
11422 fi 12225 fi
11464 if test -z "${USE_EMACS_TRUE}" && test -z "${USE_EMACS_FALSE}"; then 12267 if test -z "${USE_EMACS_TRUE}" && test -z "${USE_EMACS_FALSE}"; then
11465 as_fn_error $? "conditional \"USE_EMACS\" was never defined. 12268 as_fn_error $? "conditional \"USE_EMACS\" was never defined.
11466 Usually this means the macro was only invoked conditionally." "$LINENO" 5 12269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11467 fi 12270 fi
11468 12271
11469 : ${CONFIG_STATUS=./config.status} 12272 : "${CONFIG_STATUS=./config.status}"
11470 ac_write_fail=0 12273 ac_write_fail=0
11471 ac_clean_files_save=$ac_clean_files 12274 ac_clean_files_save=$ac_clean_files
11472 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12275 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12276 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11474 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12277 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11565 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 12368 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11566 # splitting by setting IFS to empty value.) 12369 # splitting by setting IFS to empty value.)
11567 IFS=" "" $as_nl" 12370 IFS=" "" $as_nl"
11568 12371
11569 # Find who we are. Look in the path if we contain no directory separator. 12372 # Find who we are. Look in the path if we contain no directory separator.
12373 as_myself=
11570 case $0 in #(( 12374 case $0 in #((
11571 *[\\/]* ) as_myself=$0 ;; 12375 *[\\/]* ) as_myself=$0 ;;
11572 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12376 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11573 for as_dir in $PATH 12377 for as_dir in $PATH
11574 do 12378 do
11872 # Save the log message, to keep $0 and so on meaningful, and to 12676 # Save the log message, to keep $0 and so on meaningful, and to
11873 # report actual input values of CONFIG_FILES etc. instead of their 12677 # report actual input values of CONFIG_FILES etc. instead of their
11874 # values after options handling. 12678 # values after options handling.
11875 ac_log=" 12679 ac_log="
11876 This file was extended by urweb $as_me 1.0, which was 12680 This file was extended by urweb $as_me 1.0, which was
11877 generated by GNU Autoconf 2.67. Invocation command line was 12681 generated by GNU Autoconf 2.68. Invocation command line was
11878 12682
11879 CONFIG_FILES = $CONFIG_FILES 12683 CONFIG_FILES = $CONFIG_FILES
11880 CONFIG_HEADERS = $CONFIG_HEADERS 12684 CONFIG_HEADERS = $CONFIG_HEADERS
11881 CONFIG_LINKS = $CONFIG_LINKS 12685 CONFIG_LINKS = $CONFIG_LINKS
11882 CONFIG_COMMANDS = $CONFIG_COMMANDS 12686 CONFIG_COMMANDS = $CONFIG_COMMANDS
11938 _ACEOF 12742 _ACEOF
11939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11940 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11941 ac_cs_version="\\ 12745 ac_cs_version="\\
11942 urweb config.status 1.0 12746 urweb config.status 1.0
11943 configured by $0, generated by GNU Autoconf 2.67, 12747 configured by $0, generated by GNU Autoconf 2.68,
11944 with options \\"\$ac_cs_config\\" 12748 with options \\"\$ac_cs_config\\"
11945 12749
11946 Copyright (C) 2010 Free Software Foundation, Inc. 12750 Copyright (C) 2010 Free Software Foundation, Inc.
11947 This config.status script is free software; the Free Software Foundation 12751 This config.status script is free software; the Free Software Foundation
11948 gives unlimited permission to copy, distribute and modify it." 12752 gives unlimited permission to copy, distribute and modify it."
12066 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12067 12871
12068 sed_quote_subst='$sed_quote_subst' 12872 sed_quote_subst='$sed_quote_subst'
12069 double_quote_subst='$double_quote_subst' 12873 double_quote_subst='$double_quote_subst'
12070 delay_variable_subst='$delay_variable_subst' 12874 delay_variable_subst='$delay_variable_subst'
12071 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 12875 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12072 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 12876 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12073 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 12877 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12074 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 12878 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12075 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 12879 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12076 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 12880 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12077 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 12881 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12078 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 12882 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12079 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 12883 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12080 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 12884 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12081 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 12885 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12082 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 12886 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12083 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 12887 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12084 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 12888 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12085 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 12889 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12086 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 12890 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12087 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 12891 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12088 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 12892 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12089 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 12893 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12090 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 12894 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12091 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 12895 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12092 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 12896 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12093 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 12897 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12094 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 12898 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12095 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 12899 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12096 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 12900 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12097 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 12901 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12098 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12902 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12099 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 12903 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12100 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 12904 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12101 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 12905 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12102 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 12906 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12103 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12907 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12104 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 12908 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12105 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 12909 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12106 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12910 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12107 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12911 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12108 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12912 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12109 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 12913 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12110 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12914 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12111 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 12915 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12112 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 12916 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12113 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 12917 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12114 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 12918 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12115 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"`' 12919 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12116 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"`' 12920 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12117 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 12921 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12118 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 12922 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12119 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 12923 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12120 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 12924 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12121 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 12925 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12122 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 12926 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12123 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 12927 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12124 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 12928 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12125 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 12929 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12126 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 12930 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"`'
12127 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 12931 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12128 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 12932 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12129 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 12933 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12130 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 12934 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12131 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 12935 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12132 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 12936 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12133 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12937 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12134 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12938 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12135 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 12939 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12136 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 12940 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12137 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12941 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12138 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12942 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12139 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 12943 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12140 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12944 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12141 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12945 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12142 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12946 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12143 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12947 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12144 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12948 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12145 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12949 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12146 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 12950 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12147 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12951 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12148 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12952 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12149 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12953 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12150 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 12954 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12151 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 12955 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12152 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 12956 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12153 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 12957 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12154 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 12958 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12155 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12959 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12156 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 12960 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12157 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 12961 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12158 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 12962 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12159 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 12963 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12160 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 12964 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12161 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12965 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12162 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12966 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12163 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12967 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12164 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12968 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12165 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 12969 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12166 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 12970 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12167 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 12971 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12168 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 12972 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12169 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 12973 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12170 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12974 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12171 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12975 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12172 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 12976 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12173 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12977 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12174 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 12978 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12175 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12979 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12176 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12980 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12177 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12981 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12178 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12982 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12179 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 12983 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12180 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 12984 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12181 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12985 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12182 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12986 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12183 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 12987 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12184 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 12988 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12185 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 12989 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12186 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 12990 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12187 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 12991 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12188 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 12992 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12993 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12994 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12995 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12996 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12997 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12998 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12999 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13000 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13001 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13002 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13003 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13004 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12189 13005
12190 LTCC='$LTCC' 13006 LTCC='$LTCC'
12191 LTCFLAGS='$LTCFLAGS' 13007 LTCFLAGS='$LTCFLAGS'
12192 compiler='$compiler_DEFAULT' 13008 compiler='$compiler_DEFAULT'
12193 13009
13010 # A function that is used when there is no print builtin or printf.
13011 func_fallback_echo ()
13012 {
13013 eval 'cat <<_LTECHO_EOF
13014 \$1
13015 _LTECHO_EOF'
13016 }
13017
12194 # Quote evaled strings. 13018 # Quote evaled strings.
12195 for var in SED \ 13019 for var in SHELL \
13020 ECHO \
13021 SED \
12196 GREP \ 13022 GREP \
12197 EGREP \ 13023 EGREP \
12198 FGREP \ 13024 FGREP \
12199 LD \ 13025 LD \
12200 NM \ 13026 NM \
12203 lt_NL2SP \ 13029 lt_NL2SP \
12204 reload_flag \ 13030 reload_flag \
12205 OBJDUMP \ 13031 OBJDUMP \
12206 deplibs_check_method \ 13032 deplibs_check_method \
12207 file_magic_cmd \ 13033 file_magic_cmd \
13034 file_magic_glob \
13035 want_nocaseglob \
13036 DLLTOOL \
13037 sharedlib_from_linklib_cmd \
12208 AR \ 13038 AR \
12209 AR_FLAGS \ 13039 AR_FLAGS \
13040 archiver_list_spec \
12210 STRIP \ 13041 STRIP \
12211 RANLIB \ 13042 RANLIB \
12212 CC \ 13043 CC \
12213 CFLAGS \ 13044 CFLAGS \
12214 compiler \ 13045 compiler \
12215 lt_cv_sys_global_symbol_pipe \ 13046 lt_cv_sys_global_symbol_pipe \
12216 lt_cv_sys_global_symbol_to_cdecl \ 13047 lt_cv_sys_global_symbol_to_cdecl \
12217 lt_cv_sys_global_symbol_to_c_name_address \ 13048 lt_cv_sys_global_symbol_to_c_name_address \
12218 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13049 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12219 SHELL \ 13050 nm_file_list_spec \
12220 ECHO \
12221 lt_prog_compiler_no_builtin_flag \ 13051 lt_prog_compiler_no_builtin_flag \
13052 lt_prog_compiler_pic \
12222 lt_prog_compiler_wl \ 13053 lt_prog_compiler_wl \
12223 lt_prog_compiler_pic \
12224 lt_prog_compiler_static \ 13054 lt_prog_compiler_static \
12225 lt_cv_prog_compiler_c_o \ 13055 lt_cv_prog_compiler_c_o \
12226 need_locks \ 13056 need_locks \
13057 MANIFEST_TOOL \
12227 DSYMUTIL \ 13058 DSYMUTIL \
12228 NMEDIT \ 13059 NMEDIT \
12229 LIPO \ 13060 LIPO \
12230 OTOOL \ 13061 OTOOL \
12231 OTOOL64 \ 13062 OTOOL64 \
12237 allow_undefined_flag \ 13068 allow_undefined_flag \
12238 no_undefined_flag \ 13069 no_undefined_flag \
12239 hardcode_libdir_flag_spec \ 13070 hardcode_libdir_flag_spec \
12240 hardcode_libdir_flag_spec_ld \ 13071 hardcode_libdir_flag_spec_ld \
12241 hardcode_libdir_separator \ 13072 hardcode_libdir_separator \
12242 fix_srcfile_path \
12243 exclude_expsyms \ 13073 exclude_expsyms \
12244 include_expsyms \ 13074 include_expsyms \
12245 file_list_spec \ 13075 file_list_spec \
12246 variables_saved_for_relink \ 13076 variables_saved_for_relink \
12247 libname_spec \ 13077 libname_spec \
12248 library_names_spec \ 13078 library_names_spec \
12249 soname_spec \ 13079 soname_spec \
13080 install_override_mode \
12250 finish_eval \ 13081 finish_eval \
12251 old_striplib \ 13082 old_striplib \
12252 striplib; do 13083 striplib; do
12253 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13084 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12254 *[\\\\\\\`\\"\\\$]*) 13085 *[\\\\\\\`\\"\\\$]*)
12255 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13086 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12256 ;; 13087 ;;
12257 *) 13088 *)
12258 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13089 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12259 ;; 13090 ;;
12260 esac 13091 esac
12272 archive_expsym_cmds \ 13103 archive_expsym_cmds \
12273 module_cmds \ 13104 module_cmds \
12274 module_expsym_cmds \ 13105 module_expsym_cmds \
12275 export_symbols_cmds \ 13106 export_symbols_cmds \
12276 prelink_cmds \ 13107 prelink_cmds \
13108 postlink_cmds \
12277 postinstall_cmds \ 13109 postinstall_cmds \
12278 postuninstall_cmds \ 13110 postuninstall_cmds \
12279 finish_cmds \ 13111 finish_cmds \
12280 sys_lib_search_path_spec \ 13112 sys_lib_search_path_spec \
12281 sys_lib_dlsearch_path_spec; do 13113 sys_lib_dlsearch_path_spec; do
12282 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13114 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12283 *[\\\\\\\`\\"\\\$]*) 13115 *[\\\\\\\`\\"\\\$]*)
12284 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13116 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12285 ;; 13117 ;;
12286 *) 13118 *)
12287 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13119 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12288 ;; 13120 ;;
12289 esac 13121 esac
12290 done 13122 done
12291
12292 # Fix-up fallback echo if it was mangled by the above quoting rules.
12293 case \$lt_ECHO in
12294 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12295 ;;
12296 esac
12297 13123
12298 ac_aux_dir='$ac_aux_dir' 13124 ac_aux_dir='$ac_aux_dir'
12299 xsi_shell='$xsi_shell' 13125 xsi_shell='$xsi_shell'
12300 lt_shell_append='$lt_shell_append' 13126 lt_shell_append='$lt_shell_append'
12301 13127
12328 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13154 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12329 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13155 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12330 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;; 13156 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;;
12331 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;; 13157 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;;
12332 13158
12333 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 13159 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12334 esac 13160 esac
12335 done 13161 done
12336 13162
12337 13163
12338 # If the user did not use the arguments to specify the items to instantiate, 13164 # If the user did not use the arguments to specify the items to instantiate,
12351 # Hook for its removal unless debugging. 13177 # Hook for its removal unless debugging.
12352 # Note that there is a small window in which the directory will not be cleaned: 13178 # Note that there is a small window in which the directory will not be cleaned:
12353 # after its creation but before its name has been assigned to `$tmp'. 13179 # after its creation but before its name has been assigned to `$tmp'.
12354 $debug || 13180 $debug ||
12355 { 13181 {
12356 tmp= 13182 tmp= ac_tmp=
12357 trap 'exit_status=$? 13183 trap 'exit_status=$?
12358 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13184 : "${ac_tmp:=$tmp}"
13185 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12359 ' 0 13186 ' 0
12360 trap 'as_fn_exit 1' 1 2 13 15 13187 trap 'as_fn_exit 1' 1 2 13 15
12361 } 13188 }
12362 # Create a (secure) tmp directory for tmp files. 13189 # Create a (secure) tmp directory for tmp files.
12363 13190
12364 { 13191 {
12365 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12366 test -n "$tmp" && test -d "$tmp" 13193 test -d "$tmp"
12367 } || 13194 } ||
12368 { 13195 {
12369 tmp=./conf$$-$RANDOM 13196 tmp=./conf$$-$RANDOM
12370 (umask 077 && mkdir "$tmp") 13197 (umask 077 && mkdir "$tmp")
12371 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 13198 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13199 ac_tmp=$tmp
12372 13200
12373 # Set up the scripts for CONFIG_FILES section. 13201 # Set up the scripts for CONFIG_FILES section.
12374 # No need to generate them if there are no CONFIG_FILES. 13202 # No need to generate them if there are no CONFIG_FILES.
12375 # This happens for instance with `./config.status config.h'. 13203 # This happens for instance with `./config.status config.h'.
12376 if test -n "$CONFIG_FILES"; then 13204 if test -n "$CONFIG_FILES"; then
12388 ac_cs_awk_cr='\\r' 13216 ac_cs_awk_cr='\\r'
12389 else 13217 else
12390 ac_cs_awk_cr=$ac_cr 13218 ac_cs_awk_cr=$ac_cr
12391 fi 13219 fi
12392 13220
12393 echo 'BEGIN {' >"$tmp/subs1.awk" && 13221 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12394 _ACEOF 13222 _ACEOF
12395 13223
12396 13224
12397 { 13225 {
12398 echo "cat >conf$$subs.awk <<_ACEOF" && 13226 echo "cat >conf$$subs.awk <<_ACEOF" &&
12416 fi 13244 fi
12417 done 13245 done
12418 rm -f conf$$subs.sh 13246 rm -f conf$$subs.sh
12419 13247
12420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12421 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13249 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12422 _ACEOF 13250 _ACEOF
12423 sed -n ' 13251 sed -n '
12424 h 13252 h
12425 s/^/S["/; s/!.*/"]=/ 13253 s/^/S["/; s/!.*/"]=/
12426 p 13254 p
12464 } 13292 }
12465 ' >>$CONFIG_STATUS || ac_write_fail=1 13293 ' >>$CONFIG_STATUS || ac_write_fail=1
12466 rm -f conf$$subs.awk 13294 rm -f conf$$subs.awk
12467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12468 _ACAWK 13296 _ACAWK
12469 cat >>"\$tmp/subs1.awk" <<_ACAWK && 13297 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12470 for (key in S) S_is_set[key] = 1 13298 for (key in S) S_is_set[key] = 1
12471 FS = "" 13299 FS = ""
12472 13300
12473 } 13301 }
12474 { 13302 {
12496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12497 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13325 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12498 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13326 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12499 else 13327 else
12500 cat 13328 cat
12501 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13329 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12502 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 13330 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12503 _ACEOF 13331 _ACEOF
12504 13332
12505 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 13333 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12506 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 13334 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12530 13358
12531 # Set up the scripts for CONFIG_HEADERS section. 13359 # Set up the scripts for CONFIG_HEADERS section.
12532 # No need to generate them if there are no CONFIG_HEADERS. 13360 # No need to generate them if there are no CONFIG_HEADERS.
12533 # This happens for instance with `./config.status Makefile'. 13361 # This happens for instance with `./config.status Makefile'.
12534 if test -n "$CONFIG_HEADERS"; then 13362 if test -n "$CONFIG_HEADERS"; then
12535 cat >"$tmp/defines.awk" <<\_ACAWK || 13363 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12536 BEGIN { 13364 BEGIN {
12537 _ACEOF 13365 _ACEOF
12538 13366
12539 # Transform confdefs.h into an awk script `defines.awk', embedded as 13367 # Transform confdefs.h into an awk script `defines.awk', embedded as
12540 # here-document in config.status, that substitutes the proper values into 13368 # here-document in config.status, that substitutes the proper values into
12542 13370
12543 # Create a delimiter string that does not exist in confdefs.h, to ease 13371 # Create a delimiter string that does not exist in confdefs.h, to ease
12544 # handling of long lines. 13372 # handling of long lines.
12545 ac_delim='%!_!# ' 13373 ac_delim='%!_!# '
12546 for ac_last_try in false false :; do 13374 for ac_last_try in false false :; do
12547 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 13375 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
12548 if test -z "$ac_t"; then 13376 if test -z "$ac_tt"; then
12549 break 13377 break
12550 elif $ac_last_try; then 13378 elif $ac_last_try; then
12551 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 13379 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12552 else 13380 else
12553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12644 case $ac_tag in 13472 case $ac_tag in
12645 :[FHLC]) ac_mode=$ac_tag; continue;; 13473 :[FHLC]) ac_mode=$ac_tag; continue;;
12646 esac 13474 esac
12647 case $ac_mode$ac_tag in 13475 case $ac_mode$ac_tag in
12648 :[FHL]*:*);; 13476 :[FHL]*:*);;
12649 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 13477 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12650 :[FH]-) ac_tag=-:-;; 13478 :[FH]-) ac_tag=-:-;;
12651 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13479 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12652 esac 13480 esac
12653 ac_save_IFS=$IFS 13481 ac_save_IFS=$IFS
12654 IFS=: 13482 IFS=:
12663 :[FH]) 13491 :[FH])
12664 ac_file_inputs= 13492 ac_file_inputs=
12665 for ac_f 13493 for ac_f
12666 do 13494 do
12667 case $ac_f in 13495 case $ac_f in
12668 -) ac_f="$tmp/stdin";; 13496 -) ac_f="$ac_tmp/stdin";;
12669 *) # Look for the file first in the build tree, then in the source tree 13497 *) # Look for the file first in the build tree, then in the source tree
12670 # (if the path is not absolute). The absolute path cannot be DOS-style, 13498 # (if the path is not absolute). The absolute path cannot be DOS-style,
12671 # because $ac_f cannot contain `:'. 13499 # because $ac_f cannot contain `:'.
12672 test -f "$ac_f" || 13500 test -f "$ac_f" ||
12673 case $ac_f in 13501 case $ac_f in
12674 [\\/$]*) false;; 13502 [\\/$]*) false;;
12675 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13503 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12676 esac || 13504 esac ||
12677 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 13505 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12678 esac 13506 esac
12679 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13507 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12680 as_fn_append ac_file_inputs " '$ac_f'" 13508 as_fn_append ac_file_inputs " '$ac_f'"
12681 done 13509 done
12682 13510
12698 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12699 *) ac_sed_conf_input=$configure_input;; 13527 *) ac_sed_conf_input=$configure_input;;
12700 esac 13528 esac
12701 13529
12702 case $ac_tag in 13530 case $ac_tag in
12703 *:-:* | *:-) cat >"$tmp/stdin" \ 13531 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12704 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12705 esac 13533 esac
12706 ;; 13534 ;;
12707 esac 13535 esac
12708 13536
12709 ac_dir=`$as_dirname -- "$ac_file" || 13537 ac_dir=`$as_dirname -- "$ac_file" ||
12835 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12836 s&@INSTALL@&$ac_INSTALL&;t t 13664 s&@INSTALL@&$ac_INSTALL&;t t
12837 s&@MKDIR_P@&$ac_MKDIR_P&;t t 13665 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12838 $ac_datarootdir_hack 13666 $ac_datarootdir_hack
12839 " 13667 "
12840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13668 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12841 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13669 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12842 13670
12843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13671 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12844 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13672 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13673 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13674 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12847 which seems to be undefined. Please make sure it is defined" >&5 13676 which seems to be undefined. Please make sure it is defined" >&5
12848 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12849 which seems to be undefined. Please make sure it is defined" >&2;} 13678 which seems to be undefined. Please make sure it is defined" >&2;}
12850 13679
12851 rm -f "$tmp/stdin" 13680 rm -f "$ac_tmp/stdin"
12852 case $ac_file in 13681 case $ac_file in
12853 -) cat "$tmp/out" && rm -f "$tmp/out";; 13682 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12854 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13683 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12855 esac \ 13684 esac \
12856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12857 ;; 13686 ;;
12858 :H) 13687 :H)
12859 # 13688 #
12860 # CONFIG_HEADER 13689 # CONFIG_HEADER
12861 # 13690 #
12862 if test x"$ac_file" != x-; then 13691 if test x"$ac_file" != x-; then
12863 { 13692 {
12864 $as_echo "/* $configure_input */" \ 13693 $as_echo "/* $configure_input */" \
12865 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12866 } >"$tmp/config.h" \ 13695 } >"$ac_tmp/config.h" \
12867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12868 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13697 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13698 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12870 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13699 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12871 else 13700 else
12872 rm -f "$ac_file" 13701 rm -f "$ac_file"
12873 mv "$tmp/config.h" "$ac_file" \ 13702 mv "$ac_tmp/config.h" "$ac_file" \
12874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12875 fi 13704 fi
12876 else 13705 else
12877 $as_echo "/* $configure_input */" \ 13706 $as_echo "/* $configure_input */" \
12878 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12879 || as_fn_error $? "could not create -" "$LINENO" 5 13708 || as_fn_error $? "could not create -" "$LINENO" 5
12880 fi 13709 fi
12881 # Compute "$ac_file"'s index in $config_headers. 13710 # Compute "$ac_file"'s index in $config_headers.
12882 _am_arg="$ac_file" 13711 _am_arg="$ac_file"
12883 _am_stamp_count=1 13712 _am_stamp_count=1
13035 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13864 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13036 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13865 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13037 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 13866 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13038 # 13867 #
13039 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13868 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13040 # 2006, 2007, 2008 Free Software Foundation, Inc. 13869 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13870 # Inc.
13041 # Written by Gordon Matzigkeit, 1996 13871 # Written by Gordon Matzigkeit, 1996
13042 # 13872 #
13043 # This file is part of GNU Libtool. 13873 # This file is part of GNU Libtool.
13044 # 13874 #
13045 # GNU Libtool is free software; you can redistribute it and/or 13875 # GNU Libtool is free software; you can redistribute it and/or
13083 pic_mode=$pic_mode 13913 pic_mode=$pic_mode
13084 13914
13085 # Whether or not to optimize for fast installation. 13915 # Whether or not to optimize for fast installation.
13086 fast_install=$enable_fast_install 13916 fast_install=$enable_fast_install
13087 13917
13918 # Shell to use when invoking shell scripts.
13919 SHELL=$lt_SHELL
13920
13921 # An echo program that protects backslashes.
13922 ECHO=$lt_ECHO
13923
13088 # The host system. 13924 # The host system.
13089 host_alias=$host_alias 13925 host_alias=$host_alias
13090 host=$host 13926 host=$host
13091 host_os=$host_os 13927 host_os=$host_os
13092 13928
13132 SP2NL=$lt_lt_SP2NL 13968 SP2NL=$lt_lt_SP2NL
13133 13969
13134 # turn newlines into spaces. 13970 # turn newlines into spaces.
13135 NL2SP=$lt_lt_NL2SP 13971 NL2SP=$lt_lt_NL2SP
13136 13972
13137 # How to create reloadable object files. 13973 # convert \$build file names to \$host format.
13138 reload_flag=$lt_reload_flag 13974 to_host_file_cmd=$lt_cv_to_host_file_cmd
13139 reload_cmds=$lt_reload_cmds 13975
13976 # convert \$build files to toolchain format.
13977 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13140 13978
13141 # An object symbol dumper. 13979 # An object symbol dumper.
13142 OBJDUMP=$lt_OBJDUMP 13980 OBJDUMP=$lt_OBJDUMP
13143 13981
13144 # Method to check whether dependent libraries are shared objects. 13982 # Method to check whether dependent libraries are shared objects.
13145 deplibs_check_method=$lt_deplibs_check_method 13983 deplibs_check_method=$lt_deplibs_check_method
13146 13984
13147 # Command to use when deplibs_check_method == "file_magic". 13985 # Command to use when deplibs_check_method = "file_magic".
13148 file_magic_cmd=$lt_file_magic_cmd 13986 file_magic_cmd=$lt_file_magic_cmd
13987
13988 # How to find potential files when deplibs_check_method = "file_magic".
13989 file_magic_glob=$lt_file_magic_glob
13990
13991 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13992 want_nocaseglob=$lt_want_nocaseglob
13993
13994 # DLL creation program.
13995 DLLTOOL=$lt_DLLTOOL
13996
13997 # Command to associate shared and link libraries.
13998 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13149 13999
13150 # The archiver. 14000 # The archiver.
13151 AR=$lt_AR 14001 AR=$lt_AR
14002
14003 # Flags to create an archive.
13152 AR_FLAGS=$lt_AR_FLAGS 14004 AR_FLAGS=$lt_AR_FLAGS
14005
14006 # How to feed a file listing to the archiver.
14007 archiver_list_spec=$lt_archiver_list_spec
13153 14008
13154 # A symbol stripping program. 14009 # A symbol stripping program.
13155 STRIP=$lt_STRIP 14010 STRIP=$lt_STRIP
13156 14011
13157 # Commands used to install an old-style archive. 14012 # Commands used to install an old-style archive.
13158 RANLIB=$lt_RANLIB 14013 RANLIB=$lt_RANLIB
13159 old_postinstall_cmds=$lt_old_postinstall_cmds 14014 old_postinstall_cmds=$lt_old_postinstall_cmds
13160 old_postuninstall_cmds=$lt_old_postuninstall_cmds 14015 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13161 14016
14017 # Whether to use a lock for old archive extraction.
14018 lock_old_archive_extraction=$lock_old_archive_extraction
14019
13162 # A C compiler. 14020 # A C compiler.
13163 LTCC=$lt_CC 14021 LTCC=$lt_CC
13164 14022
13165 # LTCC compiler flags. 14023 # LTCC compiler flags.
13166 LTCFLAGS=$lt_CFLAGS 14024 LTCFLAGS=$lt_CFLAGS
13175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14033 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13176 14034
13177 # Transform the output of nm in a C name address pair when lib prefix is needed. 14035 # Transform the output of nm in a C name address pair when lib prefix is needed.
13178 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14036 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13179 14037
14038 # Specify filename containing input files for \$NM.
14039 nm_file_list_spec=$lt_nm_file_list_spec
14040
14041 # The root where to search for dependent libraries,and in which our libraries should be installed.
14042 lt_sysroot=$lt_sysroot
14043
13180 # The name of the directory that contains temporary libtool files. 14044 # The name of the directory that contains temporary libtool files.
13181 objdir=$objdir 14045 objdir=$objdir
13182 14046
13183 # Shell to use when invoking shell scripts.
13184 SHELL=$lt_SHELL
13185
13186 # An echo program that does not interpret backslashes.
13187 ECHO=$lt_ECHO
13188
13189 # Used to examine libraries when file_magic_cmd begins with "file". 14047 # Used to examine libraries when file_magic_cmd begins with "file".
13190 MAGIC_CMD=$MAGIC_CMD 14048 MAGIC_CMD=$MAGIC_CMD
13191 14049
13192 # Must we lock files when doing compilation? 14050 # Must we lock files when doing compilation?
13193 need_locks=$lt_need_locks 14051 need_locks=$lt_need_locks
14052
14053 # Manifest tool.
14054 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13194 14055
13195 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14056 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13196 DSYMUTIL=$lt_DSYMUTIL 14057 DSYMUTIL=$lt_DSYMUTIL
13197 14058
13198 # Tool to change global to local symbols on Mac OS X. 14059 # Tool to change global to local symbols on Mac OS X.
13246 library_names_spec=$lt_library_names_spec 14107 library_names_spec=$lt_library_names_spec
13247 14108
13248 # The coded name of the library, if different from the real name. 14109 # The coded name of the library, if different from the real name.
13249 soname_spec=$lt_soname_spec 14110 soname_spec=$lt_soname_spec
13250 14111
14112 # Permission mode override for installation of shared libraries.
14113 install_override_mode=$lt_install_override_mode
14114
13251 # Command to use after installation of a shared archive. 14115 # Command to use after installation of a shared archive.
13252 postinstall_cmds=$lt_postinstall_cmds 14116 postinstall_cmds=$lt_postinstall_cmds
13253 14117
13254 # Command to use after uninstallation of a shared archive. 14118 # Command to use after uninstallation of a shared archive.
13255 postuninstall_cmds=$lt_postuninstall_cmds 14119 postuninstall_cmds=$lt_postuninstall_cmds
13285 14149
13286 14150
13287 # The linker used to build libraries. 14151 # The linker used to build libraries.
13288 LD=$lt_LD 14152 LD=$lt_LD
13289 14153
14154 # How to create reloadable object files.
14155 reload_flag=$lt_reload_flag
14156 reload_cmds=$lt_reload_cmds
14157
13290 # Commands used to build an old-style archive. 14158 # Commands used to build an old-style archive.
13291 old_archive_cmds=$lt_old_archive_cmds 14159 old_archive_cmds=$lt_old_archive_cmds
13292 14160
13293 # A language specific compiler. 14161 # A language specific compiler.
13294 CC=$lt_compiler 14162 CC=$lt_compiler
13297 with_gcc=$GCC 14165 with_gcc=$GCC
13298 14166
13299 # Compiler flag to turn off builtin functions. 14167 # Compiler flag to turn off builtin functions.
13300 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14168 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13301 14169
14170 # Additional compiler flags for building library objects.
14171 pic_flag=$lt_lt_prog_compiler_pic
14172
13302 # How to pass a linker flag through the compiler. 14173 # How to pass a linker flag through the compiler.
13303 wl=$lt_lt_prog_compiler_wl 14174 wl=$lt_lt_prog_compiler_wl
13304
13305 # Additional compiler flags for building library objects.
13306 pic_flag=$lt_lt_prog_compiler_pic
13307 14175
13308 # Compiler flag to prevent dynamic linking. 14176 # Compiler flag to prevent dynamic linking.
13309 link_static_flag=$lt_lt_prog_compiler_static 14177 link_static_flag=$lt_lt_prog_compiler_static
13310 14178
13311 # Does compiler simultaneously support -c and -o options? 14179 # Does compiler simultaneously support -c and -o options?
13389 inherit_rpath=$inherit_rpath 14257 inherit_rpath=$inherit_rpath
13390 14258
13391 # Whether libtool must link a program against all its dependency libraries. 14259 # Whether libtool must link a program against all its dependency libraries.
13392 link_all_deplibs=$link_all_deplibs 14260 link_all_deplibs=$link_all_deplibs
13393 14261
13394 # Fix the shell variable \$srcfile for the compiler.
13395 fix_srcfile_path=$lt_fix_srcfile_path
13396
13397 # Set to "yes" if exported symbols are required. 14262 # Set to "yes" if exported symbols are required.
13398 always_export_symbols=$always_export_symbols 14263 always_export_symbols=$always_export_symbols
13399 14264
13400 # The commands to list exported symbols. 14265 # The commands to list exported symbols.
13401 export_symbols_cmds=$lt_export_symbols_cmds 14266 export_symbols_cmds=$lt_export_symbols_cmds
13406 # Symbols that must always be exported. 14271 # Symbols that must always be exported.
13407 include_expsyms=$lt_include_expsyms 14272 include_expsyms=$lt_include_expsyms
13408 14273
13409 # Commands necessary for linking programs (against libraries) with templates. 14274 # Commands necessary for linking programs (against libraries) with templates.
13410 prelink_cmds=$lt_prelink_cmds 14275 prelink_cmds=$lt_prelink_cmds
14276
14277 # Commands necessary for finishing linking programs.
14278 postlink_cmds=$lt_postlink_cmds
13411 14279
13412 # Specify filename containing input files. 14280 # Specify filename containing input files.
13413 file_list_spec=$lt_file_list_spec 14281 file_list_spec=$lt_file_list_spec
13414 14282
13415 # How to hardcode a shared library path into an executable. 14283 # How to hardcode a shared library path into an executable.
13439 14307
13440 # We use sed instead of cat because bash on DJGPP gets confused if 14308 # We use sed instead of cat because bash on DJGPP gets confused if
13441 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14309 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13442 # text mode, it properly converts lines to CR/LF. This bash problem 14310 # text mode, it properly converts lines to CR/LF. This bash problem
13443 # is reportedly fixed, but why not run on old versions too? 14311 # is reportedly fixed, but why not run on old versions too?
13444 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 14312 sed '$q' "$ltmain" >> "$cfgfile" \
13445 || (rm -f "$cfgfile"; exit 1) 14313 || (rm -f "$cfgfile"; exit 1)
13446 14314
13447 case $xsi_shell in 14315 if test x"$xsi_shell" = xyes; then
13448 yes) 14316 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13449 cat << \_LT_EOF >> "$cfgfile" 14317 func_dirname ()\
13450 14318 {\
13451 # func_dirname file append nondir_replacement 14319 \ case ${1} in\
13452 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 14320 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13453 # otherwise set result to NONDIR_REPLACEMENT. 14321 \ * ) func_dirname_result="${3}" ;;\
13454 func_dirname () 14322 \ esac\
13455 { 14323 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13456 case ${1} in 14324 && mv -f "$cfgfile.tmp" "$cfgfile" \
13457 */*) func_dirname_result="${1%/*}${2}" ;; 14325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13458 * ) func_dirname_result="${3}" ;; 14326 test 0 -eq $? || _lt_function_replace_fail=:
13459 esac 14327
13460 } 14328
13461 14329 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13462 # func_basename file 14330 func_basename ()\
13463 func_basename () 14331 {\
13464 { 14332 \ func_basename_result="${1##*/}"\
13465 func_basename_result="${1##*/}" 14333 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13466 } 14334 && mv -f "$cfgfile.tmp" "$cfgfile" \
13467 14335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13468 # func_dirname_and_basename file append nondir_replacement 14336 test 0 -eq $? || _lt_function_replace_fail=:
13469 # perform func_basename and func_dirname in a single function 14337
13470 # call: 14338
13471 # dirname: Compute the dirname of FILE. If nonempty, 14339 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13472 # add APPEND to the result, otherwise set result 14340 func_dirname_and_basename ()\
13473 # to NONDIR_REPLACEMENT. 14341 {\
13474 # value returned in "$func_dirname_result" 14342 \ case ${1} in\
13475 # basename: Compute filename of FILE. 14343 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13476 # value retuned in "$func_basename_result" 14344 \ * ) func_dirname_result="${3}" ;;\
13477 # Implementation must be kept synchronized with func_dirname 14345 \ esac\
13478 # and func_basename. For efficiency, we do not delegate to 14346 \ func_basename_result="${1##*/}"\
13479 # those functions but instead duplicate the functionality here. 14347 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13480 func_dirname_and_basename () 14348 && mv -f "$cfgfile.tmp" "$cfgfile" \
13481 { 14349 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13482 case ${1} in 14350 test 0 -eq $? || _lt_function_replace_fail=:
13483 */*) func_dirname_result="${1%/*}${2}" ;; 14351
13484 * ) func_dirname_result="${3}" ;; 14352
13485 esac 14353 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13486 func_basename_result="${1##*/}" 14354 func_stripname ()\
13487 } 14355 {\
13488 14356 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13489 # func_stripname prefix suffix name 14357 \ # positional parameters, so assign one to ordinary parameter first.\
13490 # strip PREFIX and SUFFIX off of NAME. 14358 \ func_stripname_result=${3}\
13491 # PREFIX and SUFFIX must not contain globbing or regex special 14359 \ func_stripname_result=${func_stripname_result#"${1}"}\
13492 # characters, hashes, percent signs, but SUFFIX may contain a leading 14360 \ func_stripname_result=${func_stripname_result%"${2}"}\
13493 # dot (in which case that matches only a dot). 14361 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13494 func_stripname () 14362 && mv -f "$cfgfile.tmp" "$cfgfile" \
13495 { 14363 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13496 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 14364 test 0 -eq $? || _lt_function_replace_fail=:
13497 # positional parameters, so assign one to ordinary parameter first. 14365
13498 func_stripname_result=${3} 14366
13499 func_stripname_result=${func_stripname_result#"${1}"} 14367 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13500 func_stripname_result=${func_stripname_result%"${2}"} 14368 func_split_long_opt ()\
13501 } 14369 {\
13502 14370 \ func_split_long_opt_name=${1%%=*}\
13503 # func_opt_split 14371 \ func_split_long_opt_arg=${1#*=}\
13504 func_opt_split () 14372 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13505 { 14373 && mv -f "$cfgfile.tmp" "$cfgfile" \
13506 func_opt_split_opt=${1%%=*} 14374 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13507 func_opt_split_arg=${1#*=} 14375 test 0 -eq $? || _lt_function_replace_fail=:
13508 } 14376
13509 14377
13510 # func_lo2o object 14378 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13511 func_lo2o () 14379 func_split_short_opt ()\
13512 { 14380 {\
13513 case ${1} in 14381 \ func_split_short_opt_arg=${1#??}\
13514 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14382 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13515 *) func_lo2o_result=${1} ;; 14383 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13516 esac 14384 && mv -f "$cfgfile.tmp" "$cfgfile" \
13517 } 14385 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13518 14386 test 0 -eq $? || _lt_function_replace_fail=:
13519 # func_xform libobj-or-source 14387
13520 func_xform () 14388
13521 { 14389 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13522 func_xform_result=${1%.*}.lo 14390 func_lo2o ()\
13523 } 14391 {\
13524 14392 \ case ${1} in\
13525 # func_arith arithmetic-term... 14393 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13526 func_arith () 14394 \ *) func_lo2o_result=${1} ;;\
13527 { 14395 \ esac\
13528 func_arith_result=$(( $* )) 14396 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13529 } 14397 && mv -f "$cfgfile.tmp" "$cfgfile" \
13530 14398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13531 # func_len string 14399 test 0 -eq $? || _lt_function_replace_fail=:
13532 # STRING may not start with a hyphen. 14400
13533 func_len () 14401
13534 { 14402 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13535 func_len_result=${#1} 14403 func_xform ()\
13536 } 14404 {\
13537 14405 func_xform_result=${1%.*}.lo\
13538 _LT_EOF 14406 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13539 ;; 14407 && mv -f "$cfgfile.tmp" "$cfgfile" \
13540 *) # Bourne compatible functions. 14408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13541 cat << \_LT_EOF >> "$cfgfile" 14409 test 0 -eq $? || _lt_function_replace_fail=:
13542 14410
13543 # func_dirname file append nondir_replacement 14411
13544 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 14412 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13545 # otherwise set result to NONDIR_REPLACEMENT. 14413 func_arith ()\
13546 func_dirname () 14414 {\
13547 { 14415 func_arith_result=$(( $* ))\
13548 # Extract subdirectory from the argument. 14416 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13549 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14417 && mv -f "$cfgfile.tmp" "$cfgfile" \
13550 if test "X$func_dirname_result" = "X${1}"; then 14418 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13551 func_dirname_result="${3}" 14419 test 0 -eq $? || _lt_function_replace_fail=:
13552 else 14420
13553 func_dirname_result="$func_dirname_result${2}" 14421
13554 fi 14422 sed -e '/^func_len ()$/,/^} # func_len /c\
13555 } 14423 func_len ()\
13556 14424 {\
13557 # func_basename file 14425 func_len_result=${#1}\
13558 func_basename () 14426 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13559 { 14427 && mv -f "$cfgfile.tmp" "$cfgfile" \
13560 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14428 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13561 } 14429 test 0 -eq $? || _lt_function_replace_fail=:
13562 14430
13563 14431 fi
13564 # func_stripname prefix suffix name 14432
13565 # strip PREFIX and SUFFIX off of NAME. 14433 if test x"$lt_shell_append" = xyes; then
13566 # PREFIX and SUFFIX must not contain globbing or regex special 14434 sed -e '/^func_append ()$/,/^} # func_append /c\
13567 # characters, hashes, percent signs, but SUFFIX may contain a leading 14435 func_append ()\
13568 # dot (in which case that matches only a dot). 14436 {\
13569 # func_strip_suffix prefix name 14437 eval "${1}+=\\${2}"\
13570 func_stripname () 14438 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13571 { 14439 && mv -f "$cfgfile.tmp" "$cfgfile" \
13572 case ${2} in 14440 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13573 .*) func_stripname_result=`$ECHO "X${3}" \ 14441 test 0 -eq $? || _lt_function_replace_fail=:
13574 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 14442
13575 *) func_stripname_result=`$ECHO "X${3}" \ 14443
13576 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 14444 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13577 esac 14445 func_append_quoted ()\
13578 } 14446 {\
13579 14447 \ func_quote_for_eval "${2}"\
13580 # sed scripts: 14448 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13581 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 14449 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13582 my_sed_long_arg='1s/^-[^=]*=//' 14450 && mv -f "$cfgfile.tmp" "$cfgfile" \
13583 14451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13584 # func_opt_split 14452 test 0 -eq $? || _lt_function_replace_fail=:
13585 func_opt_split () 14453
13586 { 14454
13587 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 14455 # Save a `func_append' function call where possible by direct use of '+='
13588 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 14456 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13589 } 14457 && mv -f "$cfgfile.tmp" "$cfgfile" \
13590 14458 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13591 # func_lo2o object 14459 test 0 -eq $? || _lt_function_replace_fail=:
13592 func_lo2o () 14460 else
13593 { 14461 # Save a `func_append' function call even when '+=' is not available
13594 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 14462 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13595 } 14463 && mv -f "$cfgfile.tmp" "$cfgfile" \
13596 14464 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13597 # func_xform libobj-or-source 14465 test 0 -eq $? || _lt_function_replace_fail=:
13598 func_xform () 14466 fi
13599 { 14467
13600 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 14468 if test x"$_lt_function_replace_fail" = x":"; then
13601 } 14469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13602 14470 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13603 # func_arith arithmetic-term... 14471 fi
13604 func_arith () 14472
13605 { 14473
13606 func_arith_result=`expr "$@"` 14474 mv -f "$cfgfile" "$ofile" ||
13607 }
13608
13609 # func_len string
13610 # STRING may not start with a hyphen.
13611 func_len ()
13612 {
13613 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13614 }
13615
13616 _LT_EOF
13617 esac
13618
13619 case $lt_shell_append in
13620 yes)
13621 cat << \_LT_EOF >> "$cfgfile"
13622
13623 # func_append var value
13624 # Append VALUE to the end of shell variable VAR.
13625 func_append ()
13626 {
13627 eval "$1+=\$2"
13628 }
13629 _LT_EOF
13630 ;;
13631 *)
13632 cat << \_LT_EOF >> "$cfgfile"
13633
13634 # func_append var value
13635 # Append VALUE to the end of shell variable VAR.
13636 func_append ()
13637 {
13638 eval "$1=\$$1\$2"
13639 }
13640
13641 _LT_EOF
13642 ;;
13643 esac
13644
13645
13646 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13647 || (rm -f "$cfgfile"; exit 1)
13648
13649 mv -f "$cfgfile" "$ofile" ||
13650 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14475 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13651 chmod +x "$ofile" 14476 chmod +x "$ofile"
13652 14477
13653 ;; 14478 ;;
13654 14479