7700
enable_win32_dll=yes
7703
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7704
if test -n "$ac_tool_prefix"; then
7705
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7706
set dummy ${ac_tool_prefix}as; ac_word=$2
7707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708
$as_echo_n "checking for $ac_word... " >&6; }
7709
if ${ac_cv_prog_AS+:} false; then :
7710
$as_echo_n "(cached) " >&6
7712
if test -n "$AS"; then
7713
ac_cv_prog_AS="$AS" # Let the user override the test.
7715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719
test -z "$as_dir" && as_dir=.
7720
for ac_exec_ext in '' $ac_executable_extensions; do
7721
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722
ac_cv_prog_AS="${ac_tool_prefix}as"
7723
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733
if test -n "$AS"; then
7734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7735
$as_echo "$AS" >&6; }
7737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738
$as_echo "no" >&6; }
7743
if test -z "$ac_cv_prog_AS"; then
7745
# Extract the first word of "as", so it can be a program name with args.
7746
set dummy as; ac_word=$2
7747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748
$as_echo_n "checking for $ac_word... " >&6; }
7749
if ${ac_cv_prog_ac_ct_AS+:} false; then :
7750
$as_echo_n "(cached) " >&6
7752
if test -n "$ac_ct_AS"; then
7753
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759
test -z "$as_dir" && as_dir=.
7760
for ac_exec_ext in '' $ac_executable_extensions; do
7761
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7762
ac_cv_prog_ac_ct_AS="as"
7763
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772
ac_ct_AS=$ac_cv_prog_ac_ct_AS
7773
if test -n "$ac_ct_AS"; then
7774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7775
$as_echo "$ac_ct_AS" >&6; }
7777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778
$as_echo "no" >&6; }
7781
if test "x$ac_ct_AS" = x; then
7784
case $cross_compiling:$ac_tool_warned in
7786
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7787
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7788
ac_tool_warned=yes ;;
7796
if test -n "$ac_tool_prefix"; then
7797
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7798
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800
$as_echo_n "checking for $ac_word... " >&6; }
7801
if ${ac_cv_prog_DLLTOOL+:} false; then :
7802
$as_echo_n "(cached) " >&6
7804
if test -n "$DLLTOOL"; then
7805
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811
test -z "$as_dir" && as_dir=.
7812
for ac_exec_ext in '' $ac_executable_extensions; do
7813
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7815
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824
DLLTOOL=$ac_cv_prog_DLLTOOL
7825
if test -n "$DLLTOOL"; then
7826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7827
$as_echo "$DLLTOOL" >&6; }
7829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830
$as_echo "no" >&6; }
7835
if test -z "$ac_cv_prog_DLLTOOL"; then
7836
ac_ct_DLLTOOL=$DLLTOOL
7837
# Extract the first word of "dlltool", so it can be a program name with args.
7838
set dummy dlltool; ac_word=$2
7839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840
$as_echo_n "checking for $ac_word... " >&6; }
7841
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7842
$as_echo_n "(cached) " >&6
7844
if test -n "$ac_ct_DLLTOOL"; then
7845
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7847
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851
test -z "$as_dir" && as_dir=.
7852
for ac_exec_ext in '' $ac_executable_extensions; do
7853
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7855
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7865
if test -n "$ac_ct_DLLTOOL"; then
7866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7867
$as_echo "$ac_ct_DLLTOOL" >&6; }
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870
$as_echo "no" >&6; }
7873
if test "x$ac_ct_DLLTOOL" = x; then
7876
case $cross_compiling:$ac_tool_warned in
7878
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880
ac_tool_warned=yes ;;
7882
DLLTOOL=$ac_ct_DLLTOOL
7885
DLLTOOL="$ac_cv_prog_DLLTOOL"
7888
if test -n "$ac_tool_prefix"; then
7889
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7890
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892
$as_echo_n "checking for $ac_word... " >&6; }
7893
if ${ac_cv_prog_OBJDUMP+:} false; then :
7894
$as_echo_n "(cached) " >&6
7896
if test -n "$OBJDUMP"; then
7897
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903
test -z "$as_dir" && as_dir=.
7904
for ac_exec_ext in '' $ac_executable_extensions; do
7905
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7907
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916
OBJDUMP=$ac_cv_prog_OBJDUMP
7917
if test -n "$OBJDUMP"; then
7918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7919
$as_echo "$OBJDUMP" >&6; }
7921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922
$as_echo "no" >&6; }
7927
if test -z "$ac_cv_prog_OBJDUMP"; then
7928
ac_ct_OBJDUMP=$OBJDUMP
7929
# Extract the first word of "objdump", so it can be a program name with args.
7930
set dummy objdump; ac_word=$2
7931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932
$as_echo_n "checking for $ac_word... " >&6; }
7933
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7934
$as_echo_n "(cached) " >&6
7936
if test -n "$ac_ct_OBJDUMP"; then
7937
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943
test -z "$as_dir" && as_dir=.
7944
for ac_exec_ext in '' $ac_executable_extensions; do
7945
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7947
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7957
if test -n "$ac_ct_OBJDUMP"; then
7958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7959
$as_echo "$ac_ct_OBJDUMP" >&6; }
7961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962
$as_echo "no" >&6; }
7965
if test "x$ac_ct_OBJDUMP" = x; then
7968
case $cross_compiling:$ac_tool_warned in
7970
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972
ac_tool_warned=yes ;;
7974
OBJDUMP=$ac_ct_OBJDUMP
7977
OBJDUMP="$ac_cv_prog_OBJDUMP"
7983
test -z "$AS" && AS=as
7989
test -z "$DLLTOOL" && DLLTOOL=dlltool
7995
test -z "$OBJDUMP" && OBJDUMP=objdump
8004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)" >&5
8005
$as_echo_n "checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)... " >&6; }
8007
x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
8008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8009
$as_echo "yes" >&6; }
8013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014
$as_echo "no" >&6; }
8018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is icc (to build with PIC)" >&5
8019
$as_echo_n "checking if compiler is icc (to build with PIC)... " >&6; }
8022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8023
$as_echo "yes" >&6; }
8027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
$as_echo "no" >&6; }
8034
7702
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
10800
# ------------------------------------ #
10801
# Determine libtool default behavior #
10802
# ------------------------------------ #
10805
# Default behavior is to enable shared and static libraries on systems
10806
# where libtool knows how to build both library versions, and does not
10807
# require separate configuration and build runs for each flavor.
10810
xc_lt_want_enable_shared='yes'
10811
xc_lt_want_enable_static='yes'
10814
# User may have disabled shared or static libraries.
10816
case "x$enable_shared" in # (
10818
xc_lt_want_enable_shared='no'
10821
case "x$enable_static" in # (
10823
xc_lt_want_enable_static='no'
10826
if test "x$xc_lt_want_enable_shared" = 'xno' &&
10827
test "x$xc_lt_want_enable_static" = 'xno'; then
10828
as_fn_error $? "can not disable shared and static libraries simultaneously" "$LINENO" 5
10832
# Default behavior on systems that require independent configuration
10833
# and build runs for shared and static is to enable shared libraries
10834
# and disable static ones. On these systems option '--disable-shared'
10835
# must be used in order to build a proper static library.
10838
if test "x$xc_lt_want_enable_shared" = 'xyes' &&
10839
test "x$xc_lt_want_enable_static" = 'xyes'; then
10840
case $host_os in # (
10841
mingw* | pw32* | cegcc* | os2* | aix*)
10842
xc_lt_want_enable_static='no'
10848
# Make libtool aware of current shared and static library preferences
10849
# taking in account that, depending on host characteristics, libtool
10850
# may modify these option preferences later in this configure script.
10853
enable_shared=$xc_lt_want_enable_shared
10854
enable_static=$xc_lt_want_enable_static
10857
# Default behavior is to build PIC objects for shared libraries and
10858
# non-PIC objects for static libraries.
10861
xc_lt_want_with_pic='default'
10864
# User may have specified PIC preference.
10867
case "x$with_pic" in # ((
10869
xc_lt_want_with_pic='no'
10872
xc_lt_want_with_pic='yes'
10877
# Default behavior on some systems where building a shared library out
10878
# of non-PIC compiled objects will fail with following linker error
10879
# "relocation R_X86_64_32 can not be used when making a shared object"
10880
# is to build PIC objects even for static libraries. This behavior may
10881
# be overriden using 'configure --disable-shared --without-pic'.
10884
if test "x$xc_lt_want_with_pic" = 'xdefault'; then
10885
case $host_cpu in # (
10886
x86_64 | amd64 | ia64)
10887
case $host_os in # (
10889
xc_lt_want_with_pic='yes'
10897
# Make libtool aware of current PIC preference taking in account that,
10898
# depending on host characteristics, libtool may modify PIC default
10899
# behavior to fit host system idiosyncrasies later in this script.
10902
with_pic=$xc_lt_want_with_pic
10904
## ----------------------- ##
10905
## Start of libtool code ##
10906
## ----------------------- ##
11136
10911
# Set options
10912
enable_win32_dll=yes
10915
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
10916
if test -n "$ac_tool_prefix"; then
10917
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
10918
set dummy ${ac_tool_prefix}as; ac_word=$2
10919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10920
$as_echo_n "checking for $ac_word... " >&6; }
10921
if ${ac_cv_prog_AS+:} false; then :
10922
$as_echo_n "(cached) " >&6
10924
if test -n "$AS"; then
10925
ac_cv_prog_AS="$AS" # Let the user override the test.
10927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10928
for as_dir in $PATH
10931
test -z "$as_dir" && as_dir=.
10932
for ac_exec_ext in '' $ac_executable_extensions; do
10933
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10934
ac_cv_prog_AS="${ac_tool_prefix}as"
10935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10945
if test -n "$AS"; then
10946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
10947
$as_echo "$AS" >&6; }
10949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10950
$as_echo "no" >&6; }
10955
if test -z "$ac_cv_prog_AS"; then
10957
# Extract the first word of "as", so it can be a program name with args.
10958
set dummy as; ac_word=$2
10959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10960
$as_echo_n "checking for $ac_word... " >&6; }
10961
if ${ac_cv_prog_ac_ct_AS+:} false; then :
10962
$as_echo_n "(cached) " >&6
10964
if test -n "$ac_ct_AS"; then
10965
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
10967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10968
for as_dir in $PATH
10971
test -z "$as_dir" && as_dir=.
10972
for ac_exec_ext in '' $ac_executable_extensions; do
10973
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10974
ac_cv_prog_ac_ct_AS="as"
10975
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10984
ac_ct_AS=$ac_cv_prog_ac_ct_AS
10985
if test -n "$ac_ct_AS"; then
10986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
10987
$as_echo "$ac_ct_AS" >&6; }
10989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990
$as_echo "no" >&6; }
10993
if test "x$ac_ct_AS" = x; then
10996
case $cross_compiling:$ac_tool_warned in
10998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11000
ac_tool_warned=yes ;;
11005
AS="$ac_cv_prog_AS"
11008
if test -n "$ac_tool_prefix"; then
11009
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11010
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11012
$as_echo_n "checking for $ac_word... " >&6; }
11013
if ${ac_cv_prog_DLLTOOL+:} false; then :
11014
$as_echo_n "(cached) " >&6
11016
if test -n "$DLLTOOL"; then
11017
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11020
for as_dir in $PATH
11023
test -z "$as_dir" && as_dir=.
11024
for ac_exec_ext in '' $ac_executable_extensions; do
11025
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11026
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11036
DLLTOOL=$ac_cv_prog_DLLTOOL
11037
if test -n "$DLLTOOL"; then
11038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11039
$as_echo "$DLLTOOL" >&6; }
11041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11042
$as_echo "no" >&6; }
11047
if test -z "$ac_cv_prog_DLLTOOL"; then
11048
ac_ct_DLLTOOL=$DLLTOOL
11049
# Extract the first word of "dlltool", so it can be a program name with args.
11050
set dummy dlltool; ac_word=$2
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11052
$as_echo_n "checking for $ac_word... " >&6; }
11053
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
11054
$as_echo_n "(cached) " >&6
11056
if test -n "$ac_ct_DLLTOOL"; then
11057
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11060
for as_dir in $PATH
11063
test -z "$as_dir" && as_dir=.
11064
for ac_exec_ext in '' $ac_executable_extensions; do
11065
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11066
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11067
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11076
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11077
if test -n "$ac_ct_DLLTOOL"; then
11078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11079
$as_echo "$ac_ct_DLLTOOL" >&6; }
11081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11082
$as_echo "no" >&6; }
11085
if test "x$ac_ct_DLLTOOL" = x; then
11088
case $cross_compiling:$ac_tool_warned in
11090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11092
ac_tool_warned=yes ;;
11094
DLLTOOL=$ac_ct_DLLTOOL
11097
DLLTOOL="$ac_cv_prog_DLLTOOL"
11100
if test -n "$ac_tool_prefix"; then
11101
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
11102
set dummy ${ac_tool_prefix}objdump; ac_word=$2
11103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11104
$as_echo_n "checking for $ac_word... " >&6; }
11105
if ${ac_cv_prog_OBJDUMP+:} false; then :
11106
$as_echo_n "(cached) " >&6
11108
if test -n "$OBJDUMP"; then
11109
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11112
for as_dir in $PATH
11115
test -z "$as_dir" && as_dir=.
11116
for ac_exec_ext in '' $ac_executable_extensions; do
11117
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11118
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
11119
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11128
OBJDUMP=$ac_cv_prog_OBJDUMP
11129
if test -n "$OBJDUMP"; then
11130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
11131
$as_echo "$OBJDUMP" >&6; }
11133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11134
$as_echo "no" >&6; }
11139
if test -z "$ac_cv_prog_OBJDUMP"; then
11140
ac_ct_OBJDUMP=$OBJDUMP
11141
# Extract the first word of "objdump", so it can be a program name with args.
11142
set dummy objdump; ac_word=$2
11143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11144
$as_echo_n "checking for $ac_word... " >&6; }
11145
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
11146
$as_echo_n "(cached) " >&6
11148
if test -n "$ac_ct_OBJDUMP"; then
11149
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
11151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11152
for as_dir in $PATH
11155
test -z "$as_dir" && as_dir=.
11156
for ac_exec_ext in '' $ac_executable_extensions; do
11157
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11158
ac_cv_prog_ac_ct_OBJDUMP="objdump"
11159
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11168
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
11169
if test -n "$ac_ct_OBJDUMP"; then
11170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
11171
$as_echo "$ac_ct_OBJDUMP" >&6; }
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174
$as_echo "no" >&6; }
11177
if test "x$ac_ct_OBJDUMP" = x; then
11180
case $cross_compiling:$ac_tool_warned in
11182
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11184
ac_tool_warned=yes ;;
11186
OBJDUMP=$ac_ct_OBJDUMP
11189
OBJDUMP="$ac_cv_prog_OBJDUMP"
11195
test -z "$AS" && AS=as
11201
test -z "$DLLTOOL" && DLLTOOL=dlltool
11207
test -z "$OBJDUMP" && OBJDUMP=objdump
15122
15197
# Only expand once:
15126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -mimpure-text" >&5
15127
$as_echo_n "checking if we need -mimpure-text... " >&6; }
15131
if test "$GCC" = "yes"; then
15138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mimpure" >&5
15139
$as_echo "$mimpure" >&6; }
15140
if test x$mimpure = xyes; then
15149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need BUILDING_LIBCURL" >&5
15150
$as_echo_n "checking if we need BUILDING_LIBCURL... " >&6; }
15151
use_cppflag_building_libcurl="no"
15152
use_cppflag_curl_staticlib="no"
15153
CPPFLAG_CURL_STATICLIB=""
15156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15157
$as_echo "yes" >&6; }
15158
use_cppflag_building_libcurl="yes"
15159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need CURL_STATICLIB" >&5
15160
$as_echo_n "checking if we need CURL_STATICLIB... " >&6; }
15161
if test "X$enable_shared" = "Xno"
15163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15164
$as_echo "yes" >&6; }
15165
use_cppflag_curl_staticlib="yes"
15166
CPPFLAG_CURL_STATICLIB="-DCURL_STATICLIB"
15168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15169
$as_echo "no" >&6; }
15173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15174
$as_echo "no" >&6; }
15177
if test x$use_cppflag_building_libcurl = xyes; then
15178
USE_CPPFLAG_BUILDING_LIBCURL_TRUE=
15179
USE_CPPFLAG_BUILDING_LIBCURL_FALSE='#'
15181
USE_CPPFLAG_BUILDING_LIBCURL_TRUE='#'
15182
USE_CPPFLAG_BUILDING_LIBCURL_FALSE=
15185
if test x$use_cppflag_curl_staticlib = xyes; then
15200
## --------------------- ##
15201
## End of libtool code ##
15202
## --------------------- ##
15205
# Verify if finally libtool shared libraries will be built
15208
case "x$enable_shared" in # ((
15210
xc_lt_build_shared=$enable_shared
15213
as_fn_error $? "unexpected libtool enable_shared value: $enable_shared" "$LINENO" 5
15218
# Verify if finally libtool static libraries will be built
15221
case "x$enable_static" in # ((
15223
xc_lt_build_static=$enable_static
15226
as_fn_error $? "unexpected libtool enable_static value: $enable_static" "$LINENO" 5
15231
# Verify if libtool shared libraries should be linked using flag -version-info
15234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -version-info" >&5
15235
$as_echo_n "checking whether to build shared libraries with -version-info... " >&6; }
15236
xc_lt_shlib_use_version_info='yes'
15237
if test "x$version_type" = 'xnone'; then
15238
xc_lt_shlib_use_version_info='no'
15240
case $host_os in # (
15242
xc_lt_shlib_use_version_info='yes'
15245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
15246
$as_echo "$xc_lt_shlib_use_version_info" >&6; }
15249
# Verify if libtool shared libraries should be linked using flag -no-undefined
15252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-undefined" >&5
15253
$as_echo_n "checking whether to build shared libraries with -no-undefined... " >&6; }
15254
xc_lt_shlib_use_no_undefined='no'
15255
if test "x$allow_undefined" = 'xno'; then
15256
xc_lt_shlib_use_no_undefined='yes'
15257
elif test "x$allow_undefined_flag" = 'xunsupported'; then
15258
xc_lt_shlib_use_no_undefined='yes'
15260
case $host_os in # (
15261
cygwin* | mingw* | pw32* | cegcc* | os2* | aix*)
15262
xc_lt_shlib_use_no_undefined='yes'
15265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
15266
$as_echo "$xc_lt_shlib_use_no_undefined" >&6; }
15269
# Verify if libtool shared libraries should be linked using flag -mimpure-text
15272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimpure-text" >&5
15273
$as_echo_n "checking whether to build shared libraries with -mimpure-text... " >&6; }
15274
xc_lt_shlib_use_mimpure_text='no'
15275
case $host_os in # (
15277
if test "x$GCC" = 'xyes'; then
15278
xc_lt_shlib_use_mimpure_text='yes'
15282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
15283
$as_echo "$xc_lt_shlib_use_mimpure_text" >&6; }
15286
# Find out wether libtool libraries would be built wit PIC
15289
case "x$pic_mode" in # ((((
15291
xc_lt_build_shared_with_pic='yes'
15292
xc_lt_build_static_with_pic='no'
15295
xc_lt_build_shared_with_pic='yes'
15296
xc_lt_build_static_with_pic='yes'
15299
xc_lt_build_shared_with_pic='no'
15300
xc_lt_build_static_with_pic='no'
15303
xc_lt_build_shared_with_pic='unknown'
15304
xc_lt_build_static_with_pic='unknown'
15305
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mode" >&5
15306
$as_echo "$as_me: WARNING: unexpected libtool pic_mode value: $pic_mode" >&2;}
15309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" >&5
15310
$as_echo_n "checking whether to build shared libraries with PIC... " >&6; }
15311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
15312
$as_echo "$xc_lt_build_shared_with_pic" >&6; }
15313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" >&5
15314
$as_echo_n "checking whether to build static libraries with PIC... " >&6; }
15315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
15316
$as_echo "$xc_lt_build_static_with_pic" >&6; }
15319
# Verify if libtool shared libraries will be built while static not built
15322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
15323
$as_echo_n "checking whether to build shared libraries only... " >&6; }
15324
if test "$xc_lt_build_shared" = 'yes' &&
15325
test "$xc_lt_build_static" = 'no'; then
15326
xc_lt_build_shared_only='yes'
15328
xc_lt_build_shared_only='no'
15330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
15331
$as_echo "$xc_lt_build_shared_only" >&6; }
15334
# Verify if libtool static libraries will be built while shared not built
15337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
15338
$as_echo_n "checking whether to build static libraries only... " >&6; }
15339
if test "$xc_lt_build_static" = 'yes' &&
15340
test "$xc_lt_build_shared" = 'no'; then
15341
xc_lt_build_static_only='yes'
15343
xc_lt_build_static_only='no'
15345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
15346
$as_echo "$xc_lt_build_static_only" >&6; }
15352
# Automake conditionals based on libtool related checks
15355
if test "x$xc_lt_shlib_use_version_info" = 'xyes'; then
15356
CURL_LT_SHLIB_USE_VERSION_INFO_TRUE=
15357
CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#'
15359
CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='#'
15360
CURL_LT_SHLIB_USE_VERSION_INFO_FALSE=
15363
if test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
15364
CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE=
15365
CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE='#'
15367
CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
15368
CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=
15371
if test "x$xc_lt_shlib_use_mimpure_text" = 'xyes'; then
15372
CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE=
15373
CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE='#'
15375
CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
15376
CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=
15381
# Due to libtool and automake machinery limitations of not allowing
15382
# specifying separate CPPFLAGS or CFLAGS when compiling objects for
15383
# inclusion of these in shared or static libraries, we are forced to
15384
# build using separate configure runs for shared and static libraries
15385
# on systems where different CPPFLAGS or CFLAGS are mandatory in order
15386
# to compile objects for each kind of library. Notice that relying on
15387
# the '-DPIC' CFLAG that libtool provides is not valid given that the
15388
# user might for example choose to build static libraries with PIC.
15392
# Make our Makefile.am files use the staticlib CPPFLAG only when strictly
15393
# targeting a static library and not building its shared counterpart.
15396
if test "x$xc_lt_build_static_only" = 'xyes'; then
15186
15397
USE_CPPFLAG_CURL_STATICLIB_TRUE=
15187
15398
USE_CPPFLAG_CURL_STATICLIB_FALSE='#'
27716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for recvfrom" >&5
27717
$as_echo_n "checking for recvfrom... " >&6; }
27718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27719
/* end confdefs.h. */
27723
#ifdef HAVE_WINDOWS_H
27724
#ifndef WIN32_LEAN_AND_MEAN
27725
#define WIN32_LEAN_AND_MEAN
27727
#include <windows.h>
27728
#ifdef HAVE_WINSOCK2_H
27729
#include <winsock2.h>
27731
#ifdef HAVE_WINSOCK_H
27732
#include <winsock.h>
27736
#ifdef HAVE_SYS_TYPES_H
27737
#include <sys/types.h>
27739
#ifdef HAVE_SYS_SOCKET_H
27740
#include <sys/socket.h>
27747
recvfrom(0, 0, 0, 0, 0, 0);
27754
if ac_fn_c_try_link "$LINENO"; then :
27756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27757
$as_echo "yes" >&6; }
27758
curl_cv_recvfrom="yes"
27762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27763
$as_echo "no" >&6; }
27764
curl_cv_recvfrom="no"
27767
rm -f core conftest.err conftest.$ac_objext \
27768
conftest$ac_exeext conftest.$ac_ext
27770
if test "$curl_cv_recvfrom" = "yes"; then
27771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recvfrom" >&5
27772
$as_echo_n "checking types of args and return type for recvfrom... " >&6; }
27773
if ${curl_cv_func_recvfrom_args+:} false; then :
27774
$as_echo_n "(cached) " >&6
27777
curl_cv_func_recvfrom_args="unknown"
27778
for recvfrom_retv in 'int' 'ssize_t'; do
27779
for recvfrom_arg1 in 'int' 'ssize_t' 'SOCKET'; do
27780
for recvfrom_arg2 in 'char *' 'void *'; do
27781
for recvfrom_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
27782
for recvfrom_arg4 in 'int' 'unsigned int'; do
27783
for recvfrom_arg5 in 'struct sockaddr *' 'void *' 'const struct sockaddr *'; do
27784
for recvfrom_arg6 in 'socklen_t *' 'int *' 'unsigned int *' 'size_t *' 'void *'; do
27785
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
27786
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27787
/* end confdefs.h. */
27791
#ifdef HAVE_WINDOWS_H
27792
#ifndef WIN32_LEAN_AND_MEAN
27793
#define WIN32_LEAN_AND_MEAN
27795
#include <windows.h>
27796
#ifdef HAVE_WINSOCK2_H
27797
#include <winsock2.h>
27799
#ifdef HAVE_WINSOCK_H
27800
#include <winsock.h>
27803
#define RECVFROMCALLCONV PASCAL
27805
#ifdef HAVE_SYS_TYPES_H
27806
#include <sys/types.h>
27808
#ifdef HAVE_SYS_SOCKET_H
27809
#include <sys/socket.h>
27811
#define RECVFROMCALLCONV
27813
extern $recvfrom_retv RECVFROMCALLCONV
27814
recvfrom($recvfrom_arg1, $recvfrom_arg2,
27815
$recvfrom_arg3, $recvfrom_arg4,
27816
$recvfrom_arg5, $recvfrom_arg6);
27821
$recvfrom_arg1 s=0;
27822
$recvfrom_arg2 buf=0;
27823
$recvfrom_arg3 len=0;
27824
$recvfrom_arg4 flags=0;
27825
$recvfrom_arg5 addr=0;
27826
$recvfrom_arg6 addrlen=0;
27827
$recvfrom_retv res=0;
27828
res = recvfrom(s, buf, len, flags, addr, addrlen);
27835
if ac_fn_c_try_compile "$LINENO"; then :
27837
curl_cv_func_recvfrom_args="$recvfrom_arg1,$recvfrom_arg2,$recvfrom_arg3,$recvfrom_arg4,$recvfrom_arg5,$recvfrom_arg6,$recvfrom_retv"
27840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recvfrom_args" >&5
27852
$as_echo "$curl_cv_func_recvfrom_args" >&6; } # AC-CACHE-CHECK
27853
# Nearly last minute change for this release starts here
27855
cat >>confdefs.h <<_ACEOF
27856
#define HAVE_RECVFROM 1
27859
ac_cv_func_recvfrom="yes"
27860
# Nearly last minute change for this release ends here
27861
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
27862
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for recvfrom args" >&5
27863
$as_echo "$as_me: WARNING: Cannot find proper types to use for recvfrom args" >&2;}
27865
recvfrom_prev_IFS=$IFS; IFS=','
27866
set dummy `echo "$curl_cv_func_recvfrom_args" | sed 's/\*/\*/g'`
27867
IFS=$recvfrom_prev_IFS
27870
recvfrom_ptrt_arg2=$2
27871
recvfrom_qual_ptrt_arg5=$5
27872
recvfrom_ptrt_arg6=$6
27875
cat >>confdefs.h <<_ACEOF
27876
#define RECVFROM_TYPE_ARG1 $1
27880
cat >>confdefs.h <<_ACEOF
27881
#define RECVFROM_TYPE_ARG3 $3
27885
cat >>confdefs.h <<_ACEOF
27886
#define RECVFROM_TYPE_ARG4 $4
27890
cat >>confdefs.h <<_ACEOF
27891
#define RECVFROM_TYPE_RETV $7
27897
case $prev_sh_opts in
27905
case "$recvfrom_qual_ptrt_arg5" in
27907
recvfrom_qual_arg5=const
27908
recvfrom_ptrt_arg5=`echo $recvfrom_qual_ptrt_arg5 | sed 's/^const //'`
27911
recvfrom_qual_arg5=
27912
recvfrom_ptrt_arg5=$recvfrom_qual_ptrt_arg5
27916
recvfrom_type_arg2=`echo $recvfrom_ptrt_arg2 | sed 's/ \*//'`
27917
recvfrom_type_arg5=`echo $recvfrom_ptrt_arg5 | sed 's/ \*//'`
27918
recvfrom_type_arg6=`echo $recvfrom_ptrt_arg6 | sed 's/ \*//'`
27921
cat >>confdefs.h <<_ACEOF
27922
#define RECVFROM_TYPE_ARG2 $recvfrom_type_arg2
27926
cat >>confdefs.h <<_ACEOF
27927
#define RECVFROM_QUAL_ARG5 $recvfrom_qual_arg5
27931
cat >>confdefs.h <<_ACEOF
27932
#define RECVFROM_TYPE_ARG5 $recvfrom_type_arg5
27936
cat >>confdefs.h <<_ACEOF
27937
#define RECVFROM_TYPE_ARG6 $recvfrom_type_arg6
27941
if test "$recvfrom_type_arg2" = "void"; then
27943
cat >>confdefs.h <<_ACEOF
27944
#define RECVFROM_TYPE_ARG2_IS_VOID 1
27948
if test "$recvfrom_type_arg5" = "void"; then
27950
cat >>confdefs.h <<_ACEOF
27951
#define RECVFROM_TYPE_ARG5_IS_VOID 1
27955
if test "$recvfrom_type_arg6" = "void"; then
27957
cat >>confdefs.h <<_ACEOF
27958
#define RECVFROM_TYPE_ARG6_IS_VOID 1
27963
case $prev_sh_opts in
27972
cat >>confdefs.h <<_ACEOF
27973
#define HAVE_RECVFROM 1
27976
ac_cv_func_recvfrom="yes"
27979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to link function recvfrom" >&5
27980
$as_echo "$as_me: WARNING: Unable to link function recvfrom" >&2;}
27984
for ac_header in sys/types.h sys/socket.h
27986
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27987
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
27988
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
27989
cat >>confdefs.h <<_ACEOF
27990
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27998
27881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for send" >&5
27999
27882
$as_echo_n "checking for send... " >&6; }
28000
27883
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35933
tst_links_strcasestr="unknown"
35934
tst_proto_strcasestr="unknown"
35935
tst_compi_strcasestr="unknown"
35936
tst_allow_strcasestr="unknown"
35938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr can be linked" >&5
35939
$as_echo_n "checking if strcasestr can be linked... " >&6; }
35940
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35941
/* end confdefs.h. */
35944
#define strcasestr innocuous_strcasestr
35946
# include <limits.h>
35948
# include <assert.h>
35954
char strcasestr ();
35955
#if defined __stub_strcasestr || defined __stub___strcasestr
35961
return strcasestr ();
35967
if ac_fn_c_try_link "$LINENO"; then :
35969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35970
$as_echo "yes" >&6; }
35971
tst_links_strcasestr="yes"
35975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35976
$as_echo "no" >&6; }
35977
tst_links_strcasestr="no"
35980
rm -f core conftest.err conftest.$ac_objext \
35981
conftest$ac_exeext conftest.$ac_ext
35983
if test "$tst_links_strcasestr" = "yes"; then
35984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr is prototyped" >&5
35985
$as_echo_n "checking if strcasestr is prototyped... " >&6; }
35986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35987
/* end confdefs.h. */
35989
$curl_includes_string
35992
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35993
$EGREP "strcasestr" >/dev/null 2>&1; then :
35995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35996
$as_echo "yes" >&6; }
35997
tst_proto_strcasestr="yes"
36001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36002
$as_echo "no" >&6; }
36003
tst_proto_strcasestr="no"
36010
if test "$tst_proto_strcasestr" = "yes"; then
36011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr is compilable" >&5
36012
$as_echo_n "checking if strcasestr is compilable... " >&6; }
36013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36014
/* end confdefs.h. */
36017
$curl_includes_string
36022
if(0 != strcasestr(0, 0))
36030
if ac_fn_c_try_compile "$LINENO"; then :
36032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36033
$as_echo "yes" >&6; }
36034
tst_compi_strcasestr="yes"
36038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36039
$as_echo "no" >&6; }
36040
tst_compi_strcasestr="no"
36043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046
if test "$tst_compi_strcasestr" = "yes"; then
36047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr usage allowed" >&5
36048
$as_echo_n "checking if strcasestr usage allowed... " >&6; }
36049
if test "x$curl_disallow_strcasestr" != "xyes"; then
36050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36051
$as_echo "yes" >&6; }
36052
tst_allow_strcasestr="yes"
36054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36055
$as_echo "no" >&6; }
36056
tst_allow_strcasestr="no"
36060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasestr might be used" >&5
36061
$as_echo_n "checking if strcasestr might be used... " >&6; }
36062
if test "$tst_links_strcasestr" = "yes" &&
36063
test "$tst_proto_strcasestr" = "yes" &&
36064
test "$tst_compi_strcasestr" = "yes" &&
36065
test "$tst_allow_strcasestr" = "yes"; then
36066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36067
$as_echo "yes" >&6; }
36069
cat >>confdefs.h <<_ACEOF
36070
#define HAVE_STRCASESTR 1
36073
ac_cv_func_strcasestr="yes"
36075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36076
$as_echo "no" >&6; }
36077
ac_cv_func_strcasestr="no"
36082
35816
tst_links_strcmpi="unknown"
36083
35817
tst_proto_strcmpi="unknown"
36084
35818
tst_compi_strcmpi="unknown"
36941
tst_links_strlcat="unknown"
36942
tst_proto_strlcat="unknown"
36943
tst_compi_strlcat="unknown"
36944
tst_allow_strlcat="unknown"
36946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat can be linked" >&5
36947
$as_echo_n "checking if strlcat can be linked... " >&6; }
36948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36949
/* end confdefs.h. */
36952
#define strlcat innocuous_strlcat
36954
# include <limits.h>
36956
# include <assert.h>
36963
#if defined __stub_strlcat || defined __stub___strlcat
36975
if ac_fn_c_try_link "$LINENO"; then :
36977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36978
$as_echo "yes" >&6; }
36979
tst_links_strlcat="yes"
36983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36984
$as_echo "no" >&6; }
36985
tst_links_strlcat="no"
36988
rm -f core conftest.err conftest.$ac_objext \
36989
conftest$ac_exeext conftest.$ac_ext
36991
if test "$tst_links_strlcat" = "yes"; then
36992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat is prototyped" >&5
36993
$as_echo_n "checking if strlcat is prototyped... " >&6; }
36994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995
/* end confdefs.h. */
36997
$curl_includes_string
37000
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37001
$EGREP "strlcat" >/dev/null 2>&1; then :
37003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37004
$as_echo "yes" >&6; }
37005
tst_proto_strlcat="yes"
37009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37010
$as_echo "no" >&6; }
37011
tst_proto_strlcat="no"
37018
if test "$tst_proto_strlcat" = "yes"; then
37019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat is compilable" >&5
37020
$as_echo_n "checking if strlcat is compilable... " >&6; }
37021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37022
/* end confdefs.h. */
37025
$curl_includes_string
37030
if(0 != strlcat(0, 0, 0))
37038
if ac_fn_c_try_compile "$LINENO"; then :
37040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37041
$as_echo "yes" >&6; }
37042
tst_compi_strlcat="yes"
37046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37047
$as_echo "no" >&6; }
37048
tst_compi_strlcat="no"
37051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37054
if test "$tst_compi_strlcat" = "yes"; then
37055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat usage allowed" >&5
37056
$as_echo_n "checking if strlcat usage allowed... " >&6; }
37057
if test "x$curl_disallow_strlcat" != "xyes"; then
37058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37059
$as_echo "yes" >&6; }
37060
tst_allow_strlcat="yes"
37062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37063
$as_echo "no" >&6; }
37064
tst_allow_strlcat="no"
37068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strlcat might be used" >&5
37069
$as_echo_n "checking if strlcat might be used... " >&6; }
37070
if test "$tst_links_strlcat" = "yes" &&
37071
test "$tst_proto_strlcat" = "yes" &&
37072
test "$tst_compi_strlcat" = "yes" &&
37073
test "$tst_allow_strlcat" = "yes"; then
37074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37075
$as_echo "yes" >&6; }
37077
cat >>confdefs.h <<_ACEOF
37078
#define HAVE_STRLCAT 1
37081
ac_cv_func_strlcat="yes"
37083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37084
$as_echo "no" >&6; }
37085
ac_cv_func_strlcat="no"
37090
36675
tst_links_strncasecmp="unknown"
37091
36676
tst_proto_strncasecmp="unknown"
37092
36677
tst_compi_strncasecmp="unknown"