~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
902
902
PERL
903
903
IPV6_ENABLED
904
904
IDN_ENABLED
905
 
VERSIONED_SYMBOLS_FALSE
906
 
VERSIONED_SYMBOLS_TRUE
907
 
VERSIONED_FLAVOUR
 
905
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE
 
906
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE
 
907
CURL_LT_SHLIB_VERSIONED_FLAVOUR
908
908
USE_LIBRTMP
909
909
USE_LIBSSH2
910
910
LIBMETALINK_CPPFLAGS
954
954
BUILD_UNITTESTS_TRUE
955
955
CURLDEBUG_FALSE
956
956
CURLDEBUG_TRUE
957
 
NO_UNDEFINED_FALSE
958
 
NO_UNDEFINED_TRUE
959
957
USE_EXPLICIT_LIB_DEPS_FALSE
960
958
USE_EXPLICIT_LIB_DEPS_TRUE
961
959
REQUIRE_LIB_DEPS
962
960
CPPFLAG_CURL_STATICLIB
963
961
USE_CPPFLAG_CURL_STATICLIB_FALSE
964
962
USE_CPPFLAG_CURL_STATICLIB_TRUE
965
 
USE_CPPFLAG_BUILDING_LIBCURL_FALSE
966
 
USE_CPPFLAG_BUILDING_LIBCURL_TRUE
967
 
MIMPURE_FALSE
968
 
MIMPURE_TRUE
 
963
CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE
 
964
CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE
 
965
CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE
 
966
CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE
 
967
CURL_LT_SHLIB_USE_VERSION_INFO_FALSE
 
968
CURL_LT_SHLIB_USE_VERSION_INFO_TRUE
969
969
OTOOL64
970
970
OTOOL
971
971
LIPO
7697
7697
fi
7698
7698
 
7699
7699
 
7700
 
enable_win32_dll=yes
7701
 
 
7702
 
case $host in
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
7711
 
else
7712
 
  if test -n "$AS"; then
7713
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
7714
 
else
7715
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7716
 
for as_dir in $PATH
7717
 
do
7718
 
  IFS=$as_save_IFS
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
7724
 
    break 2
7725
 
  fi
7726
 
done
7727
 
  done
7728
 
IFS=$as_save_IFS
7729
 
 
7730
 
fi
7731
 
fi
7732
 
AS=$ac_cv_prog_AS
7733
 
if test -n "$AS"; then
7734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7735
 
$as_echo "$AS" >&6; }
7736
 
else
7737
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738
 
$as_echo "no" >&6; }
7739
 
fi
7740
 
 
7741
 
 
7742
 
fi
7743
 
if test -z "$ac_cv_prog_AS"; then
7744
 
  ac_ct_AS=$AS
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
7751
 
else
7752
 
  if test -n "$ac_ct_AS"; then
7753
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7754
 
else
7755
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7756
 
for as_dir in $PATH
7757
 
do
7758
 
  IFS=$as_save_IFS
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
7764
 
    break 2
7765
 
  fi
7766
 
done
7767
 
  done
7768
 
IFS=$as_save_IFS
7769
 
 
7770
 
fi
7771
 
fi
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; }
7776
 
else
7777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778
 
$as_echo "no" >&6; }
7779
 
fi
7780
 
 
7781
 
  if test "x$ac_ct_AS" = x; then
7782
 
    AS="false"
7783
 
  else
7784
 
    case $cross_compiling:$ac_tool_warned in
7785
 
yes:)
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 ;;
7789
 
esac
7790
 
    AS=$ac_ct_AS
7791
 
  fi
7792
 
else
7793
 
  AS="$ac_cv_prog_AS"
7794
 
fi
7795
 
 
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
7803
 
else
7804
 
  if test -n "$DLLTOOL"; then
7805
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7806
 
else
7807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808
 
for as_dir in $PATH
7809
 
do
7810
 
  IFS=$as_save_IFS
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
7816
 
    break 2
7817
 
  fi
7818
 
done
7819
 
  done
7820
 
IFS=$as_save_IFS
7821
 
 
7822
 
fi
7823
 
fi
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; }
7828
 
else
7829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830
 
$as_echo "no" >&6; }
7831
 
fi
7832
 
 
7833
 
 
7834
 
fi
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
7843
 
else
7844
 
  if test -n "$ac_ct_DLLTOOL"; then
7845
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7846
 
else
7847
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848
 
for as_dir in $PATH
7849
 
do
7850
 
  IFS=$as_save_IFS
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
7856
 
    break 2
7857
 
  fi
7858
 
done
7859
 
  done
7860
 
IFS=$as_save_IFS
7861
 
 
7862
 
fi
7863
 
fi
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; }
7868
 
else
7869
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870
 
$as_echo "no" >&6; }
7871
 
fi
7872
 
 
7873
 
  if test "x$ac_ct_DLLTOOL" = x; then
7874
 
    DLLTOOL="false"
7875
 
  else
7876
 
    case $cross_compiling:$ac_tool_warned in
7877
 
yes:)
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 ;;
7881
 
esac
7882
 
    DLLTOOL=$ac_ct_DLLTOOL
7883
 
  fi
7884
 
else
7885
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
7886
 
fi
7887
 
 
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
7895
 
else
7896
 
  if test -n "$OBJDUMP"; then
7897
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7898
 
else
7899
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900
 
for as_dir in $PATH
7901
 
do
7902
 
  IFS=$as_save_IFS
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
7908
 
    break 2
7909
 
  fi
7910
 
done
7911
 
  done
7912
 
IFS=$as_save_IFS
7913
 
 
7914
 
fi
7915
 
fi
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; }
7920
 
else
7921
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922
 
$as_echo "no" >&6; }
7923
 
fi
7924
 
 
7925
 
 
7926
 
fi
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
7935
 
else
7936
 
  if test -n "$ac_ct_OBJDUMP"; then
