mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Regenerate autoconf
This commit is contained in:
parent
469ba54332
commit
3830a17321
1 changed files with 8 additions and 1 deletions
9
configure
vendored
9
configure
vendored
|
@ -13692,9 +13692,14 @@ curl_all=no
|
|||
$as_echo_n "checking for libcurl... " >&6; }
|
||||
|
||||
case "$target_os" in
|
||||
mingw*|windows) SKIP_CURL_CONFIG=1;;
|
||||
windows) SKIP_CURL_CONFIG=1;;
|
||||
esac
|
||||
|
||||
# When compiling libs-base in an MSYS2 environment on Windows MSVC, compilation may fail:
|
||||
# Curl is preinstalled on MSYS2 and bundles the curl-config script. The MSYS2 curl library
|
||||
# and a different (MSVC) curl library might interfere and produce an incorrect configuration.
|
||||
#
|
||||
# Skip the curl-config check on Windows.
|
||||
if eval $CURL_CONFIG --version 2>/dev/null >/dev/null && test "$SKIP_CURL_CONFIG" == "0"; then
|
||||
curl_ver=`$CURL_CONFIG --version | sed -e "s/libcurl //g"`
|
||||
curl_maj=`echo $curl_ver | sed -e "s/^\(.*\)\.\(.*\)\.\(.*\)$/\1/"`
|
||||
|
@ -13731,6 +13736,8 @@ done
|
|||
else
|
||||
if test -n "$PKG_CONFIG"; then
|
||||
if pkg-config --exists libcurl; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ... via pkg-config" >&5
|
||||
$as_echo "yes ... via pkg-config" >&6; }
|
||||
if $PKG_CONFIG --atleast-version 2.66.0 libcurl; then
|
||||
for ac_header in curl/curl.h
|
||||
do :
|
||||
|
|
Loading…
Reference in a new issue