"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
curl-7.65.3.tar.xz and curl-7.66.0.tar.xz

About: cURL is a powerful commandline tool to transfer data from or to a server, using one of the supported protocols HTTP(S), FTP(S), SCP, SFTP, TFTP, DICT, TELNET, LDAP(S) or FILE.

configure  (curl-7.65.3.tar.xz):configure  (curl-7.66.0.tar.xz)
skipping to change at line 899 skipping to change at line 899
USE_ARES USE_ARES
subdirs subdirs
USE_MANUAL_FALSE USE_MANUAL_FALSE
USE_MANUAL_TRUE USE_MANUAL_TRUE
MANOPT MANOPT
NROFF NROFF
PERL PERL
IPV6_ENABLED IPV6_ENABLED
FISH_FUNCTIONS_DIR FISH_FUNCTIONS_DIR
ZSH_FUNCTIONS_DIR ZSH_FUNCTIONS_DIR
USE_QUICHE
USE_NGHTTP3
USE_NGTCP2_CRYPTO_OPENSSL
USE_NGTCP2
USE_NGHTTP2 USE_NGHTTP2
IDN_ENABLED IDN_ENABLED
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE
CURL_LT_SHLIB_VERSIONED_FLAVOUR CURL_LT_SHLIB_VERSIONED_FLAVOUR
USE_LIBRTMP USE_LIBRTMP
USE_LIBSSH USE_LIBSSH
USE_LIBSSH2 USE_LIBSSH2
LIBMETALINK_CPPFLAGS LIBMETALINK_CPPFLAGS
LIBMETALINK_LDFLAGS LIBMETALINK_LDFLAGS
skipping to change at line 1182 skipping to change at line 1186
with_ca_fallback with_ca_fallback
with_libpsl with_libpsl
with_libmetalink with_libmetalink
with_libssh2 with_libssh2
with_libssh with_libssh
with_librtmp with_librtmp
enable_versioned_symbols enable_versioned_symbols
with_winidn with_winidn
with_libidn2 with_libidn2
with_nghttp2 with_nghttp2
with_ngtcp2
with_nghttp3
with_quiche
with_zsh_functions_dir with_zsh_functions_dir
with_fish_functions_dir with_fish_functions_dir
enable_threaded_resolver enable_threaded_resolver
enable_pthreads enable_pthreads
enable_verbose enable_verbose
enable_sspi enable_sspi
enable_crypto_auth enable_crypto_auth
enable_ntlm_wb enable_ntlm_wb
enable_tls_srp enable_tls_srp
enable_unix_sockets enable_unix_sockets
skipping to change at line 2059 skipping to change at line 2066
LIBRTMP installation; when possible, set the LIBRTMP installation; when possible, set the
PKG_CONFIG_PATH environment variable instead of PKG_CONFIG_PATH environment variable instead of
using this option using this option
--without-librtmp disable LIBRTMP --without-librtmp disable LIBRTMP
--with-winidn=PATH enable Windows native IDN --with-winidn=PATH enable Windows native IDN
--without-winidn disable Windows native IDN --without-winidn disable Windows native IDN
--with-libidn2=PATH Enable libidn2 usage --with-libidn2=PATH Enable libidn2 usage
--without-libidn2 Disable libidn2 usage --without-libidn2 Disable libidn2 usage
--with-nghttp2=PATH Enable nghttp2 usage --with-nghttp2=PATH Enable nghttp2 usage
--without-nghttp2 Disable nghttp2 usage --without-nghttp2 Disable nghttp2 usage
--with-ngtcp2=PATH Enable ngtcp2 usage
--without-ngtcp2 Disable ngtcp2 usage
--with-nghttp3=PATH Enable nghttp3 usage
--without-nghttp3 Disable nghttp3 usage
--with-quiche=PATH Enable quiche usage
--without-quiche Disable quiche usage
--with-zsh-functions-dir=PATH --with-zsh-functions-dir=PATH
Install zsh completions to PATH Install zsh completions to PATH
--without-zsh-functions-dir --without-zsh-functions-dir
Do not install zsh completions Do not install zsh completions
--with-fish-functions-dir=PATH --with-fish-functions-dir=PATH
Install fish completions to PATH Install fish completions to PATH
--without-fish-functions-dir --without-fish-functions-dir
Do not install fish completions Do not install fish completions
Some influential environment variables: Some influential environment variables:
skipping to change at line 24063 skipping to change at line 24076
fi fi
elif test yes = "$VALID_DEFAULT_SSL_BACKEND" elif test yes = "$VALID_DEFAULT_SSL_BACKEND"
then then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define CURL_DEFAULT_SSL_BACKEND "$DEFAULT_SSL_BACKEND" #define CURL_DEFAULT_SSL_BACKEND "$DEFAULT_SSL_BACKEND"
_ACEOF _ACEOF
fi fi
if test "$check_for_ca_bundle" -gt 0; then if test -n "$check_for_ca_bundle"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
$as_echo_n "checking default CA cert bundle/path... " >&6; } $as_echo_n "checking default CA cert bundle/path... " >&6; }
# Check whether --with-ca-bundle was given. # Check whether --with-ca-bundle was given.
if test "${with_ca_bundle+set}" = set; then : if test "${with_ca_bundle+set}" = set; then :
withval=$with_ca_bundle; withval=$with_ca_bundle;
want_ca="$withval" want_ca="$withval"
if test "x$want_ca" = "xyes"; then if test "x$want_ca" = "xyes"; then
as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$ LINENO" 5 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$ LINENO" 5
skipping to change at line 26244 skipping to change at line 26257
fi fi
else else
if test X"$want_h2" != Xdefault; then if test X"$want_h2" != Xdefault; then
as_fn_error $? "--with-nghttp2 was specified but could not fin d libnghttp2 pkg-config file." "$LINENO" 5 as_fn_error $? "--with-nghttp2 was specified but could not fin d libnghttp2 pkg-config file." "$LINENO" 5
fi fi
fi fi
fi fi
OPT_TCP2="yes"
curl_h3_msg="disabled (--with-ngtcp2, --with-quiche)"
if test "x$disable_http" = "xyes"; then
# without HTTP, ngtcp2 is no use
OPT_TCP2="no"
fi
# Check whether --with-ngtcp2 was given.
if test "${with_ngtcp2+set}" = set; then :
withval=$with_ngtcp2; OPT_TCP2=$withval
fi
case "$OPT_TCP2" in
no)
want_tcp2="no"
;;
yes)
want_tcp2="default"
want_tcp2_path=""
;;
*)
want_tcp2="yes"
want_tcp2_path="$withval/lib/pkgconfig"
;;
esac
curl_tcp2_msg="disabled (--with-ngtcp2)"
if test X"$want_tcp2" != Xno; then
CLEANLDFLAGS="$LDFLAGS"
CLEANCPPFLAGS="$CPPFLAGS"
CLEANLIBS="$LIBS"
if test -n "$PKG_CONFIG"; then
PKGCONFIG="$PKG_CONFIG"
else
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path
.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
if test -n "$PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
$as_echo "$PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_path_PKGCONFIG"; then
ac_pt_PKGCONFIG=$PKGCONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test
with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
if test -n "$ac_pt_PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
$as_echo "$ac_pt_PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_PKGCONFIG" = x; then
PKGCONFIG="no"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
PKGCONFIG=$ac_pt_PKGCONFIG
fi
else
PKGCONFIG="$ac_cv_path_PKGCONFIG"
fi
fi
if test "x$PKGCONFIG" != "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options wi
th pkg-config" >&5
$as_echo_n "checking for libngtcp2 options with pkg-config... " >&6; }
itexists=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
if test -z "$itexists"; then
PKGCONFIG="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
$as_echo "found" >&6; }
fi
fi
if test "$PKGCONFIG" != "no" ; then
LIB_TCP2=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-l libngtcp2`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
$as_echo "$as_me: -l is $LIB_TCP2" >&6;}
CPP_TCP2=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --cflags-only-I libngtcp2`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
$as_echo "$as_me: -I is $CPP_TCP2" >&6;}
LD_TCP2=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-L libngtcp2`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
$as_echo "$as_me: -L is $LD_TCP2" >&6;}
LDFLAGS="$LDFLAGS $LD_TCP2"
CPPFLAGS="$CPPFLAGS $CPP_TCP2"
LIBS="$LIB_TCP2 $LIBS"
if test "x$cross_compiling" != "xyes"; then
DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/-L//'`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new
in -lngtcp2" >&5
$as_echo_n "checking for ngtcp2_conn_client_new in -lngtcp2... " >&6; }
if ${ac_cv_lib_ngtcp2_ngtcp2_conn_client_new+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lngtcp2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __cplusplus
extern "C"
#endif
char ngtcp2_conn_client_new ();
int main (void)
{
return ngtcp2_conn_client_new ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ngtcp2_ngtcp2_conn_client_new=yes
else
ac_cv_lib_ngtcp2_ngtcp2_conn_client_new=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_c
lient_new" >&5
$as_echo "$ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" >&6; }
if test "x$ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" = xyes; then :
for ac_header in ngtcp2/ngtcp2.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "ngtcp2/ngtcp2.h" "ac_cv_header_ngtcp2_
ngtcp2_h" "$ac_includes_default"
if test "x$ac_cv_header_ngtcp2_ngtcp2_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NGTCP2_NGTCP2_H 1
_ACEOF
NGTCP2_ENABLED=1
$as_echo "#define USE_NGTCP2 1" >>confdefs.h
USE_NGTCP2=1
CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_TCP2"
export CURL_LIBRARY_PATH
{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRA
RY_PATH" >&5
$as_echo "$as_me: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&6;}
fi
done
else
LDFLAGS=$CLEANLDFLAGS
CPPFLAGS=$CLEANCPPFLAGS
LIBS=$CLEANLIBS
fi
else
if test X"$want_tcp2" != Xdefault; then
as_fn_error $? "--with-ngtcp2 was specified but could not find
ngtcp2 pkg-config file." "$LINENO" 5
fi
fi
fi
if test "x$NGTCP2_ENABLED" = "x1"; then
CLEANLDFLAGS="$LDFLAGS"
CLEANCPPFLAGS="$CPPFLAGS"
CLEANLIBS="$LIBS"
if test -n "$PKG_CONFIG"; then
PKGCONFIG="$PKG_CONFIG"
else
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path
.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
if test -n "$PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
$as_echo "$PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_path_PKGCONFIG"; then
ac_pt_PKGCONFIG=$PKGCONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test
with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
if test -n "$ac_pt_PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
$as_echo "$ac_pt_PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_PKGCONFIG" = x; then
PKGCONFIG="no"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
PKGCONFIG=$ac_pt_PKGCONFIG
fi
else
PKGCONFIG="$ac_cv_path_PKGCONFIG"
fi
fi
if test "x$PKGCONFIG" != "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_ope
nssl options with pkg-config" >&5
$as_echo_n "checking for libngtcp2_crypto_openssl options with pkg-config... " >
&6; }
itexists=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --exists libngtcp2_crypto_openssl >/dev/null 2>&1 && echo 1`
if test -z "$itexists"; then
PKGCONFIG="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
$as_echo "found" >&6; }
fi
fi
if test "$PKGCONFIG" != "no" ; then
LIB_NGTCP2_CRYPTO_OPENSSL=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-l libngtcp2_crypto_openssl`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >
&5
$as_echo "$as_me: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&6;}
CPP_NGTCP2_CRYPTO_OPENSSL=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --cflags-only-I libngtcp2_crypto_openssl`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >
&5
$as_echo "$as_me: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&6;}
LD_NGTCP2_CRYPTO_OPENSSL=`
if test -n "$want_tcp2_path"; then
PKG_CONFIG_LIBDIR="$want_tcp2_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-L libngtcp2_crypto_openssl`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&
5
$as_echo "$as_me: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&6;}
LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_OPENSSL"
CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_OPENSSL"
LIBS="$LIB_NGTCP2_CRYPTO_OPENSSL $LIBS"
if test "x$cross_compiling" != "xyes"; then
DIR_NGTCP2_CRYPTO_OPENSSL=`echo $LD_NGTCP2_CRYPTO_OPENSSL | $SED -e 's/-L/
/'`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_ctx_init
ial in -lngtcp2_crypto_openssl" >&5
$as_echo_n "checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_openssl...
" >&6; }
if ${ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lngtcp2_crypto_openssl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __cplusplus
extern "C"
#endif
char ngtcp2_crypto_ctx_initial ();
int main (void)
{
return ngtcp2_crypto_ctx_initial ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial=yes
else
ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openss
l_ngtcp2_crypto_ctx_initial" >&5
$as_echo "$ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial" >&6; }
if test "x$ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial" = xyes; th
en :
for ac_header in ngtcp2/ngtcp2_crypto.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_
ngtcp2_ngtcp2_crypto_h" "$ac_includes_default"
if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1
_ACEOF
NGTCP2_ENABLED=1
$as_echo "#define USE_NGTCP2_CRYPTO_OPENSSL 1" >>confdefs.h
USE_NGTCP2_CRYPTO_OPENSSL=1
CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_OPENSSL"
export CURL_LIBRARY_PATH
{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_OPEN
SSL to CURL_LIBRARY_PATH" >&5
$as_echo "$as_me: Added $DIR_NGTCP2_CRYPTO_OPENSSL to CURL_LIBRARY_PATH" >&6;}
fi
done
else
LDFLAGS=$CLEANLDFLAGS
CPPFLAGS=$CLEANCPPFLAGS
LIBS=$CLEANLIBS
fi
else
if test X"$want_tcp2" != Xdefault; then
as_fn_error $? "--with-ngtcp2 was specified but could not find
ngtcp2_crypto_openssl pkg-config file." "$LINENO" 5
fi
fi
fi
OPT_NGHTTP3="yes"
if test "x$NGTCP2_ENABLED" = "x"; then
# without ngtcp2, nghttp3 is of no use for us
OPT_NGHTTP3="no"
fi
# Check whether --with-nghttp3 was given.
if test "${with_nghttp3+set}" = set; then :
withval=$with_nghttp3; OPT_NGHTTP3=$withval
fi
case "$OPT_NGHTTP3" in
no)
want_nghttp3="no"
;;
yes)
want_nghttp3="default"
want_nghttp3_path=""
;;
*)
want_nghttp3="yes"
want_nghttp3_path="$withval/lib/pkgconfig"
;;
esac
curl_http3_msg="disabled (--with-nghttp3)"
if test X"$want_nghttp3" != Xno; then
CLEANLDFLAGS="$LDFLAGS"
CLEANCPPFLAGS="$CPPFLAGS"
CLEANLIBS="$LIBS"
if test -n "$PKG_CONFIG"; then
PKGCONFIG="$PKG_CONFIG"
else
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path
.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
if test -n "$PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
$as_echo "$PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_path_PKGCONFIG"; then
ac_pt_PKGCONFIG=$PKGCONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test
with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
if test -n "$ac_pt_PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
$as_echo "$ac_pt_PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_PKGCONFIG" = x; then
PKGCONFIG="no"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
PKGCONFIG=$ac_pt_PKGCONFIG
fi
else
PKGCONFIG="$ac_cv_path_PKGCONFIG"
fi
fi
if test "x$PKGCONFIG" != "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options w
ith pkg-config" >&5
$as_echo_n "checking for libnghttp3 options with pkg-config... " >&6; }
itexists=`
if test -n "$want_nghttp3_path"; then
PKG_CONFIG_LIBDIR="$want_nghttp3_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
if test -z "$itexists"; then
PKGCONFIG="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
$as_echo "found" >&6; }
fi
fi
if test "$PKGCONFIG" != "no" ; then
LIB_NGHTTP3=`
if test -n "$want_nghttp3_path"; then
PKG_CONFIG_LIBDIR="$want_nghttp3_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-l libnghttp3`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
$as_echo "$as_me: -l is $LIB_NGHTTP3" >&6;}
CPP_NGHTTP3=`
if test -n "$want_nghttp3_path"; then
PKG_CONFIG_LIBDIR="$want_nghttp3_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --cflags-only-I libnghttp3`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
$as_echo "$as_me: -I is $CPP_NGHTTP3" >&6;}
LD_NGHTTP3=`
if test -n "$want_nghttp3_path"; then
PKG_CONFIG_LIBDIR="$want_nghttp3_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-L libnghttp3`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
$as_echo "$as_me: -L is $LD_NGHTTP3" >&6;}
LDFLAGS="$LDFLAGS $LD_NGHTTP3"
CPPFLAGS="$CPPFLAGS $CPP_NGHTTP3"
LIBS="$LIB_NGHTTP3 $LIBS"
if test "x$cross_compiling" != "xyes"; then
DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/-L//'`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_ne
w in -lnghttp3" >&5
$as_echo_n "checking for nghttp3_conn_client_new in -lnghttp3... " >&6; }
if ${ac_cv_lib_nghttp3_nghttp3_conn_client_new+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lnghttp3 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __cplusplus
extern "C"
#endif
char nghttp3_conn_client_new ();
int main (void)
{
return nghttp3_conn_client_new ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_nghttp3_nghttp3_conn_client_new=yes
else
ac_cv_lib_nghttp3_nghttp3_conn_client_new=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn
_client_new" >&5
$as_echo "$ac_cv_lib_nghttp3_nghttp3_conn_client_new" >&6; }
if test "x$ac_cv_lib_nghttp3_nghttp3_conn_client_new" = xyes; then :
for ac_header in nghttp3/nghttp3.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "nghttp3/nghttp3.h" "ac_cv_header_nghtt
p3_nghttp3_h" "$ac_includes_default"
if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NGHTTP3_NGHTTP3_H 1
_ACEOF
curl_h3_msg="enabled (ngtcp2 + nghttp3)"
NGHTTP3_ENABLED=1
$as_echo "#define USE_NGHTTP3 1" >>confdefs.h
USE_NGHTTP3=1
CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGHTTP3"
export CURL_LIBRARY_PATH
{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LI
BRARY_PATH" >&5
$as_echo "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;}
experimental="$experimental HTTP3"
fi
done
else
LDFLAGS=$CLEANLDFLAGS
CPPFLAGS=$CLEANCPPFLAGS
LIBS=$CLEANLIBS
fi
else
if test X"$want_nghttp3" != Xdefault; then
as_fn_error $? "--with-nghttp3 was specified but could not fin
d nghttp3 pkg-config file." "$LINENO" 5
fi
fi
fi
OPT_QUICHE="yes"
if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
# without HTTP or with ngtcp2, quiche is no use
OPT_QUICHE="no"
fi
# Check whether --with-quiche was given.
if test "${with_quiche+set}" = set; then :
withval=$with_quiche; OPT_QUICHE=$withval
fi
case "$OPT_QUICHE" in
no)
want_quiche="no"
;;
yes)
want_quiche="default"
want_quiche_path=""
;;
*)
want_quiche="yes"
want_quiche_path="$withval"
;;
esac
if test X"$want_quiche" != Xno; then
CLEANLDFLAGS="$LDFLAGS"
CLEANCPPFLAGS="$CPPFLAGS"
CLEANLIBS="$LIBS"
if test -n "$PKG_CONFIG"; then
PKGCONFIG="$PKG_CONFIG"
else
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path
.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKGCONFIG=$ac_cv_path_PKGCONFIG
if test -n "$PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
$as_echo "$PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_path_PKGCONFIG"; then
ac_pt_PKGCONFIG=$PKGCONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_PKGCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test
with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/bin:/usr/local/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
if test -n "$ac_pt_PKGCONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
$as_echo "$ac_pt_PKGCONFIG" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_PKGCONFIG" = x; then
PKGCONFIG="no"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
PKGCONFIG=$ac_pt_PKGCONFIG
fi
else
PKGCONFIG="$ac_cv_path_PKGCONFIG"
fi
fi
if test "x$PKGCONFIG" != "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche options with
pkg-config" >&5
$as_echo_n "checking for quiche options with pkg-config... " >&6; }
itexists=`
if test -n "$want_quiche_path"; then
PKG_CONFIG_LIBDIR="$want_quiche_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
if test -z "$itexists"; then
PKGCONFIG="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
$as_echo "found" >&6; }
fi
fi
if test "$PKGCONFIG" != "no" ; then
LIB_QUICHE=`
if test -n "$want_quiche_path"; then
PKG_CONFIG_LIBDIR="$want_quiche_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-l quiche`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
$as_echo "$as_me: -l is $LIB_QUICHE" >&6;}
CPP_QUICHE=`
if test -n "$want_quiche_path"; then
PKG_CONFIG_LIBDIR="$want_quiche_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --cflags-only-I quiche`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
$as_echo "$as_me: -I is $CPP_QUICHE" >&6;}
LD_QUICHE=`
if test -n "$want_quiche_path"; then
PKG_CONFIG_LIBDIR="$want_quiche_path"
export PKG_CONFIG_LIBDIR
fi
$PKGCONFIG --libs-only-L quiche`
{ $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
$as_echo "$as_me: -L is $LD_QUICHE" >&6;}
LDFLAGS="$LDFLAGS $LD_QUICHE"
CPPFLAGS="$CPPFLAGS $CPP_QUICHE"
LIBS="$LIB_QUICHE $LIBS"
if test "x$cross_compiling" != "xyes"; then
DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/-L//'`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche_connect in -lqu
iche" >&5
$as_echo_n "checking for quiche_connect in -lquiche... " >&6; }
if ${ac_cv_lib_quiche_quiche_connect+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lquiche $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __cplusplus
extern "C"
#endif
char quiche_connect ();
int main (void)
{
return quiche_connect ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_quiche_quiche_connect=yes
else
ac_cv_lib_quiche_quiche_connect=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_connec
t" >&5
$as_echo "$ac_cv_lib_quiche_quiche_connect" >&6; }
if test "x$ac_cv_lib_quiche_quiche_connect" = xyes; then :
for ac_header in quiche.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "quiche.h" "ac_cv_header_quiche_h" "$ac
_includes_default"
if test "x$ac_cv_header_quiche_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_QUICHE_H 1
_ACEOF
experimental="$experimental HTTP3"
{ $as_echo "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental
" >&5
$as_echo "$as_me: HTTP3 support is experimental" >&6;}
curl_h3_msg="enabled (quiche)"
QUICHE_ENABLED=1
$as_echo "#define USE_QUICHE 1" >>confdefs.h
USE_QUICHE=1
CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_QUICHE"
export CURL_LIBRARY_PATH
{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIB
RARY_PATH" >&5
$as_echo "$as_me: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&6;}
fi
done
else
LDFLAGS=$CLEANLDFLAGS
CPPFLAGS=$CLEANCPPFLAGS
LIBS=$CLEANLIBS
fi
else
if test X"$want_quiche" != Xdefault; then
as_fn_error $? "--with-quiche was specified but could not find
quiche pkg-config file." "$LINENO" 5
fi
fi
fi
OPT_ZSH_FPATH=default OPT_ZSH_FPATH=default
# Check whether --with-zsh-functions-dir was given. # Check whether --with-zsh-functions-dir was given.
if test "${with_zsh_functions_dir+set}" = set; then : if test "${with_zsh_functions_dir+set}" = set; then :
withval=$with_zsh_functions_dir; OPT_ZSH_FPATH=$withval withval=$with_zsh_functions_dir; OPT_ZSH_FPATH=$withval
fi fi
case "$OPT_ZSH_FPATH" in case "$OPT_ZSH_FPATH" in
no) no)
;; ;;
skipping to change at line 38579 skipping to change at line 39624
getpwuid \ getpwuid \
getpwuid_r \ getpwuid_r \
getrlimit \ getrlimit \
gettimeofday \ gettimeofday \
if_nametoindex \ if_nametoindex \
mach_absolute_time \ mach_absolute_time \
pipe \ pipe \
setlocale \ setlocale \
setmode \ setmode \
setrlimit \ setrlimit \
usleep \
utime \ utime \
utimes utimes
do : do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF _ACEOF
skipping to change at line 39753 skipping to change at line 40799
if test "${enable_alt_svc+set}" = set; then : if test "${enable_alt_svc+set}" = set; then :
enableval=$enable_alt_svc; case "$enableval" in enableval=$enable_alt_svc; case "$enableval" in
no) no)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
;; ;;
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
curl_altsvc_msg="enabled"; curl_altsvc_msg="enabled";
enable_altsvc="yes" enable_altsvc="yes"
experimental="alt-svc"
;; ;;
esac esac
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
if test "$enable_altsvc" = "yes"; then if test "$enable_altsvc" = "yes"; then
$as_echo "#define USE_ALTSVC 1" >>confdefs.h $as_echo "#define USE_ALTSVC 1" >>confdefs.h
experimental="alt-svc" experimental="$experimental alt-svc"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hiding of library in ternal symbols will actually happen" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hiding of library in ternal symbols will actually happen" >&5
$as_echo_n "checking whether hiding of library internal symbols will actually ha ppen... " >&6; } $as_echo_n "checking whether hiding of library internal symbols will actually ha ppen... " >&6; }
CFLAG_CURL_SYMBOL_HIDING="" CFLAG_CURL_SYMBOL_HIDING=""
doing_symbol_hiding="no" doing_symbol_hiding="no"
if test x"$curl_cv_native_windows" != "xyes" && if test x"$curl_cv_native_windows" != "xyes" &&
test "$want_symbol_hiding" = "yes" && test "$want_symbol_hiding" = "yes" &&
test "$supports_symbol_hiding" = "yes"; then test "$supports_symbol_hiding" = "yes"; then
doing_symbol_hiding="yes" doing_symbol_hiding="yes"
skipping to change at line 39884 skipping to change at line 40929
fi fi
if test "x$USE_TLS_SRP" = "x1"; then if test "x$USE_TLS_SRP" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP" SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
fi fi
if test "x$USE_NGHTTP2" = "x1"; then if test "x$USE_NGHTTP2" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2" SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2"
fi fi
if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3"
fi
if test "x$CURL_WITH_MULTI_SSL" = "x1"; then if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL" SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL"
fi fi
if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \ if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
-o "x$NSS_ENABLED" = "x1"; then -o "x$NSS_ENABLED" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy" SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
fi fi
if test "x$CURL_DISABLE_HTTP" != "x1"; then if test "x$CURL_DISABLE_HTTP" != "x1"; then
skipping to change at line 42813 skipping to change at line 43862
ca cert path: ${capath}${capath_warning} ca cert path: ${capath}${capath_warning}
ca fallback: ${with_ca_fallback} ca fallback: ${with_ca_fallback}
LDAP: ${curl_ldap_msg} LDAP: ${curl_ldap_msg}
LDAPS: ${curl_ldaps_msg} LDAPS: ${curl_ldaps_msg}
RTSP: ${curl_rtsp_msg} RTSP: ${curl_rtsp_msg}
RTMP: ${curl_rtmp_msg} RTMP: ${curl_rtmp_msg}
Metalink: ${curl_mtlnk_msg} Metalink: ${curl_mtlnk_msg}
PSL: ${curl_psl_msg} PSL: ${curl_psl_msg}
Alt-svc: ${curl_altsvc_msg} Alt-svc: ${curl_altsvc_msg}
HTTP2: ${curl_h2_msg} HTTP2: ${curl_h2_msg}
HTTP3: ${curl_h3_msg}
Protocols: ${SUPPORT_PROTOCOLS} Protocols: ${SUPPORT_PROTOCOLS}
Features: ${SUPPORT_FEATURES} Features: ${SUPPORT_FEATURES}
" >&5 " >&5
$as_echo "$as_me: Configured to build curl/libcurl: $as_echo "$as_me: Configured to build curl/libcurl:
Host setup: ${host} Host setup: ${host}
Install prefix: ${prefix} Install prefix: ${prefix}
Compiler: ${CC} Compiler: ${CC}
CFLAGS: ${CFLAGS} CFLAGS: ${CFLAGS}
CPPFLAGS: ${CPPFLAGS} CPPFLAGS: ${CPPFLAGS}
skipping to change at line 42854 skipping to change at line 43904
ca cert path: ${capath}${capath_warning} ca cert path: ${capath}${capath_warning}
ca fallback: ${with_ca_fallback} ca fallback: ${with_ca_fallback}
LDAP: ${curl_ldap_msg} LDAP: ${curl_ldap_msg}
LDAPS: ${curl_ldaps_msg} LDAPS: ${curl_ldaps_msg}
RTSP: ${curl_rtsp_msg} RTSP: ${curl_rtsp_msg}
RTMP: ${curl_rtmp_msg} RTMP: ${curl_rtmp_msg}
Metalink: ${curl_mtlnk_msg} Metalink: ${curl_mtlnk_msg}
PSL: ${curl_psl_msg} PSL: ${curl_psl_msg}
Alt-svc: ${curl_altsvc_msg} Alt-svc: ${curl_altsvc_msg}
HTTP2: ${curl_h2_msg} HTTP2: ${curl_h2_msg}
HTTP3: ${curl_h3_msg}
Protocols: ${SUPPORT_PROTOCOLS} Protocols: ${SUPPORT_PROTOCOLS}
Features: ${SUPPORT_FEATURES} Features: ${SUPPORT_FEATURES}
" >&6;} " >&6;}
if test -n "$experimental"; then if test -n "$experimental"; then
cat >&2 << _EOF cat >&2 << _EOF
WARNING: $experimental is enabled but marked EXPERIMENTAL. Use with caution! WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution!
_EOF _EOF
fi fi
 End of changes. 12 change blocks. 
4 lines changed or deleted 1119 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)