7937
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7938
 
else
7939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940
 
for as_dir in $PATH
7941
 
do
7942
 
  IFS=$as_save_IFS
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
7948
 
    break 2
7949
 
  fi
7950
 
done
7951
 
  done
7952
 
IFS=$as_save_IFS
7953
 
 
7954
 
fi
7955
 
fi
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; }
7960
 
else
7961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962
 
$as_echo "no" >&6; }
7963
 
fi
7964
 
 
7965
 
  if test "x$ac_ct_OBJDUMP" = x; then
7966
 
    OBJDUMP="false"
7967
 
  else
7968
 
    case $cross_compiling:$ac_tool_warned in
7969
 
yes:)
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 ;;
7973
 
esac
7974
 
    OBJDUMP=$ac_ct_OBJDUMP
7975
 
  fi
7976
 
else
7977
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
7978
 
fi
7979
 
 
7980
 
  ;;
7981
 
esac
7982
 
 
7983
 
test -z "$AS" && AS=as
7984
 
 
7985
 
 
7986
 
 
7987
 
 
7988
 
 
7989
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
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; }
8006
 
case $host in
8007
 
  x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
8008
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8009
 
$as_echo "yes" >&6; }
8010
 
    with_pic=yes
8011
 
    ;;
8012
 
  *)
8013
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014
 
$as_echo "no" >&6; }
8015
 
    ;;
8016
 
esac
8017
 
 
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; }
8020
 
case $CC in
8021
 
  icc | */icc)
8022
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8023
 
$as_echo "yes" >&6; }
8024
 
    with_pic=yes
8025
 
    ;;
8026
 
  *)
8027
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
 
$as_echo "no" >&6; }
8029
 
    ;;
8030
 
esac
8031
 
 
8032
7700
case `pwd` in
8033
7701
  *\ * | *\     *)
8034
7702
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
11129
10797
 
11130
10798
done
11131
10799
 
 
10800
# ------------------------------------ #
 
10801
#  Determine libtool default behavior  #
 
10802
# ------------------------------------ #
 
10803
 
 
10804
#
 
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.
 
10808
#
 
10809
 
 
10810
xc_lt_want_enable_shared='yes'
 
10811
xc_lt_want_enable_static='yes'
 
10812
 
 
10813
#
 
10814
# User may have disabled shared or static libraries.
 
10815
#
 
10816
case "x$enable_shared" in # (
 
10817
  xno)
 
10818
    xc_lt_want_enable_shared='no'
 
10819
    ;;
 
10820
esac
 
10821
case "x$enable_static" in # (
 
10822
  xno)
 
10823
    xc_lt_want_enable_static='no'
 
10824
    ;;
 
10825
esac
 
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
 
10829
fi
 
10830
 
 
10831
#
 
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.
 
10836
#
 
10837
 
 
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'
 
10843
      ;;
 
10844
  esac
 
10845
fi
 
10846
 
 
10847
#
 
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.
 
10851
#
 
10852
 
 
10853
enable_shared=$xc_lt_want_enable_shared
 
10854
enable_static=$xc_lt_want_enable_static
 
10855
 
 
10856
#
 
10857
# Default behavior is to build PIC objects for shared libraries and
 
10858
# non-PIC objects for static libraries.
 
10859
#
 
10860
 
 
10861
xc_lt_want_with_pic='default'
 
10862
 
 
10863
#
 
10864
# User may have specified PIC preference.
 
10865
#
 
10866
 
 
10867
case "x$with_pic" in # ((
 
10868
  xno)
 
10869
    xc_lt_want_with_pic='no'
 
10870
    ;;
 
10871
  xyes)
 
10872
    xc_lt_want_with_pic='yes'
 
10873
    ;;
 
10874
esac
 
10875
 
 
10876
#
 
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'.
 
10882
#
 
10883
 
 
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 # (
 
10888
        linux* | freebsd*)
 
10889
          xc_lt_want_with_pic='yes'
 
10890
          ;;
 
10891
      esac
 
10892
      ;;
 
10893
  esac
 
10894
fi
 
10895
 
 
10896
#
 
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.
 
10900
#
 
10901
 
 
10902
with_pic=$xc_lt_want_with_pic
 
10903
 
 
10904
## ----------------------- ##
 
10905
##  Start of libtool code  ##
 
10906
## ----------------------- ##
11132
10907
 
11133
10908
 
11134
10909
 
11135
10910
 
11136
10911
# Set options
 
10912
enable_win32_dll=yes
 
10913
 
 
10914
case $host in
 
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
 
10923
else
 
10924
  if test -n "$AS"; then
 
10925
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
10926
else
 
10927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10928
for as_dir in $PATH
 
10929
do
 
10930
  IFS=$as_save_IFS
 
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
 
10936
    break 2
 
10937
  fi
 
10938
done
 
10939
  done
 
10940
IFS=$as_save_IFS
 
10941
 
 
10942
fi
 
10943
fi
 
10944
AS=$ac_cv_prog_AS
 
10945
if test -n "$AS"; then
 
10946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
10947
$as_echo "$AS" >&6; }
 
10948
else
 
10949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10950
$as_echo "no" >&6; }
 
10951
fi
 
10952
 
 
10953
 
 
10954
fi
 
10955
if test -z "$ac_cv_prog_AS"; then
 
10956
  ac_ct_AS=$AS
 
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
 
10963
else
 
10964
  if test -n "$ac_ct_AS"; then
 
10965
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
10966
else
 
10967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10968
for as_dir in $PATH
 
10969
do
 
10970
  IFS=$as_save_IFS
 
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
 
10976
    break 2
 
10977
  fi
 
10978
done
 
10979
  done
 
10980
IFS=$as_save_IFS
 
10981
 
 
10982
fi
 
10983
fi
 
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; }
 
10988
else
 
10989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10990
$as_echo "no" >&6; }
 
10991
fi
 
