--- icecast-2.3.3.orig/m4/xiph_curl.m4	2012-06-11 18:45:26.000000000 +0200
+++ icecast-2.3.3/m4/xiph_curl.m4	2013-11-03 18:44:28.000000000 +0100
@@ -52,7 +52,7 @@ AC_CHECK_HEADERS([curl/curl.h],, curl_ok
 AC_MSG_CHECKING(for libcurl)
 if test "$curl_ok" = "yes"
 then
-    AC_RUN_IFELSE(AC_LANG_SOURCE([
+    AC_LINK_IFELSE(AC_LANG_SOURCE([
 #include <curl/curl.h>
 int main()
 {
