[Icecast-dev] [PATCH] configure: Fix compilation with curl

Marvin Scholz epirat07 at gmail.com
Mon Jun 6 18:01:12 UTC 2016

This adds the curl.o file to the files that should be
linked if curl is enabled, else we get a link error
if files that need curl are linked without
actually having the curl convenience functions.
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4f495aa..450e232 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,7 +112,7 @@ XIPH_PATH_CURL([
         [ AC_DEFINE([HAVE_AUTH_URL], 1, [Define to compile in auth URL support code])
-        ICECAST_OPTIONAL="$ICECAST_OPTIONAL auth_url.o event_url.o"
+        ICECAST_OPTIONAL="$ICECAST_OPTIONAL auth_url.o event_url.o curl.o"
@@ -162,7 +162,7 @@ AC_SUBST(KATE_LIBS)
 AC_OUTPUT([Makefile conf/Makefile src/Makefile src/common/avl/Makefile
 src/common/httpp/Makefile src/common/thread/Makefile src/common/log/Makefile
 src/common/net/Makefile src/common/timing/Makefile doc/Makefile doc/img/Makefile
-doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile 
+doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile
 doc/assets/img/Makefile web/Makefile web/assets/Makefile web/assets/css/Makefile
-web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile 
+web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile
2.7.4 (Apple Git-66)

More information about the Icecast-dev mailing list