configure: Fix detection whether libcurl is linked against gnutls
The find_curl macro is also checking whether libcurl is linked against gnutls. However the check depends on "CURL_LIBS" which wasn't defined by the macro. This commit will define "CURL_LIBS" so that the check works as expected.
This commit is contained in:
Родитель
808ea48263
Коммит
c729b6d0ab
|
@ -2,6 +2,7 @@ dnl Check for CURL Libraries
|
|||
dnl CHECK_CURL(ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
|
||||
dnl Sets:
|
||||
dnl CURL_CFLAGS
|
||||
dnl CURL_LDADD
|
||||
dnl CURL_LIBS
|
||||
|
||||
CURL_CONFIG=""
|
||||
|
@ -57,7 +58,8 @@ if test -n "${curl_path}"; then
|
|||
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(curl VERSION: $CURL_VERSION); fi
|
||||
CURL_CFLAGS="`${CURL_CONFIG} --cflags`"
|
||||
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(curl CFLAGS: $CURL_CFLAGS); fi
|
||||
CURL_LDADD="`${CURL_CONFIG} --libs`"
|
||||
CURL_LIBS="`${CURL_CONFIG} --libs`"
|
||||
CURL_LDADD="${CURL_LIBS}"
|
||||
if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(curl LDADD: $CURL_LIBS); fi
|
||||
|
||||
dnl # Check version is ok
|
||||
|
|
Загрузка…
Ссылка в новой задаче