10992
 
 
10993
  if test "x$ac_ct_AS" = x; then
 
10994
    AS="false"
 
10995
  else
 
10996
    case $cross_compiling:$ac_tool_warned in
 
10997
yes:)
 
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 ;;
 
11001
esac
 
11002
    AS=$ac_ct_AS
 
11003
  fi
 
11004
else
 
11005
  AS="$ac_cv_prog_AS"
 
11006
fi
 
11007
 
 
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
 
11015
else
 
11016
  if test -n "$DLLTOOL"; then
 
11017
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
11018
else
 
11019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11020
for as_dir in $PATH
 
11021
do
 
11022
  IFS=$as_save_IFS
 
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
 
11028
    break 2
 
11029
  fi
 
11030
done
 
11031
  done
 
11032
IFS=$as_save_IFS
 
11033
 
 
11034
fi
 
11035
fi
 
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; }
 
11040
else
 
11041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11042
$as_echo "no" >&6; }
 
11043
fi
 
11044
 
 
11045
 
 
11046
fi
 
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
 
11055
else
 
11056
  if test -n "$ac_ct_DLLTOOL"; then
 
11057
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
11058
else
 
11059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11060
for as_dir in $PATH
 
11061
do
 
11062
  IFS=$as_save_IFS
 
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
 
11068
    break 2
 
11069
  fi
 
11070
done
 
11071
  done
 
11072
IFS=$as_save_IFS
 
11073
 
 
11074
fi
 
11075
fi
 
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; }
 
11080
else
 
11081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11082
$as_echo "no" >&6; }
 
11083
fi
 
11084
 
 
11085
  if test "x$ac_ct_DLLTOOL" = x; then
 
11086
    DLLTOOL="false"
 
11087
  else
 
11088
    case $cross_compiling:$ac_tool_warned in
 
11089
yes:)
 
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 ;;
 
11093
esac
 
11094
    DLLTOOL=$ac_ct_DLLTOOL
 
11095
  fi
 
11096
else
 
11097
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
11098
fi
 
11099
 
 
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
 
11107
else
 
11108
  if test -n "$OBJDUMP"; then
 
11109
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
11110
else
 
11111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11112
for as_dir in $PATH
 
11113
do
 
11114
  IFS=$as_save_IFS
 
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
 
11120
    break 2
 
11121
  fi
 
11122
done
 
11123
  done
 
11124
IFS=$as_save_IFS
 
11125
 
 
11126
fi
 
11127
fi
 
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; }
 
11132
else
 
11133
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11134
$as_echo "no" >&6; }
 
11135
fi
 
11136
 
 
11137
 
 
11138
fi
 
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
 
11147
else
 
11148
  if test -n "$ac_ct_OBJDUMP"; then
 
11149
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
11150
else
 
11151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11152
for as_dir in $PATH
 
11153
do
 
11154
  IFS=$as_save_IFS
 
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
 
11160
    break 2
 
11161
  fi
 
11162
done
 
11163
  done
 
11164
IFS=$as_save_IFS
 
11165
 
 
11166
fi
 
11167
fi
 
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; }
 
11172
else
 
11173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11174
$as_echo "no" >&6; }
 
11175
fi
 
11176
 
 
11177
  if test "x$ac_ct_OBJDUMP" = x; then
 
11178
    OBJDUMP="false"
 
11179
  else
 
11180
    case $cross_compiling:$ac_tool_warned in
 
11181
yes:)
 
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 ;;
 
11185
esac
 
11186
    OBJDUMP=$ac_ct_OBJDUMP
 
11187
  fi
 
11188
else
 
11189
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
11190
fi
 
11191
 
 
11192
  ;;
 
11193
esac
 
11194
 
 
11195
test -z "$AS" && AS=as
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
test -z "$OBJDUMP" && OBJDUMP=objdump
 
11208
 
 
11209
 
 
11210
 
 
11211
 
11137
11212
 
11138
11213
 
11139
11214
 
15122
15197
# Only expand once:
15123
15198
 
15124
15199
 
15125
 
 
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; }
15128
 
mimpure=no
15129
 
case $host in
15130
 
  *-*-solaris2*)
15131
 
    if test "$GCC" = "yes"; then
15132
 
      mimpure="yes"
15133
 
    fi
15134
 
    ;;
15135
 
  *)
15136
 
    ;;
15137
 
esac
15138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mimpure" >&5
15139
 
$as_echo "$mimpure" >&6; }
15140
 
 if test x$mimpure = xyes; then
15141
 
  MIMPURE_TRUE=
15142
 
  MIMPURE_FALSE='#'
15143
 
else
15144
 
  MIMPURE_TRUE='#'
15145
 
  MIMPURE_FALSE=
15146
 
fi
15147
 
 
15148
 
 
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=""
15154
 
case $host in
15155
 
  *-*-mingw*)
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"
15162
 
    then
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"
15167
 
    else
15168
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15169
 
$as_echo "no" >&6; }
15170
 
    fi
15171
 
    ;;
15172
 
  *)
15173
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15174
 
$as_echo "no" >&6; }
15175
 
    ;;
15176
 
esac
15177
 
 if test x$use_cppflag_building_libcurl = xyes; then
15178
 
  USE_CPPFLAG_BUILDING_LIBCURL_TRUE=
15179
 
  USE_CPPFLAG_BUILDING_LIBCURL_FALSE='#'
15180
 
else
15181
 
  USE_CPPFLAG_BUILDING_LIBCURL_TRUE='#'
15182
 
  USE_CPPFLAG_BUILDING_LIBCURL_FALSE=
15183
 
fi
15184
 
 
15185
 
 if test x$use_cppflag_curl_staticlib = xyes; then
 
15200
## --------------------- ##
 
15201
##  End of libtool code  ##
 
15202
## --------------------- ##
 
15203
 
 
15204
#
 
15205
# Verify if finally libtool shared libraries will be built
 
