about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-07-20 17:26:07 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-07-20 17:26:07 +0200
commit8be49e9e21ef3a1de1bfc7a8af83add7080cfe80 (patch)
treee6a2ecdb951288ff56a25cb4021eb9cddc02d45b
parent9bd635d7e6ef1823c84430d9314b3bfe18ac30c6 (diff)
downloadprofani-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.ac2
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])])])