[xiph-commits] r13632 - trunk/ezstream

moritz at svn.xiph.org moritz at svn.xiph.org
Sun Aug 26 07:31:41 PDT 2007


Author: moritz
Date: 2007-08-26 07:31:40 -0700 (Sun, 26 Aug 2007)
New Revision: 13632

Modified:
   trunk/ezstream/configure.in
Log:
When configure found libiconv, it helps to also have it use that information
to properly link against it. Problem spotted and fix tested by iCER on
#icecast.


Modified: trunk/ezstream/configure.in
===================================================================
--- trunk/ezstream/configure.in	2007-08-26 01:17:24 UTC (rev 13631)
+++ trunk/ezstream/configure.in	2007-08-26 14:31:40 UTC (rev 13632)
@@ -126,7 +126,19 @@
 		AC_DEFINE(HAVE_SIGNALS, 1, [Define whether we have BSD signals])
 		], [], [#include <signal.h>])
 fi
+
+LIBICONV=""
+LTLIBICONV=""
+INCICONV=""
 AM_ICONV
+EZ_LIBICONV=""
+if test -n "$LTLIBICONV"; then
+	EZ_LIBICONV="$LTLIBICONV"
+else
+	EZ_LIBICONV="$LIBICONV"
+fi
+XIPH_VAR_PREPEND([XIPH_LIBS], [$EZ_LIBICONV])
+XIPH_VAR_APPEND([XIPH_CPPFLAGS], [$INCICONV])
 
 
 dnl CONFIGURE OPTIONS



More information about the commits mailing list