| 1 |
|
#! /bin/sh |
| 2 |
|
# From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.67 for ircd-hybrid 7.3-rc1. |
| 4 |
> |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 7.3-rc1. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 92 |
|
IFS=" "" $as_nl" |
| 93 |
|
|
| 94 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 95 |
+ |
as_myself= |
| 96 |
|
case $0 in #(( |
| 97 |
|
*[\\/]* ) as_myself=$0 ;; |
| 98 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 226 |
|
# We cannot yet assume a decent shell, so we have to provide a |
| 227 |
|
# neutralization value for shells without unset; and this also |
| 228 |
|
# works around shells that cannot unset nonexistent variables. |
| 229 |
+ |
# Preserve -v and -x to the replacement shell. |
| 230 |
|
BASH_ENV=/dev/null |
| 231 |
|
ENV=/dev/null |
| 232 |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 233 |
|
export CONFIG_SHELL |
| 234 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 234 |
> |
case $- in # (((( |
| 235 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 236 |
> |
*v* ) as_opts=-v ;; |
| 237 |
> |
*x* ) as_opts=-x ;; |
| 238 |
> |
* ) as_opts= ;; |
| 239 |
> |
esac |
| 240 |
> |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
| 241 |
|
fi |
| 242 |
|
|
| 243 |
|
if test x$as_have_required = xno; then : |
| 658 |
|
LIPO |
| 659 |
|
NMEDIT |
| 660 |
|
DSYMUTIL |
| 661 |
+ |
MANIFEST_TOOL |
| 662 |
|
RANLIB |
| 663 |
+ |
ac_ct_AR |
| 664 |
|
AR |
| 665 |
+ |
DLLTOOL |
| 666 |
|
OBJDUMP |
| 667 |
|
LN_S |
| 668 |
|
NM |
| 777 |
|
with_pic |
| 778 |
|
enable_fast_install |
| 779 |
|
with_gnu_ld |
| 780 |
+ |
with_sysroot |
| 781 |
|
enable_libtool_lock |
| 782 |
|
with_included_ltdl |
| 783 |
|
with_ltdl_include |
| 1220 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1221 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1222 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1223 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1223 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1224 |
|
;; |
| 1225 |
|
|
| 1226 |
|
esac |
| 1472 |
|
--with-pic try to use only PIC/non-PIC objects [default=use |
| 1473 |
|
both] |
| 1474 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1475 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
| 1476 |
+ |
(or the compiler's sysroot if not specified). |
| 1477 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1478 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1479 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1493 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1494 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1495 |
|
you have headers in a nonstandard directory <include dir> |
| 1496 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1497 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
| 1496 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1497 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
| 1498 |
> |
`yacc'. |
| 1499 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1500 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1501 |
|
default value of `-d' given by some make applications. |
| 1568 |
|
if $ac_init_version; then |
| 1569 |
|
cat <<\_ACEOF |
| 1570 |
|
ircd-hybrid configure 7.3-rc1 |
| 1571 |
< |
generated by GNU Autoconf 2.67 |
| 1571 |
> |
generated by GNU Autoconf 2.68 |
| 1572 |
|
|
| 1573 |
|
Copyright (C) 2010 Free Software Foundation, Inc. |
| 1574 |
|
This configure script is free software; the Free Software Foundation |
| 1614 |
|
|
| 1615 |
|
ac_retval=1 |
| 1616 |
|
fi |
| 1617 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1617 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1618 |
|
as_fn_set_status $ac_retval |
| 1619 |
|
|
| 1620 |
|
} # ac_fn_c_try_compile |
| 1660 |
|
# interfere with the next link command; also delete a directory that is |
| 1661 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1662 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1663 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1663 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1664 |
|
as_fn_set_status $ac_retval |
| 1665 |
|
|
| 1666 |
|
} # ac_fn_c_try_link |
| 1674 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1676 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1677 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1677 |
> |
if eval \${$3+:} false; then : |
| 1678 |
|
$as_echo_n "(cached) " >&6 |
| 1679 |
|
else |
| 1680 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1692 |
|
eval ac_res=\$$3 |
| 1693 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1694 |
|
$as_echo "$ac_res" >&6; } |
| 1695 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1695 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1696 |
|
|
| 1697 |
|
} # ac_fn_c_check_header_compile |
| 1698 |
|
|
| 1728 |
|
|
| 1729 |
|
ac_retval=1 |
| 1730 |
|
fi |
| 1731 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1731 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1732 |
|
as_fn_set_status $ac_retval |
| 1733 |
|
|
| 1734 |
|
} # ac_fn_c_try_cpp |
| 1770 |
|
ac_retval=$ac_status |
| 1771 |
|
fi |
| 1772 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1773 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1773 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1774 |
|
as_fn_set_status $ac_retval |
| 1775 |
|
|
| 1776 |
|
} # ac_fn_c_try_run |
| 1783 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1784 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1785 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1786 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1786 |
> |
if eval \${$3+:} false; then : |
| 1787 |
|
$as_echo_n "(cached) " >&6 |
| 1788 |
|
else |
| 1789 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1838 |
|
eval ac_res=\$$3 |
| 1839 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1840 |
|
$as_echo "$ac_res" >&6; } |
| 1841 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1841 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1842 |
|
|
| 1843 |
|
} # ac_fn_c_check_func |
| 1844 |
|
|
| 1853 |
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1854 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1855 |
|
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1856 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1856 |
> |
if eval \${$3+:} false; then : |
| 1857 |
|
$as_echo_n "(cached) " >&6 |
| 1858 |
|
else |
| 1859 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1884 |
|
eval ac_res=\$$3 |
| 1885 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1886 |
|
$as_echo "$ac_res" >&6; } |
| 1887 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1887 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1888 |
|
|
| 1889 |
|
} # ac_fn_c_check_decl |
| 1890 |
|
|
| 1897 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1898 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1899 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1900 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1900 |
> |
if eval \${$3+:} false; then : |
| 1901 |
|
$as_echo_n "(cached) " >&6 |
| 1902 |
|
else |
| 1903 |
|
eval "$3=no" |
| 1938 |
|
eval ac_res=\$$3 |
| 1939 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1940 |
|
$as_echo "$ac_res" >&6; } |
| 1941 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1941 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1942 |
|
|
| 1943 |
|
} # ac_fn_c_check_type |
| 1944 |
|
|
| 1951 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1952 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1953 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
| 1954 |
< |
if eval "test \"\${$4+set}\"" = set; then : |
| 1954 |
> |
if eval \${$4+:} false; then : |
| 1955 |
|
$as_echo_n "(cached) " >&6 |
| 1956 |
|
else |
| 1957 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1995 |
|
eval ac_res=\$$4 |
| 1996 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1997 |
|
$as_echo "$ac_res" >&6; } |
| 1998 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1998 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1999 |
|
|
| 2000 |
|
} # ac_fn_c_check_member |
| 2001 |
|
|
| 2007 |
|
ac_fn_c_check_header_mongrel () |
| 2008 |
|
{ |
| 2009 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2010 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2010 |
> |
if eval \${$3+:} false; then : |
| 2011 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2012 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2013 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2013 |
> |
if eval \${$3+:} false; then : |
| 2014 |
|
$as_echo_n "(cached) " >&6 |
| 2015 |
|
fi |
| 2016 |
|
eval ac_res=\$$3 |
| 2077 |
|
esac |
| 2078 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2079 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2080 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2080 |
> |
if eval \${$3+:} false; then : |
| 2081 |
|
$as_echo_n "(cached) " >&6 |
| 2082 |
|
else |
| 2083 |
|
eval "$3=\$ac_header_compiler" |
| 2086 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2087 |
|
$as_echo "$ac_res" >&6; } |
| 2088 |
|
fi |
| 2089 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2089 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2090 |
|
|
| 2091 |
|
} # ac_fn_c_check_header_mongrel |
| 2092 |
|
cat >config.log <<_ACEOF |
| 2094 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2095 |
|
|
| 2096 |
|
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2097 |
< |
generated by GNU Autoconf 2.67. Invocation command line was |
| 2097 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 2098 |
|
|
| 2099 |
|
$ $0 $@ |
| 2100 |
|
|
| 2506 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2507 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2508 |
|
if test -z "$INSTALL"; then |
| 2509 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
| 2509 |
> |
if ${ac_cv_path_install+:} false; then : |
| 2510 |
|
$as_echo_n "(cached) " >&6 |
| 2511 |
|
else |
| 2512 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2683 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2684 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2685 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2686 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 2686 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2687 |
|
$as_echo_n "(cached) " >&6 |
| 2688 |
|
else |
| 2689 |
|
if test -n "$STRIP"; then |
| 2723 |
|
set dummy strip; ac_word=$2 |
| 2724 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2725 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2726 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 2726 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2727 |
|
$as_echo_n "(cached) " >&6 |
| 2728 |
|
else |
| 2729 |
|
if test -n "$ac_ct_STRIP"; then |
| 2776 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2777 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2778 |
|
if test -z "$MKDIR_P"; then |
| 2779 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
| 2779 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
| 2780 |
|
$as_echo_n "(cached) " >&6 |
| 2781 |
|
else |
| 2782 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2827 |
|
set dummy $ac_prog; ac_word=$2 |
| 2828 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2829 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2830 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
| 2830 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
| 2831 |
|
$as_echo_n "(cached) " >&6 |
| 2832 |
|
else |
| 2833 |
|
if test -n "$AWK"; then |
| 2867 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2868 |
|
set x ${MAKE-make} |
| 2869 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2870 |
< |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
| 2870 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2871 |
|
$as_echo_n "(cached) " >&6 |
| 2872 |
|
else |
| 2873 |
|
cat >conftest.make <<\_ACEOF |
| 3065 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3066 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3067 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3068 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3068 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3069 |
|
$as_echo_n "(cached) " >&6 |
| 3070 |
|
else |
| 3071 |
|
if test -n "$CC"; then |
| 3105 |
|
set dummy gcc; ac_word=$2 |
| 3106 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3107 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3108 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3108 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3109 |
|
$as_echo_n "(cached) " >&6 |
| 3110 |
|
else |
| 3111 |
|
if test -n "$ac_ct_CC"; then |
| 3158 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3160 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3161 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3161 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3162 |
|
$as_echo_n "(cached) " >&6 |
| 3163 |
|
else |
| 3164 |
|
if test -n "$CC"; then |
| 3198 |
|
set dummy cc; ac_word=$2 |
| 3199 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3200 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3201 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3201 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3202 |
|
$as_echo_n "(cached) " >&6 |
| 3203 |
|
else |
| 3204 |
|
if test -n "$CC"; then |
| 3257 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3258 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3259 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3260 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3260 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3261 |
|
$as_echo_n "(cached) " >&6 |
| 3262 |
|
else |
| 3263 |
|
if test -n "$CC"; then |
| 3301 |
|
set dummy $ac_prog; ac_word=$2 |
| 3302 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3303 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3304 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3304 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3305 |
|
$as_echo_n "(cached) " >&6 |
| 3306 |
|
else |
| 3307 |
|
if test -n "$ac_ct_CC"; then |
| 3584 |
|
ac_clean_files=$ac_clean_files_save |
| 3585 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3586 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3587 |
< |
if test "${ac_cv_objext+set}" = set; then : |
| 3587 |
> |
if ${ac_cv_objext+:} false; then : |
| 3588 |
|
$as_echo_n "(cached) " >&6 |
| 3589 |
|
else |
| 3590 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3635 |
|
ac_objext=$OBJEXT |
| 3636 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3637 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3638 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3638 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3639 |
|
$as_echo_n "(cached) " >&6 |
| 3640 |
|
else |
| 3641 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3672 |
|
ac_save_CFLAGS=$CFLAGS |
| 3673 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3674 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3675 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3675 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3676 |
|
$as_echo_n "(cached) " >&6 |
| 3677 |
|
else |
| 3678 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3750 |
|
fi |
| 3751 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3752 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3753 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3753 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3754 |
|
$as_echo_n "(cached) " >&6 |
| 3755 |
|
else |
| 3756 |
|
ac_cv_prog_cc_c89=no |
| 3849 |
|
|
| 3850 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 3851 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 3852 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
| 3852 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 3853 |
|
$as_echo_n "(cached) " >&6 |
| 3854 |
|
else |
| 3855 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3974 |
|
|
| 3975 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 3976 |
|
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 3977 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 3977 |
> |
if ${ac_cv_prog_cc_c99+:} false; then : |
| 3978 |
|
$as_echo_n "(cached) " >&6 |
| 3979 |
|
else |
| 3980 |
|
ac_cv_prog_cc_c99=no |
| 4158 |
|
set dummy $ac_prog; ac_word=$2 |
| 4159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4160 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4161 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
| 4161 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
| 4162 |
|
$as_echo_n "(cached) " >&6 |
| 4163 |
|
else |
| 4164 |
|
if test -n "$YACC"; then |
| 4202 |
|
set dummy $ac_prog; ac_word=$2 |
| 4203 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4204 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4205 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
| 4205 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
| 4206 |
|
$as_echo_n "(cached) " >&6 |
| 4207 |
|
else |
| 4208 |
|
if test -n "$LEX"; then |
| 4272 |
|
test $ac_status = 0; } |
| 4273 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 4274 |
|
$as_echo_n "checking lex output file root... " >&6; } |
| 4275 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
| 4275 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
| 4276 |
|
$as_echo_n "(cached) " >&6 |
| 4277 |
|
else |
| 4278 |
|
|
| 4291 |
|
if test -z "${LEXLIB+set}"; then |
| 4292 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 4293 |
|
$as_echo_n "checking lex library... " >&6; } |
| 4294 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
| 4294 |
> |
if ${ac_cv_lib_lex+:} false; then : |
| 4295 |
|
$as_echo_n "(cached) " >&6 |
| 4296 |
|
else |
| 4297 |
|
|
| 4321 |
|
|
| 4322 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4323 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 4324 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
| 4324 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 4325 |
|
$as_echo_n "(cached) " >&6 |
| 4326 |
|
else |
| 4327 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 4332 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
| 4333 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4334 |
|
/* end confdefs.h. */ |
| 4335 |
< |
#define YYTEXT_POINTER 1 |
| 4335 |
> |
|
| 4336 |
> |
#define YYTEXT_POINTER 1 |
| 4337 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4338 |
|
_ACEOF |
| 4339 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 4375 |
|
|
| 4376 |
|
|
| 4377 |
|
|
| 4378 |
< |
macro_version='2.2.10' |
| 4379 |
< |
macro_revision='1.3175' |
| 4378 |
> |
macro_version='2.4' |
| 4379 |
> |
macro_revision='1.3293' |
| 4380 |
|
|
| 4381 |
|
|
| 4382 |
|
|
| 4398 |
|
|
| 4399 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4400 |
|
$as_echo_n "checking build system type... " >&6; } |
| 4401 |
< |
if test "${ac_cv_build+set}" = set; then : |
| 4401 |
> |
if ${ac_cv_build+:} false; then : |
| 4402 |
|
$as_echo_n "(cached) " >&6 |
| 4403 |
|
else |
| 4404 |
|
ac_build_alias=$build_alias |
| 4432 |
|
|
| 4433 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4434 |
|
$as_echo_n "checking host system type... " >&6; } |
| 4435 |
< |
if test "${ac_cv_host+set}" = set; then : |
| 4435 |
> |
if ${ac_cv_host+:} false; then : |
| 4436 |
|
$as_echo_n "(cached) " >&6 |
| 4437 |
|
else |
| 4438 |
|
if test "x$host_alias" = x; then |
| 4487 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4488 |
|
$as_echo_n "checking how to print strings... " >&6; } |
| 4489 |
|
# Test print first, because it will be a builtin if present. |
| 4490 |
< |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 4490 |
> |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 4491 |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4492 |
|
ECHO='print -r --' |
| 4493 |
|
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4534 |
|
|
| 4535 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4536 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4537 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
| 4537 |
> |
if ${ac_cv_path_SED+:} false; then : |
| 4538 |
|
$as_echo_n "(cached) " >&6 |
| 4539 |
|
else |
| 4540 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 4616 |
|
|
| 4617 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4618 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4619 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4619 |
> |
if ${ac_cv_path_GREP+:} false; then : |
| 4620 |
|
$as_echo_n "(cached) " >&6 |
| 4621 |
|
else |
| 4622 |
|
if test -z "$GREP"; then |
| 4679 |
|
|
| 4680 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4681 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 4682 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4682 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
| 4683 |
|
$as_echo_n "(cached) " >&6 |
| 4684 |
|
else |
| 4685 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4746 |
|
|
| 4747 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4748 |
|
$as_echo_n "checking for fgrep... " >&6; } |
| 4749 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
| 4749 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
| 4750 |
|
$as_echo_n "(cached) " >&6 |
| 4751 |
|
else |
| 4752 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 4877 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 4878 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 4879 |
|
fi |
| 4880 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
| 4880 |
> |
if ${lt_cv_path_LD+:} false; then : |
| 4881 |
|
$as_echo_n "(cached) " >&6 |
| 4882 |
|
else |
| 4883 |
|
if test -z "$LD"; then |
| 4917 |
|
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4918 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 4919 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 4920 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
| 4920 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
| 4921 |
|
$as_echo_n "(cached) " >&6 |
| 4922 |
|
else |
| 4923 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 4944 |
|
|
| 4945 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 4946 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 4947 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
| 4947 |
> |
if ${lt_cv_path_NM+:} false; then : |
| 4948 |
|
$as_echo_n "(cached) " >&6 |
| 4949 |
|
else |
| 4950 |
|
if test -n "$NM"; then |
| 5007 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5008 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5009 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5010 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
| 5010 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 5011 |
|
$as_echo_n "(cached) " >&6 |
| 5012 |
|
else |
| 5013 |
|
if test -n "$DUMPBIN"; then |
| 5051 |
|
set dummy $ac_prog; ac_word=$2 |
| 5052 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5053 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5054 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
| 5054 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 5055 |
|
$as_echo_n "(cached) " >&6 |
| 5056 |
|
else |
| 5057 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5123 |
|
|
| 5124 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5125 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5126 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
| 5126 |
> |
if ${lt_cv_nm_interface+:} false; then : |
| 5127 |
|
$as_echo_n "(cached) " >&6 |
| 5128 |
|
else |
| 5129 |
|
lt_cv_nm_interface="BSD nm" |
| 5158 |
|
# find the maximum length of command line arguments |
| 5159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5160 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5161 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
| 5161 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5162 |
|
$as_echo_n "(cached) " >&6 |
| 5163 |
|
else |
| 5164 |
|
i=0 |
| 5303 |
|
# Try some XSI features |
| 5304 |
|
xsi_shell=no |
| 5305 |
|
( _lt_dummy="a/b/c" |
| 5306 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
| 5307 |
< |
= c,a/b,, \ |
| 5306 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
| 5307 |
> |
= c,a/b,b/c, \ |
| 5308 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5309 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5310 |
|
&& xsi_shell=yes |
| 5353 |
|
|
| 5354 |
|
|
| 5355 |
|
|
| 5356 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5357 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
| 5358 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
| 5359 |
+ |
$as_echo_n "(cached) " >&6 |
| 5360 |
+ |
else |
| 5361 |
+ |
case $host in |
| 5362 |
+ |
*-*-mingw* ) |
| 5363 |
+ |
case $build in |
| 5364 |
+ |
*-*-mingw* ) # actually msys |
| 5365 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 5366 |
+ |
;; |
| 5367 |
+ |
*-*-cygwin* ) |
| 5368 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 5369 |
+ |
;; |
| 5370 |
+ |
* ) # otherwise, assume *nix |
| 5371 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 5372 |
+ |
;; |
| 5373 |
+ |
esac |
| 5374 |
+ |
;; |
| 5375 |
+ |
*-*-cygwin* ) |
| 5376 |
+ |
case $build in |
| 5377 |
+ |
*-*-mingw* ) # actually msys |
| 5378 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 5379 |
+ |
;; |
| 5380 |
+ |
*-*-cygwin* ) |
| 5381 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5382 |
+ |
;; |
| 5383 |
+ |
* ) # otherwise, assume *nix |
| 5384 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 5385 |
+ |
;; |
| 5386 |
+ |
esac |
| 5387 |
+ |
;; |
| 5388 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
| 5389 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5390 |
+ |
;; |
| 5391 |
+ |
esac |
| 5392 |
+ |
|
| 5393 |
+ |
fi |
| 5394 |
+ |
|
| 5395 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 5396 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5397 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 5398 |
+ |
|
| 5399 |
+ |
|
| 5400 |
+ |
|
| 5401 |
+ |
|
| 5402 |
+ |
|
| 5403 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5404 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
| 5405 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 5406 |
+ |
$as_echo_n "(cached) " >&6 |
| 5407 |
+ |
else |
| 5408 |
+ |
#assume ordinary cross tools, or native build. |
| 5409 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 5410 |
+ |
case $host in |
| 5411 |
+ |
*-*-mingw* ) |
| 5412 |
+ |
case $build in |
| 5413 |
+ |
*-*-mingw* ) # actually msys |
| 5414 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 5415 |
+ |
;; |
| 5416 |
+ |
esac |
| 5417 |
+ |
;; |
| 5418 |
+ |
esac |
| 5419 |
+ |
|
| 5420 |
+ |
fi |
| 5421 |
+ |
|
| 5422 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 5423 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 5424 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 5425 |
+ |
|
| 5426 |
+ |
|
| 5427 |
+ |
|
| 5428 |
+ |
|
| 5429 |
+ |
|
| 5430 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5431 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 5432 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
| 5432 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
| 5433 |
|
$as_echo_n "(cached) " >&6 |
| 5434 |
|
else |
| 5435 |
|
lt_cv_ld_reload_flag='-r' |
| 5443 |
|
esac |
| 5444 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 5445 |
|
case $host_os in |
| 5446 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
| 5447 |
+ |
if test "$GCC" != yes; then |
| 5448 |
+ |
reload_cmds=false |
| 5449 |
+ |
fi |
| 5450 |
+ |
;; |
| 5451 |
|
darwin*) |
| 5452 |
|
if test "$GCC" = yes; then |
| 5453 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 5470 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 5471 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5472 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5473 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
| 5473 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 5474 |
|
$as_echo_n "(cached) " >&6 |
| 5475 |
|
else |
| 5476 |
|
if test -n "$OBJDUMP"; then |
| 5510 |
|
set dummy objdump; ac_word=$2 |
| 5511 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5512 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5513 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
| 5513 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 5514 |
|
$as_echo_n "(cached) " >&6 |
| 5515 |
|
else |
| 5516 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5569 |
|
|
| 5570 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5571 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5572 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
| 5572 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
| 5573 |
|
$as_echo_n "(cached) " >&6 |
| 5574 |
|
else |
| 5575 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5771 |
|
fi |
| 5772 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 5773 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 5774 |
+ |
|
| 5775 |
+ |
file_magic_glob= |
| 5776 |
+ |
want_nocaseglob=no |
| 5777 |
+ |
if test "$build" = "$host"; then |
| 5778 |
+ |
case $host_os in |
| 5779 |
+ |
mingw* | pw32*) |
| 5780 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 5781 |
+ |
want_nocaseglob=yes |
| 5782 |
+ |
else |
| 5783 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 5784 |
+ |
fi |
| 5785 |
+ |
;; |
| 5786 |
+ |
esac |
| 5787 |
+ |
fi |
| 5788 |
+ |
|
| 5789 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
| 5790 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
| 5791 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 5801 |
|
|
| 5802 |
|
|
| 5803 |
|
|
| 5804 |
+ |
|
| 5805 |
+ |
|
| 5806 |
+ |
|
| 5807 |
+ |
|
| 5808 |
+ |
|
| 5809 |
+ |
|
| 5810 |
+ |
|
| 5811 |
+ |
|
| 5812 |
+ |
|
| 5813 |
+ |
|
| 5814 |
+ |
if test -n "$ac_tool_prefix"; then |
| 5815 |
+ |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 5816 |
+ |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 5817 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5818 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5819 |
+ |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
| 5820 |
+ |
$as_echo_n "(cached) " >&6 |
| 5821 |
+ |
else |
| 5822 |
+ |
if test -n "$DLLTOOL"; then |
| 5823 |
+ |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 5824 |
+ |
else |
| 5825 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5826 |
+ |
for as_dir in $PATH |
| 5827 |
+ |
do |
| 5828 |
+ |
IFS=$as_save_IFS |
| 5829 |
+ |
test -z "$as_dir" && as_dir=. |
| 5830 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5831 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5832 |
+ |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 5833 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5834 |
+ |
break 2 |
| 5835 |
+ |
fi |
| 5836 |
+ |
done |
| 5837 |
+ |
done |
| 5838 |
+ |
IFS=$as_save_IFS |
| 5839 |
+ |
|
| 5840 |
+ |
fi |
| 5841 |
+ |
fi |
| 5842 |
+ |
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 5843 |
+ |
if test -n "$DLLTOOL"; then |
| 5844 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 5845 |
+ |
$as_echo "$DLLTOOL" >&6; } |
| 5846 |
+ |
else |
| 5847 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5848 |
+ |
$as_echo "no" >&6; } |
| 5849 |
+ |
fi |
| 5850 |
+ |
|
| 5851 |
+ |
|
| 5852 |
+ |
fi |
| 5853 |
+ |
if test -z "$ac_cv_prog_DLLTOOL"; then |
| 5854 |
+ |
ac_ct_DLLTOOL=$DLLTOOL |
| 5855 |
+ |
# Extract the first word of "dlltool", so it can be a program name with args. |
| 5856 |
+ |
set dummy dlltool; ac_word=$2 |
| 5857 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5858 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5859 |
+ |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 5860 |
+ |
$as_echo_n "(cached) " >&6 |
| 5861 |
+ |
else |
| 5862 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
| 5863 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 5864 |
+ |
else |
| 5865 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5866 |
+ |
for as_dir in $PATH |
| 5867 |
+ |
do |
| 5868 |
+ |
IFS=$as_save_IFS |
| 5869 |
+ |
test -z "$as_dir" && as_dir=. |
| 5870 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5871 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5872 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 5873 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5874 |
+ |
break 2 |
| 5875 |
+ |
fi |
| 5876 |
+ |
done |
| 5877 |
+ |
done |
| 5878 |
+ |
IFS=$as_save_IFS |
| 5879 |
+ |
|
| 5880 |
+ |
fi |
| 5881 |
+ |
fi |
| 5882 |
+ |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 5883 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
| 5884 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 5885 |
+ |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
| 5886 |
+ |
else |
| 5887 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5888 |
+ |
$as_echo "no" >&6; } |
| 5889 |
+ |
fi |
| 5890 |
+ |
|
| 5891 |
+ |
if test "x$ac_ct_DLLTOOL" = x; then |
| 5892 |
+ |
DLLTOOL="false" |
| 5893 |
+ |
else |
| 5894 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 5895 |
+ |
yes:) |
| 5896 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5897 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5898 |
+ |
ac_tool_warned=yes ;; |
| 5899 |
+ |
esac |
| 5900 |
+ |
DLLTOOL=$ac_ct_DLLTOOL |
| 5901 |
+ |
fi |
| 5902 |
+ |
else |
| 5903 |
+ |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 5904 |
+ |
fi |
| 5905 |
+ |
|
| 5906 |
+ |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 5907 |
+ |
|
| 5908 |
+ |
|
| 5909 |
+ |
|
| 5910 |
+ |
|
| 5911 |
+ |
|
| 5912 |
+ |
|
| 5913 |
+ |
|
| 5914 |
+ |
|
| 5915 |
+ |
|
| 5916 |
+ |
|
| 5917 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 5918 |
+ |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 5919 |
+ |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 5920 |
+ |
$as_echo_n "(cached) " >&6 |
| 5921 |
+ |
else |
| 5922 |
+ |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 5923 |
+ |
|
| 5924 |
+ |
case $host_os in |
| 5925 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
| 5926 |
+ |
# two different shell functions defined in ltmain.sh |
| 5927 |
+ |
# decide which to use based on capabilities of $DLLTOOL |
| 5928 |
+ |
case `$DLLTOOL --help 2>&1` in |
| 5929 |
+ |
*--identify-strict*) |
| 5930 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 5931 |
+ |
;; |
| 5932 |
+ |
*) |
| 5933 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 5934 |
+ |
;; |
| 5935 |
+ |
esac |
| 5936 |
+ |
;; |
| 5937 |
+ |
*) |
| 5938 |
+ |
# fallback: assume linklib IS sharedlib |
| 5939 |
+ |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 5940 |
+ |
;; |
| 5941 |
+ |
esac |
| 5942 |
+ |
|
| 5943 |
+ |
fi |
| 5944 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 5945 |
+ |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 5946 |
+ |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 5947 |
+ |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 5948 |
+ |
|
| 5949 |
+ |
|
| 5950 |
+ |
|
| 5951 |
+ |
|
| 5952 |
+ |
|
| 5953 |
+ |
|
| 5954 |
+ |
|
| 5955 |
|
if test -n "$ac_tool_prefix"; then |
| 5956 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 5957 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 5956 |
> |
for ac_prog in ar |
| 5957 |
> |
do |
| 5958 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5959 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5960 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5961 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5962 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 5962 |
> |
if ${ac_cv_prog_AR+:} false; then : |
| 5963 |
|
$as_echo_n "(cached) " >&6 |
| 5964 |
|
else |
| 5965 |
|
if test -n "$AR"; then |
| 5972 |
|
test -z "$as_dir" && as_dir=. |
| 5973 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5974 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5975 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 5975 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 5976 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5977 |
|
break 2 |
| 5978 |
|
fi |
| 5992 |
|
fi |
| 5993 |
|
|
| 5994 |
|
|
| 5995 |
+ |
test -n "$AR" && break |
| 5996 |
+ |
done |
| 5997 |
|
fi |
| 5998 |
< |
if test -z "$ac_cv_prog_AR"; then |
| 5998 |
> |
if test -z "$AR"; then |
| 5999 |
|
ac_ct_AR=$AR |
| 6000 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
| 6001 |
< |
set dummy ar; ac_word=$2 |
| 6000 |
> |
for ac_prog in ar |
| 6001 |
> |
do |
| 6002 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6003 |
> |
set dummy $ac_prog; ac_word=$2 |
| 6004 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6005 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6006 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
| 6006 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6007 |
|
$as_echo_n "(cached) " >&6 |
| 6008 |
|
else |
| 6009 |
|
if test -n "$ac_ct_AR"; then |
| 6016 |
|
test -z "$as_dir" && as_dir=. |
| 6017 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6018 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6019 |
< |
ac_cv_prog_ac_ct_AR="ar" |
| 6019 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6020 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6021 |
|
break 2 |
| 6022 |
|
fi |
| 6035 |
|
$as_echo "no" >&6; } |
| 6036 |
|
fi |
| 6037 |
|
|
| 6038 |
+ |
|
| 6039 |
+ |
test -n "$ac_ct_AR" && break |
| 6040 |
+ |
done |
| 6041 |
+ |
|
| 6042 |
|
if test "x$ac_ct_AR" = x; then |
| 6043 |
|
AR="false" |
| 6044 |
|
else |
| 6050 |
|
esac |
| 6051 |
|
AR=$ac_ct_AR |
| 6052 |
|
fi |
| 5782 |
– |
else |
| 5783 |
– |
AR="$ac_cv_prog_AR" |
| 6053 |
|
fi |
| 6054 |
|
|
| 6055 |
< |
test -z "$AR" && AR=ar |
| 6056 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 6055 |
> |
: ${AR=ar} |
| 6056 |
> |
: ${AR_FLAGS=cru} |
| 6057 |
> |
|
| 6058 |
> |
|
| 6059 |
> |
|
| 6060 |
> |
|
| 6061 |
> |
|
| 6062 |
> |
|
| 6063 |
> |
|
| 6064 |
> |
|
| 6065 |
|
|
| 6066 |
|
|
| 6067 |
|
|
| 6068 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6069 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
| 6070 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
| 6071 |
+ |
$as_echo_n "(cached) " >&6 |
| 6072 |
+ |
else |
| 6073 |
+ |
lt_cv_ar_at_file=no |
| 6074 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6075 |
+ |
/* end confdefs.h. */ |
| 6076 |
+ |
|
| 6077 |
+ |
int |
| 6078 |
+ |
main () |
| 6079 |
+ |
{ |
| 6080 |
+ |
|
| 6081 |
+ |
; |
| 6082 |
+ |
return 0; |
| 6083 |
+ |
} |
| 6084 |
+ |
_ACEOF |
| 6085 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6086 |
+ |
echo conftest.$ac_objext > conftest.lst |
| 6087 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6088 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6089 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6090 |
+ |
ac_status=$? |
| 6091 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6092 |
+ |
test $ac_status = 0; } |
| 6093 |
+ |
if test "$ac_status" -eq 0; then |
| 6094 |
+ |
# Ensure the archiver fails upon bogus file names. |
| 6095 |
+ |
rm -f conftest.$ac_objext libconftest.a |
| 6096 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6097 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6098 |
+ |
ac_status=$? |
| 6099 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6100 |
+ |
test $ac_status = 0; } |
| 6101 |
+ |
if test "$ac_status" -ne 0; then |
| 6102 |
+ |
lt_cv_ar_at_file=@ |
| 6103 |
+ |
fi |
| 6104 |
+ |
fi |
| 6105 |
+ |
rm -f conftest.* libconftest.a |
| 6106 |
+ |
|
| 6107 |
+ |
fi |
| 6108 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6109 |
+ |
|
| 6110 |
+ |
fi |
| 6111 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6112 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
| 6113 |
|
|
| 6114 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
| 6115 |
+ |
archiver_list_spec= |
| 6116 |
+ |
else |
| 6117 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
| 6118 |
+ |
fi |
| 6119 |
|
|
| 6120 |
|
|
| 6121 |
|
|
| 6128 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 6129 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6130 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6131 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 6131 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 6132 |
|
$as_echo_n "(cached) " >&6 |
| 6133 |
|
else |
| 6134 |
|
if test -n "$STRIP"; then |
| 6168 |
|
set dummy strip; ac_word=$2 |
| 6169 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6170 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6171 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 6171 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 6172 |
|
$as_echo_n "(cached) " >&6 |
| 6173 |
|
else |
| 6174 |
|
if test -n "$ac_ct_STRIP"; then |
| 6227 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6228 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6229 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6230 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 6230 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 6231 |
|
$as_echo_n "(cached) " >&6 |
| 6232 |
|
else |
| 6233 |
|
if test -n "$RANLIB"; then |
| 6267 |
|
set dummy ranlib; ac_word=$2 |
| 6268 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6269 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6270 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 6270 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6271 |
|
$as_echo_n "(cached) " >&6 |
| 6272 |
|
else |
| 6273 |
|
if test -n "$ac_ct_RANLIB"; then |
| 6396 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 6397 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6398 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 6399 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
| 6399 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 6400 |
|
$as_echo_n "(cached) " >&6 |
| 6401 |
|
else |
| 6402 |
|
|
| 6457 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 6458 |
|
|
| 6459 |
|
# Transform an extracted symbol line into symbol name and symbol address |
| 6460 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6461 |
< |
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'" |
| 6460 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6461 |
> |
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'" |
| 6462 |
|
|
| 6463 |
|
# Handle CRLF in mingw tool chain |
| 6464 |
|
opt_cr= |
| 6494 |
|
else |
| 6495 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6496 |
|
fi |
| 6497 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
| 6498 |
|
|
| 6499 |
|
# Check to see that the pipe works correctly. |
| 6500 |
|
pipe_works=no |
| 6536 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 6537 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 6538 |
|
cat <<_LT_EOF > conftest.$ac_ext |
| 6539 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 6540 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 6541 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 6542 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 6543 |
+ |
# define LT_DLSYM_CONST |
| 6544 |
+ |
#elif defined(__osf__) |
| 6545 |
+ |
/* This system does not cope well with relocations in const data. */ |
| 6546 |
+ |
# define LT_DLSYM_CONST |
| 6547 |
+ |
#else |
| 6548 |
+ |
# define LT_DLSYM_CONST const |
| 6549 |
+ |
#endif |
| 6550 |
+ |
|
| 6551 |
|
#ifdef __cplusplus |
| 6552 |
|
extern "C" { |
| 6553 |
|
#endif |
| 6559 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
| 6560 |
|
|
| 6561 |
|
/* The mapping between symbol names and symbols. */ |
| 6562 |
< |
const struct { |
| 6562 |
> |
LT_DLSYM_CONST struct { |
| 6563 |
|
const char *name; |
| 6564 |
|
void *address; |
| 6565 |
|
} |
| 6585 |
|
_LT_EOF |
| 6586 |
|
# Now try linking the two files. |
| 6587 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
| 6588 |
< |
lt_save_LIBS="$LIBS" |
| 6589 |
< |
lt_save_CFLAGS="$CFLAGS" |
| 6588 |
> |
lt_globsym_save_LIBS=$LIBS |
| 6589 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
| 6590 |
|
LIBS="conftstm.$ac_objext" |
| 6591 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 6592 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 6596 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 6597 |
|
pipe_works=yes |
| 6598 |
|
fi |
| 6599 |
< |
LIBS="$lt_save_LIBS" |
| 6600 |
< |
CFLAGS="$lt_save_CFLAGS" |
| 6599 |
> |
LIBS=$lt_globsym_save_LIBS |
| 6600 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
| 6601 |
|
else |
| 6602 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
| 6603 |
|
fi |
| 6634 |
|
$as_echo "ok" >&6; } |
| 6635 |
|
fi |
| 6636 |
|
|
| 6637 |
+ |
# Response file support. |
| 6638 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6639 |
+ |
nm_file_list_spec='@' |
| 6640 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 6641 |
+ |
nm_file_list_spec='@' |
| 6642 |
+ |
fi |
| 6643 |
|
|
| 6644 |
|
|
| 6645 |
|
|
| 6661 |
|
|
| 6662 |
|
|
| 6663 |
|
|
| 6664 |
+ |
|
| 6665 |
+ |
|
| 6666 |
+ |
|
| 6667 |
+ |
|
| 6668 |
+ |
|
| 6669 |
+ |
|
| 6670 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 6671 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
| 6672 |
+ |
|
| 6673 |
+ |
# Check whether --with-sysroot was given. |
| 6674 |
+ |
if test "${with_sysroot+set}" = set; then : |
| 6675 |
+ |
withval=$with_sysroot; |
| 6676 |
+ |
else |
| 6677 |
+ |
with_sysroot=no |
| 6678 |
+ |
fi |
| 6679 |
+ |
|
| 6680 |
+ |
|
| 6681 |
+ |
lt_sysroot= |
| 6682 |
+ |
case ${with_sysroot} in #( |
| 6683 |
+ |
yes) |
| 6684 |
+ |
if test "$GCC" = yes; then |
| 6685 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 6686 |
+ |
fi |
| 6687 |
+ |
;; #( |
| 6688 |
+ |
/*) |
| 6689 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 6690 |
+ |
;; #( |
| 6691 |
+ |
no|'') |
| 6692 |
+ |
;; #( |
| 6693 |
+ |
*) |
| 6694 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
| 6695 |
+ |
$as_echo "${with_sysroot}" >&6; } |
| 6696 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 6697 |
+ |
;; |
| 6698 |
+ |
esac |
| 6699 |
+ |
|
| 6700 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 6701 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
| 6702 |
+ |
|
| 6703 |
+ |
|
| 6704 |
+ |
|
| 6705 |
+ |
|
| 6706 |
+ |
|
| 6707 |
|
# Check whether --enable-libtool-lock was given. |
| 6708 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6709 |
|
enableval=$enable_libtool_lock; |
| 6829 |
|
CFLAGS="$CFLAGS -belf" |
| 6830 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 6831 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 6832 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
| 6832 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
| 6833 |
|
$as_echo_n "(cached) " >&6 |
| 6834 |
|
else |
| 6835 |
|
ac_ext=c |
| 6897 |
|
|
| 6898 |
|
need_locks="$enable_libtool_lock" |
| 6899 |
|
|
| 6900 |
+ |
if test -n "$ac_tool_prefix"; then |
| 6901 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 6902 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 6903 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6904 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6905 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 6906 |
+ |
$as_echo_n "(cached) " >&6 |
| 6907 |
+ |
else |
| 6908 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 6909 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 6910 |
+ |
else |
| 6911 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6912 |
+ |
for as_dir in $PATH |
| 6913 |
+ |
do |
| 6914 |
+ |
IFS=$as_save_IFS |
| 6915 |
+ |
test -z "$as_dir" && as_dir=. |
| 6916 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6917 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6918 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 6919 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6920 |
+ |
break 2 |
| 6921 |
+ |
fi |
| 6922 |
+ |
done |
| 6923 |
+ |
done |
| 6924 |
+ |
IFS=$as_save_IFS |
| 6925 |
+ |
|
| 6926 |
+ |
fi |
| 6927 |
+ |
fi |
| 6928 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 6929 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 6930 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 6931 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
| 6932 |
+ |
else |
| 6933 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6934 |
+ |
$as_echo "no" >&6; } |
| 6935 |
+ |
fi |
| 6936 |
+ |
|
| 6937 |
+ |
|
| 6938 |
+ |
fi |
| 6939 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 6940 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 6941 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
| 6942 |
+ |
set dummy mt; ac_word=$2 |
| 6943 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6944 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6945 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 6946 |
+ |
$as_echo_n "(cached) " >&6 |
| 6947 |
+ |
else |
| 6948 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 6949 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 6950 |
+ |
else |
| 6951 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6952 |
+ |
for as_dir in $PATH |
| 6953 |
+ |
do |
| 6954 |
+ |
IFS=$as_save_IFS |
| 6955 |
+ |
test -z "$as_dir" && as_dir=. |
| 6956 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6957 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6958 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 6959 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6960 |
+ |
break 2 |
| 6961 |
+ |
fi |
| 6962 |
+ |
done |
| 6963 |
+ |
done |
| 6964 |
+ |
IFS=$as_save_IFS |
| 6965 |
+ |
|
| 6966 |
+ |
fi |
| 6967 |
+ |
fi |
| 6968 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 6969 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 6970 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 6971 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 6972 |
+ |
else |
| 6973 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6974 |
+ |
$as_echo "no" >&6; } |
| 6975 |
+ |
fi |
| 6976 |
+ |
|
| 6977 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 6978 |
+ |
MANIFEST_TOOL=":" |
| 6979 |
+ |
else |
| 6980 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 6981 |
+ |
yes:) |
| 6982 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6983 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6984 |
+ |
ac_tool_warned=yes ;; |
| 6985 |
+ |
esac |
| 6986 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 6987 |
+ |
fi |
| 6988 |
+ |
else |
| 6989 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 6990 |
+ |
fi |
| 6991 |
+ |
|
| 6992 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 6993 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 6994 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 6995 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
| 6996 |
+ |
$as_echo_n "(cached) " >&6 |
| 6997 |
+ |
else |
| 6998 |
+ |
lt_cv_path_mainfest_tool=no |
| 6999 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7000 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7001 |
+ |
cat conftest.err >&5 |
| 7002 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 7003 |
+ |
lt_cv_path_mainfest_tool=yes |
| 7004 |
+ |
fi |
| 7005 |
+ |
rm -f conftest* |
| 7006 |
+ |
fi |
| 7007 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7008 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7009 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 7010 |
+ |
MANIFEST_TOOL=: |
| 7011 |
+ |
fi |
| 7012 |
+ |
|
| 7013 |
+ |
|
| 7014 |
+ |
|
| 7015 |
+ |
|
| 7016 |
+ |
|
| 7017 |
|
|
| 7018 |
|
case $host_os in |
| 7019 |
|
rhapsody* | darwin*) |
| 7022 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 7023 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7024 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7025 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
| 7025 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 7026 |
|
$as_echo_n "(cached) " >&6 |
| 7027 |
|
else |
| 7028 |
|
if test -n "$DSYMUTIL"; then |
| 7062 |
|
set dummy dsymutil; ac_word=$2 |
| 7063 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7064 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7065 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
| 7065 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 7066 |
|
$as_echo_n "(cached) " >&6 |
| 7067 |
|
else |
| 7068 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 7114 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 7115 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7116 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7117 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
| 7117 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
| 7118 |
|
$as_echo_n "(cached) " >&6 |
| 7119 |
|
else |
| 7120 |
|
if test -n "$NMEDIT"; then |
| 7154 |
|
set dummy nmedit; ac_word=$2 |
| 7155 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7156 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7157 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
| 7157 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 7158 |
|
$as_echo_n "(cached) " >&6 |
| 7159 |
|
else |
| 7160 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 7206 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 7207 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7208 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7209 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
| 7209 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
| 7210 |
|
$as_echo_n "(cached) " >&6 |
| 7211 |
|
else |
| 7212 |
|
if test -n "$LIPO"; then |
| 7246 |
|
set dummy lipo; ac_word=$2 |
| 7247 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7248 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7249 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
| 7249 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 7250 |
|
$as_echo_n "(cached) " >&6 |
| 7251 |
|
else |
| 7252 |
|
if test -n "$ac_ct_LIPO"; then |
| 7298 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 7299 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7300 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7301 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
| 7301 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
| 7302 |
|
$as_echo_n "(cached) " >&6 |
| 7303 |
|
else |
| 7304 |
|
if test -n "$OTOOL"; then |
| 7338 |
|
set dummy otool; ac_word=$2 |
| 7339 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7340 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7341 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
| 7341 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 7342 |
|
$as_echo_n "(cached) " >&6 |
| 7343 |
|
else |
| 7344 |
|
if test -n "$ac_ct_OTOOL"; then |
| 7390 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 7391 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7392 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7393 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
| 7393 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
| 7394 |
|
$as_echo_n "(cached) " >&6 |
| 7395 |
|
else |
| 7396 |
|
if test -n "$OTOOL64"; then |
| 7430 |
|
set dummy otool64; ac_word=$2 |
| 7431 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7432 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7433 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
| 7433 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 7434 |
|
$as_echo_n "(cached) " >&6 |
| 7435 |
|
else |
| 7436 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 7505 |
|
|
| 7506 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 7507 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 7508 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
| 7508 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 7509 |
|
$as_echo_n "(cached) " >&6 |
| 7510 |
|
else |
| 7511 |
|
lt_cv_apple_cc_single_mod=no |
| 7534 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7535 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7536 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7537 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
| 7537 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 7538 |
|
$as_echo_n "(cached) " >&6 |
| 7539 |
|
else |
| 7540 |
|
lt_cv_ld_exported_symbols_list=no |
| 7566 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7567 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7568 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7569 |
< |
if test "${lt_cv_ld_force_load+set}" = set; then : |
| 7569 |
> |
if ${lt_cv_ld_force_load+:} false; then : |
| 7570 |
|
$as_echo_n "(cached) " >&6 |
| 7571 |
|
else |
| 7572 |
|
lt_cv_ld_force_load=no |
| 7643 |
|
CPP= |
| 7644 |
|
fi |
| 7645 |
|
if test -z "$CPP"; then |
| 7646 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 7646 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
| 7647 |
|
$as_echo_n "(cached) " >&6 |
| 7648 |
|
else |
| 7649 |
|
# Double quotes because CPP needs to be expanded |
| 7771 |
|
|
| 7772 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7773 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7774 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7774 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 7775 |
|
$as_echo_n "(cached) " >&6 |
| 7776 |
|
else |
| 7777 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7902 |
|
do : |
| 7903 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 7904 |
|
" |
| 7905 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
| 7905 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 7906 |
|
cat >>confdefs.h <<_ACEOF |
| 7907 |
|
#define HAVE_DLFCN_H 1 |
| 7908 |
|
_ACEOF |
| 8087 |
|
|
| 8088 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8089 |
|
$as_echo_n "checking for objdir... " >&6; } |
| 8090 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
| 8090 |
> |
if ${lt_cv_objdir+:} false; then : |
| 8091 |
|
$as_echo_n "(cached) " >&6 |
| 8092 |
|
else |
| 8093 |
|
rm -f .libs 2>/dev/null |
| 8165 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 8166 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 8167 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 8168 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8168 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8169 |
|
$as_echo_n "(cached) " >&6 |
| 8170 |
|
else |
| 8171 |
|
case $MAGIC_CMD in |
| 8231 |
|
if test -n "$ac_tool_prefix"; then |
| 8232 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8233 |
|
$as_echo_n "checking for file... " >&6; } |
| 8234 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8234 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8235 |
|
$as_echo_n "(cached) " >&6 |
| 8236 |
|
else |
| 8237 |
|
case $MAGIC_CMD in |
| 8369 |
|
|
| 8370 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 8371 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8372 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
| 8372 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 8373 |
|
$as_echo_n "(cached) " >&6 |
| 8374 |
|
else |
| 8375 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 8422 |
|
lt_prog_compiler_pic= |
| 8423 |
|
lt_prog_compiler_static= |
| 8424 |
|
|
| 7919 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 7920 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8425 |
|
|
| 8426 |
|
if test "$GCC" = yes; then |
| 8427 |
|
lt_prog_compiler_wl='-Wl,' |
| 8586 |
|
lt_prog_compiler_pic='--shared' |
| 8587 |
|
lt_prog_compiler_static='--static' |
| 8588 |
|
;; |
| 8589 |
+ |
nagfor*) |
| 8590 |
+ |
# NAG Fortran compiler |
| 8591 |
+ |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 8592 |
+ |
lt_prog_compiler_pic='-PIC' |
| 8593 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8594 |
+ |
;; |
| 8595 |
|
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 8596 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 8597 |
|
# which looks to be a dead project) |
| 8711 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 8712 |
|
;; |
| 8713 |
|
esac |
| 8204 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
| 8205 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
| 8206 |
– |
|
| 8207 |
– |
|
| 8208 |
– |
|
| 8209 |
– |
|
| 8714 |
|
|
| 8715 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 8716 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8717 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
| 8718 |
+ |
$as_echo_n "(cached) " >&6 |
| 8719 |
+ |
else |
| 8720 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 8721 |
+ |
fi |
| 8722 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 8723 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 8724 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 8725 |
|
|
| 8726 |
|
# |
| 8727 |
|
# Check to make sure the PIC flag actually works. |
| 8729 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 8730 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 8731 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 8732 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
| 8732 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 8733 |
|
$as_echo_n "(cached) " >&6 |
| 8734 |
|
else |
| 8735 |
|
lt_cv_prog_compiler_pic_works=no |
| 8782 |
|
|
| 8783 |
|
|
| 8784 |
|
|
| 8785 |
+ |
|
| 8786 |
+ |
|
| 8787 |
+ |
|
| 8788 |
+ |
|
| 8789 |
+ |
|
| 8790 |
|
# |
| 8791 |
|
# Check to make sure the static flag actually works. |
| 8792 |
|
# |
| 8793 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 8794 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 8795 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 8796 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
| 8796 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 8797 |
|
$as_echo_n "(cached) " >&6 |
| 8798 |
|
else |
| 8799 |
|
lt_cv_prog_compiler_static_works=no |
| 8836 |
|
|
| 8837 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8838 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8839 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8839 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 8840 |
|
$as_echo_n "(cached) " >&6 |
| 8841 |
|
else |
| 8842 |
|
lt_cv_prog_compiler_c_o=no |
| 8891 |
|
|
| 8892 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8893 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8894 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8894 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 8895 |
|
$as_echo_n "(cached) " >&6 |
| 8896 |
|
else |
| 8897 |
|
lt_cv_prog_compiler_c_o=no |
| 9137 |
|
allow_undefined_flag=unsupported |
| 9138 |
|
always_export_symbols=no |
| 9139 |
|
enable_shared_with_static_runtimes=yes |
| 9140 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9140 |
> |
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' |
| 9141 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 9142 |
|
|
| 9143 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 9144 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 9186 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 9187 |
|
&& test "$tmp_diet" = no |
| 9188 |
|
then |
| 9189 |
< |
tmp_addflag= |
| 9189 |
> |
tmp_addflag=' $pic_flag' |
| 9190 |
|
tmp_sharedflag='-shared' |
| 9191 |
|
case $cc_basename,$host_cpu in |
| 9192 |
|
pgcc*) # Portland Group C compiler |
| 9256 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9257 |
|
wlarc= |
| 9258 |
|
else |
| 9259 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9260 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9259 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9260 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9261 |
|
fi |
| 9262 |
|
;; |
| 9263 |
|
|
| 9275 |
|
|
| 9276 |
|
_LT_EOF |
| 9277 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9278 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9279 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9278 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9279 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9280 |
|
else |
| 9281 |
|
ld_shlibs=no |
| 9282 |
|
fi |
| 9322 |
|
|
| 9323 |
|
*) |
| 9324 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9325 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9326 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9325 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9326 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9327 |
|
else |
| 9328 |
|
ld_shlibs=no |
| 9329 |
|
fi |
| 9453 |
|
allow_undefined_flag='-berok' |
| 9454 |
|
# Determine the default libpath from the value encoded in an |
| 9455 |
|
# empty executable. |
| 9456 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9456 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9457 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9458 |
> |
else |
| 9459 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9460 |
> |
$as_echo_n "(cached) " >&6 |
| 9461 |
> |
else |
| 9462 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9463 |
|
/* end confdefs.h. */ |
| 9464 |
|
|
| 9465 |
|
int |
| 9472 |
|
_ACEOF |
| 9473 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9474 |
|
|
| 9475 |
< |
lt_aix_libpath_sed=' |
| 9476 |
< |
/Import File Strings/,/^$/ { |
| 9477 |
< |
/^0/ { |
| 9478 |
< |
s/^0 *\(.*\)$/\1/ |
| 9479 |
< |
p |
| 9480 |
< |
} |
| 9481 |
< |
}' |
| 9482 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9483 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9484 |
< |
if test -z "$aix_libpath"; then |
| 9485 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9486 |
< |
fi |
| 9475 |
> |
lt_aix_libpath_sed=' |
| 9476 |
> |
/Import File Strings/,/^$/ { |
| 9477 |
> |
/^0/ { |
| 9478 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9479 |
> |
p |
| 9480 |
> |
} |
| 9481 |
> |
}' |
| 9482 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9483 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9484 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9485 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9486 |
> |
fi |
| 9487 |
|
fi |
| 9488 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9489 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9490 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9490 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9491 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9492 |
> |
fi |
| 9493 |
> |
|
| 9494 |
> |
fi |
| 9495 |
> |
|
| 9496 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9497 |
> |
fi |
| 9498 |
|
|
| 9499 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9500 |
|
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" |
| 9506 |
|
else |
| 9507 |
|
# Determine the default libpath from the value encoded in an |
| 9508 |
|
# empty executable. |
| 9509 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9509 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9510 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9511 |
> |
else |
| 9512 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9513 |
> |
$as_echo_n "(cached) " >&6 |
| 9514 |
> |
else |
| 9515 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9516 |
|
/* end confdefs.h. */ |
| 9517 |
|
|
| 9518 |
|
int |
| 9525 |
|
_ACEOF |
| 9526 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9527 |
|
|
| 9528 |
< |
lt_aix_libpath_sed=' |
| 9529 |
< |
/Import File Strings/,/^$/ { |
| 9530 |
< |
/^0/ { |
| 9531 |
< |
s/^0 *\(.*\)$/\1/ |
| 9532 |
< |
p |
| 9533 |
< |
} |
| 9534 |
< |
}' |
| 9535 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9536 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9537 |
< |
if test -z "$aix_libpath"; then |
| 9538 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9539 |
< |
fi |
| 9528 |
> |
lt_aix_libpath_sed=' |
| 9529 |
> |
/Import File Strings/,/^$/ { |
| 9530 |
> |
/^0/ { |
| 9531 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9532 |
> |
p |
| 9533 |
> |
} |
| 9534 |
> |
}' |
| 9535 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9536 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9537 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9538 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9539 |
> |
fi |
| 9540 |
|
fi |
| 9541 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9542 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9543 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9543 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9544 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9545 |
> |
fi |
| 9546 |
> |
|
| 9547 |
> |
fi |
| 9548 |
> |
|
| 9549 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9550 |
> |
fi |
| 9551 |
|
|
| 9552 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9553 |
|
# Warning - without using the other run time loading flags, |
| 9592 |
|
# Microsoft Visual C++. |
| 9593 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 9594 |
|
# no search path for DLLs. |
| 9595 |
< |
hardcode_libdir_flag_spec=' ' |
| 9596 |
< |
allow_undefined_flag=unsupported |
| 9597 |
< |
# Tell ltmain to make .lib files, not .a files. |
| 9598 |
< |
libext=lib |
| 9599 |
< |
# Tell ltmain to make .dll files, not .so files. |
| 9600 |
< |
shrext_cmds=".dll" |
| 9601 |
< |
# FIXME: Setting linknames here is a bad hack. |
| 9602 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9603 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
| 9604 |
< |
old_archive_from_new_cmds='true' |
| 9605 |
< |
# FIXME: Should let the user specify the lib program. |
| 9606 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9607 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
| 9608 |
< |
enable_shared_with_static_runtimes=yes |
| 9595 |
> |
case $cc_basename in |
| 9596 |
> |
cl*) |
| 9597 |
> |
# Native MSVC |
| 9598 |
> |
hardcode_libdir_flag_spec=' ' |
| 9599 |
> |
allow_undefined_flag=unsupported |
| 9600 |
> |
always_export_symbols=yes |
| 9601 |
> |
file_list_spec='@' |
| 9602 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9603 |
> |
libext=lib |
| 9604 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9605 |
> |
shrext_cmds=".dll" |
| 9606 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9607 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
| 9608 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 9609 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
| 9610 |
> |
else |
| 9611 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
| 9612 |
> |
fi~ |
| 9613 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 9614 |
> |
linknames=' |
| 9615 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
| 9616 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 9617 |
> |
enable_shared_with_static_runtimes=yes |
| 9618 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9619 |
> |
# Don't use ranlib |
| 9620 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
| 9621 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 9622 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 9623 |
> |
case $lt_outputfile in |
| 9624 |
> |
*.exe|*.EXE) ;; |
| 9625 |
> |
*) |
| 9626 |
> |
lt_outputfile="$lt_outputfile.exe" |
| 9627 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 9628 |
> |
;; |
| 9629 |
> |
esac~ |
| 9630 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
| 9631 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 9632 |
> |
$RM "$lt_outputfile.manifest"; |
| 9633 |
> |
fi' |
| 9634 |
> |
;; |
| 9635 |
> |
*) |
| 9636 |
> |
# Assume MSVC wrapper |
| 9637 |
> |
hardcode_libdir_flag_spec=' ' |
| 9638 |
> |
allow_undefined_flag=unsupported |
| 9639 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9640 |
> |
libext=lib |
| 9641 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9642 |
> |
shrext_cmds=".dll" |
| 9643 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9644 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9645 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
| 9646 |
> |
old_archive_from_new_cmds='true' |
| 9647 |
> |
# FIXME: Should let the user specify the lib program. |
| 9648 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9649 |
> |
enable_shared_with_static_runtimes=yes |
| 9650 |
> |
;; |
| 9651 |
> |
esac |
| 9652 |
|
;; |
| 9653 |
|
|
| 9654 |
|
darwin* | rhapsody*) |
| 9713 |
|
|
| 9714 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 9715 |
|
freebsd* | dragonfly*) |
| 9716 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 9716 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 9717 |
|
hardcode_libdir_flag_spec='-R$libdir' |
| 9718 |
|
hardcode_direct=yes |
| 9719 |
|
hardcode_shlibpath_var=no |
| 9721 |
|
|
| 9722 |
|
hpux9*) |
| 9723 |
|
if test "$GCC" = yes; then |
| 9724 |
< |
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' |
| 9724 |
> |
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' |
| 9725 |
|
else |
| 9726 |
|
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' |
| 9727 |
|
fi |
| 9737 |
|
|
| 9738 |
|
hpux10*) |
| 9739 |
|
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 9740 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9740 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9741 |
|
else |
| 9742 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 9743 |
|
fi |
| 9761 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9762 |
|
;; |
| 9763 |
|
ia64*) |
| 9764 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9764 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9765 |
|
;; |
| 9766 |
|
*) |
| 9767 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9767 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9768 |
|
;; |
| 9769 |
|
esac |
| 9770 |
|
else |
| 9781 |
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 9782 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 9783 |
|
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 9784 |
< |
if test "${lt_cv_prog_compiler__b+set}" = set; then : |
| 9784 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
| 9785 |
|
$as_echo_n "(cached) " >&6 |
| 9786 |
|
else |
| 9787 |
|
lt_cv_prog_compiler__b=no |
| 9843 |
|
|
| 9844 |
|
irix5* | irix6* | nonstopux*) |
| 9845 |
|
if test "$GCC" = yes; then |
| 9846 |
< |
archive_cmds='$CC -shared $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' |
| 9846 |
> |
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' |
| 9847 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 9848 |
|
# work, assume that -exports_file does not work either and |
| 9849 |
|
# implicitly export all symbols. |
| 9850 |
< |
save_LDFLAGS="$LDFLAGS" |
| 9851 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 9852 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9850 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
| 9851 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 9852 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 9853 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
| 9854 |
> |
$as_echo_n "(cached) " >&6 |
| 9855 |
> |
else |
| 9856 |
> |
save_LDFLAGS="$LDFLAGS" |
| 9857 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 9858 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9859 |
|
/* end confdefs.h. */ |
| 9860 |
< |
int foo(void) {} |
| 9860 |
> |
int foo (void) { return 0; } |
| 9861 |
|
_ACEOF |
| 9862 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9863 |
< |
archive_expsym_cmds='$CC -shared $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' |
| 9864 |
< |
|
| 9863 |
> |
lt_cv_irix_exported_symbol=yes |
| 9864 |
> |
else |
| 9865 |
> |
lt_cv_irix_exported_symbol=no |
| 9866 |
|
fi |
| 9867 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9868 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9869 |
< |
LDFLAGS="$save_LDFLAGS" |
| 9869 |
> |
LDFLAGS="$save_LDFLAGS" |
| 9870 |
> |
fi |
| 9871 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 9872 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 9873 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
| 9874 |
> |
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' |
| 9875 |
> |
fi |
| 9876 |
|
else |
| 9877 |
|
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' |
| 9878 |
|
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' |
| 9957 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 9958 |
|
if test "$GCC" = yes; then |
| 9959 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 9960 |
< |
archive_cmds='$CC -shared${allow_undefined_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' |
| 9960 |
> |
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' |
| 9961 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9962 |
|
else |
| 9963 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 9976 |
|
no_undefined_flag=' -z defs' |
| 9977 |
|
if test "$GCC" = yes; then |
| 9978 |
|
wlarc='${wl}' |
| 9979 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9979 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9980 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 9981 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 9981 |
> |
$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' |
| 9982 |
|
else |
| 9983 |
|
case `$CC -V 2>&1` in |
| 9984 |
|
*"Compilers 5.0"*) |
| 10166 |
|
# to ld, don't add -lc before -lgcc. |
| 10167 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 10168 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 10169 |
< |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : |
| 10169 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 10170 |
|
$as_echo_n "(cached) " >&6 |
| 10171 |
|
else |
| 10172 |
|
$RM conftest* |
| 10554 |
|
need_version=no |
| 10555 |
|
need_lib_prefix=no |
| 10556 |
|
|
| 10557 |
< |
case $GCC,$host_os in |
| 10558 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 10557 |
> |
case $GCC,$cc_basename in |
| 10558 |
> |
yes,*) |
| 10559 |
> |
# gcc |
| 10560 |
|
library_names_spec='$libname.dll.a' |
| 10561 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10562 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
| 10589 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10590 |
|
;; |
| 10591 |
|
esac |
| 10592 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10593 |
+ |
;; |
| 10594 |
+ |
|
| 10595 |
+ |
*,cl*) |
| 10596 |
+ |
# Native MSVC |
| 10597 |
+ |
libname_spec='$name' |
| 10598 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10599 |
+ |
library_names_spec='${libname}.dll.lib' |
| 10600 |
+ |
|
| 10601 |
+ |
case $build_os in |
| 10602 |
+ |
mingw*) |
| 10603 |
+ |
sys_lib_search_path_spec= |
| 10604 |
+ |
lt_save_ifs=$IFS |
| 10605 |
+ |
IFS=';' |
| 10606 |
+ |
for lt_path in $LIB |
| 10607 |
+ |
do |
| 10608 |
+ |
IFS=$lt_save_ifs |
| 10609 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
| 10610 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 10611 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 10612 |
+ |
done |
| 10613 |
+ |
IFS=$lt_save_ifs |
| 10614 |
+ |
# Convert to MSYS style. |
| 10615 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 10616 |
+ |
;; |
| 10617 |
+ |
cygwin*) |
| 10618 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
| 10619 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
| 10620 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
| 10621 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 10622 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 10623 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10624 |
+ |
;; |
| 10625 |
+ |
*) |
| 10626 |
+ |
sys_lib_search_path_spec="$LIB" |
| 10627 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 10628 |
+ |
# It is most probably a Windows format PATH. |
| 10629 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 10630 |
+ |
else |
| 10631 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10632 |
+ |
fi |
| 10633 |
+ |
# FIXME: find the short name or the path components, as spaces are |
| 10634 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
| 10635 |
+ |
;; |
| 10636 |
+ |
esac |
| 10637 |
+ |
|
| 10638 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10639 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
| 10640 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 10641 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
| 10642 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
| 10643 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
| 10644 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 10645 |
+ |
dlpath=$dir/\$dldll~ |
| 10646 |
+ |
$RM \$dlpath' |
| 10647 |
+ |
shlibpath_overrides_runpath=yes |
| 10648 |
+ |
dynamic_linker='Win32 link.exe' |
| 10649 |
|
;; |
| 10650 |
|
|
| 10651 |
|
*) |
| 10652 |
+ |
# Assume MSVC wrapper |
| 10653 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 10654 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10655 |
|
;; |
| 10656 |
|
esac |
| 9995 |
– |
dynamic_linker='Win32 ld.exe' |
| 10657 |
|
# FIXME: first we should search . and the directory the executable is in |
| 10658 |
|
shlibpath_var=PATH |
| 10659 |
|
;; |
| 10867 |
|
shlibpath_overrides_runpath=no |
| 10868 |
|
|
| 10869 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 10870 |
< |
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : |
| 10870 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 10871 |
|
$as_echo_n "(cached) " >&6 |
| 10872 |
|
else |
| 10873 |
|
lt_cv_shlibpath_overrides_runpath=no |
| 11287 |
|
# if libdl is installed we need to link against it |
| 11288 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11289 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11290 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11290 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11291 |
|
$as_echo_n "(cached) " >&6 |
| 11292 |
|
else |
| 11293 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11321 |
|
fi |
| 11322 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11323 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11324 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11324 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11325 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11326 |
|
else |
| 11327 |
|
|
| 11335 |
|
|
| 11336 |
|
*) |
| 11337 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 11338 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 11338 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 11339 |
|
lt_cv_dlopen="shl_load" |
| 11340 |
|
else |
| 11341 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 11342 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 11343 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 11343 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 11344 |
|
$as_echo_n "(cached) " >&6 |
| 11345 |
|
else |
| 11346 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11374 |
|
fi |
| 11375 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 11376 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 11377 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 11377 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 11378 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 11379 |
|
else |
| 11380 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 11381 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
| 11381 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
| 11382 |
|
lt_cv_dlopen="dlopen" |
| 11383 |
|
else |
| 11384 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11385 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11386 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11386 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11387 |
|
$as_echo_n "(cached) " >&6 |
| 11388 |
|
else |
| 11389 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11417 |
|
fi |
| 11418 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11419 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11420 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11420 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11421 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11422 |
|
else |
| 11423 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 11424 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 11425 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 11425 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 11426 |
|
$as_echo_n "(cached) " >&6 |
| 11427 |
|
else |
| 11428 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11456 |
|
fi |
| 11457 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 11458 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 11459 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 11459 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 11460 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 11461 |
|
else |
| 11462 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 11463 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 11464 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 11464 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 11465 |
|
$as_echo_n "(cached) " >&6 |
| 11466 |
|
else |
| 11467 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11495 |
|
fi |
| 11496 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 11497 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 11498 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 11498 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 11499 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 11500 |
|
fi |
| 11501 |
|
|
| 11536 |
|
|
| 11537 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 11538 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 11539 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
| 11539 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
| 11540 |
|
$as_echo_n "(cached) " >&6 |
| 11541 |
|
else |
| 11542 |
|
if test "$cross_compiling" = yes; then : |
| 11589 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11590 |
|
correspondingly for the symbols needed. */ |
| 11591 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11592 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11592 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11593 |
|
#endif |
| 11594 |
|
|
| 11595 |
< |
void fnord () { int i=42; } |
| 11595 |
> |
int fnord () { return 42; } |
| 11596 |
|
int main () |
| 11597 |
|
{ |
| 11598 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11642 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 11643 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 11644 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 11645 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
| 11645 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
| 11646 |
|
$as_echo_n "(cached) " >&6 |
| 11647 |
|
else |
| 11648 |
|
if test "$cross_compiling" = yes; then : |
| 11695 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11696 |
|
correspondingly for the symbols needed. */ |
| 11697 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11698 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11698 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11699 |
|
#endif |
| 11700 |
|
|
| 11701 |
< |
void fnord () { int i=42; } |
| 11701 |
> |
int fnord () { return 42; } |
| 11702 |
|
int main () |
| 11703 |
|
{ |
| 11704 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11890 |
|
|
| 11891 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
| 11892 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
| 11893 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
| 11893 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
| 11894 |
|
$as_echo_n "(cached) " >&6 |
| 11895 |
|
else |
| 11896 |
|
|
| 11910 |
|
|
| 11911 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 11912 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 11913 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
| 11913 |
> |
if ${lt_cv_module_path_var+:} false; then : |
| 11914 |
|
$as_echo_n "(cached) " >&6 |
| 11915 |
|
else |
| 11916 |
|
lt_cv_module_path_var="$shlibpath_var" |
| 11927 |
|
|
| 11928 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 11929 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
| 11930 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
| 11930 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
| 11931 |
|
$as_echo_n "(cached) " >&6 |
| 11932 |
|
else |
| 11933 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
| 11964 |
|
LIBADD_DLOPEN= |
| 11965 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 11966 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
| 11967 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 11967 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 11968 |
|
$as_echo_n "(cached) " >&6 |
| 11969 |
|
else |
| 11970 |
|
ac_func_search_save_LIBS=$LIBS |
| 11998 |
|
fi |
| 11999 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 12000 |
|
conftest$ac_exeext |
| 12001 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12001 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12002 |
|
break |
| 12003 |
|
fi |
| 12004 |
|
done |
| 12005 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12005 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12006 |
|
|
| 12007 |
|
else |
| 12008 |
|
ac_cv_search_dlopen=no |
| 12047 |
|
else |
| 12048 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12049 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12050 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 12050 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12051 |
|
$as_echo_n "(cached) " >&6 |
| 12052 |
|
else |
| 12053 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12081 |
|
fi |
| 12082 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12083 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12084 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 12084 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12085 |
|
|
| 12086 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 12087 |
|
|
| 12101 |
|
for ac_func in dlerror |
| 12102 |
|
do : |
| 12103 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
| 12104 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
| 12104 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
| 12105 |
|
cat >>confdefs.h <<_ACEOF |
| 12106 |
|
#define HAVE_DLERROR 1 |
| 12107 |
|
_ACEOF |
| 12115 |
|
|
| 12116 |
|
LIBADD_SHL_LOAD= |
| 12117 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12118 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 12118 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12119 |
|
|
| 12120 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12121 |
|
|
| 12123 |
|
else |
| 12124 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12125 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12126 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 12126 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12127 |
|
$as_echo_n "(cached) " >&6 |
| 12128 |
|
else |
| 12129 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12157 |
|
fi |
| 12158 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12159 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12160 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 12160 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12161 |
|
|
| 12162 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12163 |
|
|
| 12173 |
|
darwin[1567].*) |
| 12174 |
|
# We only want this for pre-Mac OS X 10.4. |
| 12175 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
| 12176 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
| 12176 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
| 12177 |
|
|
| 12178 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
| 12179 |
|
|
| 12187 |
|
cygwin* | mingw* | os2* | pw32*) |
| 12188 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 12189 |
|
" |
| 12190 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
| 12190 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
| 12191 |
|
ac_have_decl=1 |
| 12192 |
|
else |
| 12193 |
|
ac_have_decl=0 |
| 12203 |
|
|
| 12204 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12205 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12206 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 12206 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12207 |
|
$as_echo_n "(cached) " >&6 |
| 12208 |
|
else |
| 12209 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12237 |
|
fi |
| 12238 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12239 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12240 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 12240 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12241 |
|
|
| 12242 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
| 12243 |
|
|
| 12271 |
|
|
| 12272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 12273 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
| 12274 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
| 12274 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
| 12275 |
|
$as_echo_n "(cached) " >&6 |
| 12276 |
|
else |
| 12277 |
|
lt_cv_sys_symbol_underscore=no |
| 12321 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
| 12322 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 12323 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
| 12324 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
| 12324 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
| 12325 |
|
$as_echo_n "(cached) " >&6 |
| 12326 |
|
else |
| 12327 |
|
libltdl_cv_need_uscore=unknown |
| 12377 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 12378 |
|
correspondingly for the symbols needed. */ |
| 12379 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12380 |
< |
void fnord () __attribute__((visibility("default"))); |
| 12380 |
> |
int fnord () __attribute__((visibility("default"))); |
| 12381 |
|
#endif |
| 12382 |
|
|
| 12383 |
< |
void fnord () { int i=42; } |
| 12383 |
> |
int fnord () { return 42; } |
| 12384 |
|
int main () |
| 12385 |
|
{ |
| 12386 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12437 |
|
|
| 12438 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 12439 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
| 12440 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
| 12440 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
| 12441 |
|
$as_echo_n "(cached) " >&6 |
| 12442 |
|
else |
| 12443 |
|
# PORTME does your system automatically load deplibs for dlopen? |
| 12543 |
|
do : |
| 12544 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 12545 |
|
" |
| 12546 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
| 12546 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
| 12547 |
|
cat >>confdefs.h <<_ACEOF |
| 12548 |
|
#define HAVE_ARGZ_H 1 |
| 12549 |
|
_ACEOF |
| 12557 |
|
# include <argz.h> |
| 12558 |
|
#endif |
| 12559 |
|
" |
| 12560 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
| 12560 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
| 12561 |
|
|
| 12562 |
|
cat >>confdefs.h <<_ACEOF |
| 12563 |
|
#define HAVE_ERROR_T 1 |
| 12597 |
|
if test -z "$ARGZ_H"; then : |
| 12598 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 12599 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
| 12600 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
| 12600 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
| 12601 |
|
$as_echo_n "(cached) " >&6 |
| 12602 |
|
else |
| 12603 |
|
case $host_os in #( |
| 12628 |
|
fi |
| 12629 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 12630 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
| 12631 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
| 12631 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
| 12632 |
|
|
| 12633 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 12634 |
|
|
| 12645 |
|
|
| 12646 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 12647 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 12648 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
| 12648 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
| 12649 |
|
$as_echo_n "(cached) " >&6 |
| 12650 |
|
else |
| 12651 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
| 12687 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
| 12688 |
|
|
| 12689 |
|
" |
| 12690 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
| 12690 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
| 12691 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 12692 |
|
#include <ltdl.h> |
| 12693 |
|
" |
| 12694 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
| 12694 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
| 12695 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 12696 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 12697 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
| 12697 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
| 12698 |
|
$as_echo_n "(cached) " >&6 |
| 12699 |
|
else |
| 12700 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12728 |
|
fi |
| 12729 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 12730 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 12731 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
| 12731 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
| 12732 |
|
with_included_ltdl=no |
| 12733 |
|
else |
| 12734 |
|
with_included_ltdl=yes |
| 12928 |
|
_ACEOF |
| 12929 |
|
|
| 12930 |
|
|
| 12931 |
+ |
name= |
| 12932 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
| 12933 |
+ |
|
| 12934 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12935 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
| 12936 |
+ |
_ACEOF |
| 12937 |
+ |
|
| 12938 |
+ |
|
| 12939 |
|
name=ltdl |
| 12940 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
| 12940 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
| 12941 |
|
|
| 12942 |
|
|
| 12943 |
|
|
| 12955 |
|
|
| 12956 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12957 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
| 12958 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12958 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 12959 |
|
$as_echo_n "(cached) " >&6 |
| 12960 |
|
else |
| 12961 |
|
ac_func_search_save_LIBS=$LIBS |
| 12989 |
|
fi |
| 12990 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 12991 |
|
conftest$ac_exeext |
| 12992 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12992 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 12993 |
|
break |
| 12994 |
|
fi |
| 12995 |
|
done |
| 12996 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12996 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 12997 |
|
|
| 12998 |
|
else |
| 12999 |
|
ac_cv_search_socket=no |
| 13013 |
|
|
| 13014 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13015 |
|
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13016 |
< |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 13016 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13017 |
|
$as_echo_n "(cached) " >&6 |
| 13018 |
|
else |
| 13019 |
|
ac_func_search_save_LIBS=$LIBS |
| 13047 |
|
fi |
| 13048 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13049 |
|
conftest$ac_exeext |
| 13050 |
< |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 13050 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13051 |
|
break |
| 13052 |
|
fi |
| 13053 |
|
done |
| 13054 |
< |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 13054 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13055 |
|
|
| 13056 |
|
else |
| 13057 |
|
ac_cv_search_inet_ntoa=no |
| 13069 |
|
|
| 13070 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13071 |
|
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13072 |
< |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 13072 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13073 |
|
$as_echo_n "(cached) " >&6 |
| 13074 |
|
else |
| 13075 |
|
ac_func_search_save_LIBS=$LIBS |
| 13103 |
|
fi |
| 13104 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13105 |
|
conftest$ac_exeext |
| 13106 |
< |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 13106 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13107 |
|
break |
| 13108 |
|
fi |
| 13109 |
|
done |
| 13110 |
< |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 13110 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13111 |
|
|
| 13112 |
|
else |
| 13113 |
|
ac_cv_search_inet_aton=no |
| 13140 |
|
#include <netdb.h> |
| 13141 |
|
|
| 13142 |
|
" |
| 13143 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
| 13143 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| 13144 |
|
|
| 13145 |
|
cat >>confdefs.h <<_ACEOF |
| 13146 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 13153 |
|
#include <netdb.h> |
| 13154 |
|
|
| 13155 |
|
" |
| 13156 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
| 13156 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
| 13157 |
|
|
| 13158 |
|
cat >>confdefs.h <<_ACEOF |
| 13159 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 13166 |
|
#include <netdb.h> |
| 13167 |
|
|
| 13168 |
|
" |
| 13169 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
| 13169 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
| 13170 |
|
|
| 13171 |
|
cat >>confdefs.h <<_ACEOF |
| 13172 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
| 13178 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13179 |
|
<sys/socket.h> |
| 13180 |
|
" |
| 13181 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
| 13181 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13182 |
|
|
| 13183 |
|
cat >>confdefs.h <<_ACEOF |
| 13184 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13190 |
|
|
| 13191 |
|
|
| 13192 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 13193 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
| 13193 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13194 |
|
|
| 13195 |
|
cat >>confdefs.h <<_ACEOF |
| 13196 |
|
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 13208 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 13209 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 13210 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 13211 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 13211 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
| 13212 |
|
$as_echo_n "(cached) " >&6 |
| 13213 |
|
else |
| 13214 |
|
ac_cv_c_bigendian=unknown |
| 13525 |
|
|
| 13526 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 13527 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 13528 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13528 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13529 |
|
$as_echo_n "(cached) " >&6 |
| 13530 |
|
else |
| 13531 |
|
ac_func_search_save_LIBS=$LIBS |
| 13559 |
|
fi |
| 13560 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13561 |
|
conftest$ac_exeext |
| 13562 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13562 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13563 |
|
break |
| 13564 |
|
fi |
| 13565 |
|
done |
| 13566 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13566 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13567 |
|
|
| 13568 |
|
else |
| 13569 |
|
ac_cv_search_crypt=no |
| 13599 |
|
if test "$zlib" = "yes"; then : |
| 13600 |
|
|
| 13601 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 13602 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 13602 |
> |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13603 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 13604 |
|
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 13605 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
| 13605 |
> |
if ${ac_cv_lib_z_zlibVersion+:} false; then : |
| 13606 |
|
$as_echo_n "(cached) " >&6 |
| 13607 |
|
else |
| 13608 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13636 |
|
fi |
| 13637 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 13638 |
|
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 13639 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
| 13639 |
> |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
| 13640 |
|
|
| 13641 |
|
LIBS="-lz $LIBS" |
| 13642 |
|
|
| 13674 |
|
if test "$libpcre" = "yes"; then : |
| 13675 |
|
|
| 13676 |
|
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13677 |
< |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 13677 |
> |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13678 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 13679 |
|
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 13680 |
< |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 13680 |
> |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
| 13681 |
|
$as_echo_n "(cached) " >&6 |
| 13682 |
|
else |
| 13683 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13711 |
|
fi |
| 13712 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 13713 |
|
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 13714 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 13714 |
> |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 13715 |
|
|
| 13716 |
|
LIBS="-lpcre $LIBS" |
| 13717 |
|
|
| 13806 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13807 |
|
/* end confdefs.h. */ |
| 13808 |
|
|
| 13809 |
+ |
|
| 13810 |
|
#include <openssl/opensslv.h> |
| 13811 |
|
#include <stdlib.h> |
| 13812 |
|
int |
| 13813 |
|
main () |
| 13814 |
|
{ |
| 13815 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13815 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13816 |
|
; |
| 13817 |
|
return 0; |
| 13818 |
|
} |
| 13833 |
|
|
| 13834 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13835 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13836 |
< |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
| 13836 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13837 |
|
$as_echo_n "(cached) " >&6 |
| 13838 |
|
else |
| 13839 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13867 |
|
fi |
| 13868 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13869 |
|
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13870 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
| 13870 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 13871 |
|
cat >>confdefs.h <<_ACEOF |
| 13872 |
|
#define HAVE_LIBCRYPTO 1 |
| 13873 |
|
_ACEOF |
| 14142 |
|
#endif |
| 14143 |
|
_syscall1(int, epoll_create, int, size) |
| 14144 |
|
#endif |
| 13475 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
| 14145 |
|
|
| 14146 |
+ |
int |
| 14147 |
+ |
main () |
| 14148 |
+ |
{ |
| 14149 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
| 14150 |
+ |
; |
| 14151 |
+ |
return 0; |
| 14152 |
+ |
} |
| 14153 |
|
_ACEOF |
| 14154 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 14155 |
|
is_epoll_mechanism_available="yes" |
| 14225 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14226 |
|
/* end confdefs.h. */ |
| 14227 |
|
|
| 14228 |
+ |
#define _GNU_SOURCE |
| 14229 |
|
#include <fcntl.h> |
| 14230 |
< |
#ifdef F_SETSIG |
| 13554 |
< |
main () { return 0; } /* F_SETSIG defined */ |
| 13555 |
< |
#else |
| 13556 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
| 13557 |
< |
#endif |
| 14230 |
> |
static unsigned int have_f_setsig = 0; |
| 14231 |
|
|
| 14232 |
|
int |
| 14233 |
|
main () |
| 14234 |
|
{ |
| 14235 |
|
|
| 14236 |
+ |
#ifdef F_SETSIG |
| 14237 |
+ |
have_f_setsig = 1; |
| 14238 |
+ |
#endif |
| 14239 |
+ |
return have_f_setsig == 0; |
| 14240 |
+ |
|
| 14241 |
|
; |
| 14242 |
|
return 0; |
| 14243 |
|
} |
| 14707 |
|
:end' >>confcache |
| 14708 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 14709 |
|
if test -w "$cache_file"; then |
| 14710 |
< |
test "x$cache_file" != "x/dev/null" && |
| 14710 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 14711 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 14712 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 14713 |
< |
cat confcache >$cache_file |
| 14713 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 14714 |
> |
cat confcache >"$cache_file" |
| 14715 |
> |
else |
| 14716 |
> |
case $cache_file in #( |
| 14717 |
> |
*/* | ?:*) |
| 14718 |
> |
mv -f confcache "$cache_file"$$ && |
| 14719 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 14720 |
> |
*) |
| 14721 |
> |
mv -f confcache "$cache_file" ;; |
| 14722 |
> |
esac |
| 14723 |
> |
fi |
| 14724 |
> |
fi |
| 14725 |
|
else |
| 14726 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 14727 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 14811 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14812 |
|
fi |
| 14813 |
|
|
| 14814 |
< |
: ${CONFIG_STATUS=./config.status} |
| 14814 |
> |
: "${CONFIG_STATUS=./config.status}" |
| 14815 |
|
ac_write_fail=0 |
| 14816 |
|
ac_clean_files_save=$ac_clean_files |
| 14817 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 14912 |
|
IFS=" "" $as_nl" |
| 14913 |
|
|
| 14914 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 14915 |
+ |
as_myself= |
| 14916 |
|
case $0 in #(( |
| 14917 |
|
*[\\/]* ) as_myself=$0 ;; |
| 14918 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 15220 |
|
# values after options handling. |
| 15221 |
|
ac_log=" |
| 15222 |
|
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 15223 |
< |
generated by GNU Autoconf 2.67. Invocation command line was |
| 15223 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 15224 |
|
|
| 15225 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15226 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 15286 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15287 |
|
ac_cs_version="\\ |
| 15288 |
|
ircd-hybrid config.status 7.3-rc1 |
| 15289 |
< |
configured by $0, generated by GNU Autoconf 2.67, |
| 15289 |
> |
configured by $0, generated by GNU Autoconf 2.68, |
| 15290 |
|
with options \\"\$ac_cs_config\\" |
| 15291 |
|
|
| 15292 |
|
Copyright (C) 2010 Free Software Foundation, Inc. |
| 15442 |
|
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 15443 |
|
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 15444 |
|
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 15445 |
+ |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 15446 |
+ |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 15447 |
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 15448 |
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 15449 |
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 15450 |
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 15451 |
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 15452 |
+ |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 15453 |
+ |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 15454 |
+ |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 15455 |
+ |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 15456 |
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 15457 |
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 15458 |
+ |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15459 |
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 15460 |
|
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 15461 |
|
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 15470 |
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 15471 |
|
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 15472 |
|
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"`' |
| 15473 |
+ |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15474 |
+ |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 15475 |
|
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 15476 |
|
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 15477 |
|
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 14779 |
– |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 15478 |
|
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 15479 |
+ |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 15480 |
|
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 15481 |
|
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 15482 |
|
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 15483 |
+ |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 15484 |
|
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 15485 |
|
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 15486 |
|
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 15513 |
|
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 15514 |
|
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 15515 |
|
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 14816 |
– |
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
| 15516 |
|
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 15517 |
|
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 15518 |
|
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 15519 |
|
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 15520 |
|
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 15521 |
+ |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 15522 |
|
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15523 |
|
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 15524 |
|
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 15573 |
|
OBJDUMP \ |
| 15574 |
|
deplibs_check_method \ |
| 15575 |
|
file_magic_cmd \ |
| 15576 |
+ |
file_magic_glob \ |
| 15577 |
+ |
want_nocaseglob \ |
| 15578 |
+ |
DLLTOOL \ |
| 15579 |
+ |
sharedlib_from_linklib_cmd \ |
| 15580 |
|
AR \ |
| 15581 |
|
AR_FLAGS \ |
| 15582 |
+ |
archiver_list_spec \ |
| 15583 |
|
STRIP \ |
| 15584 |
|
RANLIB \ |
| 15585 |
|
CC \ |
| 15589 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
| 15590 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
| 15591 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 15592 |
+ |
nm_file_list_spec \ |
| 15593 |
|
lt_prog_compiler_no_builtin_flag \ |
| 14888 |
– |
lt_prog_compiler_wl \ |
| 15594 |
|
lt_prog_compiler_pic \ |
| 15595 |
+ |
lt_prog_compiler_wl \ |
| 15596 |
|
lt_prog_compiler_static \ |
| 15597 |
|
lt_cv_prog_compiler_c_o \ |
| 15598 |
|
need_locks \ |
| 15599 |
+ |
MANIFEST_TOOL \ |
| 15600 |
|
DSYMUTIL \ |
| 15601 |
|
NMEDIT \ |
| 15602 |
|
LIPO \ |
| 15612 |
|
hardcode_libdir_flag_spec \ |
| 15613 |
|
hardcode_libdir_flag_spec_ld \ |
| 15614 |
|
hardcode_libdir_separator \ |
| 14908 |
– |
fix_srcfile_path \ |
| 15615 |
|
exclude_expsyms \ |
| 15616 |
|
include_expsyms \ |
| 15617 |
|
file_list_spec \ |
| 15647 |
|
module_expsym_cmds \ |
| 15648 |
|
export_symbols_cmds \ |
| 15649 |
|
prelink_cmds \ |
| 15650 |
+ |
postlink_cmds \ |
| 15651 |
|
postinstall_cmds \ |
| 15652 |
|
postuninstall_cmds \ |
| 15653 |
|
finish_cmds \ |
| 15733 |
|
# after its creation but before its name has been assigned to `$tmp'. |
| 15734 |
|
$debug || |
| 15735 |
|
{ |
| 15736 |
< |
tmp= |
| 15736 |
> |
tmp= ac_tmp= |
| 15737 |
|
trap 'exit_status=$? |
| 15738 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 15738 |
> |
: "${ac_tmp:=$tmp}" |
| 15739 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 15740 |
|
' 0 |
| 15741 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
| 15742 |
|
} |
| 15744 |
|
|
| 15745 |
|
{ |
| 15746 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 15747 |
< |
test -n "$tmp" && test -d "$tmp" |
| 15747 |
> |
test -d "$tmp" |
| 15748 |
|
} || |
| 15749 |
|
{ |
| 15750 |
|
tmp=./conf$$-$RANDOM |
| 15751 |
|
(umask 077 && mkdir "$tmp") |
| 15752 |
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 15753 |
+ |
ac_tmp=$tmp |
| 15754 |
|
|
| 15755 |
|
# Set up the scripts for CONFIG_FILES section. |
| 15756 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 15772 |
|
ac_cs_awk_cr=$ac_cr |
| 15773 |
|
fi |
| 15774 |
|
|
| 15775 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 15775 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 15776 |
|
_ACEOF |
| 15777 |
|
|
| 15778 |
|
|
| 15800 |
|
rm -f conf$$subs.sh |
| 15801 |
|
|
| 15802 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15803 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 15803 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 15804 |
|
_ACEOF |
| 15805 |
|
sed -n ' |
| 15806 |
|
h |
| 15848 |
|
rm -f conf$$subs.awk |
| 15849 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15850 |
|
_ACAWK |
| 15851 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 15851 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 15852 |
|
for (key in S) S_is_set[key] = 1 |
| 15853 |
|
FS = "" |
| 15854 |
|
|
| 15880 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 15881 |
|
else |
| 15882 |
|
cat |
| 15883 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 15883 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 15884 |
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 15885 |
|
_ACEOF |
| 15886 |
|
|
| 15914 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
| 15915 |
|
# This happens for instance with `./config.status Makefile'. |
| 15916 |
|
if test -n "$CONFIG_HEADERS"; then |
| 15917 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 15917 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 15918 |
|
BEGIN { |
| 15919 |
|
_ACEOF |
| 15920 |
|
|
| 15926 |
|
# handling of long lines. |
| 15927 |
|
ac_delim='%!_!# ' |
| 15928 |
|
for ac_last_try in false false :; do |
| 15929 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 15930 |
< |
if test -z "$ac_t"; then |
| 15929 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 15930 |
> |
if test -z "$ac_tt"; then |
| 15931 |
|
break |
| 15932 |
|
elif $ac_last_try; then |
| 15933 |
|
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 16047 |
|
for ac_f |
| 16048 |
|
do |
| 16049 |
|
case $ac_f in |
| 16050 |
< |
-) ac_f="$tmp/stdin";; |
| 16050 |
> |
-) ac_f="$ac_tmp/stdin";; |
| 16051 |
|
*) # Look for the file first in the build tree, then in the source tree |
| 16052 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 16053 |
|
# because $ac_f cannot contain `:'. |
| 16082 |
|
esac |
| 16083 |
|
|
| 16084 |
|
case $ac_tag in |
| 16085 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 16085 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 16086 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 16087 |
|
esac |
| 16088 |
|
;; |
| 16219 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 16220 |
|
$ac_datarootdir_hack |
| 16221 |
|
" |
| 16222 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 16223 |
< |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16222 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 16223 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16224 |
|
|
| 16225 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 16226 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 16227 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 16226 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 16227 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 16228 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 16229 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 16230 |
|
which seems to be undefined. Please make sure it is defined" >&5 |
| 16231 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 16232 |
|
which seems to be undefined. Please make sure it is defined" >&2;} |
| 16233 |
|
|
| 16234 |
< |
rm -f "$tmp/stdin" |
| 16234 |
> |
rm -f "$ac_tmp/stdin" |
| 16235 |
|
case $ac_file in |
| 16236 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 16237 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 16236 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 16237 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 16238 |
|
esac \ |
| 16239 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16240 |
|
;; |
| 16245 |
|
if test x"$ac_file" != x-; then |
| 16246 |
|
{ |
| 16247 |
|
$as_echo "/* $configure_input */" \ |
| 16248 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 16249 |
< |
} >"$tmp/config.h" \ |
| 16248 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 16249 |
> |
} >"$ac_tmp/config.h" \ |
| 16250 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16251 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 16251 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 16252 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 16253 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 16254 |
|
else |
| 16255 |
|
rm -f "$ac_file" |
| 16256 |
< |
mv "$tmp/config.h" "$ac_file" \ |
| 16256 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 16257 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16258 |
|
fi |
| 16259 |
|
else |
| 16260 |
|
$as_echo "/* $configure_input */" \ |
| 16261 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 16261 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 16262 |
|
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 16263 |
|
fi |
| 16264 |
|
# Compute "$ac_file"'s index in $config_headers. |
| 16524 |
|
# turn newlines into spaces. |
| 16525 |
|
NL2SP=$lt_lt_NL2SP |
| 16526 |
|
|
| 16527 |
+ |
# convert \$build file names to \$host format. |
| 16528 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 16529 |
+ |
|
| 16530 |
+ |
# convert \$build files to toolchain format. |
| 16531 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 16532 |
+ |
|
| 16533 |
|
# An object symbol dumper. |
| 16534 |
|
OBJDUMP=$lt_OBJDUMP |
| 16535 |
|
|
| 16536 |
|
# Method to check whether dependent libraries are shared objects. |
| 16537 |
|
deplibs_check_method=$lt_deplibs_check_method |
| 16538 |
|
|
| 16539 |
< |
# Command to use when deplibs_check_method == "file_magic". |
| 16539 |
> |
# Command to use when deplibs_check_method = "file_magic". |
| 16540 |
|
file_magic_cmd=$lt_file_magic_cmd |
| 16541 |
|
|
| 16542 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
| 16543 |
+ |
file_magic_glob=$lt_file_magic_glob |
| 16544 |
+ |
|
| 16545 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 16546 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
| 16547 |
+ |
|
| 16548 |
+ |
# DLL creation program. |
| 16549 |
+ |
DLLTOOL=$lt_DLLTOOL |
| 16550 |
+ |
|
| 16551 |
+ |
# Command to associate shared and link libraries. |
| 16552 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 16553 |
+ |
|
| 16554 |
|
# The archiver. |
| 16555 |
|
AR=$lt_AR |
| 16556 |
+ |
|
| 16557 |
+ |
# Flags to create an archive. |
| 16558 |
|
AR_FLAGS=$lt_AR_FLAGS |
| 16559 |
|
|
| 16560 |
+ |
# How to feed a file listing to the archiver. |
| 16561 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
| 16562 |
+ |
|
| 16563 |
|
# A symbol stripping program. |
| 16564 |
|
STRIP=$lt_STRIP |
| 16565 |
|
|
| 16589 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
| 16590 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 16591 |
|
|
| 16592 |
+ |
# Specify filename containing input files for \$NM. |
| 16593 |
+ |
nm_file_list_spec=$lt_nm_file_list_spec |
| 16594 |
+ |
|
| 16595 |
+ |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
| 16596 |
+ |
lt_sysroot=$lt_sysroot |
| 16597 |
+ |
|
| 16598 |
|
# The name of the directory that contains temporary libtool files. |
| 16599 |
|
objdir=$objdir |
| 16600 |
|
|
| 16604 |
|
# Must we lock files when doing compilation? |
| 16605 |
|
need_locks=$lt_need_locks |
| 16606 |
|
|
| 16607 |
+ |
# Manifest tool. |
| 16608 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 16609 |
+ |
|
| 16610 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 16611 |
|
DSYMUTIL=$lt_DSYMUTIL |
| 16612 |
|
|
| 16721 |
|
# Compiler flag to turn off builtin functions. |
| 16722 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 16723 |
|
|
| 15982 |
– |
# How to pass a linker flag through the compiler. |
| 15983 |
– |
wl=$lt_lt_prog_compiler_wl |
| 15984 |
– |
|
| 16724 |
|
# Additional compiler flags for building library objects. |
| 16725 |
|
pic_flag=$lt_lt_prog_compiler_pic |
| 16726 |
|
|
| 16727 |
+ |
# How to pass a linker flag through the compiler. |
| 16728 |
+ |
wl=$lt_lt_prog_compiler_wl |
| 16729 |
+ |
|
| 16730 |
|
# Compiler flag to prevent dynamic linking. |
| 16731 |
|
link_static_flag=$lt_lt_prog_compiler_static |
| 16732 |
|
|
| 16813 |
|
# Whether libtool must link a program against all its dependency libraries. |
| 16814 |
|
link_all_deplibs=$link_all_deplibs |
| 16815 |
|
|
| 16074 |
– |
# Fix the shell variable \$srcfile for the compiler. |
| 16075 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
| 16076 |
– |
|
| 16816 |
|
# Set to "yes" if exported symbols are required. |
| 16817 |
|
always_export_symbols=$always_export_symbols |
| 16818 |
|
|
| 16828 |
|
# Commands necessary for linking programs (against libraries) with templates. |
| 16829 |
|
prelink_cmds=$lt_prelink_cmds |
| 16830 |
|
|
| 16831 |
+ |
# Commands necessary for finishing linking programs. |
| 16832 |
+ |
postlink_cmds=$lt_postlink_cmds |
| 16833 |
+ |
|
| 16834 |
|
# Specify filename containing input files. |
| 16835 |
|
file_list_spec=$lt_file_list_spec |
| 16836 |
|
|
| 16863 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 16864 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
| 16865 |
|
# is reportedly fixed, but why not run on old versions too? |
| 16866 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
| 16867 |
< |
|| (rm -f "$cfgfile"; exit 1) |
| 16126 |
< |
|
| 16127 |
< |
case $xsi_shell in |
| 16128 |
< |
yes) |
| 16129 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16130 |
< |
|
| 16131 |
< |
# func_dirname file append nondir_replacement |
| 16132 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16133 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16134 |
< |
func_dirname () |
| 16135 |
< |
{ |
| 16136 |
< |
case ${1} in |
| 16137 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16138 |
< |
* ) func_dirname_result="${3}" ;; |
| 16139 |
< |
esac |
| 16140 |
< |
} |
| 16141 |
< |
|
| 16142 |
< |
# func_basename file |
| 16143 |
< |
func_basename () |
| 16144 |
< |
{ |
| 16145 |
< |
func_basename_result="${1##*/}" |
| 16146 |
< |
} |
| 16147 |
< |
|
| 16148 |
< |
# func_dirname_and_basename file append nondir_replacement |
| 16149 |
< |
# perform func_basename and func_dirname in a single function |
| 16150 |
< |
# call: |
| 16151 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
| 16152 |
< |
# add APPEND to the result, otherwise set result |
| 16153 |
< |
# to NONDIR_REPLACEMENT. |
| 16154 |
< |
# value returned in "$func_dirname_result" |
| 16155 |
< |
# basename: Compute filename of FILE. |
| 16156 |
< |
# value retuned in "$func_basename_result" |
| 16157 |
< |
# Implementation must be kept synchronized with func_dirname |
| 16158 |
< |
# and func_basename. For efficiency, we do not delegate to |
| 16159 |
< |
# those functions but instead duplicate the functionality here. |
| 16160 |
< |
func_dirname_and_basename () |
| 16161 |
< |
{ |
| 16162 |
< |
case ${1} in |
| 16163 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16164 |
< |
* ) func_dirname_result="${3}" ;; |
| 16165 |
< |
esac |
| 16166 |
< |
func_basename_result="${1##*/}" |
| 16167 |
< |
} |
| 16168 |
< |
|
| 16169 |
< |
# func_stripname prefix suffix name |
| 16170 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16171 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16172 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16173 |
< |
# dot (in which case that matches only a dot). |
| 16174 |
< |
func_stripname () |
| 16175 |
< |
{ |
| 16176 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
| 16177 |
< |
# positional parameters, so assign one to ordinary parameter first. |
| 16178 |
< |
func_stripname_result=${3} |
| 16179 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
| 16180 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
| 16181 |
< |
} |
| 16182 |
< |
|
| 16183 |
< |
# func_opt_split |
| 16184 |
< |
func_opt_split () |
| 16185 |
< |
{ |
| 16186 |
< |
func_opt_split_opt=${1%%=*} |
| 16187 |
< |
func_opt_split_arg=${1#*=} |
| 16188 |
< |
} |
| 16189 |
< |
|
| 16190 |
< |
# func_lo2o object |
| 16191 |
< |
func_lo2o () |
| 16192 |
< |
{ |
| 16193 |
< |
case ${1} in |
| 16194 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
| 16195 |
< |
*) func_lo2o_result=${1} ;; |
| 16196 |
< |
esac |
| 16197 |
< |
} |
| 16198 |
< |
|
| 16199 |
< |
# func_xform libobj-or-source |
| 16200 |
< |
func_xform () |
| 16201 |
< |
{ |
| 16202 |
< |
func_xform_result=${1%.*}.lo |
| 16203 |
< |
} |
| 16204 |
< |
|
| 16205 |
< |
# func_arith arithmetic-term... |
| 16206 |
< |
func_arith () |
| 16207 |
< |
{ |
| 16208 |
< |
func_arith_result=$(( $* )) |
| 16209 |
< |
} |
| 16210 |
< |
|
| 16211 |
< |
# func_len string |
| 16212 |
< |
# STRING may not start with a hyphen. |
| 16213 |
< |
func_len () |
| 16214 |
< |
{ |
| 16215 |
< |
func_len_result=${#1} |
| 16216 |
< |
} |
| 16217 |
< |
|
| 16218 |
< |
_LT_EOF |
| 16219 |
< |
;; |
| 16220 |
< |
*) # Bourne compatible functions. |
| 16221 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16222 |
< |
|
| 16223 |
< |
# func_dirname file append nondir_replacement |
| 16224 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16225 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16226 |
< |
func_dirname () |
| 16227 |
< |
{ |
| 16228 |
< |
# Extract subdirectory from the argument. |
| 16229 |
< |
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 16230 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
| 16231 |
< |
func_dirname_result="${3}" |
| 16232 |
< |
else |
| 16233 |
< |
func_dirname_result="$func_dirname_result${2}" |
| 16234 |
< |
fi |
| 16235 |
< |
} |
| 16236 |
< |
|
| 16237 |
< |
# func_basename file |
| 16238 |
< |
func_basename () |
| 16239 |
< |
{ |
| 16240 |
< |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 16241 |
< |
} |
| 16242 |
< |
|
| 16243 |
< |
|
| 16244 |
< |
# func_stripname prefix suffix name |
| 16245 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16246 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16247 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16248 |
< |
# dot (in which case that matches only a dot). |
| 16249 |
< |
# func_strip_suffix prefix name |
| 16250 |
< |
func_stripname () |
| 16251 |
< |
{ |
| 16252 |
< |
case ${2} in |
| 16253 |
< |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 16254 |
< |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 16255 |
< |
esac |
| 16256 |
< |
} |
| 16257 |
< |
|
| 16258 |
< |
# sed scripts: |
| 16259 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
| 16260 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
| 16261 |
< |
|
| 16262 |
< |
# func_opt_split |
| 16263 |
< |
func_opt_split () |
| 16264 |
< |
{ |
| 16265 |
< |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 16266 |
< |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 16267 |
< |
} |
| 16268 |
< |
|
| 16269 |
< |
# func_lo2o object |
| 16270 |
< |
func_lo2o () |
| 16271 |
< |
{ |
| 16272 |
< |
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 16273 |
< |
} |
| 16274 |
< |
|
| 16275 |
< |
# func_xform libobj-or-source |
| 16276 |
< |
func_xform () |
| 16277 |
< |
{ |
| 16278 |
< |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
| 16279 |
< |
} |
| 16280 |
< |
|
| 16281 |
< |
# func_arith arithmetic-term... |
| 16282 |
< |
func_arith () |
| 16283 |
< |
{ |
| 16284 |
< |
func_arith_result=`expr "$@"` |
| 16285 |
< |
} |
| 16286 |
< |
|
| 16287 |
< |
# func_len string |
| 16288 |
< |
# STRING may not start with a hyphen. |
| 16289 |
< |
func_len () |
| 16290 |
< |
{ |
| 16291 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
| 16292 |
< |
} |
| 16293 |
< |
|
| 16294 |
< |
_LT_EOF |
| 16295 |
< |
esac |
| 16296 |
< |
|
| 16297 |
< |
case $lt_shell_append in |
| 16298 |
< |
yes) |
| 16299 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16300 |
< |
|
| 16301 |
< |
# func_append var value |
| 16302 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16303 |
< |
func_append () |
| 16304 |
< |
{ |
| 16305 |
< |
eval "$1+=\$2" |
| 16306 |
< |
} |
| 16307 |
< |
_LT_EOF |
| 16308 |
< |
;; |
| 16309 |
< |
*) |
| 16310 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16311 |
< |
|
| 16312 |
< |
# func_append var value |
| 16313 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16314 |
< |
func_append () |
| 16315 |
< |
{ |
| 16316 |
< |
eval "$1=\$$1\$2" |
| 16317 |
< |
} |
| 16318 |
< |
|
| 16319 |
< |
_LT_EOF |
| 16320 |
< |
;; |
| 16321 |
< |
esac |
| 16866 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
| 16867 |
> |
|| (rm -f "$cfgfile"; exit 1) |
| 16868 |
|
|
| 16869 |
+ |
if test x"$xsi_shell" = xyes; then |
| 16870 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 16871 |
+ |
func_dirname ()\ |
| 16872 |
+ |
{\ |
| 16873 |
+ |
\ case ${1} in\ |
| 16874 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16875 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 16876 |
+ |
\ esac\ |
| 16877 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16878 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16879 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16880 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16881 |
+ |
|
| 16882 |
+ |
|
| 16883 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 16884 |
+ |
func_basename ()\ |
| 16885 |
+ |
{\ |
| 16886 |
+ |
\ func_basename_result="${1##*/}"\ |
| 16887 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16888 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16889 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16890 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16891 |
+ |
|
| 16892 |
+ |
|
| 16893 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 16894 |
+ |
func_dirname_and_basename ()\ |
| 16895 |
+ |
{\ |
| 16896 |
+ |
\ case ${1} in\ |
| 16897 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16898 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 16899 |
+ |
\ esac\ |
| 16900 |
+ |
\ func_basename_result="${1##*/}"\ |
| 16901 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16902 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16903 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16904 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16905 |
+ |
|
| 16906 |
+ |
|
| 16907 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 16908 |
+ |
func_stripname ()\ |
| 16909 |
+ |
{\ |
| 16910 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 16911 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
| 16912 |
+ |
\ func_stripname_result=${3}\ |
| 16913 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 16914 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 16915 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16916 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16917 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16918 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16919 |
+ |
|
| 16920 |
+ |
|
| 16921 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 16922 |
+ |
func_split_long_opt ()\ |
| 16923 |
+ |
{\ |
| 16924 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
| 16925 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
| 16926 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16927 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16928 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16929 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16930 |
+ |
|
| 16931 |
+ |
|
| 16932 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 16933 |
+ |
func_split_short_opt ()\ |
| 16934 |
+ |
{\ |
| 16935 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
| 16936 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 16937 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16938 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16939 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16940 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16941 |
+ |
|
| 16942 |
+ |
|
| 16943 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 16944 |
+ |
func_lo2o ()\ |
| 16945 |
+ |
{\ |
| 16946 |
+ |
\ case ${1} in\ |
| 16947 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 16948 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
| 16949 |
+ |
\ esac\ |
| 16950 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16951 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16952 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16953 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16954 |
+ |
|
| 16955 |
+ |
|
| 16956 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 16957 |
+ |
func_xform ()\ |
| 16958 |
+ |
{\ |
| 16959 |
+ |
func_xform_result=${1%.*}.lo\ |
| 16960 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16961 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16962 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16963 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16964 |
+ |
|
| 16965 |
+ |
|
| 16966 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 16967 |
+ |
func_arith ()\ |
| 16968 |
+ |
{\ |
| 16969 |
+ |
func_arith_result=$(( $* ))\ |
| 16970 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16971 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16972 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16973 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16974 |
+ |
|
| 16975 |
+ |
|
| 16976 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 16977 |
+ |
func_len ()\ |
| 16978 |
+ |
{\ |
| 16979 |
+ |
func_len_result=${#1}\ |
| 16980 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16981 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16982 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16983 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16984 |
+ |
|
| 16985 |
+ |
fi |
| 16986 |
+ |
|
| 16987 |
+ |
if test x"$lt_shell_append" = xyes; then |
| 16988 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 16989 |
+ |
func_append ()\ |
| 16990 |
+ |
{\ |
| 16991 |
+ |
eval "${1}+=\\${2}"\ |
| 16992 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16993 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16994 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16995 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16996 |
+ |
|
| 16997 |
+ |
|
| 16998 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 16999 |
+ |
func_append_quoted ()\ |
| 17000 |
+ |
{\ |
| 17001 |
+ |
\ func_quote_for_eval "${2}"\ |
| 17002 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 17003 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17004 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17005 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17006 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17007 |
+ |
|
| 17008 |
+ |
|
| 17009 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
| 17010 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 17011 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17012 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17013 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17014 |
+ |
else |
| 17015 |
+ |
# Save a `func_append' function call even when '+=' is not available |
| 17016 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| 17017 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17018 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17019 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17020 |
+ |
fi |
| 17021 |
+ |
|
| 17022 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
| 17023 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
| 17024 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| 17025 |
+ |
fi |
| 17026 |
|
|
| 16324 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
| 16325 |
– |
|| (rm -f "$cfgfile"; exit 1) |
| 17027 |
|
|
| 17028 |
< |
mv -f "$cfgfile" "$ofile" || |
| 17028 |
> |
mv -f "$cfgfile" "$ofile" || |
| 17029 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 17030 |
|
chmod +x "$ofile" |
| 17031 |
|
|