15206
#
 
15207
 
 
15208
case "x$enable_shared" in # ((
 
15209
  xyes | xno)
 
15210
    xc_lt_build_shared=$enable_shared
 
15211
    ;;
 
15212
  *)
 
15213
    as_fn_error $? "unexpected libtool enable_shared value: $enable_shared" "$LINENO" 5
 
15214
    ;;
 
15215
esac
 
15216
 
 
15217
#
 
15218
# Verify if finally libtool static libraries will be built
 
15219
#
 
15220
 
 
15221
case "x$enable_static" in # ((
 
15222
  xyes | xno)
 
15223
    xc_lt_build_static=$enable_static
 
15224
    ;;
 
15225
  *)
 
15226
    as_fn_error $? "unexpected libtool enable_static value: $enable_static" "$LINENO" 5
 
15227
    ;;
 
15228
esac
 
15229
 
 
15230
#
 
15231
# Verify if libtool shared libraries should be linked using flag -version-info
 
15232
#
 
15233
 
 
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'
 
15239
fi
 
15240
case $host_os in # (
 
15241
  amigaos*)
 
15242
    xc_lt_shlib_use_version_info='yes'
 
15243
    ;;
 
15244
esac
 
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; }
 
15247
 
 
15248
#
 
15249
# Verify if libtool shared libraries should be linked using flag -no-undefined
 
15250
#
 
15251
 
 
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'
 
15259
fi
 
15260
case $host_os in # (
 
15261
  cygwin* | mingw* | pw32* | cegcc* | os2* | aix*)
 
15262
    xc_lt_shlib_use_no_undefined='yes'
 
15263
    ;;
 
15264
esac
 
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; }
 
15267
 
 
15268
#
 
15269
# Verify if libtool shared libraries should be linked using flag -mimpure-text
 
15270
#
 
15271
 
 
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 # (
 
15276
  solaris2*)
 
15277
    if test "x$GCC" = 'xyes'; then
 
15278
      xc_lt_shlib_use_mimpure_text='yes'
 
15279
    fi
 
15280
    ;;
 
15281
esac
 
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; }
 
15284
 
 
15285
#
 
15286
# Find out wether libtool libraries would be built wit PIC
 
15287
#
 
15288
 
 
15289
case "x$pic_mode" in # ((((
 
15290
  xdefault)
 
15291
    xc_lt_build_shared_with_pic='yes'
 
15292
    xc_lt_build_static_with_pic='no'
 
15293
    ;;
 
15294
  xyes)
 
15295
    xc_lt_build_shared_with_pic='yes'
 
15296
    xc_lt_build_static_with_pic='yes'
 
15297
    ;;
 
15298
  xno)
 
15299
    xc_lt_build_shared_with_pic='no'
 
15300
    xc_lt_build_static_with_pic='no'
 
15301
    ;;
 
15302
  *)
 
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;}
 
15307
    ;;
 
15308
esac
 
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; }
 
15317
 
 
15318
#
 
15319
# Verify if libtool shared libraries will be built while static not built
 
15320
#
 
15321
 
 
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'
 
15327
else
 
15328
  xc_lt_build_shared_only='no'
 
15329
fi
 
15330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
 
15331
$as_echo "$xc_lt_build_shared_only" >&6; }
 
15332
 
 
15333
#
 
15334
# Verify if libtool static libraries will be built while shared not built
 
15335
#
 
15336
 
 
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'
 
15342
else
 
15343
  xc_lt_build_static_only='no'
 
15344
fi
 
15345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
 
15346
$as_echo "$xc_lt_build_static_only" >&6; }
 
15347
 
 
15348
 
 
15349
 
 
15350
 
 
15351
#
 
15352
# Automake conditionals based on libtool related checks
 
15353
#
 
15354
 
 
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='#'
 
15358
else
 
15359
  CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='#'
 
15360
  CURL_LT_SHLIB_USE_VERSION_INFO_FALSE=
 
15361
fi
 
15362
 
 
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='#'
 
15366
else
 
15367
  CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
 
15368
  CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=
 
15369
fi
 
15370
 
 
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='#'
 
15374
else
 
15375
  CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
 
15376
  CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=
 
15377
fi
 
15378
 
 
15379
 
 
15380
#
 
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.
 
15389
#
 
15390
 
 
15391
#
 
15392
# Make our Makefile.am files use the staticlib CPPFLAG only when strictly
 
15393
# targeting a static library and not building its shared counterpart.
 
15394
#
 
15395
 
 
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='#'
15188
15399
else
15191
15402
fi
15192
15403
 
15193
15404
 
 
15405
#
 
15406
# Make staticlib CPPFLAG variable and its definition visible in output
 
15407
# files unconditionally, providing an empty definition unless strictly
 
15408
# targeting a static library and not building its shared counterpart.
 
15409
#
 
15410
 
 
15411
CPPFLAG_CURL_STATICLIB=
 
15412
if test "x$xc_lt_build_static_only" = 'xyes'; then
 
15413
  CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
 
15414
fi
 
15415
 
 
15416
 
15194
15417
 
15195
15418
# Determine whether all dependent libraries must be specified when linking
15196
15419
if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
15209
15432
fi
15210
15433
 
15211
15434
 
15212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15213
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15214
 
set x ${MAKE-make}
15215
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15216
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
15217
 
  $as_echo_n "(cached) " >&6
15218
 
else
15219
 
  cat >conftest.make <<\_ACEOF
15220
 
SHELL = /bin/sh
15221
 
all:
15222
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
15223
 
_ACEOF
15224
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15225
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
15226
 
  *@@@%%%=?*=@@@%%%*)
15227
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
15228
 
  *)
15229
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
15230
 
esac
15231
 
rm -f conftest.make
15232
 
fi
15233
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15234
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15235
 
$as_echo "yes" >&6; }
15236
 
  SET_MAKE=
