mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Check for curl version nr
We use `curl_url()` since e9d587578
which according to
https://curl.se/libcurl/c/curl_url.html is only available in libcurl >= 7.62.0 .
Related to https://github.com/profanity-im/profanity/issues/1581
This commit is contained in:
parent
9bd635d7e6
commit
8be49e9e21
@ -196,7 +196,7 @@ PKG_CHECK_MODULES([gio], [gio-2.0], [],
|
|||||||
AC_SEARCH_LIBS([fmod], [m], [],
|
AC_SEARCH_LIBS([fmod], [m], [],
|
||||||
[AC_MSG_ERROR([math.h is required])], [])
|
[AC_MSG_ERROR([math.h is required])], [])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([curl], [libcurl], [],
|
PKG_CHECK_MODULES([curl], [libcurl >= 7.62.0], [],
|
||||||
[AC_CHECK_LIB([curl], [main], [],
|
[AC_CHECK_LIB([curl], [main], [],
|
||||||
[AC_MSG_ERROR([libcurl is required for profanity])])])
|
[AC_MSG_ERROR([libcurl is required for profanity])])])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user