mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-03 14:56:17 +00:00
FS-2936: don't allow using system libcurl on systems that strip out Curl_setopt, we use it
This commit is contained in:
parent
1ea5b3cf62
commit
36f0a5b870
10
configure.in
10
configure.in
@ -803,6 +803,16 @@ if test "$_libcurl_with" = "yes" ; then
|
|||||||
ac_cv_use_system_curl=yes;
|
ac_cv_use_system_curl=yes;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$ac_cv_use_system_curl" = "yes" ; then
|
||||||
|
AC_CACHE_CHECK([whether to use system libcurl library], [ac_cv_curl_usable], [
|
||||||
|
AC_CHECK_LIB(curl, Curl_setopt, [ac_cv_curl_usable="yes"], [ac_cv_curl_usable="no"])
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$ac_cv_curl_usable" != "yes" ; then
|
||||||
|
ac_cv_use_system_curl=no;
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$ac_cv_use_system_curl" != "yes" ; then
|
if test "$ac_cv_use_system_curl" != "yes" ; then
|
||||||
LIBCURL_DEPS='${switch_builddir}/libs/curl/lib/libcurl.la'
|
LIBCURL_DEPS='${switch_builddir}/libs/curl/lib/libcurl.la'
|
||||||
LIBCURL='${switch_builddir}/libs/curl/lib/libcurl.la'
|
LIBCURL='${switch_builddir}/libs/curl/lib/libcurl.la'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user