[Mplayer-cvslog] CVS: main configure,1.182,1.183

pl pl at mplayer.dev.hu
Fri Oct 12 09:58:07 CEST 2001


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

Modified Files:
	configure 
Log Message:
patch by "Steven M. Schultz" <sms at 2BSD.COM> for BSD/OS support of iconv


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -r1.182 -r1.183
--- configure	11 Oct 2001 23:41:43 -0000	1.182
+++ configure	12 Oct 2001 07:56:54 -0000	1.183
@@ -937,7 +937,7 @@
 
 EOF
 _iconv=yes
-if test "$system_name" = "FreeBSD" ; then
+if test "$system_name" = "FreeBSD" || test "$system_name" = "BSD/OS"; then
 $_cc $_extraincdir $TMPC -o $TMPO $_extralibdir -lm -liconv > /dev/null 2>&1 || \
  { _iconv=no ; echo "iconv(3) function not detected!" ;}
 else
@@ -1999,8 +1999,10 @@
 CFLAGS="$CFLAGS -D_THREAD_SAFE"
 fi
 
-if test "$system_name" = "FreeBSD" && test "$_iconv" = "#define USE_ICONV" ; then
-_iconvlib="-liconv"
+if test "$system_name" = "FreeBSD" || test "$system_name" = "BSD/OS" ; then
+  if test "$_iconv" = "#define USE_ICONV" ; then
+    _iconvlib="-liconv"
+  fi
 fi
 
 




More information about the MPlayer-cvslog mailing list