1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 01:16:45 +00:00

LANG=C added. idea by pl <p_l@gmx.fr>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2165 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-11 12:25:20 +00:00
parent e58d091f45
commit 3bf5010cd1

15
configure vendored
View File

@ -538,6 +538,7 @@ _ggilib=
_xvlib= _xvlib=
_x11lib= _x11lib=
_xineramalib= _xineramalib=
_iconvlib=
_select='#define HAVE_AUDIO_SELECT' _select='#define HAVE_AUDIO_SELECT'
@ -937,8 +938,13 @@ main()
EOF EOF
_iconv=yes _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 || \ $_cc $TMPC -o $TMPO -lm > /dev/null 2>&1 || \
{ _iconv=no ; echo "iconv(3) function not detected!" ;} { _iconv=no ; echo "iconv(3) function not detected!" ;}
fi
cat > $TMPC << EOF cat > $TMPC << EOF
#include <GL/gl.h> #include <GL/gl.h>
int main( void ) { return 0; } int main( void ) { return 0; }
@ -1994,6 +2000,11 @@ if [ "$system_name" = "FreeBSD" ]; then
CFLAGS="$CFLAGS -D_THREAD_SAFE" CFLAGS="$CFLAGS -D_THREAD_SAFE"
fi fi
if [ "$system_name" = "FreeBSD" ] && [ "$_iconv" = "#define USE_ICONV" ]; then
_iconvlib="-liconv"
fi
# 64 bit file offsets? # 64 bit file offsets?
if [ "$_largefiles" = "yes" -o "$system_name" = "FreeBSD" ]; then if [ "$_largefiles" = "yes" -o "$system_name" = "FreeBSD" ]; then
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
@ -2231,6 +2242,8 @@ cat > $MCONF << EOF
# -------- Generated by ./configure ----------- # -------- Generated by ./configure -----------
LANG=C
prefix = $_prefix prefix = $_prefix
AR=ar AR=ar
CC=$_cc CC=$_cc
@ -2258,7 +2271,7 @@ AV_DEP = $_lavcdep
AV_LIB = $_lavclib AV_LIB = $_lavclib
ALSA_LIB = $_alsalib ALSA_LIB = $_alsalib
ESD_LIB = $_esdlib ESD_LIB = $_esdlib
ARCH_LIBS = $_archlibs ARCH_LIBS = $_archlibs $_iconvlib
STREAM_SRCS = $_streamingsrcs STREAM_SRCS = $_streamingsrcs
DECORE_LIBS = $_decorelibs DECORE_LIBS = $_decorelibs
DIVX4LINUX=$_divx4linux DIVX4LINUX=$_divx4linux