15237
 
else
15238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239
 
$as_echo "no" >&6; }
15240
 
  SET_MAKE="MAKE=${MAKE-make}"
15241
 
fi
15242
 
 
15243
 
 
15244
15435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15245
15436
$as_echo_n "checking for inline... " >&6; }
15246
15437
if ${ac_cv_c_inline+:} false; then :
17696
17887
 
17697
17888
 
17698
17889
 
17699
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if shared libraries need -no-undefined" >&5
17700
 
$as_echo_n "checking if shared libraries need -no-undefined... " >&6; }
17701
 
  need_no_undefined="no"
17702
 
  case $host in
17703
 
    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc* | *-*-aix*)
17704
 
      need_no_undefined="yes"
17705
 
      ;;
17706
 
  esac
17707
 
  if test "x$allow_undefined" = "xno"; then
17708
 
    need_no_undefined="yes"
17709
 
  elif test "x$allow_undefined_flag" = "xunsupported"; then
17710
 
    need_no_undefined="yes"
17711
 
  fi
17712
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_no_undefined" >&5
17713
 
$as_echo "$need_no_undefined" >&6; }
17714
 
 
17715
 
 if test x$need_no_undefined = xyes; then
17716
 
  NO_UNDEFINED_TRUE=
17717
 
  NO_UNDEFINED_FALSE='#'
17718
 
else
17719
 
  NO_UNDEFINED_TRUE='#'
17720
 
  NO_UNDEFINED_FALSE=
17721
 
fi
17722
 
 
17723
 
 
17724
 
 
17725
 
    supports_curldebug="unknown"
 
17890
      supports_curldebug="unknown"
17726
17891
  if test "$want_curldebug" = "yes"; then
17727
17892
    if test "x$enable_shared" != "xno" &&
17728
17893
      test "x$enable_shared" != "xyes"; then
17738
17903
    fi
17739
17904
    if test "$supports_curldebug" != "no"; then
17740
17905
      if test "$enable_shared" = "yes" &&
17741
 
        test "$need_no_undefined" = "yes"; then
 
17906
        test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
17742
17907
        supports_curldebug="no"
17743
17908
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined symbols." >&5
17744
17909
$as_echo "$as_me: WARNING: shared library does not support undefined symbols." >&2;}
23819
23984
if test "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED$POLARSSL_ENABLED$AXTLS_ENABLED$CYASSL_ENABLED$WINSSL_ENABLED$DARWINSSL_ENABLED" = "x"; then
23820
23985
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&5
23821
23986
$as_echo "$as_me: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&2;}
23822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls or --with-winssl to address this." >&5
23823
 
$as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls or --with-winssl to address this." >&2;}
 
23987
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this." >&5
 
23988
$as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this." >&2;}
23824
23989
else
23825
23990
  # SSL is enabled, genericly
23826
23991
 
24868
25033
fi
24869
25034
 
24870
25035
 
24871
 
VERSIONED_FLAVOUR="$versioned_symbols_flavour"
 
25036
CURL_LT_SHLIB_VERSIONED_FLAVOUR="$versioned_symbols_flavour"
24872
25037
 
24873
 
 if test "x$versioned_symbols" = "xyes"; then
24874
 
  VERSIONED_SYMBOLS_TRUE=
24875
 
  VERSIONED_SYMBOLS_FALSE='#'
 
25038
 if test "x$versioned_symbols" = 'xyes'; then
 
25039
  CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE=
 
25040
  CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='#'
24876
25041
else
24877
 
  VERSIONED_SYMBOLS_TRUE='#'
24878
 
  VERSIONED_SYMBOLS_FALSE=
 
25042
  CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#'
 
25043
  CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE=
24879
25044
fi
24880
25045
 
24881
25046
 
27713
27878
done
27714
27879
 
27715
27880
  #
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.  */
27720
 
 
27721
 
 
27722
 
#undef inline
27723
 
#ifdef HAVE_WINDOWS_H
27724
 
#ifndef WIN32_LEAN_AND_MEAN
27725
 
#define WIN32_LEAN_AND_MEAN
27726
 
#endif
27727
 
#include <windows.h>
27728
 
#ifdef HAVE_WINSOCK2_H
27729
 
#include <winsock2.h>
27730
 
#else
27731
 
#ifdef HAVE_WINSOCK_H
27732
 
#include <winsock.h>
27733
 
#endif
27734
 
#endif
27735
 
#else
27736
 
#ifdef HAVE_SYS_TYPES_H
27737
 
#include <sys/types.h>
27738
 
#endif
27739
 
#ifdef HAVE_SYS_SOCKET_H
27740
 
#include <sys/socket.h>
27741
 
#endif
27742
 
#endif
27743
 
 
27744
 
int main (void)
27745
 
{
27746
 
 
27747
 
      recvfrom(0, 0, 0, 0, 0, 0);
27748
 
 
27749
 
 ;
27750
 
 return 0;
27751
 
}
27752
 
 
27753
 
_ACEOF
27754
 
if ac_fn_c_try_link "$LINENO"; then :
27755
 
 
27756
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27757
 
$as_echo "yes" >&6; }
27758
 
    curl_cv_recvfrom="yes"
27759
 
 
27760
 
else
27761
 
 
27762
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27763
 
$as_echo "no" >&6; }
27764
 
    curl_cv_recvfrom="no"
27765
 
 
27766
 
fi
27767
 
rm -f core conftest.err conftest.$ac_objext \
27768
 
    conftest$ac_exeext conftest.$ac_ext
27769
 
  #
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
27775
 
else
27776
 
 
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.  */
27788
 
 
27789
 
 
27790
 
#undef inline
27791
 
#ifdef HAVE_WINDOWS_H
27792
 
#ifndef WIN32_LEAN_AND_MEAN
27793
 
#define WIN32_LEAN_AND_MEAN
27794
 
#endif
27795
 
