| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Icecast
Revision: 14825
Author: karl
Date: 02 May 2008 19:18:52
Changes:check if function exists, some older versions don't have this
Files:| ... | ...@@ -110,8 +110,10 @@ | |
| 110 | 110 | #if !defined(WIN32) || defined(WIN32_SERVICE) |
| 111 | 111 | /* win32 GUI needs to do the initialise before here */ |
| 112 | 112 | xslt_initialize(); |
| 113 | #ifdef HAVE_CURL_GLOBAL_INIT | |
| 113 | 114 | curl_global_init (CURL_GLOBAL_ALL); |
| 114 | 115 | #endif |
| 116 | #endif | |
| 115 | 117 | } |
| 116 | 118 | |
| 117 | 119 | static void _shutdown_subsystems(void) |
| ... | ...@@ -102,6 +102,7 @@ | |
| 102 | 102 | XIPH_PATH_CURL([ |
| 103 | 103 | AC_CHECK_DECL([CURLOPT_NOSIGNAL], |
| 104 | 104 | [ AC_DEFINE([HAVE_AUTH_URL], 1, [Define to compile in auth URL support code]) |
| 105 | AC_CHECK_FUNCS([curl_global_init]) | |
| 105 | 106 | ICECAST_OPTIONAL="$ICECAST_OPTIONAL auth_url.o" |
| 106 | 107 | enable_curl="yes" |
| 107 | 108 | XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$CURL_CFLAGS]) |