version 1.1.1.1, 2012/02/21 23:37:58
|
version 1.1.1.2, 2013/07/22 01:22:21
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.66. | # Generated by GNU Autoconf 2.68. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Line 89 fi
|
Line 89 fi
|
IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
|
|
# Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
|
as_myself= |
case $0 in #(( |
case $0 in #(( |
*[\\/]* ) as_myself=$0 ;; |
*[\\/]* ) as_myself=$0 ;; |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
Line 171 test x\$exitcode = x0 || exit 1"
|
Line 172 test x\$exitcode = x0 || exit 1"
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
test \$(( 1 + 1 )) = 2 || exit 1 |
|
|
|
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
Line 179 test \$(( 1 + 1 )) = 2 || exit 1
|
Line 179 test \$(( 1 + 1 )) = 2 || exit 1
|
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
PATH=/empty FPATH=/empty; export PATH FPATH |
PATH=/empty FPATH=/empty; export PATH FPATH |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| test \$(( 1 + 1 )) = 2 || exit 1" |
if (eval "$as_required") 2>/dev/null; then : |
if (eval "$as_required") 2>/dev/null; then : |
as_have_required=yes |
as_have_required=yes |
else |
else |
Line 222 IFS=$as_save_IFS
|
Line 223 IFS=$as_save_IFS
|
# We cannot yet assume a decent shell, so we have to provide a |
# We cannot yet assume a decent shell, so we have to provide a |
# neutralization value for shells without unset; and this also |
# neutralization value for shells without unset; and this also |
# works around shells that cannot unset nonexistent variables. |
# works around shells that cannot unset nonexistent variables. |
|
# Preserve -v and -x to the replacement shell. |
BASH_ENV=/dev/null |
BASH_ENV=/dev/null |
ENV=/dev/null |
ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | case $- in # (((( |
| *v*x* | *x*v* ) as_opts=-vx ;; |
| *v* ) as_opts=-v ;; |
| *x* ) as_opts=-x ;; |
| * ) as_opts= ;; |
| esac |
| exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
fi |
fi |
|
|
if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
Line 699 pythondir
|
Line 707 pythondir
|
WITH_PYTHON_FALSE |
WITH_PYTHON_FALSE |
WITH_PYTHON_TRUE |
WITH_PYTHON_TRUE |
PYTHON |
PYTHON |
|
WITH_LZMA |
|
LZMA_LIBS |
|
LZMA_CFLAGS |
WITH_ZLIB |
WITH_ZLIB |
Z_LIBS |
Z_LIBS |
Z_CFLAGS |
Z_CFLAGS |
Line 713 OTOOL
|
Line 724 OTOOL
|
LIPO |
LIPO |
NMEDIT |
NMEDIT |
DSYMUTIL |
DSYMUTIL |
|
MANIFEST_TOOL |
RANLIB |
RANLIB |
|
ac_ct_AR |
AR |
AR |
LN_S |
LN_S |
NM |
NM |
Line 721 ac_ct_DUMPBIN
|
Line 734 ac_ct_DUMPBIN
|
DUMPBIN |
DUMPBIN |
LD |
LD |
FGREP |
FGREP |
|
EGREP |
|
GREP |
SED |
SED |
LIBTOOL |
LIBTOOL |
OBJDUMP |
OBJDUMP |
DLLTOOL |
DLLTOOL |
AS |
AS |
ANSI2KNR |
|
U |
|
EGREP |
|
GREP |
|
XSLTPROC |
XSLTPROC |
XMLLINT |
XMLLINT |
WGET |
WGET |
Line 754 CPPFLAGS
|
Line 765 CPPFLAGS
|
LDFLAGS |
LDFLAGS |
CFLAGS |
CFLAGS |
CC |
CC |
|
AM_BACKSLASH |
|
AM_DEFAULT_VERBOSITY |
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 833 SHELL'
|
Line 846 SHELL'
|
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_silent_rules |
enable_dependency_tracking |
enable_dependency_tracking |
enable_shared |
enable_shared |
enable_static |
enable_static |
with_pic |
with_pic |
enable_fast_install |
enable_fast_install |
with_gnu_ld |
with_gnu_ld |
|
with_sysroot |
enable_libtool_lock |
enable_libtool_lock |
with_c14n |
with_c14n |
with_catalog |
with_catalog |
Line 878 with_xpath
|
Line 893 with_xpath
|
with_xptr |
with_xptr |
with_modules |
with_modules |
with_zlib |
with_zlib |
|
with_lzma |
with_coverage |
with_coverage |
enable_rebuild_docs |
enable_rebuild_docs |
enable_ipv6 |
enable_ipv6 |
Line 953 do
|
Line 969 do
|
fi |
fi |
|
|
case $ac_option in |
case $ac_option in |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
*) ac_optarg=yes ;; | *=) ac_optarg= ;; |
| *) ac_optarg=yes ;; |
esac |
esac |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
Line 1294 Try \`$0 --help' for more information"
|
Line 1311 Try \`$0 --help' for more information"
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
;; |
;; |
|
|
esac |
esac |
Line 1508 Optional Features:
|
Line 1525 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
--enable-silent-rules less verbose build output (undo: `make V=1') |
|
--disable-silent-rules verbose build output (undo: `make V=0') |
--disable-dependency-tracking speeds up one-time build |
--disable-dependency-tracking speeds up one-time build |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-shared[=PKGS] build shared libraries [default=yes] |
Line 1524 Optional Packages:
|
Line 1543 Optional Packages:
|
--with-pic try to use only PIC/non-PIC objects [default=use |
--with-pic try to use only PIC/non-PIC objects [default=use |
both] |
both] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
--with-sysroot=DIR Search for dependent libraries within DIR |
|
(or the compiler's sysroot if not specified). |
--with-c14n add the Canonicalization support (on) |
--with-c14n add the Canonicalization support (on) |
--with-catalog add the Catalog support (on) |
--with-catalog add the Catalog support (on) |
--with-debug add the debugging module (on) |
--with-debug add the debugging module (on) |
Line 1564 Optional Packages:
|
Line 1585 Optional Packages:
|
--with-xptr add the XPointer support (on) |
--with-xptr add the XPointer support (on) |
--with-modules add the dynamic modules support (on) |
--with-modules add the dynamic modules support (on) |
--with-zlib[=DIR] use libz in DIR |
--with-zlib[=DIR] use libz in DIR |
|
--with-lzma[=DIR] use liblzma in DIR |
--with-coverage build for code coverage with GCC (off) |
--with-coverage build for code coverage with GCC (off) |
|
|
Some influential environment variables: |
Some influential environment variables: |
Line 1643 test -n "$ac_init_help" && exit $ac_status
|
Line 1665 test -n "$ac_init_help" && exit $ac_status
|
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
configure |
configure |
generated by GNU Autoconf 2.66 | generated by GNU Autoconf 2.68 |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
Line 1689 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 1711 sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
ac_retval=1 |
ac_retval=1 |
fi |
fi |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
as_fn_set_status $ac_retval |
as_fn_set_status $ac_retval |
|
|
} # ac_fn_c_try_compile |
} # ac_fn_c_try_compile |
Line 1715 $as_echo "$ac_try_echo"; } >&5
|
Line 1737 $as_echo "$ac_try_echo"; } >&5
|
mv -f conftest.er1 conftest.err |
mv -f conftest.er1 conftest.err |
fi |
fi |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } >/dev/null && { | test $ac_status = 0; } > conftest.i && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
}; then : |
}; then : |
Line 1726 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 1748 sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
ac_retval=1 |
ac_retval=1 |
fi |
fi |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
as_fn_set_status $ac_retval |
as_fn_set_status $ac_retval |
|
|
} # ac_fn_c_try_cpp |
} # ac_fn_c_try_cpp |
|
|
# ac_fn_c_try_run LINENO | # ac_fn_c_try_link LINENO |
# ---------------------- | # ----------------------- |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | # Try to link conftest.$ac_ext, and return whether this succeeded. |
# that executables *can* be run. | ac_fn_c_try_link () |
ac_fn_c_try_run () | |
{ |
{ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
if { { ac_try="$ac_link" |
if { { ac_try="$ac_link" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
Line 1745 case "(($ac_try" in
|
Line 1767 case "(($ac_try" in
|
esac |
esac |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
$as_echo "$ac_try_echo"; } >&5 |
$as_echo "$ac_try_echo"; } >&5 |
(eval "$ac_link") 2>&5 | (eval "$ac_link") 2>conftest.err |
ac_status=$? |
ac_status=$? |
|
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | test $ac_status = 0; } && { |
{ { case "(($ac_try" in | test -z "$ac_c_werror_flag" || |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | test ! -s conftest.err |
*) ac_try_echo=$ac_try;; | } && test -s conftest$ac_exeext && { |
esac | test "$cross_compiling" = yes || |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | $as_test_x conftest$ac_exeext |
$as_echo "$ac_try_echo"; } >&5 | }; then : |
(eval "$ac_try") 2>&5 | |
ac_status=$? | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
test $ac_status = 0; }; }; then : | |
ac_retval=0 |
ac_retval=0 |
else |
else |
$as_echo "$as_me: program exited with status $ac_status" >&5 | $as_echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 | |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_retval=$ac_status | ac_retval=1 |
fi |
fi |
|
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
# interfere with the next link command; also delete a directory that is |
|
# left behind by Apple's compiler. We do this before executing the actions. |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
as_fn_set_status $ac_retval |
as_fn_set_status $ac_retval |
|
|
} # ac_fn_c_try_run | } # ac_fn_c_try_link |
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
# the include files in INCLUDES and setting the cache variable VAR |
|
# accordingly. |
|
ac_fn_c_check_header_mongrel () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if eval "test \"\${$3+set}\"" = set; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval "test \"\${$3+set}\"" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
else |
|
# Is the header compilable? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
$as_echo_n "checking $2 usability... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_header_compiler=yes |
|
else |
|
ac_header_compiler=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
$as_echo "$ac_header_compiler" >&6; } |
|
|
|
# Is the header present? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
$as_echo_n "checking $2 presence... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_cpp "$LINENO"; then : |
|
ac_header_preproc=yes |
|
else |
|
ac_header_preproc=no |
|
fi |
|
rm -f conftest.err conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
$as_echo "$ac_header_preproc" >&6; } |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
yes:no: ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
no:yes:* ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval "test \"\${$3+set}\"" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=\$ac_header_compiler" |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
fi |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
|
} # ac_fn_c_check_header_mongrel |
|
|
|
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
# ------------------------------------------------------- |
# ------------------------------------------------------- |
# Tests whether HEADER exists and can be compiled using the include files in |
# Tests whether HEADER exists and can be compiled using the include files in |
Line 1869 ac_fn_c_check_header_compile ()
|
Line 1808 ac_fn_c_check_header_compile ()
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
$as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
if eval "test \"\${$3+set}\"" = set; then : | if eval \${$3+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 1887 fi
|
Line 1826 fi
|
eval ac_res=\$$3 |
eval ac_res=\$$3 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
$as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
} # ac_fn_c_check_header_compile |
} # ac_fn_c_check_header_compile |
|
|
# ac_fn_c_try_link LINENO | # ac_fn_c_try_run LINENO |
# ----------------------- | # ---------------------- |
# Try to link conftest.$ac_ext, and return whether this succeeded. | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
ac_fn_c_try_link () | # that executables *can* be run. |
| ac_fn_c_try_run () |
{ |
{ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { { ac_try="$ac_link" |
if { { ac_try="$ac_link" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
Line 1905 case "(($ac_try" in
|
Line 1844 case "(($ac_try" in
|
esac |
esac |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
$as_echo "$ac_try_echo"; } >&5 |
$as_echo "$ac_try_echo"; } >&5 |
(eval "$ac_link") 2>conftest.err | (eval "$ac_link") 2>&5 |
ac_status=$? |
ac_status=$? |
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } && { | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
test -z "$ac_c_werror_flag" || | { { case "(($ac_try" in |
test ! -s conftest.err | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
} && test -s conftest$ac_exeext && { | *) ac_try_echo=$ac_try;; |
test "$cross_compiling" = yes || | esac |
$as_test_x conftest$ac_exeext | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
}; then : | $as_echo "$ac_try_echo"; } >&5 |
| (eval "$ac_try") 2>&5 |
| ac_status=$? |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| test $ac_status = 0; }; }; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
$as_echo "$as_me: failed program was:" >&5 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| $as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_retval=1 | ac_retval=$ac_status |
fi |
fi |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
# interfere with the next link command; also delete a directory that is |
|
# left behind by Apple's compiler. We do this before executing the actions. |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
as_fn_set_status $ac_retval |
as_fn_set_status $ac_retval |
|
|
} # ac_fn_c_try_link | } # ac_fn_c_try_run |
|
|
# ac_fn_c_check_func LINENO FUNC VAR |
# ac_fn_c_check_func LINENO FUNC VAR |
# ---------------------------------- |
# ---------------------------------- |
Line 1945 ac_fn_c_check_func ()
|
Line 1880 ac_fn_c_check_func ()
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
$as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
if eval "test \"\${$3+set}\"" = set; then : | if eval \${$3+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 2000 fi
|
Line 1935 fi
|
eval ac_res=\$$3 |
eval ac_res=\$$3 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
$as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
} # ac_fn_c_check_func |
} # ac_fn_c_check_func |
|
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
# ------------------------------------------------------- |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
# the include files in INCLUDES and setting the cache variable VAR |
|
# accordingly. |
|
ac_fn_c_check_header_mongrel () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if eval \${$3+:} false; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
else |
|
# Is the header compilable? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
$as_echo_n "checking $2 usability... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_header_compiler=yes |
|
else |
|
ac_header_compiler=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
$as_echo "$ac_header_compiler" >&6; } |
|
|
|
# Is the header present? |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
$as_echo_n "checking $2 presence... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <$2> |
|
_ACEOF |
|
if ac_fn_c_try_cpp "$LINENO"; then : |
|
ac_header_preproc=yes |
|
else |
|
ac_header_preproc=no |
|
fi |
|
rm -f conftest.err conftest.i conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
$as_echo "$ac_header_preproc" >&6; } |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
yes:no: ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
no:yes:* ) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
;; |
|
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=\$ac_header_compiler" |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
fi |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_header_mongrel |
cat >config.log <<_ACEOF |
cat >config.log <<_ACEOF |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by $as_me, which was |
It was created by $as_me, which was |
generated by GNU Autoconf 2.66. Invocation command line was | generated by GNU Autoconf 2.68. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 |
|
Line 2415 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
$as_echo_n "checking build system type... " >&6; } |
$as_echo_n "checking build system type... " >&6; } |
if test "${ac_cv_build+set}" = set; then : | if ${ac_cv_build+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_build_alias=$build_alias |
ac_build_alias=$build_alias |
Line 2427 case $build_os in *\ *) build_os=`echo "$build_os" | s
|
Line 2449 case $build_os in *\ *) build_os=`echo "$build_os" | s
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
$as_echo_n "checking host system type... " >&6; } |
$as_echo_n "checking host system type... " >&6; } |
if test "${ac_cv_host+set}" = set; then : | if ${ac_cv_host+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test "x$host_alias" = x; then |
if test "x$host_alias" = x; then |
Line 2460 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
Line 2482 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
|
|
|
|
LIBXML_MAJOR_VERSION=2 |
LIBXML_MAJOR_VERSION=2 |
LIBXML_MINOR_VERSION=7 | LIBXML_MINOR_VERSION=8 |
LIBXML_MICRO_VERSION=8 | LIBXML_MICRO_VERSION=0 |
LIBXML_MICRO_VERSION_SUFFIX= |
LIBXML_MICRO_VERSION_SUFFIX= |
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX |
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX |
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION |
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION |
Line 2483 else if test -d .svn ; then
|
Line 2505 else if test -d .svn ; then
|
LIBXML_VERSION_EXTRA="-SVN$extra" |
LIBXML_VERSION_EXTRA="-SVN$extra" |
fi |
fi |
else if test -d .git ; then |
else if test -d .git ; then |
extra=`git describe | sed 's+LIBXML[0-9.]*-++'` | extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'` |
echo extra=$extra |
echo extra=$extra |
if test "$extra" != "" |
if test "$extra" != "" |
then |
then |
Line 2521 am__api_version='1.11'
|
Line 2543 am__api_version='1.11'
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
if test "${ac_cv_path_install+set}" = set; then : | if ${ac_cv_path_install+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
Line 2698 if test "$cross_compiling" != no; then
|
Line 2720 if test "$cross_compiling" != no; then
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_STRIP+set}" = set; then : | if ${ac_cv_prog_STRIP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$STRIP"; then |
if test -n "$STRIP"; then |
Line 2738 if test -z "$ac_cv_prog_STRIP"; then
|
Line 2760 if test -z "$ac_cv_prog_STRIP"; then
|
set dummy strip; ac_word=$2 |
set dummy strip; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_STRIP"; then |
if test -n "$ac_ct_STRIP"; then |
Line 2791 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
Line 2813 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
if test -z "$MKDIR_P"; then |
if test -z "$MKDIR_P"; then |
if test "${ac_cv_path_mkdir+set}" = set; then : | if ${ac_cv_path_mkdir+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
Line 2842 do
|
Line 2864 do
|
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_AWK+set}" = set; then : | if ${ac_cv_prog_AWK+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
Line 2882 done
|
Line 2904 done
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
set x ${MAKE-make} |
set x ${MAKE-make} |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat >conftest.make <<\_ACEOF |
cat >conftest.make <<\_ACEOF |
Line 2981 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMT
|
Line 3003 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMT
|
|
|
|
|
|
|
|
# Support silent build rules, requires at least automake-1.11. Disable |
|
# by either passing --disable-silent-rules to configure or passing V=1 |
|
# to make |
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=0;; |
|
esac |
|
AM_BACKSLASH='\' |
|
|
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 2991 if test -n "$ac_tool_prefix"; then
|
Line 3029 if test -n "$ac_tool_prefix"; then
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
Line 3031 if test -z "$ac_cv_prog_CC"; then
|
Line 3069 if test -z "$ac_cv_prog_CC"; then
|
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
Line 3084 if test -z "$CC"; then
|
Line 3122 if test -z "$CC"; then
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
Line 3124 if test -z "$CC"; then
|
Line 3162 if test -z "$CC"; then
|
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
Line 3183 if test -z "$CC"; then
|
Line 3221 if test -z "$CC"; then
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
Line 3227 do
|
Line 3265 do
|
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
Line 3510 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.
|
Line 3548 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.
|
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
$as_echo_n "checking for suffix of object files... " >&6; } |
$as_echo_n "checking for suffix of object files... " >&6; } |
if test "${ac_cv_objext+set}" = set; then : | if ${ac_cv_objext+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 3561 OBJEXT=$ac_cv_objext
|
Line 3599 OBJEXT=$ac_cv_objext
|
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : | if ${ac_cv_c_compiler_gnu+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 3598 ac_test_CFLAGS=${CFLAGS+set}
|
Line 3636 ac_test_CFLAGS=${CFLAGS+set}
|
ac_save_CFLAGS=$CFLAGS |
ac_save_CFLAGS=$CFLAGS |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
if test "${ac_cv_prog_cc_g+set}" = set; then : | if ${ac_cv_prog_cc_g+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_save_c_werror_flag=$ac_c_werror_flag |
ac_save_c_werror_flag=$ac_c_werror_flag |
Line 3676 else
|
Line 3714 else
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
if test "${ac_cv_prog_cc_c89+set}" = set; then : | if ${ac_cv_prog_cc_c89+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_cv_prog_cc_c89=no |
ac_cv_prog_cc_c89=no |
Line 3837 depcc="$CC" am_compiler_list=
|
Line 3875 depcc="$CC" am_compiler_list=
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
Line 3974 if test -n "$CPP" && test -d "$CPP"; then
|
Line 4012 if test -n "$CPP" && test -d "$CPP"; then
|
CPP= |
CPP= |
fi |
fi |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
if test "${ac_cv_prog_CPP+set}" = set; then : | if ${ac_cv_prog_CPP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
# Double quotes because CPP needs to be expanded |
# Double quotes because CPP needs to be expanded |
Line 4004 else
|
Line 4042 else
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
# OK, works on sane cases. Now check whether nonexistent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
# can be detected and how. |
# can be detected and how. |
Line 4020 else
|
Line 4058 else
|
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
fi |
fi |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
done |
done |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.i conftest.err conftest.$ac_ext |
if $ac_preproc_ok; then : |
if $ac_preproc_ok; then : |
break |
break |
fi |
fi |
Line 4063 else
|
Line 4101 else
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
# OK, works on sane cases. Now check whether nonexistent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
# can be detected and how. |
# can be detected and how. |
Line 4079 else
|
Line 4117 else
|
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
fi |
fi |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
done |
done |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
rm -f conftest.err conftest.$ac_ext | rm -f conftest.i conftest.err conftest.$ac_ext |
if $ac_preproc_ok; then : |
if $ac_preproc_ok; then : |
|
|
else |
else |
Line 4103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 4141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
set dummy rm; ac_word=$2 |
set dummy rm; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_RM+set}" = set; then : | if ${ac_cv_path_RM+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $RM in |
case $RM in |
Line 4144 fi
|
Line 4182 fi
|
set dummy mv; ac_word=$2 |
set dummy mv; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_MV+set}" = set; then : | if ${ac_cv_path_MV+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $MV in |
case $MV in |
Line 4185 fi
|
Line 4223 fi
|
set dummy tar; ac_word=$2 |
set dummy tar; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_TAR+set}" = set; then : | if ${ac_cv_path_TAR+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $TAR in |
case $TAR in |
Line 4226 fi
|
Line 4264 fi
|
set dummy perl; ac_word=$2 |
set dummy perl; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_PERL+set}" = set; then : | if ${ac_cv_path_PERL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $PERL in |
case $PERL in |
Line 4267 fi
|
Line 4305 fi
|
set dummy wget; ac_word=$2 |
set dummy wget; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_WGET+set}" = set; then : | if ${ac_cv_path_WGET+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $WGET in |
case $WGET in |
Line 4308 fi
|
Line 4346 fi
|
set dummy xmllint; ac_word=$2 |
set dummy xmllint; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_XMLLINT+set}" = set; then : | if ${ac_cv_path_XMLLINT+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $XMLLINT in |
case $XMLLINT in |
Line 4349 fi
|
Line 4387 fi
|
set dummy xsltproc; ac_word=$2 |
set dummy xsltproc; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_XSLTPROC+set}" = set; then : | if ${ac_cv_path_XSLTPROC+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $XSLTPROC in |
case $XSLTPROC in |
Line 4387 fi
|
Line 4425 fi
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
|
$as_echo_n "checking for function prototypes... " >&6; } |
|
if test "$ac_cv_prog_cc_c89" != no; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
$as_echo "#define PROTOTYPES 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define __PROTOTYPES 1" >>confdefs.h |
|
|
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
if test "${ac_cv_path_GREP+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -z "$GREP"; then |
|
ac_path_GREP_found=false |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in grep ggrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
# Check for GNU ac_path_GREP and select it if it is found. |
|
# Check for GNU $ac_path_GREP |
|
case `"$ac_path_GREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
*) |
|
ac_count=0 |
|
$as_echo_n 0123456789 >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
$as_echo 'GREP' >> "conftest.nl" |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_GREP="$ac_path_GREP" |
|
ac_path_GREP_max=$ac_count |
|
fi |
|
# 10*(2^10) chars as input seems more than enough |
|
test $ac_count -gt 10 && break |
|
done |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
$ac_path_GREP_found && break 3 |
|
done |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_GREP"; then |
|
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
fi |
|
else |
|
ac_cv_path_GREP=$GREP |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
$as_echo "$ac_cv_path_GREP" >&6; } |
|
GREP="$ac_cv_path_GREP" |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
$as_echo_n "checking for egrep... " >&6; } |
|
if test "${ac_cv_path_EGREP+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
then ac_cv_path_EGREP="$GREP -E" |
|
else |
|
if test -z "$EGREP"; then |
|
ac_path_EGREP_found=false |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in egrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
|
# Check for GNU $ac_path_EGREP |
|
case `"$ac_path_EGREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
*) |
|
ac_count=0 |
|
$as_echo_n 0123456789 >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
$as_echo 'EGREP' >> "conftest.nl" |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
|
ac_path_EGREP_max=$ac_count |
|
fi |
|
# 10*(2^10) chars as input seems more than enough |
|
test $ac_count -gt 10 && break |
|
done |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
$ac_path_EGREP_found && break 3 |
|
done |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_EGREP"; then |
|
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
fi |
|
else |
|
ac_cv_path_EGREP=$EGREP |
|
fi |
|
|
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
EGREP="$ac_cv_path_EGREP" |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
if test "${ac_cv_header_stdc+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
#include <stdarg.h> |
|
#include <string.h> |
|
#include <float.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_header_stdc=yes |
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <string.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "memchr" >/dev/null 2>&1; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "free" >/dev/null 2>&1; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
if test "$cross_compiling" = yes; then : |
|
: |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <ctype.h> |
|
#include <stdlib.h> |
|
#if ((' ' & 0x0FF) == 0x020) |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
#else |
|
# define ISLOWER(c) \ |
|
(('a' <= (c) && (c) <= 'i') \ |
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|| ('s' <= (c) && (c) <= 'z')) |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
#endif |
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
int |
|
main () |
|
{ |
|
int i; |
|
for (i = 0; i < 256; i++) |
|
if (XOR (islower (i), ISLOWER (i)) |
|
|| toupper (i) != TOUPPER (i)) |
|
return 2; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
$as_echo "$ac_cv_header_stdc" >&6; } |
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
|
fi |
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
inttypes.h stdint.h unistd.h |
|
do : |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
" |
|
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
if test "$ac_cv_prog_cc_stdc" != no; then |
|
U= ANSI2KNR= |
|
else |
|
U=_ ANSI2KNR=./ansi2knr |
|
fi |
|
# Ensure some checks needed by ansi2knr itself. |
|
|
|
for ac_header in string.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_string_h" = x""yes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRING_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5 |
|
|
|
enable_win32_dll=yes |
enable_win32_dll=yes |
|
|
case $host in |
case $host in |
Line 4696 case $host in
|
Line 4434 case $host in
|
set dummy ${ac_tool_prefix}as; ac_word=$2 |
set dummy ${ac_tool_prefix}as; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_AS+set}" = set; then : | if ${ac_cv_prog_AS+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$AS"; then |
if test -n "$AS"; then |
Line 4736 if test -z "$ac_cv_prog_AS"; then
|
Line 4474 if test -z "$ac_cv_prog_AS"; then
|
set dummy as; ac_word=$2 |
set dummy as; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : | if ${ac_cv_prog_ac_ct_AS+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_AS"; then |
if test -n "$ac_ct_AS"; then |
Line 4788 fi
|
Line 4526 fi
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_DLLTOOL+set}" = set; then : | if ${ac_cv_prog_DLLTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$DLLTOOL"; then |
if test -n "$DLLTOOL"; then |
Line 4828 if test -z "$ac_cv_prog_DLLTOOL"; then
|
Line 4566 if test -z "$ac_cv_prog_DLLTOOL"; then
|
set dummy dlltool; ac_word=$2 |
set dummy dlltool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : | if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_DLLTOOL"; then |
if test -n "$ac_ct_DLLTOOL"; then |
Line 4880 fi
|
Line 4618 fi
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : | if ${ac_cv_prog_OBJDUMP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$OBJDUMP"; then |
if test -n "$OBJDUMP"; then |
Line 4920 if test -z "$ac_cv_prog_OBJDUMP"; then
|
Line 4658 if test -z "$ac_cv_prog_OBJDUMP"; then
|
set dummy objdump; ac_word=$2 |
set dummy objdump; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_OBJDUMP"; then |
if test -n "$ac_ct_OBJDUMP"; then |
Line 4998 esac
|
Line 4736 esac
|
|
|
|
|
|
|
macro_version='2.2.10' | macro_version='2.4' |
macro_revision='1.3175' | macro_revision='1.3293' |
|
|
|
|
|
|
Line 5039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
Line 4777 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
$as_echo_n "checking how to print strings... " >&6; } |
$as_echo_n "checking how to print strings... " >&6; } |
# Test print first, because it will be a builtin if present. |
# Test print first, because it will be a builtin if present. |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ | if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
ECHO='print -r --' |
ECHO='print -r --' |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
Line 5086 esac
|
Line 4824 esac
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
if test "${ac_cv_path_SED+set}" = set; then : | if ${ac_cv_path_SED+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
Line 5166 Xsed="$SED -e 1s/^X//"
|
Line 4904 Xsed="$SED -e 1s/^X//"
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
if ${ac_cv_path_GREP+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -z "$GREP"; then |
|
ac_path_GREP_found=false |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in grep ggrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
# Check for GNU ac_path_GREP and select it if it is found. |
|
# Check for GNU $ac_path_GREP |
|
case `"$ac_path_GREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
*) |
|
ac_count=0 |
|
$as_echo_n 0123456789 >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
$as_echo 'GREP' >> "conftest.nl" |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_GREP="$ac_path_GREP" |
|
ac_path_GREP_max=$ac_count |
|
fi |
|
# 10*(2^10) chars as input seems more than enough |
|
test $ac_count -gt 10 && break |
|
done |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
$ac_path_GREP_found && break 3 |
|
done |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_GREP"; then |
|
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
fi |
|
else |
|
ac_cv_path_GREP=$GREP |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
$as_echo "$ac_cv_path_GREP" >&6; } |
|
GREP="$ac_cv_path_GREP" |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
$as_echo_n "checking for egrep... " >&6; } |
|
if ${ac_cv_path_EGREP+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
then ac_cv_path_EGREP="$GREP -E" |
|
else |
|
if test -z "$EGREP"; then |
|
ac_path_EGREP_found=false |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in egrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
|
# Check for GNU $ac_path_EGREP |
|
case `"$ac_path_EGREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
*) |
|
ac_count=0 |
|
$as_echo_n 0123456789 >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
$as_echo 'EGREP' >> "conftest.nl" |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
|
ac_path_EGREP_max=$ac_count |
|
fi |
|
# 10*(2^10) chars as input seems more than enough |
|
test $ac_count -gt 10 && break |
|
done |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
$ac_path_EGREP_found && break 3 |
|
done |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_EGREP"; then |
|
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
fi |
|
else |
|
ac_cv_path_EGREP=$EGREP |
|
fi |
|
|
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
EGREP="$ac_cv_path_EGREP" |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
$as_echo_n "checking for fgrep... " >&6; } |
$as_echo_n "checking for fgrep... " >&6; } |
if test "${ac_cv_path_FGREP+set}" = set; then : | if ${ac_cv_path_FGREP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
Line 5299 else
|
Line 5167 else
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
$as_echo_n "checking for non-GNU ld... " >&6; } |
fi |
fi |
if test "${lt_cv_path_LD+set}" = set; then : | if ${lt_cv_path_LD+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -z "$LD"; then |
if test -z "$LD"; then |
Line 5339 fi
|
Line 5207 fi
|
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : | if ${lt_cv_prog_gnu_ld+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
Line 5366 with_gnu_ld=$lt_cv_prog_gnu_ld
|
Line 5234 with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
if test "${lt_cv_path_NM+set}" = set; then : | if ${lt_cv_path_NM+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$NM"; then |
if test -n "$NM"; then |
Line 5429 else
|
Line 5297 else
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : | if ${ac_cv_prog_DUMPBIN+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$DUMPBIN"; then |
if test -n "$DUMPBIN"; then |
Line 5473 do
|
Line 5341 do
|
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : | if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_DUMPBIN"; then |
if test -n "$ac_ct_DUMPBIN"; then |
Line 5545 test -z "$NM" && NM=nm
|
Line 5413 test -z "$NM" && NM=nm
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
if test "${lt_cv_nm_interface+set}" = set; then : | if ${lt_cv_nm_interface+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_nm_interface="BSD nm" |
lt_cv_nm_interface="BSD nm" |
Line 5580 fi
|
Line 5448 fi
|
# find the maximum length of command line arguments |
# find the maximum length of command line arguments |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : | if ${lt_cv_sys_max_cmd_len+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
i=0 |
i=0 |
Line 5725 $as_echo_n "checking whether the shell understands som
|
Line 5593 $as_echo_n "checking whether the shell understands som
|
# Try some XSI features |
# Try some XSI features |
xsi_shell=no |
xsi_shell=no |
( _lt_dummy="a/b/c" |
( _lt_dummy="a/b/c" |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ | test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
= c,a/b,, \ | = c,a/b,b/c, \ |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
&& xsi_shell=yes |
&& xsi_shell=yes |
Line 5775 esac
|
Line 5643 esac
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
|
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $host in |
|
*-*-mingw* ) |
|
case $build in |
|
*-*-mingw* ) # actually msys |
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
;; |
|
*-*-cygwin* ) |
|
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
;; |
|
* ) # otherwise, assume *nix |
|
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
;; |
|
esac |
|
;; |
|
*-*-cygwin* ) |
|
case $build in |
|
*-*-mingw* ) # actually msys |
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
;; |
|
*-*-cygwin* ) |
|
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
;; |
|
* ) # otherwise, assume *nix |
|
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
;; |
|
esac |
|
;; |
|
* ) # unhandled hosts (and "normal" native builds) |
|
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
;; |
|
esac |
|
|
|
fi |
|
|
|
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
#assume ordinary cross tools, or native build. |
|
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
case $host in |
|
*-*-mingw* ) |
|
case $build in |
|
*-*-mingw* ) # actually msys |
|
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
;; |
|
esac |
|
;; |
|
esac |
|
|
|
fi |
|
|
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
if test "${lt_cv_ld_reload_flag+set}" = set; then : | if ${lt_cv_ld_reload_flag+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_ld_reload_flag='-r' |
lt_cv_ld_reload_flag='-r' |
Line 5791 case $reload_flag in
|
Line 5733 case $reload_flag in
|
esac |
esac |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
case $host_os in |
case $host_os in |
|
cygwin* | mingw* | pw32* | cegcc*) |
|
if test "$GCC" != yes; then |
|
reload_cmds=false |
|
fi |
|
;; |
darwin*) |
darwin*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
Line 5813 if test -n "$ac_tool_prefix"; then
|
Line 5760 if test -n "$ac_tool_prefix"; then
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : | if ${ac_cv_prog_OBJDUMP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$OBJDUMP"; then |
if test -n "$OBJDUMP"; then |
Line 5853 if test -z "$ac_cv_prog_OBJDUMP"; then
|
Line 5800 if test -z "$ac_cv_prog_OBJDUMP"; then
|
set dummy objdump; ac_word=$2 |
set dummy objdump; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_OBJDUMP"; then |
if test -n "$ac_ct_OBJDUMP"; then |
Line 5909 test -z "$OBJDUMP" && OBJDUMP=objdump
|
Line 5856 test -z "$OBJDUMP" && OBJDUMP=objdump
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
if test "${lt_cv_deplibs_check_method+set}" = set; then : | if ${lt_cv_deplibs_check_method+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
Line 6111 esac
|
Line 6058 esac
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
|
|
file_magic_glob= |
|
want_nocaseglob=no |
|
if test "$build" = "$host"; then |
|
case $host_os in |
|
mingw* | pw32*) |
|
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
want_nocaseglob=yes |
|
else |
|
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
fi |
|
;; |
|
esac |
|
fi |
|
|
file_magic_cmd=$lt_cv_file_magic_cmd |
file_magic_cmd=$lt_cv_file_magic_cmd |
deplibs_check_method=$lt_cv_deplibs_check_method |
deplibs_check_method=$lt_cv_deplibs_check_method |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
Line 6126 test -z "$deplibs_check_method" && deplibs_check_metho
|
Line 6088 test -z "$deplibs_check_method" && deplibs_check_metho
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
set dummy ${ac_tool_prefix}ar; ac_word=$2 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_AR+set}" = set; then : | if ${ac_cv_prog_DLLTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
if test -n "$DLLTOOL"; then |
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
if test -n "$DLLTOOL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
$as_echo "$DLLTOOL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
ac_ct_DLLTOOL=$DLLTOOL |
|
# Extract the first word of "dlltool", so it can be a program name with args. |
|
set dummy dlltool; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_DLLTOOL"; then |
|
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
if test -n "$ac_ct_DLLTOOL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_DLLTOOL" = x; then |
|
DLLTOOL="false" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
DLLTOOL=$ac_ct_DLLTOOL |
|
fi |
|
else |
|
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
fi |
|
|
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
|
|
case $host_os in |
|
cygwin* | mingw* | pw32* | cegcc*) |
|
# two different shell functions defined in ltmain.sh |
|
# decide which to use based on capabilities of $DLLTOOL |
|
case `$DLLTOOL --help 2>&1` in |
|
*--identify-strict*) |
|
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
;; |
|
*) |
|
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
;; |
|
esac |
|
;; |
|
*) |
|
# fallback: assume linklib IS sharedlib |
|
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
|
;; |
|
esac |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
|
for ac_prog in ar |
|
do |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_AR+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
if test -n "$AR"; then |
if test -n "$AR"; then |
ac_cv_prog_AR="$AR" # Let the user override the test. |
ac_cv_prog_AR="$AR" # Let the user override the test. |
else |
else |
Line 6144 do
|
Line 6257 do
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_AR="${ac_tool_prefix}ar" | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
Line 6164 $as_echo "no" >&6; }
|
Line 6277 $as_echo "no" >&6; }
|
fi |
fi |
|
|
|
|
|
test -n "$AR" && break |
|
done |
fi |
fi |
if test -z "$ac_cv_prog_AR"; then | if test -z "$AR"; then |
ac_ct_AR=$AR |
ac_ct_AR=$AR |
# Extract the first word of "ar", so it can be a program name with args. | for ac_prog in ar |
set dummy ar; ac_word=$2 | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_AR"; then |
if test -n "$ac_ct_AR"; then |
Line 6184 do
|
Line 6301 do
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_AR="ar" | ac_cv_prog_ac_ct_AR="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
Line 6203 else
|
Line 6320 else
|
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
|
test -n "$ac_ct_AR" && break |
|
done |
|
|
if test "x$ac_ct_AR" = x; then |
if test "x$ac_ct_AR" = x; then |
AR="false" |
AR="false" |
else |
else |
Line 6214 ac_tool_warned=yes ;;
|
Line 6335 ac_tool_warned=yes ;;
|
esac |
esac |
AR=$ac_ct_AR |
AR=$ac_ct_AR |
fi |
fi |
else |
|
AR="$ac_cv_prog_AR" |
|
fi |
fi |
|
|
test -z "$AR" && AR=ar | : ${AR=ar} |
test -z "$AR_FLAGS" && AR_FLAGS=cru | : ${AR_FLAGS=cru} |
|
|
|
|
|
|
Line 6231 test -z "$AR_FLAGS" && AR_FLAGS=cru
|
Line 6350 test -z "$AR_FLAGS" && AR_FLAGS=cru
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
if ${lt_cv_ar_at_file+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
lt_cv_ar_at_file=no |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
echo conftest.$ac_objext > conftest.lst |
|
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
(eval $lt_ar_try) 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } |
|
if test "$ac_status" -eq 0; then |
|
# Ensure the archiver fails upon bogus file names. |
|
rm -f conftest.$ac_objext libconftest.a |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
(eval $lt_ar_try) 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } |
|
if test "$ac_status" -ne 0; then |
|
lt_cv_ar_at_file=@ |
|
fi |
|
fi |
|
rm -f conftest.* libconftest.a |
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
|
|
if test "x$lt_cv_ar_at_file" = xno; then |
|
archiver_list_spec= |
|
else |
|
archiver_list_spec=$lt_cv_ar_at_file |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_STRIP+set}" = set; then : | if ${ac_cv_prog_STRIP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$STRIP"; then |
if test -n "$STRIP"; then |
Line 6276 if test -z "$ac_cv_prog_STRIP"; then
|
Line 6453 if test -z "$ac_cv_prog_STRIP"; then
|
set dummy strip; ac_word=$2 |
set dummy strip; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_STRIP"; then |
if test -n "$ac_ct_STRIP"; then |
Line 6335 if test -n "$ac_tool_prefix"; then
|
Line 6512 if test -n "$ac_tool_prefix"; then
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_RANLIB+set}" = set; then : | if ${ac_cv_prog_RANLIB+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
Line 6375 if test -z "$ac_cv_prog_RANLIB"; then
|
Line 6552 if test -z "$ac_cv_prog_RANLIB"; then
|
set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
Line 6504 compiler=$CC
|
Line 6681 compiler=$CC
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : | if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
|
Line 6565 esac
|
Line 6742 esac
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
# Transform an extracted symbol line into symbol name and symbol address |
# Transform an extracted symbol line into symbol name and symbol address |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
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'" | 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'" |
|
|
# Handle CRLF in mingw tool chain |
# Handle CRLF in mingw tool chain |
opt_cr= |
opt_cr= |
Line 6602 for ac_symprfx in "" "_"; do
|
Line 6779 for ac_symprfx in "" "_"; do
|
else |
else |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
fi |
fi |
|
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
|
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
pipe_works=no |
pipe_works=no |
Line 6643 _LT_EOF
|
Line 6821 _LT_EOF
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
cat <<_LT_EOF > conftest.$ac_ext |
cat <<_LT_EOF > conftest.$ac_ext |
|
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
|
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
|
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
|
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
# define LT_DLSYM_CONST |
|
#elif defined(__osf__) |
|
/* This system does not cope well with relocations in const data. */ |
|
# define LT_DLSYM_CONST |
|
#else |
|
# define LT_DLSYM_CONST const |
|
#endif |
|
|
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" { |
extern "C" { |
#endif |
#endif |
Line 6654 _LT_EOF
|
Line 6844 _LT_EOF
|
cat <<_LT_EOF >> conftest.$ac_ext |
cat <<_LT_EOF >> conftest.$ac_ext |
|
|
/* The mapping between symbol names and symbols. */ |
/* The mapping between symbol names and symbols. */ |
const struct { | LT_DLSYM_CONST struct { |
const char *name; |
const char *name; |
void *address; |
void *address; |
} |
} |
Line 6680 static const void *lt_preloaded_setup() {
|
Line 6870 static const void *lt_preloaded_setup() {
|
_LT_EOF |
_LT_EOF |
# Now try linking the two files. |
# Now try linking the two files. |
mv conftest.$ac_objext conftstm.$ac_objext |
mv conftest.$ac_objext conftstm.$ac_objext |
lt_save_LIBS="$LIBS" | lt_globsym_save_LIBS=$LIBS |
lt_save_CFLAGS="$CFLAGS" | lt_globsym_save_CFLAGS=$CFLAGS |
LIBS="conftstm.$ac_objext" |
LIBS="conftstm.$ac_objext" |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
Line 6691 _LT_EOF
|
Line 6881 _LT_EOF
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
pipe_works=yes |
pipe_works=yes |
fi |
fi |
LIBS="$lt_save_LIBS" | LIBS=$lt_globsym_save_LIBS |
CFLAGS="$lt_save_CFLAGS" | CFLAGS=$lt_globsym_save_CFLAGS |
else |
else |
echo "cannot find nm_test_func in $nlist" >&5 |
echo "cannot find nm_test_func in $nlist" >&5 |
fi |
fi |
Line 6729 else
|
Line 6919 else
|
$as_echo "ok" >&6; } |
$as_echo "ok" >&6; } |
fi |
fi |
|
|
|
# Response file support. |
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
nm_file_list_spec='@' |
|
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
nm_file_list_spec='@' |
|
fi |
|
|
|
|
|
|
Line 6750 fi
|
Line 6946 fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
$as_echo_n "checking for sysroot... " >&6; } |
|
|
|
# Check whether --with-sysroot was given. |
|
if test "${with_sysroot+set}" = set; then : |
|
withval=$with_sysroot; |
|
else |
|
with_sysroot=no |
|
fi |
|
|
|
|
|
lt_sysroot= |
|
case ${with_sysroot} in #( |
|
yes) |
|
if test "$GCC" = yes; then |
|
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
fi |
|
;; #( |
|
/*) |
|
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
;; #( |
|
no|'') |
|
;; #( |
|
*) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
|
$as_echo "${with_sysroot}" >&6; } |
|
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
;; |
|
esac |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
$as_echo "${lt_sysroot:-no}" >&6; } |
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-libtool-lock was given. |
# Check whether --enable-libtool-lock was given. |
if test "${enable_libtool_lock+set}" = set; then : |
if test "${enable_libtool_lock+set}" = set; then : |
enableval=$enable_libtool_lock; |
enableval=$enable_libtool_lock; |
Line 6875 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
Line 7114 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
CFLAGS="$CFLAGS -belf" |
CFLAGS="$CFLAGS -belf" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
if test "${lt_cv_cc_needs_belf+set}" = set; then : | if ${lt_cv_cc_needs_belf+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_ext=c |
ac_ext=c |
Line 6943 esac
|
Line 7182 esac
|
|
|
need_locks="$enable_libtool_lock" |
need_locks="$enable_libtool_lock" |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$MANIFEST_TOOL"; then |
|
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
if test -n "$MANIFEST_TOOL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
$as_echo "$MANIFEST_TOOL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
# Extract the first word of "mt", so it can be a program name with args. |
|
set dummy mt; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
MANIFEST_TOOL=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
fi |
|
else |
|
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
fi |
|
|
|
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
lt_cv_path_mainfest_tool=no |
|
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
cat conftest.err >&5 |
|
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
lt_cv_path_mainfest_tool=yes |
|
fi |
|
rm -f conftest* |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
|
MANIFEST_TOOL=: |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
case $host_os in |
case $host_os in |
rhapsody* | darwin*) |
rhapsody* | darwin*) |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
Line 6951 need_locks="$enable_libtool_lock"
|
Line 7307 need_locks="$enable_libtool_lock"
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : | if ${ac_cv_prog_DSYMUTIL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$DSYMUTIL"; then |
if test -n "$DSYMUTIL"; then |
Line 6991 if test -z "$ac_cv_prog_DSYMUTIL"; then
|
Line 7347 if test -z "$ac_cv_prog_DSYMUTIL"; then
|
set dummy dsymutil; ac_word=$2 |
set dummy dsymutil; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : | if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_DSYMUTIL"; then |
if test -n "$ac_ct_DSYMUTIL"; then |
Line 7043 fi
|
Line 7399 fi
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : | if ${ac_cv_prog_NMEDIT+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$NMEDIT"; then |
if test -n "$NMEDIT"; then |
Line 7083 if test -z "$ac_cv_prog_NMEDIT"; then
|
Line 7439 if test -z "$ac_cv_prog_NMEDIT"; then
|
set dummy nmedit; ac_word=$2 |
set dummy nmedit; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : | if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_NMEDIT"; then |
if test -n "$ac_ct_NMEDIT"; then |
Line 7135 fi
|
Line 7491 fi
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_LIPO+set}" = set; then : | if ${ac_cv_prog_LIPO+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$LIPO"; then |
if test -n "$LIPO"; then |
Line 7175 if test -z "$ac_cv_prog_LIPO"; then
|
Line 7531 if test -z "$ac_cv_prog_LIPO"; then
|
set dummy lipo; ac_word=$2 |
set dummy lipo; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : | if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_LIPO"; then |
if test -n "$ac_ct_LIPO"; then |
Line 7227 fi
|
Line 7583 fi
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_OTOOL+set}" = set; then : | if ${ac_cv_prog_OTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$OTOOL"; then |
if test -n "$OTOOL"; then |
Line 7267 if test -z "$ac_cv_prog_OTOOL"; then
|
Line 7623 if test -z "$ac_cv_prog_OTOOL"; then
|
set dummy otool; ac_word=$2 |
set dummy otool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : | if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_OTOOL"; then |
if test -n "$ac_ct_OTOOL"; then |
Line 7319 fi
|
Line 7675 fi
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : | if ${ac_cv_prog_OTOOL64+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$OTOOL64"; then |
if test -n "$OTOOL64"; then |
Line 7359 if test -z "$ac_cv_prog_OTOOL64"; then
|
Line 7715 if test -z "$ac_cv_prog_OTOOL64"; then
|
set dummy otool64; ac_word=$2 |
set dummy otool64; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : | if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_OTOOL64"; then |
if test -n "$ac_ct_OTOOL64"; then |
Line 7434 fi
|
Line 7790 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : | if ${lt_cv_apple_cc_single_mod+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_apple_cc_single_mod=no |
lt_cv_apple_cc_single_mod=no |
Line 7463 fi
|
Line 7819 fi
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : | if ${lt_cv_ld_exported_symbols_list+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_ld_exported_symbols_list=no |
lt_cv_ld_exported_symbols_list=no |
Line 7495 fi
|
Line 7851 fi
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
if test "${lt_cv_ld_force_load+set}" = set; then : | if ${lt_cv_ld_force_load+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_ld_force_load=no |
lt_cv_ld_force_load=no |
Line 7560 $as_echo "$lt_cv_ld_force_load" >&6; }
|
Line 7916 $as_echo "$lt_cv_ld_force_load" >&6; }
|
;; |
;; |
esac |
esac |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
if ${ac_cv_header_stdc+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
#include <stdarg.h> |
|
#include <string.h> |
|
#include <float.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_header_stdc=yes |
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <string.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "memchr" >/dev/null 2>&1; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "free" >/dev/null 2>&1; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
if test "$cross_compiling" = yes; then : |
|
: |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <ctype.h> |
|
#include <stdlib.h> |
|
#if ((' ' & 0x0FF) == 0x020) |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
#else |
|
# define ISLOWER(c) \ |
|
(('a' <= (c) && (c) <= 'i') \ |
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|| ('s' <= (c) && (c) <= 'z')) |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
#endif |
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
int |
|
main () |
|
{ |
|
int i; |
|
for (i = 0; i < 256; i++) |
|
if (XOR (islower (i), ISLOWER (i)) |
|
|| toupper (i) != TOUPPER (i)) |
|
return 2; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
|
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
$as_echo "$ac_cv_header_stdc" >&6; } |
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
|
fi |
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
inttypes.h stdint.h unistd.h |
|
do : |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
" |
|
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
for ac_header in dlfcn.h |
for ac_header in dlfcn.h |
do : |
do : |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
" |
" |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : | if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_DLFCN_H 1 |
#define HAVE_DLFCN_H 1 |
_ACEOF |
_ACEOF |
Line 7749 fi
|
Line 8235 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
$as_echo_n "checking for objdir... " >&6; } |
$as_echo_n "checking for objdir... " >&6; } |
if test "${lt_cv_objdir+set}" = set; then : | if ${lt_cv_objdir+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
rm -f .libs 2>/dev/null |
rm -f .libs 2>/dev/null |
Line 7827 file_magic*)
|
Line 8313 file_magic*)
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $MAGIC_CMD in |
case $MAGIC_CMD in |
Line 7893 if test -z "$lt_cv_path_MAGIC_CMD"; then
|
Line 8379 if test -z "$lt_cv_path_MAGIC_CMD"; then
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
$as_echo_n "checking for file... " >&6; } |
$as_echo_n "checking for file... " >&6; } |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $MAGIC_CMD in |
case $MAGIC_CMD in |
Line 8035 if test "$GCC" = yes; then
|
Line 8521 if test "$GCC" = yes; then
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : | if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler_rtti_exceptions=no |
lt_cv_prog_compiler_rtti_exceptions=no |
Line 8088 fi
|
Line 8574 fi
|
lt_prog_compiler_pic= |
lt_prog_compiler_pic= |
lt_prog_compiler_static= |
lt_prog_compiler_static= |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
|
|
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
Line 8254 $as_echo_n "checking for $compiler option to produce P
|
Line 8738 $as_echo_n "checking for $compiler option to produce P
|
lt_prog_compiler_pic='--shared' |
lt_prog_compiler_pic='--shared' |
lt_prog_compiler_static='--static' |
lt_prog_compiler_static='--static' |
;; |
;; |
|
nagfor*) |
|
# NAG Fortran compiler |
|
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
lt_prog_compiler_pic='-PIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
# Portland Group compilers (*not* the Pentium gcc compiler, |
# Portland Group compilers (*not* the Pentium gcc compiler, |
# which looks to be a dead project) |
# which looks to be a dead project) |
Line 8373 case $host_os in
|
Line 8863 case $host_os in
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
;; |
;; |
esac |
esac |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
|
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
|
|
|
|
|
|
|
|
|
# |
# |
# Check to make sure the PIC flag actually works. |
# Check to make sure the PIC flag actually works. |
# |
# |
if test -n "$lt_prog_compiler_pic"; then |
if test -n "$lt_prog_compiler_pic"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : | if ${lt_cv_prog_compiler_pic_works+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler_pic_works=no |
lt_cv_prog_compiler_pic_works=no |
Line 8440 fi
|
Line 8934 fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
# |
# Check to make sure the static flag actually works. |
# Check to make sure the static flag actually works. |
# |
# |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : | if ${lt_cv_prog_compiler_static_works+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler_static_works=no |
lt_cv_prog_compiler_static_works=no |
Line 8489 fi
|
Line 8988 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : | if ${lt_cv_prog_compiler_c_o+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler_c_o=no |
lt_cv_prog_compiler_c_o=no |
Line 8544 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
Line 9043 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : | if ${lt_cv_prog_compiler_c_o+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler_c_o=no |
lt_cv_prog_compiler_c_o=no |
Line 8790 _LT_EOF
|
Line 9289 _LT_EOF
|
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
always_export_symbols=no |
always_export_symbols=no |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | 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' |
| exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
Line 8838 _LT_EOF
|
Line 9338 _LT_EOF
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
&& test "$tmp_diet" = no |
&& test "$tmp_diet" = no |
then |
then |
tmp_addflag= | tmp_addflag=' $pic_flag' |
tmp_sharedflag='-shared' |
tmp_sharedflag='-shared' |
case $cc_basename,$host_cpu in |
case $cc_basename,$host_cpu in |
pgcc*) # Portland Group C compiler |
pgcc*) # Portland Group C compiler |
Line 8908 _LT_EOF
|
Line 9408 _LT_EOF
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
wlarc= |
wlarc= |
else |
else |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
fi |
fi |
;; |
;; |
|
|
Line 8927 _LT_EOF
|
Line 9427 _LT_EOF
|
|
|
_LT_EOF |
_LT_EOF |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
else |
ld_shlibs=no |
ld_shlibs=no |
fi |
fi |
Line 8974 _LT_EOF
|
Line 9474 _LT_EOF
|
|
|
*) |
*) |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
else |
ld_shlibs=no |
ld_shlibs=no |
fi |
fi |
Line 9105 _LT_EOF
|
Line 9605 _LT_EOF
|
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
# Determine the default libpath from the value encoded in an |
# Determine the default libpath from the value encoded in an |
# empty executable. |
# empty executable. |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | if test "${lt_cv_aix_libpath+set}" = set; then |
| aix_libpath=$lt_cv_aix_libpath |
| else |
| if ${lt_cv_aix_libpath_+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
int |
int |
Line 9118 main ()
|
Line 9624 main ()
|
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
|
|
lt_aix_libpath_sed=' | lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { | /Import File Strings/,/^$/ { |
/^0/ { | /^0/ { |
s/^0 *\(.*\)$/\1/ | s/^0 *\([^ ]*\) *$/\1/ |
p | p |
} | } |
}' | }' |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. | # Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then | if test -z "$lt_cv_aix_libpath_"; then |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| fi |
fi |
fi |
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$lt_cv_aix_libpath_"; then |
| lt_cv_aix_libpath_="/usr/lib:/lib" |
| fi |
|
|
|
fi |
|
|
|
aix_libpath=$lt_cv_aix_libpath_ |
|
fi |
|
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
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" |
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" |
else |
else |
Line 9145 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
else |
else |
# Determine the default libpath from the value encoded in an |
# Determine the default libpath from the value encoded in an |
# empty executable. |
# empty executable. |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | if test "${lt_cv_aix_libpath+set}" = set; then |
| aix_libpath=$lt_cv_aix_libpath |
| else |
| if ${lt_cv_aix_libpath_+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
int |
int |
Line 9158 main ()
|
Line 9677 main ()
|
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
|
|
lt_aix_libpath_sed=' | lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { | /Import File Strings/,/^$/ { |
/^0/ { | /^0/ { |
s/^0 *\(.*\)$/\1/ | s/^0 *\([^ ]*\) *$/\1/ |
p | p |
} | } |
}' | }' |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. | # Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then | if test -z "$lt_cv_aix_libpath_"; then |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| fi |
fi |
fi |
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$lt_cv_aix_libpath_"; then |
| lt_cv_aix_libpath_="/usr/lib:/lib" |
| fi |
|
|
|
fi |
|
|
|
aix_libpath=$lt_cv_aix_libpath_ |
|
fi |
|
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
# Warning - without using the other run time loading flags, |
# Warning - without using the other run time loading flags, |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
Line 9218 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9744 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
# Microsoft Visual C++. |
# Microsoft Visual C++. |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
# no search path for DLLs. |
hardcode_libdir_flag_spec=' ' | case $cc_basename in |
allow_undefined_flag=unsupported | cl*) |
# Tell ltmain to make .lib files, not .a files. | # Native MSVC |
libext=lib | hardcode_libdir_flag_spec=' ' |
# Tell ltmain to make .dll files, not .so files. | allow_undefined_flag=unsupported |
shrext_cmds=".dll" | always_export_symbols=yes |
# FIXME: Setting linknames here is a bad hack. | file_list_spec='@' |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | # Tell ltmain to make .lib files, not .a files. |
# The linker will automatically build a .lib file if we build a DLL. | libext=lib |
old_archive_from_new_cmds='true' | # Tell ltmain to make .dll files, not .so files. |
# FIXME: Should let the user specify the lib program. | shrext_cmds=".dll" |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | # FIXME: Setting linknames here is a bad hack. |
fix_srcfile_path='`cygpath -w "$srcfile"`' | archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
enable_shared_with_static_runtimes=yes | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
| else |
| sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
| fi~ |
| $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| linknames=' |
| # The linker will not automatically build a static lib if we build a DLL. |
| # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| enable_shared_with_static_runtimes=yes |
| export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| # Don't use ranlib |
| old_postinstall_cmds='chmod 644 $oldlib' |
| postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| case $lt_outputfile in |
| *.exe|*.EXE) ;; |
| *) |
| lt_outputfile="$lt_outputfile.exe" |
| lt_tool_outputfile="$lt_tool_outputfile.exe" |
| ;; |
| esac~ |
| if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
| $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| $RM "$lt_outputfile.manifest"; |
| fi' |
| ;; |
| *) |
| # Assume MSVC wrapper |
| hardcode_libdir_flag_spec=' ' |
| allow_undefined_flag=unsupported |
| # Tell ltmain to make .lib files, not .a files. |
| libext=lib |
| # Tell ltmain to make .dll files, not .so files. |
| shrext_cmds=".dll" |
| # FIXME: Setting linknames here is a bad hack. |
| archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| # The linker will automatically build a .lib file if we build a DLL. |
| old_archive_from_new_cmds='true' |
| # FIXME: Should let the user specify the lib program. |
| old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| enable_shared_with_static_runtimes=yes |
| ;; |
| esac |
;; |
;; |
|
|
darwin* | rhapsody*) |
darwin* | rhapsody*) |
Line 9296 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9865 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
|
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
freebsd* | dragonfly*) |
freebsd* | dragonfly*) |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_direct=yes |
hardcode_direct=yes |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
Line 9304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9873 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
|
|
hpux9*) |
hpux9*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
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' | 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' |
else |
else |
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' |
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' |
fi |
fi |
Line 9320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
|
|
hpux10*) |
hpux10*) |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
else |
else |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
fi |
fi |
Line 9344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9913 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
ia64*) |
ia64*) |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
*) |
*) |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
esac |
esac |
else |
else |
Line 9364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
Line 9933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
$as_echo_n "checking if $CC understands -b... " >&6; } |
if test "${lt_cv_prog_compiler__b+set}" = set; then : | if ${lt_cv_prog_compiler__b+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_prog_compiler__b=no |
lt_cv_prog_compiler__b=no |
Line 9426 fi
|
Line 9995 fi
|
|
|
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
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' | 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' |
# Try to use the -exported_symbol ld option, if it does not |
# Try to use the -exported_symbol ld option, if it does not |
# work, assume that -exports_file does not work either and |
# work, assume that -exports_file does not work either and |
# implicitly export all symbols. |
# implicitly export all symbols. |
save_LDFLAGS="$LDFLAGS" | # This should be the same for all languages, so no per-tag cache variable. |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| if ${lt_cv_irix_exported_symbol+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| save_LDFLAGS="$LDFLAGS" |
| LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
int foo(void) {} | int foo (void) { return 0; } |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
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' | lt_cv_irix_exported_symbol=yes |
| else |
| lt_cv_irix_exported_symbol=no |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LDFLAGS="$save_LDFLAGS" | LDFLAGS="$save_LDFLAGS" |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| if test "$lt_cv_irix_exported_symbol" = yes; then |
| 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' |
| fi |
else |
else |
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' |
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' |
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' |
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' |
Line 9527 rm -f core conftest.err conftest.$ac_objext \
|
Line 10109 rm -f core conftest.err conftest.$ac_objext \
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
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' | 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' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
else |
else |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
Line 9546 rm -f core conftest.err conftest.$ac_objext \
|
Line 10128 rm -f core conftest.err conftest.$ac_objext \
|
no_undefined_flag=' -z defs' |
no_undefined_flag=' -z defs' |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
wlarc='${wl}' |
wlarc='${wl}' |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | $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' |
else |
else |
case `$CC -V 2>&1` in |
case `$CC -V 2>&1` in |
*"Compilers 5.0"*) |
*"Compilers 5.0"*) |
Line 9736 x|xyes)
|
Line 10318 x|xyes)
|
# to ld, don't add -lc before -lgcc. |
# to ld, don't add -lc before -lgcc. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : | if ${lt_cv_archive_cmds_need_lc+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
$RM conftest* |
$RM conftest* |
Line 10124 cygwin* | mingw* | pw32* | cegcc*)
|
Line 10706 cygwin* | mingw* | pw32* | cegcc*)
|
need_version=no |
need_version=no |
need_lib_prefix=no |
need_lib_prefix=no |
|
|
case $GCC,$host_os in | case $GCC,$cc_basename in |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) | yes,*) |
| # gcc |
library_names_spec='$libname.dll.a' |
library_names_spec='$libname.dll.a' |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
postinstall_cmds='base_file=`basename \${file}`~ |
Line 10158 cygwin* | mingw* | pw32* | cegcc*)
|
Line 10741 cygwin* | mingw* | pw32* | cegcc*)
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
;; |
;; |
esac |
esac |
|
dynamic_linker='Win32 ld.exe' |
;; |
;; |
|
|
|
*,cl*) |
|
# Native MSVC |
|
libname_spec='$name' |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
library_names_spec='${libname}.dll.lib' |
|
|
|
case $build_os in |
|
mingw*) |
|
sys_lib_search_path_spec= |
|
lt_save_ifs=$IFS |
|
IFS=';' |
|
for lt_path in $LIB |
|
do |
|
IFS=$lt_save_ifs |
|
# Let DOS variable expansion print the short 8.3 style file name. |
|
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
done |
|
IFS=$lt_save_ifs |
|
# Convert to MSYS style. |
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
;; |
|
cygwin*) |
|
# Convert to unix form, then to dos form, then back to unix form |
|
# but this time dos style (no spaces!) so that the unix form looks |
|
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
;; |
|
*) |
|
sys_lib_search_path_spec="$LIB" |
|
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
# It is most probably a Windows format PATH. |
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
else |
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
fi |
|
# FIXME: find the short name or the path components, as spaces are |
|
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
;; |
|
esac |
|
|
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
postinstall_cmds='base_file=`basename \${file}`~ |
|
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
dldir=$destdir/`dirname \$dlpath`~ |
|
test -d \$dldir || mkdir -p \$dldir~ |
|
$install_prog $dir/$dlname \$dldir/$dlname' |
|
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
dlpath=$dir/\$dldll~ |
|
$RM \$dlpath' |
|
shlibpath_overrides_runpath=yes |
|
dynamic_linker='Win32 link.exe' |
|
;; |
|
|
*) |
*) |
|
# Assume MSVC wrapper |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
dynamic_linker='Win32 ld.exe' |
;; |
;; |
esac |
esac |
dynamic_linker='Win32 ld.exe' |
|
# FIXME: first we should search . and the directory the executable is in |
# FIXME: first we should search . and the directory the executable is in |
shlibpath_var=PATH |
shlibpath_var=PATH |
;; |
;; |
Line 10378 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
Line 11019 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
|
|
# Some binutils ld are patched to set DT_RUNPATH |
# Some binutils ld are patched to set DT_RUNPATH |
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : | if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
lt_cv_shlibpath_overrides_runpath=no |
lt_cv_shlibpath_overrides_runpath=no |
Line 10802 else
|
Line 11443 else
|
# if libdl is installed we need to link against it |
# if libdl is installed we need to link against it |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : | if ${ac_cv_lib_dl_dlopen+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 10836 LIBS=$ac_check_lib_save_LIBS
|
Line 11477 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
else |
else |
|
|
Line 10850 fi
|
Line 11491 fi
|
|
|
*) |
*) |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
if test "x$ac_cv_func_shl_load" = x""yes; then : | if test "x$ac_cv_func_shl_load" = xyes; then : |
lt_cv_dlopen="shl_load" |
lt_cv_dlopen="shl_load" |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : | if ${ac_cv_lib_dld_shl_load+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 10889 LIBS=$ac_check_lib_save_LIBS
|
Line 11530 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : | if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
else |
else |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
if test "x$ac_cv_func_dlopen" = x""yes; then : | if test "x$ac_cv_func_dlopen" = xyes; then : |
lt_cv_dlopen="dlopen" |
lt_cv_dlopen="dlopen" |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : | if ${ac_cv_lib_dl_dlopen+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 10932 LIBS=$ac_check_lib_save_LIBS
|
Line 11573 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : | if ${ac_cv_lib_svld_dlopen+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 10971 LIBS=$ac_check_lib_save_LIBS
|
Line 11612 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : | if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : | if ${ac_cv_lib_dld_dld_link+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 11010 LIBS=$ac_check_lib_save_LIBS
|
Line 11651 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : | if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
fi |
fi |
|
|
Line 11051 fi
|
Line 11692 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
if test "${lt_cv_dlopen_self+set}" = set; then : | if ${lt_cv_dlopen_self+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test "$cross_compiling" = yes; then : |
if test "$cross_compiling" = yes; then : |
Line 11104 else
|
Line 11745 else
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
/* When -fvisbility=hidden is used, assume the code has been annotated |
correspondingly for the symbols needed. */ |
correspondingly for the symbols needed. */ |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
void fnord () __attribute__((visibility("default"))); | int fnord () __attribute__((visibility("default"))); |
#endif |
#endif |
|
|
void fnord () { int i=42; } | int fnord () { return 42; } |
int main () |
int main () |
{ |
{ |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
Line 11157 $as_echo "$lt_cv_dlopen_self" >&6; }
|
Line 11798 $as_echo "$lt_cv_dlopen_self" >&6; }
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
if test "${lt_cv_dlopen_self_static+set}" = set; then : | if ${lt_cv_dlopen_self_static+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test "$cross_compiling" = yes; then : |
if test "$cross_compiling" = yes; then : |
Line 11210 else
|
Line 11851 else
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
/* When -fvisbility=hidden is used, assume the code has been annotated |
correspondingly for the symbols needed. */ |
correspondingly for the symbols needed. */ |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
void fnord () __attribute__((visibility("default"))); | int fnord () __attribute__((visibility("default"))); |
#endif |
#endif |
|
|
void fnord () { int i=42; } | int fnord () { return 42; } |
int main () |
int main () |
{ |
{ |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
Line 11414 else
|
Line 12055 else
|
esac |
esac |
fi |
fi |
|
|
if test -z "$VERSION_SCRIPT_FLAGS"; then | if test -n "$VERSION_SCRIPT_FLAGS"; then |
USE_VERSION_SCRIPT_TRUE= |
USE_VERSION_SCRIPT_TRUE= |
USE_VERSION_SCRIPT_FALSE='#' |
USE_VERSION_SCRIPT_FALSE='#' |
else |
else |
Line 11674 if test "${with_zlib+set}" = set; then :
|
Line 12315 if test "${with_zlib+set}" = set; then :
|
fi |
fi |
|
|
|
|
|
# Check whether --with-lzma was given. |
|
if test "${with_lzma+set}" = set; then : |
|
withval=$with_lzma; |
|
if test "$withval" != "no" -a "$withval" != "yes"; then |
|
LZMA_DIR=$withval |
|
CPPFLAGS="${CPPFLAGS} -I$withval/include" |
|
LDFLAGS="${LDFLAGS} -L$withval/lib" |
|
fi |
|
|
|
fi |
|
|
|
|
# Check whether --with-coverage was given. |
# Check whether --with-coverage was given. |
if test "${with_coverage+set}" = set; then : |
if test "${with_coverage+set}" = set; then : |
withval=$with_coverage; |
withval=$with_coverage; |
Line 11864 else
|
Line 12517 else
|
for ac_header in zlib.h |
for ac_header in zlib.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
if test "x$ac_cv_header_zlib_h" = x""yes; then : | if test "x$ac_cv_header_zlib_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_ZLIB_H 1 |
#define HAVE_ZLIB_H 1 |
_ACEOF |
_ACEOF |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 |
$as_echo_n "checking for gzread in -lz... " >&6; } |
$as_echo_n "checking for gzread in -lz... " >&6; } |
if test "${ac_cv_lib_z_gzread+set}" = set; then : | if ${ac_cv_lib_z_gzread+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 11904 LIBS=$ac_check_lib_save_LIBS
|
Line 12557 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 |
$as_echo "$ac_cv_lib_z_gzread" >&6; } |
$as_echo "$ac_cv_lib_z_gzread" >&6; } |
if test "x$ac_cv_lib_z_gzread" = x""yes; then : | if test "x$ac_cv_lib_z_gzread" = xyes; then : |
|
|
|
|
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
Line 11933 fi
|
Line 12586 fi
|
|
|
|
|
|
|
|
echo Checking lzma |
|
|
|
|
|
WITH_LZMA=0 |
|
if test "$with_lzma" = "no"; then |
|
echo "Disabling compression support" |
|
else |
|
for ac_header in lzma.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_lzma_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LZMA_H 1 |
|
_ACEOF |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 |
|
$as_echo_n "checking for lzma_code in -llzma... " >&6; } |
|
if ${ac_cv_lib_lzma_lzma_code+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-llzma $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char lzma_code (); |
|
int |
|
main () |
|
{ |
|
return lzma_code (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_lzma_lzma_code=yes |
|
else |
|
ac_cv_lib_lzma_lzma_code=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 |
|
$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } |
|
if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : |
|
|
|
|
|
$as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h |
|
|
|
WITH_LZMA=1 |
|
if test "x${LZMA_DIR}" != "x"; then |
|
LZMA_CFLAGS="-I${LZMA_DIR}/include" |
|
LZMA_LIBS="-L${LZMA_DIR}/lib -llzma" |
|
else |
|
LZMA_LIBS="-llzma" |
|
fi |
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
CPPFLAGS=${_cppflags} |
CPPFLAGS=${_cppflags} |
LDFLAGS=${_ldflags} |
LDFLAGS=${_ldflags} |
|
|
Line 11943 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
Line 12670 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
if eval "test \"\${$as_ac_Header+set}\"" = set; then : | if eval \${$as_ac_Header+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 11983 done
|
Line 12710 done
|
if test $ac_header_dirent = dirent.h; then |
if test $ac_header_dirent = dirent.h; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
$as_echo_n "checking for library containing opendir... " >&6; } |
$as_echo_n "checking for library containing opendir... " >&6; } |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
Line 12017 for ac_lib in '' dir; do
|
Line 12744 for ac_lib in '' dir; do
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext |
conftest$ac_exeext |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
break |
break |
fi |
fi |
done |
done |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
|
|
else |
else |
ac_cv_search_opendir=no |
ac_cv_search_opendir=no |
Line 12040 fi
|
Line 12767 fi
|
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
$as_echo_n "checking for library containing opendir... " >&6; } |
$as_echo_n "checking for library containing opendir... " >&6; } |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
Line 12074 for ac_lib in '' x; do
|
Line 12801 for ac_lib in '' x; do
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext |
conftest$ac_exeext |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
break |
break |
fi |
fi |
done |
done |
if test "${ac_cv_search_opendir+set}" = set; then : | if ${ac_cv_search_opendir+:} false; then : |
|
|
else |
else |
ac_cv_search_opendir=no |
ac_cv_search_opendir=no |
Line 12098 fi
|
Line 12825 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
$as_echo_n "checking for ANSI C header files... " >&6; } |
if test "${ac_cv_header_stdc+set}" = set; then : | if ${ac_cv_header_stdc+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 12211 fi
|
Line 12938 fi
|
for ac_header in fcntl.h |
for ac_header in fcntl.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
if test "x$ac_cv_header_fcntl_h" = x""yes; then : | if test "x$ac_cv_header_fcntl_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_FCNTL_H 1 |
#define HAVE_FCNTL_H 1 |
_ACEOF |
_ACEOF |
Line 12223 done
|
Line 12950 done
|
for ac_header in unistd.h |
for ac_header in unistd.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
if test "x$ac_cv_header_unistd_h" = x""yes; then : | if test "x$ac_cv_header_unistd_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_UNISTD_H 1 |
#define HAVE_UNISTD_H 1 |
_ACEOF |
_ACEOF |
Line 12235 done
|
Line 12962 done
|
for ac_header in ctype.h |
for ac_header in ctype.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" |
if test "x$ac_cv_header_ctype_h" = x""yes; then : | if test "x$ac_cv_header_ctype_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_CTYPE_H 1 |
#define HAVE_CTYPE_H 1 |
_ACEOF |
_ACEOF |
Line 12247 done
|
Line 12974 done
|
for ac_header in dirent.h |
for ac_header in dirent.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" |
if test "x$ac_cv_header_dirent_h" = x""yes; then : | if test "x$ac_cv_header_dirent_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_DIRENT_H 1 |
#define HAVE_DIRENT_H 1 |
_ACEOF |
_ACEOF |
Line 12259 done
|
Line 12986 done
|
for ac_header in errno.h |
for ac_header in errno.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" |
if test "x$ac_cv_header_errno_h" = x""yes; then : | if test "x$ac_cv_header_errno_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_ERRNO_H 1 |
#define HAVE_ERRNO_H 1 |
_ACEOF |
_ACEOF |
Line 12271 done
|
Line 12998 done
|
for ac_header in malloc.h |
for ac_header in malloc.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" |
if test "x$ac_cv_header_malloc_h" = x""yes; then : | if test "x$ac_cv_header_malloc_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_MALLOC_H 1 |
#define HAVE_MALLOC_H 1 |
_ACEOF |
_ACEOF |
Line 12283 done
|
Line 13010 done
|
for ac_header in stdarg.h |
for ac_header in stdarg.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" |
if test "x$ac_cv_header_stdarg_h" = x""yes; then : | if test "x$ac_cv_header_stdarg_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STDARG_H 1 |
#define HAVE_STDARG_H 1 |
_ACEOF |
_ACEOF |
Line 12295 done
|
Line 13022 done
|
for ac_header in sys/stat.h |
for ac_header in sys/stat.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_stat_h" = x""yes; then : | if test "x$ac_cv_header_sys_stat_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_STAT_H 1 |
#define HAVE_SYS_STAT_H 1 |
_ACEOF |
_ACEOF |
Line 12307 done
|
Line 13034 done
|
for ac_header in sys/types.h |
for ac_header in sys/types.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_types_h" = x""yes; then : | if test "x$ac_cv_header_sys_types_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_TYPES_H 1 |
#define HAVE_SYS_TYPES_H 1 |
_ACEOF |
_ACEOF |
Line 12319 done
|
Line 13046 done
|
for ac_header in stdint.h |
for ac_header in stdint.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" |
if test "x$ac_cv_header_stdint_h" = x""yes; then : | if test "x$ac_cv_header_stdint_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STDINT_H 1 |
#define HAVE_STDINT_H 1 |
_ACEOF |
_ACEOF |
Line 12328 fi
|
Line 13055 fi
|
|
|
done |
done |
|
|
for ac_header in inttypes.h.h | for ac_header in inttypes.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default" | ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" |
if test "x$ac_cv_header_inttypes_h_h" = x""yes; then : | if test "x$ac_cv_header_inttypes_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_INTTYPES_H_H 1 | #define HAVE_INTTYPES_H 1 |
_ACEOF |
_ACEOF |
|
|
fi |
fi |
Line 12343 done
|
Line 13070 done
|
for ac_header in time.h |
for ac_header in time.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" |
if test "x$ac_cv_header_time_h" = x""yes; then : | if test "x$ac_cv_header_time_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_TIME_H 1 |
#define HAVE_TIME_H 1 |
_ACEOF |
_ACEOF |
Line 12355 done
|
Line 13082 done
|
for ac_header in ansidecl.h |
for ac_header in ansidecl.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default" |
if test "x$ac_cv_header_ansidecl_h" = x""yes; then : | if test "x$ac_cv_header_ansidecl_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_ANSIDECL_H 1 |
#define HAVE_ANSIDECL_H 1 |
_ACEOF |
_ACEOF |
Line 12367 done
|
Line 13094 done
|
for ac_header in ieeefp.h |
for ac_header in ieeefp.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default" |
if test "x$ac_cv_header_ieeefp_h" = x""yes; then : | if test "x$ac_cv_header_ieeefp_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_IEEEFP_H 1 |
#define HAVE_IEEEFP_H 1 |
_ACEOF |
_ACEOF |
Line 12379 done
|
Line 13106 done
|
for ac_header in nan.h |
for ac_header in nan.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default" |
if test "x$ac_cv_header_nan_h" = x""yes; then : | if test "x$ac_cv_header_nan_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_NAN_H 1 |
#define HAVE_NAN_H 1 |
_ACEOF |
_ACEOF |
Line 12391 done
|
Line 13118 done
|
for ac_header in math.h |
for ac_header in math.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" |
if test "x$ac_cv_header_math_h" = x""yes; then : | if test "x$ac_cv_header_math_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_MATH_H 1 |
#define HAVE_MATH_H 1 |
_ACEOF |
_ACEOF |
Line 12403 done
|
Line 13130 done
|
for ac_header in limits.h |
for ac_header in limits.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" |
if test "x$ac_cv_header_limits_h" = x""yes; then : | if test "x$ac_cv_header_limits_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_LIMITS_H 1 |
#define HAVE_LIMITS_H 1 |
_ACEOF |
_ACEOF |
Line 12415 done
|
Line 13142 done
|
for ac_header in fp_class.h |
for ac_header in fp_class.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default" |
if test "x$ac_cv_header_fp_class_h" = x""yes; then : | if test "x$ac_cv_header_fp_class_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_FP_CLASS_H 1 |
#define HAVE_FP_CLASS_H 1 |
_ACEOF |
_ACEOF |
Line 12427 done
|
Line 13154 done
|
for ac_header in float.h |
for ac_header in float.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" |
if test "x$ac_cv_header_float_h" = x""yes; then : | if test "x$ac_cv_header_float_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_FLOAT_H 1 |
#define HAVE_FLOAT_H 1 |
_ACEOF |
_ACEOF |
Line 12439 done
|
Line 13166 done
|
for ac_header in stdlib.h |
for ac_header in stdlib.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
if test "x$ac_cv_header_stdlib_h" = x""yes; then : | if test "x$ac_cv_header_stdlib_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STDLIB_H 1 |
#define HAVE_STDLIB_H 1 |
_ACEOF |
_ACEOF |
Line 12455 do :
|
Line 13182 do :
|
# endif |
# endif |
|
|
" |
" |
if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | if test "x$ac_cv_header_sys_socket_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_SOCKET_H 1 |
#define HAVE_SYS_SOCKET_H 1 |
_ACEOF |
_ACEOF |
Line 12471 do :
|
Line 13198 do :
|
# endif |
# endif |
|
|
" |
" |
if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | if test "x$ac_cv_header_netinet_in_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_NETINET_IN_H 1 |
#define HAVE_NETINET_IN_H 1 |
_ACEOF |
_ACEOF |
Line 12490 do :
|
Line 13217 do :
|
# endif |
# endif |
|
|
" |
" |
if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | if test "x$ac_cv_header_arpa_inet_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_ARPA_INET_H 1 |
#define HAVE_ARPA_INET_H 1 |
_ACEOF |
_ACEOF |
Line 12502 done
|
Line 13229 done
|
for ac_header in netdb.h |
for ac_header in netdb.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" |
if test "x$ac_cv_header_netdb_h" = x""yes; then : | if test "x$ac_cv_header_netdb_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_NETDB_H 1 |
#define HAVE_NETDB_H 1 |
_ACEOF |
_ACEOF |
Line 12514 done
|
Line 13241 done
|
for ac_header in sys/time.h |
for ac_header in sys/time.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_time_h" = x""yes; then : | if test "x$ac_cv_header_sys_time_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_TIME_H 1 |
#define HAVE_SYS_TIME_H 1 |
_ACEOF |
_ACEOF |
Line 12526 done
|
Line 13253 done
|
for ac_header in sys/select.h |
for ac_header in sys/select.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_select_h" = x""yes; then : | if test "x$ac_cv_header_sys_select_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_SELECT_H 1 |
#define HAVE_SYS_SELECT_H 1 |
_ACEOF |
_ACEOF |
Line 12538 done
|
Line 13265 done
|
for ac_header in poll.h |
for ac_header in poll.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" |
if test "x$ac_cv_header_poll_h" = x""yes; then : | if test "x$ac_cv_header_poll_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_POLL_H 1 |
#define HAVE_POLL_H 1 |
_ACEOF |
_ACEOF |
Line 12550 done
|
Line 13277 done
|
for ac_header in sys/mman.h |
for ac_header in sys/mman.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_mman_h" = x""yes; then : | if test "x$ac_cv_header_sys_mman_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_MMAN_H 1 |
#define HAVE_SYS_MMAN_H 1 |
_ACEOF |
_ACEOF |
Line 12562 done
|
Line 13289 done
|
for ac_header in sys/timeb.h |
for ac_header in sys/timeb.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" |
if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : | if test "x$ac_cv_header_sys_timeb_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SYS_TIMEB_H 1 |
#define HAVE_SYS_TIMEB_H 1 |
_ACEOF |
_ACEOF |
Line 12574 done
|
Line 13301 done
|
for ac_header in signal.h |
for ac_header in signal.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" |
if test "x$ac_cv_header_signal_h" = x""yes; then : | if test "x$ac_cv_header_signal_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SIGNAL_H 1 |
#define HAVE_SIGNAL_H 1 |
_ACEOF |
_ACEOF |
Line 12590 do :
|
Line 13317 do :
|
# endif |
# endif |
|
|
" |
" |
if test "x$ac_cv_header_arpa_nameser_h" = x""yes; then : | if test "x$ac_cv_header_arpa_nameser_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_ARPA_NAMESER_H 1 |
#define HAVE_ARPA_NAMESER_H 1 |
_ACEOF |
_ACEOF |
Line 12612 do :
|
Line 13339 do :
|
# endif |
# endif |
|
|
" |
" |
if test "x$ac_cv_header_resolv_h" = x""yes; then : | if test "x$ac_cv_header_resolv_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_RESOLV_H 1 |
#define HAVE_RESOLV_H 1 |
_ACEOF |
_ACEOF |
Line 12624 done
|
Line 13351 done
|
for ac_header in dl.h |
for ac_header in dl.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" |
if test "x$ac_cv_header_dl_h" = x""yes; then : | if test "x$ac_cv_header_dl_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_DL_H 1 |
#define HAVE_DL_H 1 |
_ACEOF |
_ACEOF |
Line 12636 done
|
Line 13363 done
|
for ac_header in dlfcn.h |
for ac_header in dlfcn.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : | if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_DLFCN_H 1 |
#define HAVE_DLFCN_H 1 |
_ACEOF |
_ACEOF |
Line 12652 echo Checking libraries
|
Line 13379 echo Checking libraries
|
for ac_func in strftime |
for ac_func in strftime |
do : |
do : |
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
if test "x$ac_cv_func_strftime" = x""yes; then : | if test "x$ac_cv_func_strftime" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRFTIME 1 |
#define HAVE_STRFTIME 1 |
_ACEOF |
_ACEOF |
Line 12661 else
|
Line 13388 else
|
# strftime is in -lintl on SCO UNIX. |
# strftime is in -lintl on SCO UNIX. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
$as_echo_n "checking for strftime in -lintl... " >&6; } |
$as_echo_n "checking for strftime in -lintl... " >&6; } |
if test "${ac_cv_lib_intl_strftime+set}" = set; then : | if ${ac_cv_lib_intl_strftime+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 12695 LIBS=$ac_check_lib_save_LIBS
|
Line 13422 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
$as_echo "$ac_cv_lib_intl_strftime" >&6; } |
$as_echo "$ac_cv_lib_intl_strftime" >&6; } |
if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | if test "x$ac_cv_lib_intl_strftime" = xyes; then : |
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
|
|
LIBS="-lintl $LIBS" |
LIBS="-lintl $LIBS" |
Line 12752 _ACEOF
|
Line 13479 _ACEOF
|
fi |
fi |
done |
done |
|
|
| for ac_func in rand rand_r srand time |
for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf | |
do : |
do : |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
Line 12762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
Line 13488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
else |
|
NEED_TRIO=1 |
|
fi |
fi |
done |
done |
|
|
Line 12828 fi
|
Line 13552 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5 |
$as_echo_n "checking for library containing gethostent... " >&6; } |
$as_echo_n "checking for library containing gethostent... " >&6; } |
if test "${ac_cv_search_gethostent+set}" = set; then : | if ${ac_cv_search_gethostent+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
Line 12862 for ac_lib in '' nsl; do
|
Line 13586 for ac_lib in '' nsl; do
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext |
conftest$ac_exeext |
if test "${ac_cv_search_gethostent+set}" = set; then : | if ${ac_cv_search_gethostent+:} false; then : |
break |
break |
fi |
fi |
done |
done |
if test "${ac_cv_search_gethostent+set}" = set; then : | if ${ac_cv_search_gethostent+:} false; then : |
|
|
else |
else |
ac_cv_search_gethostent=no |
ac_cv_search_gethostent=no |
Line 12884 fi
|
Line 13608 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 |
$as_echo_n "checking for library containing setsockopt... " >&6; } |
$as_echo_n "checking for library containing setsockopt... " >&6; } |
if test "${ac_cv_search_setsockopt+set}" = set; then : | if ${ac_cv_search_setsockopt+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
Line 12918 for ac_lib in '' socket net network; do
|
Line 13642 for ac_lib in '' socket net network; do
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext |
conftest$ac_exeext |
if test "${ac_cv_search_setsockopt+set}" = set; then : | if ${ac_cv_search_setsockopt+:} false; then : |
break |
break |
fi |
fi |
done |
done |
if test "${ac_cv_search_setsockopt+set}" = set; then : | if ${ac_cv_search_setsockopt+:} false; then : |
|
|
else |
else |
ac_cv_search_setsockopt=no |
ac_cv_search_setsockopt=no |
Line 12940 fi
|
Line 13664 fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5 |
$as_echo_n "checking for library containing connect... " >&6; } |
$as_echo_n "checking for library containing connect... " >&6; } |
if test "${ac_cv_search_connect+set}" = set; then : | if ${ac_cv_search_connect+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
Line 12974 for ac_lib in '' inet; do
|
Line 13698 for ac_lib in '' inet; do
|
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext |
conftest$ac_exeext |
if test "${ac_cv_search_connect+set}" = set; then : | if ${ac_cv_search_connect+:} false; then : |
break |
break |
fi |
fi |
done |
done |
if test "${ac_cv_search_connect+set}" = set; then : | if ${ac_cv_search_connect+:} false; then : |
|
|
else |
else |
ac_cv_search_connect=no |
ac_cv_search_connect=no |
Line 12998 fi
|
Line 13722 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5 |
$as_echo_n "checking for type of socket length (socklen_t)... " >&6; } |
$as_echo_n "checking for type of socket length (socklen_t)... " >&6; } |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 13001 "configure" | #line 13725 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#include <stddef.h> |
#include <stddef.h> |
Line 13009 int main(void) {
|
Line 13733 int main(void) {
|
(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) |
(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) |
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:13012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | if { (eval echo configure:13736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
rm -rf conftest* |
rm -rf conftest* |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 |
Line 13021 else
|
Line 13745 else
|
rm -rf conftest* |
rm -rf conftest* |
|
|
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 13024 "configure" | #line 13748 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#include <stddef.h> |
#include <stddef.h> |
Line 13032 int main(void) {
|
Line 13756 int main(void) {
|
(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) |
(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) |
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:13035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | if { (eval echo configure:13759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
rm -rf conftest* |
rm -rf conftest* |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 |
Line 13044 else
|
Line 13768 else
|
rm -rf conftest* |
rm -rf conftest* |
|
|
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 13047 "configure" | #line 13771 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#include <stddef.h> |
#include <stddef.h> |
Line 13055 int main(void) {
|
Line 13779 int main(void) {
|
(void)getsockopt (1, 1, 1, NULL, (int *)NULL) |
(void)getsockopt (1, 1, 1, NULL, (int *)NULL) |
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | if { (eval echo configure:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
rm -rf conftest* |
rm -rf conftest* |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 |
Line 13202 $as_echo "$as_me: WARNING: ss_family and __ss_family n
|
Line 13926 $as_echo "$as_me: WARNING: ss_family and __ss_family n
|
|
|
have_getaddrinfo=no |
have_getaddrinfo=no |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
if test "x$ac_cv_func_getaddrinfo" = x""yes; then : | if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
have_getaddrinfo=yes |
have_getaddrinfo=yes |
fi |
fi |
|
|
Line 13211 fi
|
Line 13935 fi
|
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh` |
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh` |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5 |
$as_echo_n "checking for getaddrinfo in -l$lib... " >&6; } |
$as_echo_n "checking for getaddrinfo in -l$lib... " >&6; } |
if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | if eval \${$as_ac_Lib+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13263 fi
|
Line 13987 fi
|
|
|
|
|
ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" |
ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" |
if test "x$ac_cv_func_isnan" = x""yes; then : | if test "x$ac_cv_func_isnan" = xyes; then : |
|
|
$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h |
$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h |
|
|
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 |
$as_echo_n "checking for isnan in -lm... " >&6; } |
$as_echo_n "checking for isnan in -lm... " >&6; } |
if test "${ac_cv_lib_m_isnan+set}" = set; then : | if ${ac_cv_lib_m_isnan+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13304 LIBS=$ac_check_lib_save_LIBS
|
Line 14028 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 |
$as_echo "$ac_cv_lib_m_isnan" >&6; } |
$as_echo "$ac_cv_lib_m_isnan" >&6; } |
if test "x$ac_cv_lib_m_isnan" = x""yes; then : | if test "x$ac_cv_lib_m_isnan" = xyes; then : |
|
|
$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h |
$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h |
|
|
Line 13314 fi
|
Line 14038 fi
|
|
|
|
|
ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" |
ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" |
if test "x$ac_cv_func_isinf" = x""yes; then : | if test "x$ac_cv_func_isinf" = xyes; then : |
|
|
$as_echo "#define HAVE_ISINF /**/" >>confdefs.h |
$as_echo "#define HAVE_ISINF /**/" >>confdefs.h |
|
|
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5 |
$as_echo_n "checking for isinf in -lm... " >&6; } |
$as_echo_n "checking for isinf in -lm... " >&6; } |
if test "${ac_cv_lib_m_isinf+set}" = set; then : | if ${ac_cv_lib_m_isinf+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13355 LIBS=$ac_check_lib_save_LIBS
|
Line 14079 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5 |
$as_echo "$ac_cv_lib_m_isinf" >&6; } |
$as_echo "$ac_cv_lib_m_isinf" >&6; } |
if test "x$ac_cv_lib_m_isinf" = x""yes; then : | if test "x$ac_cv_lib_m_isinf" = xyes; then : |
|
|
$as_echo "#define HAVE_ISINF /**/" >>confdefs.h |
$as_echo "#define HAVE_ISINF /**/" >>confdefs.h |
|
|
Line 13392 else
|
Line 14116 else
|
CFLAGS="${CFLAGS} -fexceptions" |
CFLAGS="${CFLAGS} -fexceptions" |
fi |
fi |
|
|
|
# warnings we'd like to see |
CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls" |
CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls" |
|
# warnings we'd like to supress |
|
CFLAGS="${CFLAGS} -Wno-long-long" |
case "${host}" in |
case "${host}" in |
alpha*-*-linux* ) |
alpha*-*-linux* ) |
CFLAGS="${CFLAGS} -mieee" |
CFLAGS="${CFLAGS} -mieee" |
Line 13454 if test "$with_python" != "no" ; then
|
Line 14181 if test "$with_python" != "no" ; then
|
set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 |
set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_path_PYTHON+set}" = set; then : | if ${ac_cv_path_PYTHON+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
case $PYTHON in |
case $PYTHON in |
Line 13570 if test "$with_modules" != "no" ; then
|
Line 14297 if test "$with_modules" != "no" ; then
|
MODULE_EXTENSION=".dll" |
MODULE_EXTENSION=".dll" |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5 |
$as_echo_n "checking for dlopen in -lcygwin... " >&6; } |
$as_echo_n "checking for dlopen in -lcygwin... " >&6; } |
if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then : | if ${ac_cv_lib_cygwin_dlopen+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13604 LIBS=$ac_check_lib_save_LIBS
|
Line 14331 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5 |
$as_echo "$ac_cv_lib_cygwin_dlopen" >&6; } |
$as_echo "$ac_cv_lib_cygwin_dlopen" >&6; } |
if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then : | if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then : |
|
|
WITH_MODULES=1 |
WITH_MODULES=1 |
MODULE_PLATFORM_LIBS= |
MODULE_PLATFORM_LIBS= |
Line 13621 fi
|
Line 14348 fi
|
;; |
;; |
*) |
*) |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
if test "x$ac_cv_func_shl_load" = x""yes; then : | if test "x$ac_cv_func_shl_load" = xyes; then : |
libxml_have_shl_load=yes |
libxml_have_shl_load=yes |
else |
else |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : | if ${ac_cv_lib_dld_shl_load+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13661 LIBS=$ac_check_lib_save_LIBS
|
Line 14388 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : | if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
|
|
MODULE_PLATFORM_LIBS="-ldld" |
MODULE_PLATFORM_LIBS="-ldld" |
libxml_have_shl_load=yes |
libxml_have_shl_load=yes |
else |
else |
|
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
if test "x$ac_cv_func_dlopen" = x""yes; then : | if test "x$ac_cv_func_dlopen" = xyes; then : |
libxml_have_dlopen=yes |
libxml_have_dlopen=yes |
else |
else |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : | if ${ac_cv_lib_dl_dlopen+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13708 LIBS=$ac_check_lib_save_LIBS
|
Line 14435 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
|
MODULE_PLATFORM_LIBS="-ldl" |
MODULE_PLATFORM_LIBS="-ldl" |
libxml_have_dlopen=yes |
libxml_have_dlopen=yes |
Line 13812 if test "$with_threads" = "no" ; then
|
Line 14539 if test "$with_threads" = "no" ; then
|
echo Disabling multithreaded support |
echo Disabling multithreaded support |
else |
else |
echo Enabling multithreaded support |
echo Enabling multithreaded support |
|
|
|
case $host_os in |
|
*mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then |
|
WITH_THREADS="1" |
|
THREADS_W32="Win32" |
|
THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS" |
|
fi |
|
;; |
|
esac |
|
|
|
if test -z "$THREADS_W32"; then |
if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then |
if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then |
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
if test "x$ac_cv_header_pthread_h" = x""yes; then : | if test "x$ac_cv_header_pthread_h" = xyes; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 |
$as_echo_n "checking for pthread_join in -lpthread... " >&6; } |
$as_echo_n "checking for pthread_join in -lpthread... " >&6; } |
if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then : | if ${ac_cv_lib_pthread_pthread_join+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13851 LIBS=$ac_check_lib_save_LIBS
|
Line 14589 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 |
$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } |
$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } |
if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then : | if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : |
|
|
THREAD_LIBS="-lpthread" | THREAD_LIBS="-lpthread" |
|
|
$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h |
$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h |
|
|
|
|
$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h |
$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h |
|
|
WITH_THREADS="1" | WITH_THREADS="1" |
fi |
fi |
|
|
fi |
fi |
|
|
|
|
|
fi |
fi |
fi |
|
|
case $host_os in |
case $host_os in |
*mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then |
|
WITH_THREADS="1" |
|
THREADS_W32="Win32" |
|
THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS" |
|
fi |
|
;; |
|
*cygwin*) THREAD_LIBS="" |
*cygwin*) THREAD_LIBS="" |
;; |
;; |
*beos*) WITH_THREADS="1" |
*beos*) WITH_THREADS="1" |
Line 13925 if test "$with_history" = "yes" ; then
|
Line 14659 if test "$with_history" = "yes" ; then
|
as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh` |
as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh` |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5 |
$as_echo_n "checking for tputs in -l${termlib}... " >&6; } |
$as_echo_n "checking for tputs in -l${termlib}... " >&6; } |
if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | if eval \${$as_ac_Lib+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 13968 fi
|
Line 14702 fi
|
done |
done |
|
|
ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default" |
if test "x$ac_cv_header_readline_history_h" = x""yes; then : | if test "x$ac_cv_header_readline_history_h" = xyes; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5 |
$as_echo_n "checking for append_history in -lhistory... " >&6; } |
$as_echo_n "checking for append_history in -lhistory... " >&6; } |
if test "${ac_cv_lib_history_append_history+set}" = set; then : | if ${ac_cv_lib_history_append_history+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 14005 LIBS=$ac_check_lib_save_LIBS
|
Line 14739 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5 |
$as_echo "$ac_cv_lib_history_append_history" >&6; } |
$as_echo "$ac_cv_lib_history_append_history" >&6; } |
if test "x$ac_cv_lib_history_append_history" = x""yes; then : | if test "x$ac_cv_lib_history_append_history" = xyes; then : |
|
|
RDL_LIBS="-lhistory" |
RDL_LIBS="-lhistory" |
|
|
Line 14017 fi
|
Line 14751 fi
|
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" |
if test "x$ac_cv_header_readline_readline_h" = x""yes; then : | if test "x$ac_cv_header_readline_readline_h" = xyes; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
$as_echo_n "checking for readline in -lreadline... " >&6; } |
$as_echo_n "checking for readline in -lreadline... " >&6; } |
if test "${ac_cv_lib_readline_readline+set}" = set; then : | if ${ac_cv_lib_readline_readline+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
Line 14054 LIBS=$ac_check_lib_save_LIBS
|
Line 14788 LIBS=$ac_check_lib_save_LIBS
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
if test "x$ac_cv_lib_readline_readline" = x""yes; then : | if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
|
RDL_LIBS="-lreadline $RDL_LIBS $tcap" |
RDL_LIBS="-lreadline $RDL_LIBS $tcap" |
|
|
Line 14325 else
|
Line 15059 else
|
fi |
fi |
|
|
ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" |
if test "x$ac_cv_header_iconv_h" = x""yes; then : | if test "x$ac_cv_header_iconv_h" = xyes; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
$as_echo_n "checking for iconv... " >&6; } |
$as_echo_n "checking for iconv... " >&6; } |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 14400 fi
|
Line 15134 fi
|
if test "$WITH_ICONV" = "1" ; then |
if test "$WITH_ICONV" = "1" ; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 |
$as_echo_n "checking for iconv declaration... " >&6; } |
$as_echo_n "checking for iconv declaration... " >&6; } |
if test "${xml_cv_iconv_arg2+set}" = set; then : | if ${xml_cv_iconv_arg2+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
|
Line 14576 case "$host" in
|
Line 15310 case "$host" in
|
|
|
$as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h |
$as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h |
|
|
|
|
$as_echo "#define snprintf _snprintf" >>confdefs.h |
|
|
|
|
|
$as_echo "#define vsnprintf _vsnprintf" >>confdefs.h |
|
|
|
if test "${PYTHON}" != "" |
if test "${PYTHON}" != "" |
then |
then |
WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython${PYTHON_VERSION//./}" | WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)" |
fi |
fi |
;; |
;; |
*-*-cygwin*) |
*-*-cygwin*) |
Line 14601 esac
|
Line 15329 esac
|
|
|
|
|
|
|
|
for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf |
|
do : |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
else |
|
NEED_TRIO=1 |
|
fi |
|
done |
|
|
|
|
if test "$with_coverage" = "yes" -a "${GCC}" = "yes" |
if test "$with_coverage" = "yes" -a "${GCC}" = "yes" |
then |
then |
echo Enabling code coverage for GCC |
echo Enabling code coverage for GCC |
Line 14705 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
Line 15448 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
:end' >>confcache |
:end' >>confcache |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
if test -w "$cache_file"; then |
if test -w "$cache_file"; then |
test "x$cache_file" != "x/dev/null" && | if test "x$cache_file" != "x/dev/null"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
cat confcache >$cache_file | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| cat confcache >"$cache_file" |
| else |
| case $cache_file in #( |
| */* | ?:*) |
| mv -f confcache "$cache_file"$$ && |
| mv -f "$cache_file"$$ "$cache_file" ;; #( |
| *) |
| mv -f confcache "$cache_file" ;; |
| esac |
| fi |
| fi |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
Line 14724 DEFS=-DHAVE_CONFIG_H
|
Line 15478 DEFS=-DHAVE_CONFIG_H
|
|
|
ac_libobjs= |
ac_libobjs= |
ac_ltlibobjs= |
ac_ltlibobjs= |
|
U= |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
Line 14771 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${W
|
Line 15526 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${W
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
|
: ${CONFIG_STATUS=./config.status} | : "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
Line 14872 fi
|
Line 15627 fi
|
IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
|
|
# Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
|
as_myself= |
case $0 in #(( |
case $0 in #(( |
*[\\/]* ) as_myself=$0 ;; |
*[\\/]* ) as_myself=$0 ;; |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
Line 15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 15935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
generated by GNU Autoconf 2.66. Invocation command line was | generated by GNU Autoconf 2.68. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 15245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
Line 16001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
config.status |
config.status |
configured by $0, generated by GNU Autoconf 2.66, | configured by $0, generated by GNU Autoconf 2.68, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
Line 15266 ac_need_defaults=:
|
Line 16022 ac_need_defaults=:
|
while test $# != 0 |
while test $# != 0 |
do |
do |
case $1 in |
case $1 in |
--*=*) | --*=?*) |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
ac_shift=: |
ac_shift=: |
;; |
;; |
|
--*=) |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
ac_optarg= |
|
ac_shift=: |
|
;; |
*) |
*) |
ac_option=$1 |
ac_option=$1 |
ac_optarg=$2 |
ac_optarg=$2 |
Line 15292 do
|
Line 16053 do
|
$ac_shift |
$ac_shift |
case $ac_optarg in |
case $ac_optarg in |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
'') as_fn_error $? "missing file argument" ;; |
esac |
esac |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
Line 15398 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_s
|
Line 16160 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_s
|
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
|
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
Line 15418 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_globa
|
Line 16186 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_globa
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
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"`' |
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"`' |
|
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
Line 15458 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_va
|
Line 16229 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_va
|
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
|
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
Line 15520 lt_NL2SP \
|
Line 16291 lt_NL2SP \
|
reload_flag \ |
reload_flag \ |
deplibs_check_method \ |
deplibs_check_method \ |
file_magic_cmd \ |
file_magic_cmd \ |
|
file_magic_glob \ |
|
want_nocaseglob \ |
|
sharedlib_from_linklib_cmd \ |
AR \ |
AR \ |
AR_FLAGS \ |
AR_FLAGS \ |
|
archiver_list_spec \ |
STRIP \ |
STRIP \ |
RANLIB \ |
RANLIB \ |
CC \ |
CC \ |
Line 15531 lt_cv_sys_global_symbol_pipe \
|
Line 16306 lt_cv_sys_global_symbol_pipe \
|
lt_cv_sys_global_symbol_to_cdecl \ |
lt_cv_sys_global_symbol_to_cdecl \ |
lt_cv_sys_global_symbol_to_c_name_address \ |
lt_cv_sys_global_symbol_to_c_name_address \ |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
nm_file_list_spec \ |
lt_prog_compiler_no_builtin_flag \ |
lt_prog_compiler_no_builtin_flag \ |
lt_prog_compiler_wl \ |
|
lt_prog_compiler_pic \ |
lt_prog_compiler_pic \ |
|
lt_prog_compiler_wl \ |
lt_prog_compiler_static \ |
lt_prog_compiler_static \ |
lt_cv_prog_compiler_c_o \ |
lt_cv_prog_compiler_c_o \ |
need_locks \ |
need_locks \ |
|
MANIFEST_TOOL \ |
DSYMUTIL \ |
DSYMUTIL \ |
NMEDIT \ |
NMEDIT \ |
LIPO \ |
LIPO \ |
Line 15552 no_undefined_flag \
|
Line 16329 no_undefined_flag \
|
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec_ld \ |
hardcode_libdir_flag_spec_ld \ |
hardcode_libdir_separator \ |
hardcode_libdir_separator \ |
fix_srcfile_path \ |
|
exclude_expsyms \ |
exclude_expsyms \ |
include_expsyms \ |
include_expsyms \ |
file_list_spec \ |
file_list_spec \ |
Line 15588 module_cmds \
|
Line 16364 module_cmds \
|
module_expsym_cmds \ |
module_expsym_cmds \ |
export_symbols_cmds \ |
export_symbols_cmds \ |
prelink_cmds \ |
prelink_cmds \ |
|
postlink_cmds \ |
postinstall_cmds \ |
postinstall_cmds \ |
postuninstall_cmds \ |
postuninstall_cmds \ |
finish_cmds \ |
finish_cmds \ |
Line 15674 fi
|
Line 16451 fi
|
# after its creation but before its name has been assigned to `$tmp'. |
# after its creation but before its name has been assigned to `$tmp'. |
$debug || |
$debug || |
{ |
{ |
tmp= | tmp= ac_tmp= |
trap 'exit_status=$? |
trap 'exit_status=$? |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | : "${ac_tmp:=$tmp}" |
| { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
' 0 |
' 0 |
trap 'as_fn_exit 1' 1 2 13 15 |
trap 'as_fn_exit 1' 1 2 13 15 |
} |
} |
Line 15684 $debug ||
|
Line 16462 $debug ||
|
|
|
{ |
{ |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" | test -d "$tmp" |
} || |
} || |
{ |
{ |
tmp=./conf$$-$RANDOM |
tmp=./conf$$-$RANDOM |
(umask 077 && mkdir "$tmp") |
(umask 077 && mkdir "$tmp") |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
ac_tmp=$tmp |
|
|
# Set up the scripts for CONFIG_FILES section. |
# Set up the scripts for CONFIG_FILES section. |
# No need to generate them if there are no CONFIG_FILES. |
# No need to generate them if there are no CONFIG_FILES. |
Line 15711 else
|
Line 16490 else
|
ac_cs_awk_cr=$ac_cr |
ac_cs_awk_cr=$ac_cr |
fi |
fi |
|
|
echo 'BEGIN {' >"$tmp/subs1.awk" && | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
_ACEOF |
_ACEOF |
|
|
|
|
Line 15739 done
|
Line 16518 done
|
rm -f conf$$subs.sh |
rm -f conf$$subs.sh |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
_ACEOF |
_ACEOF |
sed -n ' |
sed -n ' |
h |
h |
Line 15787 t delim
|
Line 16566 t delim
|
rm -f conf$$subs.awk |
rm -f conf$$subs.awk |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
_ACAWK |
_ACAWK |
cat >>"\$tmp/subs1.awk" <<_ACAWK && | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
for (key in S) S_is_set[key] = 1 |
for (key in S) S_is_set[key] = 1 |
FS = "" |
FS = "" |
|
|
Line 15819 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
Line 16598 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
else |
else |
cat |
cat |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
_ACEOF |
_ACEOF |
|
|
Line 15853 fi # test -n "$CONFIG_FILES"
|
Line 16632 fi # test -n "$CONFIG_FILES"
|
# No need to generate them if there are no CONFIG_HEADERS. |
# No need to generate them if there are no CONFIG_HEADERS. |
# This happens for instance with `./config.status Makefile'. |
# This happens for instance with `./config.status Makefile'. |
if test -n "$CONFIG_HEADERS"; then |
if test -n "$CONFIG_HEADERS"; then |
cat >"$tmp/defines.awk" <<\_ACAWK || | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
BEGIN { |
BEGIN { |
_ACEOF |
_ACEOF |
|
|
Line 15865 _ACEOF
|
Line 16644 _ACEOF
|
# handling of long lines. |
# handling of long lines. |
ac_delim='%!_!# ' |
ac_delim='%!_!# ' |
for ac_last_try in false false :; do |
for ac_last_try in false false :; do |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
if test -z "$ac_t"; then | if test -z "$ac_tt"; then |
break |
break |
elif $ac_last_try; then |
elif $ac_last_try; then |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
Line 15986 do
|
Line 16765 do
|
for ac_f |
for ac_f |
do |
do |
case $ac_f in |
case $ac_f in |
-) ac_f="$tmp/stdin";; | -) ac_f="$ac_tmp/stdin";; |
*) # Look for the file first in the build tree, then in the source tree |
*) # Look for the file first in the build tree, then in the source tree |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
# because $ac_f cannot contain `:'. |
# because $ac_f cannot contain `:'. |
Line 16021 $as_echo "$as_me: creating $ac_file" >&6;}
|
Line 16800 $as_echo "$as_me: creating $ac_file" >&6;}
|
esac |
esac |
|
|
case $ac_tag in |
case $ac_tag in |
*:-:* | *:-) cat >"$tmp/stdin" \ | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
esac |
esac |
;; |
;; |
Line 16158 s&@INSTALL@&$ac_INSTALL&;t t
|
Line 16937 s&@INSTALL@&$ac_INSTALL&;t t
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
$ac_datarootdir_hack |
$ac_datarootdir_hack |
" |
" |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| "$ac_tmp/out"`; test -z "$ac_out"; } && |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined" >&5 |
which seems to be undefined. Please make sure it is defined" >&5 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined" >&2;} |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
|
rm -f "$tmp/stdin" | rm -f "$ac_tmp/stdin" |
case $ac_file in |
case $ac_file in |
-) cat "$tmp/out" && rm -f "$tmp/out";; | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
esac \ |
esac \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
;; |
;; |
Line 16183 which seems to be undefined. Please make sure it is d
|
Line 16963 which seems to be undefined. Please make sure it is d
|
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
{ |
{ |
$as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
} >"$tmp/config.h" \ | } >"$ac_tmp/config.h" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
else |
else |
rm -f "$ac_file" |
rm -f "$ac_file" |
mv "$tmp/config.h" "$ac_file" \ | mv "$ac_tmp/config.h" "$ac_file" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
fi |
fi |
else |
else |
$as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
fi |
fi |
# Compute "$ac_file"'s index in $config_headers. |
# Compute "$ac_file"'s index in $config_headers. |
Line 16471 SP2NL=$lt_lt_SP2NL
|
Line 17251 SP2NL=$lt_lt_SP2NL
|
# turn newlines into spaces. |
# turn newlines into spaces. |
NL2SP=$lt_lt_NL2SP |
NL2SP=$lt_lt_NL2SP |
|
|
|
# convert \$build file names to \$host format. |
|
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
|
|
# convert \$build files to toolchain format. |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
|
# Method to check whether dependent libraries are shared objects. |
# Method to check whether dependent libraries are shared objects. |
deplibs_check_method=$lt_deplibs_check_method |
deplibs_check_method=$lt_deplibs_check_method |
|
|
# Command to use when deplibs_check_method == "file_magic". | # Command to use when deplibs_check_method = "file_magic". |
file_magic_cmd=$lt_file_magic_cmd |
file_magic_cmd=$lt_file_magic_cmd |
|
|
|
# How to find potential files when deplibs_check_method = "file_magic". |
|
file_magic_glob=$lt_file_magic_glob |
|
|
|
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
want_nocaseglob=$lt_want_nocaseglob |
|
|
|
# Command to associate shared and link libraries. |
|
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
|
# The archiver. |
# The archiver. |
AR=$lt_AR |
AR=$lt_AR |
|
|
|
# Flags to create an archive. |
AR_FLAGS=$lt_AR_FLAGS |
AR_FLAGS=$lt_AR_FLAGS |
|
|
|
# How to feed a file listing to the archiver. |
|
archiver_list_spec=$lt_archiver_list_spec |
|
|
# A symbol stripping program. |
# A symbol stripping program. |
STRIP=$lt_STRIP |
STRIP=$lt_STRIP |
|
|
Line 16510 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s
|
Line 17310 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
|
|
# Specify filename containing input files for \$NM. |
|
nm_file_list_spec=$lt_nm_file_list_spec |
|
|
|
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
lt_sysroot=$lt_sysroot |
|
|
# The name of the directory that contains temporary libtool files. |
# The name of the directory that contains temporary libtool files. |
objdir=$objdir |
objdir=$objdir |
|
|
Line 16519 MAGIC_CMD=$MAGIC_CMD
|
Line 17325 MAGIC_CMD=$MAGIC_CMD
|
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation? |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
|
|
|
# Manifest tool. |
|
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
DSYMUTIL=$lt_DSYMUTIL |
DSYMUTIL=$lt_DSYMUTIL |
|
|
Line 16633 with_gcc=$GCC
|
Line 17442 with_gcc=$GCC
|
# Compiler flag to turn off builtin functions. |
# Compiler flag to turn off builtin functions. |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
|
# Additional compiler flags for building library objects. |
# Additional compiler flags for building library objects. |
pic_flag=$lt_lt_prog_compiler_pic |
pic_flag=$lt_lt_prog_compiler_pic |
|
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
# Compiler flag to prevent dynamic linking. |
# Compiler flag to prevent dynamic linking. |
link_static_flag=$lt_lt_prog_compiler_static |
link_static_flag=$lt_lt_prog_compiler_static |
|
|
Line 16725 inherit_rpath=$inherit_rpath
|
Line 17534 inherit_rpath=$inherit_rpath
|
# Whether libtool must link a program against all its dependency libraries. |
# Whether libtool must link a program against all its dependency libraries. |
link_all_deplibs=$link_all_deplibs |
link_all_deplibs=$link_all_deplibs |
|
|
# Fix the shell variable \$srcfile for the compiler. |
|
fix_srcfile_path=$lt_fix_srcfile_path |
|
|
|
# Set to "yes" if exported symbols are required. |
# Set to "yes" if exported symbols are required. |
always_export_symbols=$always_export_symbols |
always_export_symbols=$always_export_symbols |
|
|
Line 16743 include_expsyms=$lt_include_expsyms
|
Line 17549 include_expsyms=$lt_include_expsyms
|
# Commands necessary for linking programs (against libraries) with templates. |
# Commands necessary for linking programs (against libraries) with templates. |
prelink_cmds=$lt_prelink_cmds |
prelink_cmds=$lt_prelink_cmds |
|
|
|
# Commands necessary for finishing linking programs. |
|
postlink_cmds=$lt_postlink_cmds |
|
|
# Specify filename containing input files. |
# Specify filename containing input files. |
file_list_spec=$lt_file_list_spec |
file_list_spec=$lt_file_list_spec |
|
|
Line 16775 ltmain="$ac_aux_dir/ltmain.sh"
|
Line 17584 ltmain="$ac_aux_dir/ltmain.sh"
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# text mode, it properly converts lines to CR/LF. This bash problem |
# text mode, it properly converts lines to CR/LF. This bash problem |
# is reportedly fixed, but why not run on old versions too? |
# is reportedly fixed, but why not run on old versions too? |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ | sed '$q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) | || (rm -f "$cfgfile"; exit 1) |
|
|
case $xsi_shell in | if test x"$xsi_shell" = xyes; then |
yes) | sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
cat << \_LT_EOF >> "$cfgfile" | func_dirname ()\ |
| {\ |
| \ case ${1} in\ |
| \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| \ * ) func_dirname_result="${3}" ;;\ |
| \ esac\ |
| } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname file append nondir_replacement |
|
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
# otherwise set result to NONDIR_REPLACEMENT. |
|
func_dirname () |
|
{ |
|
case ${1} in |
|
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
* ) func_dirname_result="${3}" ;; |
|
esac |
|
} |
|
|
|
# func_basename file | sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
func_basename () | func_basename ()\ |
{ | {\ |
func_basename_result="${1##*/}" | \ func_basename_result="${1##*/}"\ |
} | } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname_and_basename file append nondir_replacement |
|
# perform func_basename and func_dirname in a single function |
|
# call: |
|
# dirname: Compute the dirname of FILE. If nonempty, |
|
# add APPEND to the result, otherwise set result |
|
# to NONDIR_REPLACEMENT. |
|
# value returned in "$func_dirname_result" |
|
# basename: Compute filename of FILE. |
|
# value retuned in "$func_basename_result" |
|
# Implementation must be kept synchronized with func_dirname |
|
# and func_basename. For efficiency, we do not delegate to |
|
# those functions but instead duplicate the functionality here. |
|
func_dirname_and_basename () |
|
{ |
|
case ${1} in |
|
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
* ) func_dirname_result="${3}" ;; |
|
esac |
|
func_basename_result="${1##*/}" |
|
} |
|
|
|
# func_stripname prefix suffix name | sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
# strip PREFIX and SUFFIX off of NAME. | func_dirname_and_basename ()\ |
# PREFIX and SUFFIX must not contain globbing or regex special | {\ |
# characters, hashes, percent signs, but SUFFIX may contain a leading | \ case ${1} in\ |
# dot (in which case that matches only a dot). | \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
func_stripname () | \ * ) func_dirname_result="${3}" ;;\ |
{ | \ esac\ |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are | \ func_basename_result="${1##*/}"\ |
# positional parameters, so assign one to ordinary parameter first. | } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
func_stripname_result=${3} | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
func_stripname_result=${func_stripname_result#"${1}"} | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
func_stripname_result=${func_stripname_result%"${2}"} | test 0 -eq $? || _lt_function_replace_fail=: |
} | |
|
|
# func_opt_split |
|
func_opt_split () |
|
{ |
|
func_opt_split_opt=${1%%=*} |
|
func_opt_split_arg=${1#*=} |
|
} |
|
|
|
# func_lo2o object | sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
func_lo2o () | func_stripname ()\ |
{ | {\ |
case ${1} in | \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; | \ # positional parameters, so assign one to ordinary parameter first.\ |
*) func_lo2o_result=${1} ;; | \ func_stripname_result=${3}\ |
esac | \ func_stripname_result=${func_stripname_result#"${1}"}\ |
} | \ func_stripname_result=${func_stripname_result%"${2}"}\ |
| } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_xform libobj-or-source |
|
func_xform () |
|
{ |
|
func_xform_result=${1%.*}.lo |
|
} |
|
|
|
# func_arith arithmetic-term... | sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
func_arith () | func_split_long_opt ()\ |
{ | {\ |
func_arith_result=$(( $* )) | \ func_split_long_opt_name=${1%%=*}\ |
} | \ func_split_long_opt_arg=${1#*=}\ |
| } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_len string |
|
# STRING may not start with a hyphen. |
|
func_len () |
|
{ |
|
func_len_result=${#1} |
|
} |
|
|
|
_LT_EOF | sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
;; | func_split_short_opt ()\ |
*) # Bourne compatible functions. | {\ |
cat << \_LT_EOF >> "$cfgfile" | \ func_split_short_opt_arg=${1#??}\ |
| \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_dirname file append nondir_replacement |
|
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
# otherwise set result to NONDIR_REPLACEMENT. |
|
func_dirname () |
|
{ |
|
# Extract subdirectory from the argument. |
|
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
|
if test "X$func_dirname_result" = "X${1}"; then |
|
func_dirname_result="${3}" |
|
else |
|
func_dirname_result="$func_dirname_result${2}" |
|
fi |
|
} |
|
|
|
# func_basename file | sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
func_basename () | func_lo2o ()\ |
{ | {\ |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` | \ case ${1} in\ |
} | \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| \ *) func_lo2o_result=${1} ;;\ |
| \ esac\ |
| } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
|
|
# func_stripname prefix suffix name | sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
# strip PREFIX and SUFFIX off of NAME. | func_xform ()\ |
# PREFIX and SUFFIX must not contain globbing or regex special | {\ |
# characters, hashes, percent signs, but SUFFIX may contain a leading | func_xform_result=${1%.*}.lo\ |
# dot (in which case that matches only a dot). | } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
# func_strip_suffix prefix name | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
func_stripname () | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
{ | test 0 -eq $? || _lt_function_replace_fail=: |
case ${2} in | |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; | |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; | |
esac | |
} | |
|
|
# sed scripts: |
|
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
|
my_sed_long_arg='1s/^-[^=]*=//' |
|
|
|
# func_opt_split | sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
func_opt_split () | func_arith ()\ |
{ | {\ |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` | func_arith_result=$(( $* ))\ |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` | } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
} | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_lo2o object |
|
func_lo2o () |
|
{ |
|
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
|
} |
|
|
|
# func_xform libobj-or-source | sed -e '/^func_len ()$/,/^} # func_len /c\ |
func_xform () | func_len ()\ |
{ | {\ |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` | func_len_result=${#1}\ |
} | } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_arith arithmetic-term... | fi |
func_arith () | |
{ | |
func_arith_result=`expr "$@"` | |
} | |
|
|
# func_len string | if test x"$lt_shell_append" = xyes; then |
# STRING may not start with a hyphen. | sed -e '/^func_append ()$/,/^} # func_append /c\ |
func_len () | func_append ()\ |
{ | {\ |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` | eval "${1}+=\\${2}"\ |
} | } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
_LT_EOF |
|
esac |
|
|
|
case $lt_shell_append in | sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
yes) | func_append_quoted ()\ |
cat << \_LT_EOF >> "$cfgfile" | {\ |
| \ func_quote_for_eval "${2}"\ |
| \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_append var value |
|
# Append VALUE to the end of shell variable VAR. |
|
func_append () |
|
{ |
|
eval "$1+=\$2" |
|
} |
|
_LT_EOF |
|
;; |
|
*) |
|
cat << \_LT_EOF >> "$cfgfile" |
|
|
|
# func_append var value | # Save a `func_append' function call where possible by direct use of '+=' |
# Append VALUE to the end of shell variable VAR. | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
func_append () | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
{ | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
eval "$1=\$$1\$2" | test 0 -eq $? || _lt_function_replace_fail=: |
} | else |
| # Save a `func_append' function call even when '+=' is not available |
| sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| test 0 -eq $? || _lt_function_replace_fail=: |
| fi |
|
|
_LT_EOF | if test x"$_lt_function_replace_fail" = x":"; then |
;; | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
esac | $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| fi |
|
|
|
|
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ | mv -f "$cfgfile" "$ofile" || |
|| (rm -f "$cfgfile"; exit 1) | |
| |
mv -f "$cfgfile" "$ofile" || | |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
chmod +x "$ofile" |
chmod +x "$ofile" |
|
|