Summary:ASTERISK-09575: [patch] autoconf libcurl detection when crosscompiling
Reporter:zandbelt (zandbelt)Labels:
Date Opened:2007-06-03 04:10:35Date Closed:2007-07-11 19:59:10
Versions:Frequency of
Environment:Attachments:( 0) asterisk-autoconf-curl.patch
Description:the current detection of libcurl by checking for curl-config in the path does not work well when crosscompiling: if the crosscompiling host has installed libcurl natively but the crosscompile environment has not, the native curl-config will still be found in the path, curl will be detected by Asterisk autoconf but func_curl compilation will fail since it tries to use a libcurl for a different architecture

this patch extends the current libcurl detection by actually compiling a test program against libcurl

(thanks to Cristian Ostheimer for reporting this)
Comments:By: Russell Bryant (russell) 2007-06-04 11:03:13

This patch has been applied to 1.4 and trunk in revisions 67026 and 67029.  Thanks!