#include <windows.h>
27796
 
#ifdef HAVE_WINSOCK2_H
27797
 
#include <winsock2.h>
27798
 
#else
27799
 
#ifdef HAVE_WINSOCK_H
27800
 
#include <winsock.h>
27801
 
#endif
27802
 
#endif
27803
 
#define RECVFROMCALLCONV PASCAL
27804
 
#else
27805
 
#ifdef HAVE_SYS_TYPES_H
27806
 
#include <sys/types.h>
27807
 
#endif
27808
 
#ifdef HAVE_SYS_SOCKET_H
27809
 
#include <sys/socket.h>
27810
 
#endif
27811
 
#define RECVFROMCALLCONV
27812
 
#endif
27813
 
                          extern $recvfrom_retv RECVFROMCALLCONV
27814
 
                          recvfrom($recvfrom_arg1, $recvfrom_arg2,
27815
 
                                   $recvfrom_arg3, $recvfrom_arg4,
27816
 
                                   $recvfrom_arg5, $recvfrom_arg6);
27817
 
 
27818
 
int main (void)
27819
 
{
27820
 
 
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);
27829
 
 
27830
 
 ;
27831
 
 return 0;
27832
 
}
27833
 
 
27834
 
_ACEOF
27835
 
if ac_fn_c_try_compile "$LINENO"; then :
27836
 
 
27837
 
                        curl_cv_func_recvfrom_args="$recvfrom_arg1,$recvfrom_arg2,$recvfrom_arg3,$recvfrom_arg4,$recvfrom_arg5,$recvfrom_arg6,$recvfrom_retv"
27838
 
 
27839
 
fi
27840
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841
 
                    fi
27842
 
                  done
27843
 
                done
27844
 
              done
27845
 
            done
27846
 
          done
27847
 
        done
27848
 
      done
27849
 
 
27850
 
fi
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
27854
 
 
27855
 
cat >>confdefs.h <<_ACEOF
27856
 
#define HAVE_RECVFROM 1
27857
 
_ACEOF
27858
 
 
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;}
27864
 
    else
27865
 
      recvfrom_prev_IFS=$IFS; IFS=','
27866
 
      set dummy `echo "$curl_cv_func_recvfrom_args" | sed 's/\*/\*/g'`
27867
 
      IFS=$recvfrom_prev_IFS
27868
 
      shift
27869
 
      #
27870
 
      recvfrom_ptrt_arg2=$2
27871
 
      recvfrom_qual_ptrt_arg5=$5
27872
 
      recvfrom_ptrt_arg6=$6
27873
 
      #
27874
 
 
27875
 
cat >>confdefs.h <<_ACEOF
27876
 
#define RECVFROM_TYPE_ARG1 $1
27877
 
_ACEOF
27878
 
 
27879
 
 
27880
 
cat >>confdefs.h <<_ACEOF
27881
 
#define RECVFROM_TYPE_ARG3 $3
27882
 
_ACEOF
27883
 
 
27884
 
 
27885
 
cat >>confdefs.h <<_ACEOF
27886
 
#define RECVFROM_TYPE_ARG4 $4
27887
 
_ACEOF
27888
 
 
27889
 
 
27890
 
cat >>confdefs.h <<_ACEOF
27891
 
#define RECVFROM_TYPE_RETV $7
27892
 
_ACEOF
27893
 
 
27894
 
      #
27895
 
      prev_sh_opts=$-
27896
 
      #
27897
 
      case $prev_sh_opts in
27898
 
        *f*)
27899
 
          ;;
27900
 
        *)
27901
 
          set -f
27902
 
          ;;
27903
 
      esac
27904
 
      #
27905
 
      case "$recvfrom_qual_ptrt_arg5" in
27906
 
        const*)
27907
 
          recvfrom_qual_arg5=const
27908
 
          recvfrom_ptrt_arg5=`echo $recvfrom_qual_ptrt_arg5 | sed 's/^const //'`
27909
 
        ;;
27910
 
        *)
27911
 
          recvfrom_qual_arg5=
27912
 
          recvfrom_ptrt_arg5=$recvfrom_qual_ptrt_arg5
27913
 
        ;;
27914
 
      esac
27915
 
      #
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/ \*//'`
27919
 
      #
27920
 
 
27921
 
cat >>confdefs.h <<_ACEOF
27922
 
#define RECVFROM_TYPE_ARG2 $recvfrom_type_arg2
27923
 
_ACEOF
27924
 
 
27925
 
 
27926
 
cat >>confdefs.h <<_ACEOF
27927
 
#define RECVFROM_QUAL_ARG5 $recvfrom_qual_arg5
27928
 
_ACEOF
27929
 
 
27930
 
 
27931
 
cat >>confdefs.h <<_ACEOF
27932
 
#define RECVFROM_TYPE_ARG5 $recvfrom_type_arg5
27933
 
_ACEOF
27934
 
 
27935
 
 
27936
 
cat >>confdefs.h <<_ACEOF
27937
 
#define RECVFROM_TYPE_ARG6 $recvfrom_type_arg6
27938
 
_ACEOF
27939
 
 
27940
 
      #
27941
 
      if test "$recvfrom_type_arg2" = "void"; then
27942
 
 
27943
 
cat >>confdefs.h <<_ACEOF
27944
 
#define RECVFROM_TYPE_ARG2_IS_VOID 1
27945
 
_ACEOF
27946
 
 
27947
 
      fi
27948
 
      if test "$recvfrom_type_arg5" = "void"; then
27949
 
 
27950
 
cat >>confdefs.h <<_ACEOF
27951
 
#define RECVFROM_TYPE_ARG5_IS_VOID 1
27952
 
_ACEOF
27953
 
 
27954
 
      fi
27955
 
      if test "$recvfrom_type_arg6" = "void"; then
27956
 
 
27957
 
cat >>confdefs.h <<_ACEOF
27958
 
