From 287c88e3df16fd3652753ea02d5b604a4414ef2d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 7 Sep 2022 10:43:03 +0200 Subject: -only check for -lcurl --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5a212c4b..e43c586e 100644 --- a/configure.ac +++ b/configure.ac @@ -186,12 +186,12 @@ AS_IF([test "$qrencode" != 1], AC_SUBST(QR_CFLAGS) AC_SUBST(QR_LIBS) -# NOTE: If we find libcurl-gnutls here we set LIBCURL to -lcurl-gnutls +# NOTE: If we find libcurl here we set LIBCURL to -lcurl # This affects the LIBCURL_CHECK_CONFIG call below as it takes LIBCURL into # account when checking for curl. -AC_CHECK_LIB([curl-gnutls], +AC_CHECK_LIB([curl], [curl_easy_getinfo], - [LIBCURL="-lcurl-gnutls" + [LIBCURL="-lcurl" curl_gnutls=1], [curl_gnutls=0]) -- cgit v1.2.3