unfuck build on nixos

This commit is contained in:
dupa dup 2022-12-06 16:52:37 -08:00
parent bfba40e566
commit dda5a73bda
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -5118,7 +5118,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libcurl version is recent enough" >&5
$as_echo_n "checking if libcurl version is recent enough... " >&6; }
CURL_VERSION=`$curlpath/curl-config --checkfor 7.21.7`
CURL_VERSION=`curl-config --checkfor 7.21.7`
if test "${CURL_VERSION}" != "" ; then
echo ${CURL_VERSION}
as_fn_error $? "libcurl version too old, please upgrade" "$LINENO" 5
@ -5130,7 +5130,7 @@ $as_echo "yes" >&6; }
# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
vars="`$curlpath/curl-config --libs|sed \
vars="`curl-config --libs|sed \
-e 's/\-lkrb5\>//g' \
-e 's/\-lgssapi_krb5//g' \
-e 's/\-lk5crypto//g' \

View File

@ -127,7 +127,7 @@ AC_ARG_WITH(libcurl,
])
AC_MSG_CHECKING([if libcurl version is recent enough])
CURL_VERSION=`$curlpath/curl-config --checkfor 7.21.7`
CURL_VERSION=`curl-config --checkfor 7.21.7`
if test "${CURL_VERSION}" != "" ; then
echo ${CURL_VERSION}
AC_MSG_ERROR([libcurl version too old, please upgrade])
@ -137,7 +137,7 @@ AC_MSG_RESULT(yes)
# We need to modify this original line to strip a few things
# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
TEA_ADD_LIBS([`$curlpath/curl-config --libs|sed \
TEA_ADD_LIBS([`curl-config --libs|sed \
-e 's/\-lkrb5\>//g' \
-e 's/\-lgssapi_krb5//g' \
-e 's/\-lk5crypto//g' \