#define RECVFROM_TYPE_ARG6_IS_VOID 1
27959
 
_ACEOF
27960
 
 
27961
 
      fi
27962
 
      #
27963
 
      case $prev_sh_opts in
27964
 
        *f*)
27965
 
          ;;
27966
 
        *)
27967
 
          set +f
27968
 
          ;;
27969
 
      esac
27970
 
      #
27971
 
 
27972
 
cat >>confdefs.h <<_ACEOF
27973
 
#define HAVE_RECVFROM 1
27974
 
_ACEOF
27975
 
 
27976
 
      ac_cv_func_recvfrom="yes"
27977
 
    fi
27978
 
  else
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;}
27981
 
  fi
27982
 
 
27983
 
 
27984
 
      for ac_header in sys/types.h sys/socket.h
27985
 
do :
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
27991
 
_ACEOF
27992
 
 
27993
 
fi
27994
 
 
27995
 
done
27996
 
 
27997
 
  #
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
35930
35813
 
35931
35814
 
35932
35815
    #
35933
 
  tst_links_strcasestr="unknown"
35934
 
  tst_proto_strcasestr="unknown"
35935
 
  tst_compi_strcasestr="unknown"
35936
 
  tst_allow_strcasestr="unknown"
35937
 
  #
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.  */
35942
 
 
35943
 
 
35944
 
#define strcasestr innocuous_strcasestr
35945
 
#ifdef __STDC__
35946
 
# include <limits.h>
35947
 
#else
35948
 
# include <assert.h>
35949
 
#endif
35950
 
#undef strcasestr
35951
 
#ifdef __cplusplus
35952
 
extern "C"
35953
 
#endif
35954
 
char strcasestr ();
35955
 
#if defined __stub_strcasestr || defined __stub___strcasestr
35956
 
choke me
35957
 
#endif
35958
 
 
35959
 
int main (void)
35960
 
{
35961
 
return strcasestr ();
35962
 
 ;
35963
 
 return 0;
35964
 
}
35965
 
 
35966
 
_ACEOF
35967
 
if ac_fn_c_try_link "$LINENO"; then :
35968
 
 
35969
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35970
 
$as_echo "yes" >&6; }
35971
 
    tst_links_strcasestr="yes"
35972
 
 
35973
 
else
35974
 
 
35975
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35976
 
$as_echo "no" >&6; }
35977
 
    tst_links_strcasestr="no"
35978
 
 
35979
 
fi
35980
 
rm -f core conftest.err conftest.$ac_objext \
35981
 
    conftest$ac_exeext conftest.$ac_ext
35982
 
  #
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.  */
35988
 
 
35989
 
      $curl_includes_string
35990
 
 
35991
 
_ACEOF
35992
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35993
 
  $EGREP "strcasestr" >/dev/null 2>&1; then :
35994
 
 
35995
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35996
 
$as_echo "yes" >&6; }
35997
 
      tst_proto_strcasestr="yes"
35998
 
 
35999
 
else
36000
 
 
36001
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36002
 
$as_echo "no" >&6; }
36003
 
      tst_proto_strcasestr="no"
36004
 
 
36005
 
fi
36006
 
rm -f conftest*
36007
 
 
36008
 
  fi
36009
 
  #
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.  */
36015
 
 
36016
 
 
36017
 
        $curl_includes_string
36018
 
 
36019
 
int main (void)
36020
 
{
36021
 
 
36022
 
        if(0 != strcasestr(0, 0))
36023
 
          return 1;
36024
 
 
36025
 
 ;
36026
 
 return 0;
36027
 
}
36028
 
 
36029
 
_ACEOF
36030
 
if ac_fn_c_try_compile "$LINENO"; then :
36031
 
 
36032
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36033
 
$as_echo "yes" >&6; }
36034
 
      tst_compi_strcasestr="yes"
36035
 
 
36036
 
else
36037
 
 
36038
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36039
 
$as_echo "no" >&6; }
36040
 
      tst_compi_strcasestr="no"
36041
 
 
36042
 
fi
36043
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36044
 
  fi
36045
 
  #
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"
36053
 
    else
36054
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36055
 
$as_echo "no" >&6; }
36056
 
      tst_allow_strcasestr="no"
36057
 
    fi
36058
 
  fi
36059
 
  #
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; }
36068
 
 
36069
 
cat >>confdefs.h <<_ACEOF
36070
 
#define HAVE_STRCASESTR 1
36071
 
_ACEOF
36072
 
 
36073
 
    ac_cv_func_strcasestr="yes"
36074
 
  else
36075
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36076
 
$as_echo "no" >&6; }
36077
 
    ac_cv_func_strcasestr="no"
36078
 
  fi
36079
 
 
36080
 
 
36081
 
    #
36082
35816
  tst_links_strcmpi="unknown"
36083
35817
  tst_proto_strcmpi="unknown"
36084
35818
  tst_compi_strcmpi="unknown"
36938
36672
 
36939
36673
 
36940
36674
    #
36941
 
  tst_links_strlcat="unknown"
36942
 
  tst_proto_strlcat="unknown"
36943
 
  tst_compi_strlcat="unknown"
36944
 
  tst_allow_strlcat="unknown"
36945
 
  #
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.  */
36950
 
 
36951
 
 
36952
 
#define strlcat innocuous_strlcat
36953
 
#ifdef __STDC__
36954
 
# include <limits.h>
36955
 
#else
36956
 
# include <assert.h>
36957
 
#endif
36958
 
#undef strlcat
36959
 
#ifdef __cplusplus
36960
 
extern "C"
36961
 
#endif
36962
 
char strlcat ();
36963
 
#if defined __stub_strlcat || defined __stub___strlcat
36964
 
choke me
36965
 
#endif
36966
 
 
36967
 
int main (void)
36968
 
{
36969
 
return strlcat ();
36970
 
 ;
36971
 
 return 0;
36972
 
}
36973
 
 
36974
 
