summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-12 07:56:54 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-12 07:56:54 +0000
commitb794a50c7390bc4bc040ae81145a5f9d37ae7d32 (patch)
tree45810c3d4e8ebaa9d02a990306634ed6ec7e8e02
parentc8ee780ef84b3d75b78fd23b13b4838703fd5693 (diff)
downloadmpv-b794a50c7390bc4bc040ae81145a5f9d37ae7d32.tar.bz2
mpv-b794a50c7390bc4bc040ae81145a5f9d37ae7d32.tar.xz
patch by "Steven M. Schultz" <sms@2BSD.COM> for BSD/OS support of iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2173 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index b053f76c27..c3315ca38f 100755
--- a/configure
+++ b/configure
@@ -937,7 +937,7 @@ main()
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 @@ if test "$system_name" = "Linux" || test "$system_name" = "FreeBSD" ; then
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