[Mplayer-cvslog] CVS: main configure,1.180,1.181

Arpi of Ize arpi at mplayer.dev.hu
Thu Oct 11 14:25:22 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv19910

Modified Files:
	configure 
Log Message:
LANG=C added. idea by pl <p_l at gmx.fr>

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- configure	10 Oct 2001 13:56:26 -0000	1.180
+++ configure	11 Oct 2001 12:25:20 -0000	1.181
@@ -538,6 +538,7 @@
 _xvlib=
 _x11lib=
 _xineramalib=
+_iconvlib=
 
 _select='#define HAVE_AUDIO_SELECT'
 
@@ -937,8 +938,13 @@
 
 EOF
 _iconv=yes
+if [ "$system_name" = "FreeBSD" ]; then
+$_cc $_extraincdir $TMPC -o $TMPO $_extralibdir -lm -liconv > /dev/null 2>&1 || \
+ { _iconv=no ; echo "iconv(3) function not detected!" ;}
+else
 $_cc $TMPC -o $TMPO -lm > /dev/null 2>&1 || \
  { _iconv=no ; echo "iconv(3) function not detected!" ;}
+fi
 cat > $TMPC << EOF
 #include <GL/gl.h>
 int main( void ) { return 0; }
@@ -1994,6 +2000,11 @@
 CFLAGS="$CFLAGS -D_THREAD_SAFE"
 fi
 
+if [ "$system_name" = "FreeBSD" ] && [ "$_iconv" = "#define USE_ICONV" ]; then
+_iconvlib="-liconv"
+fi
+
+
 # 64 bit file offsets?
 if [ "$_largefiles" = "yes" -o "$system_name" = "FreeBSD" ]; then
 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
@@ -2231,6 +2242,8 @@
 
 # -------- Generated by ./configure -----------
 
+LANG=C
+
 prefix = $_prefix
 AR=ar
 CC=$_cc
@@ -2258,7 +2271,7 @@
 AV_LIB = $_lavclib
 ALSA_LIB = $_alsalib
 ESD_LIB = $_esdlib
-ARCH_LIBS = $_archlibs
+ARCH_LIBS = $_archlibs $_iconvlib
 STREAM_SRCS = $_streamingsrcs
 DECORE_LIBS = $_decorelibs
 DIVX4LINUX=$_divx4linux




More information about the MPlayer-cvslog mailing list