_ACEOF
36975
 
if ac_fn_c_try_link "$LINENO"; then :
36976
 
 
36977
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36978
 
$as_echo "yes" >&6; }
36979
 
    tst_links_strlcat="yes"
36980
 
 
36981
 
else
36982
 
 
36983
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36984
 
$as_echo "no" >&6; }
36985
 
    tst_links_strlcat="no"
36986
 
 
36987
 
fi
36988
 
rm -f core conftest.err conftest.$ac_objext \
36989
 
    conftest$ac_exeext conftest.$ac_ext
36990
 
  #
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.  */
36996
 
 
36997
 
      $curl_includes_string
36998
 
 
36999
 
_ACEOF
37000
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37001
 
  $EGREP "strlcat" >/dev/null 2>&1; then :
37002
 
 
37003
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37004
 
$as_echo "yes" >&6; }
37005
 
      tst_proto_strlcat="yes"
37006
 
 
37007
 
else
37008
 
 
37009
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37010
 
$as_echo "no" >&6; }
37011
 
      tst_proto_strlcat="no"
37012
 
 
37013
 
fi
37014
 
rm -f conftest*
37015
 
 
37016
 
  fi
37017
 
  #
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.  */
37023
 
 
37024
 
 
37025
 
        $curl_includes_string
37026
 
 
37027
 
int main (void)
37028
 
{
37029
 
 
37030
 
        if(0 != strlcat(0, 0, 0))
37031
 
          return 1;
37032
 
 
37033
 
 ;
37034
 
 return 0;
37035
 
}
37036
 
 
37037
 
_ACEOF
37038
 
if ac_fn_c_try_compile "$LINENO"; then :
37039
 
 
37040
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37041
 
$as_echo "yes" >&6; }
37042
 
      tst_compi_strlcat="yes"
37043
 
 
37044
 
else
37045
 
 
37046
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37047
 
$as_echo "no" >&6; }
37048
 
      tst_compi_strlcat="no"
37049
 
 
37050
 
fi
37051
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052
 
  fi
37053
 
  #
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"
37061
 
    else
37062
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37063
 
$as_echo "no" >&6; }
37064
 
      tst_allow_strlcat="no"
37065
 
    fi
37066
 
  fi
37067
 
  #
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; }
37076
 
 
37077
 
cat >>confdefs.h <<_ACEOF
37078
 
#define HAVE_STRLCAT 1
37079
 
_ACEOF
37080
 
 
37081
 
    ac_cv_func_strlcat="yes"
37082
 
  else
37083
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37084
 
$as_echo "no" >&6; }
37085
 
    ac_cv_func_strlcat="no"
37086
 
  fi
37087
 
 
37088
 
 
37089
 
    #
37090
36675
  tst_links_strncasecmp="unknown"
37091
36676
  tst_proto_strncasecmp="unknown"
37092
36677
  tst_compi_strncasecmp="unknown"
39781
39366
  am__EXEEXT_FALSE=
39782
39367
fi
39783
39368
 
39784
 
if test -z "${MIMPURE_TRUE}" && test -z "${MIMPURE_FALSE}"; then
39785
 
  as_fn_error $? "conditional \"MIMPURE\" was never defined.
39786
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39787
 
fi
39788
 
if test -z "${USE_CPPFLAG_BUILDING_LIBCURL_TRUE}" && test -z "${USE_CPPFLAG_BUILDING_LIBCURL_FALSE}"; then
39789
 
  as_fn_error $? "conditional \"USE_CPPFLAG_BUILDING_LIBCURL\" was never defined.
 
39369
if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FALSE}"; then
 
39370
  as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSION_INFO\" was never defined.
 
39371
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
39372
fi
 
39373
if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE}"; then
 
39374
  as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_NO_UNDEFINED\" was never defined.
 
39375
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
39376
fi
 
39377
if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE}"; then
 
39378
  as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_MIMPURE_TEXT\" was never defined.
39790
39379
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39791
39380
fi
39792
39381
if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; then
39797
39386
  as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined.
39798
39387
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39799
39388
fi
39800
 
if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then
39801
 
  as_fn_error $? "conditional \"NO_UNDEFINED\" was never defined.
39802
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39803
 
fi
39804
39389
if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
39805
39390
  as_fn_error $? "conditional \"CURLDEBUG\" was never defined.
39806
39391
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39817
39402
  as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined.
39818
39403
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39819
39404
fi
39820
 
if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
39821
 
  as_fn_error $? "conditional \"VERSIONED_SYMBOLS\" was never defined.
 
39405
if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE}"; then
 
39406
  as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined.
39822
39407
Usually this means the macro was only invoked conditionally." "$LINENO" 5
39823
39408
fi
39824
39409
if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
40429
40014
sed_quote_subst='$sed_quote_subst'
40430
40015
double_quote_subst='$double_quote_subst'
40431
40016
delay_variable_subst='$delay_variable_subst'
 
40017
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
40018
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
40432
40019
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
40433
40020
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
40434
40021
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
40435
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
40436
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
40437
40022
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
40438
40023
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
40439
40024
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
41488
41073
 
41489
41074
# ### BEGIN LIBTOOL CONFIG
41490
41075
 
 
41076
# Which release of libtool.m4 was used?
 
41077
macro_version=$macro_version
 
41078
macro_revision=$macro_revision
 
41079
 
41491
41080
# Assembler program.
41492
41081
AS=$lt_AS
41493
41082
 
41497
41086
# Object dumper program.
41498
41087
OBJDUMP=$lt_OBJDUMP
41499
41088
 
41500
 
# Which release of libtool.m4 was used?
41501
 
macro_version=$macro_version
41502
 
macro_revision=$macro_revision
41503
 
 
41504
41089
# Whether or not to build shared libraries.
41505
41090
build_libtool_libs=$enable_shared
41506
41091