diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-07-20 17:26:07 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-07-20 17:26:07 +0200 |
commit | 8be49e9e21ef3a1de1bfc7a8af83add7080cfe80 (patch) | |
tree | e6a2ecdb951288ff56a25cb4021eb9cddc02d45b | |
parent | 9bd635d7e6ef1823c84430d9314b3bfe18ac30c6 (diff) | |
download | profani-tty-8be49e9e21ef3a1de1bfc7a8af83add7080cfe80.tar.gz |
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
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c490a7a3..b4d51c05 100644 --- a/configure.ac +++ b/configure.ac @@ -196,7 +196,7 @@ PKG_CHECK_MODULES([gio], [gio-2.0], [], AC_SEARCH_LIBS([fmod], [m], [], [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_MSG_ERROR([libcurl is required for profanity])])]) |