[MPlayer-dev-eng] ./configure iconv(3) suggestion

Steven M. Schultz sms at 2BSD.COM
Fri Oct 12 06:23:21 CEST 2001


Greetings -

	Building the cvs version of MPlayer tonight under BSD/OS I was
	surprised that iconv(3) was not found even though it is installed
	on my system.

	The small change below adds "BSD/OS" to the two places FreeBSD was
	being tested for.

	Thanks for such a fantastic program!

	Steven Schultz
	sms at 2bsd.com

----------------- cut here---------------
--- configure.dist	Thu Oct 11 20:20:44 2001
+++ configure	Thu Oct 11 20:48:26 2001
@@ -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
@@ -1508,6 +1508,7 @@
 xorps %xmm0, %xmm0
 EOF
 fi
+
 # Note: for SSE2 assembler v2.11 should be preferred --Nick
 #if test "$_sse2" = yes ; then
 #_pref_as_version='2.11'
@@ -1999,7 +2000,7 @@
 CFLAGS="$CFLAGS -D_THREAD_SAFE"
 fi
 
-if test "$system_name" = "FreeBSD" && test "$_iconv" = "#define USE_ICONV" ; then
+if test "$system_name" = "FreeBSD"  || test "$system_name" = "BSD/OS" && test "$_iconv" = "#define USE_ICONV" ; then
 _iconvlib="-liconv"
 fi
 



More information about the MPlayer-dev-eng mailing list