bugs & fixes by Bohdan 'Nexus' Horst

small typos


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-11-17 09:57:54 +00:00
parent d6739311d1
commit 1a6f2f4eb9
1 changed files with 24 additions and 20 deletions

44
configure vendored
View File

@ -94,7 +94,7 @@ Installation directories:
Optional features: Optional features:
--enable-largefiles enable support for files >2^32 bytes long [disable] --enable-largefiles enable support for files >2^32 bytes long [disable]
--enable-termcap use termcap database for key codes [disable] --enable-termcap use termcap database for key codes [autodetect]
--enable-lirc enable LIRC (remote control) support [disable] --enable-lirc enable LIRC (remote control) support [disable]
--enable-gui enable GUI [disable] --enable-gui enable GUI [disable]
--enable-tv enable TV Interface (tv/dvb grabbers) [disable] --enable-tv enable TV Interface (tv/dvb grabbers) [disable]
@ -616,7 +616,7 @@ fi
_prefix="/usr/local" _prefix="/usr/local"
_libavcodec=auto _libavcodec=auto
_libavcodec_so=auto _libavcodecso=auto
_x11=auto _x11=auto
_dga=auto _dga=auto
@ -657,7 +657,7 @@ _streaming=no
_divx4linux=auto _divx4linux=auto
_lirc=no _lirc=no
_gui=no _gui=no
_termcap=no _termcap=auto
_3dfx=no _3dfx=no
_tdfxfb=no _tdfxfb=no
@ -994,7 +994,11 @@ int main(void) { return 0; }
EOF EOF
cc_check $_ld_sock -lsocket && _ld_sock="$_ld_sock -lsocket" cc_check $_ld_sock -lsocket && _ld_sock="$_ld_sock -lsocket"
cc_check $_ld_sock -lnsl && _ld_sock="$_ld_sock -lnsl" cc_check $_ld_sock -lnsl && _ld_sock="$_ld_sock -lnsl"
echores "$_ld_sock" if test "$_ld_sock" ; then
echores "$_ld_sock"
else
echores "not needed"
fi
echocheck "malloc.h" echocheck "malloc.h"
@ -1095,8 +1099,7 @@ echores "$_sys_soundcard"
echocheck "termcap" echocheck "termcap"
if test "$termcap" = yes ; then if test "$termcap" = auto ; then
# FIXME: User wanted so he'll get it
_termcap=no _termcap=no
cat > $TMPC <<EOF cat > $TMPC <<EOF
int main(void) { return 0; } int main(void) { return 0; }
@ -1203,7 +1206,7 @@ if test "$_x11" = auto ; then
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
_x11=no _x11=no
cc_check $_ld_x11 -lXext $_ld_sock && _x11=yes cc_check $_inc_x11 $_ld_x11 -lXext $_ld_sock && _x11=yes
fi fi
if test "$_x11" = yes ; then if test "$_x11" = yes ; then
_def_x11='#define HAVE_X11 1' _def_x11='#define HAVE_X11 1'
@ -1214,7 +1217,7 @@ fi
echores "$_x11" echores "$_x11"
echocheck "DMPS" echocheck "DPMS"
_xdpms3=no _xdpms3=no
if test "$_x11" = yes ; then if test "$_x11" = yes ; then
cat > $TMPC <<EOF cat > $TMPC <<EOF
@ -1225,7 +1228,7 @@ if test "$_x11" = yes ; then
#include <X11/extensions/dpms.h> #include <X11/extensions/dpms.h>
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
cc_check $_ld_x11 -lXdpms $_ld_sock && _xdpms3=yes cc_check $_inc_x11 $_ld_x11 -lXdpms $_ld_sock && _xdpms3=yes
fi fi
_xdpms4=no _xdpms4=no
if test "$_x11" = yes ; then if test "$_x11" = yes ; then
@ -1239,7 +1242,7 @@ int main(void) {
(void) DPMSQueryExtension(0, 0, 0); (void) DPMSQueryExtension(0, 0, 0);
} }
EOF EOF
cc_check $_ld_x11 && _xdpms4=yes cc_check $_inc_x11 $_ld_x11 && _xdpms4=yes
fi fi
if test "$_xdpms4" = yes ; then if test "$_xdpms4" = yes ; then
@ -1261,7 +1264,7 @@ if test "$_x11" = yes && test "$_xv" = auto ; then
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
_xv=no _xv=no
cc_check $_ld_x11 -lXv $_ld_sock && _xv=yes cc_check $_inc_x11 $_ld_x11 -lXv $_ld_sock && _xv=yes
else else
_xv=no _xv=no
fi fi
@ -1281,7 +1284,7 @@ if test "$_x11" = yes && test "$_xinerama" = auto ; then
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
_xinerama=no _xinerama=no
cc_check $_ld_x11 -lXinerama $_ld_sock && _xinerama=yes cc_check $_inc_x11 $_ld_x11 -lXinerama $_ld_sock && _xinerama=yes
else else
_xinerama=no _xinerama=no
fi fi
@ -1882,7 +1885,8 @@ fi
echocheck "XAnim DLL" echocheck "XAnim DLL"
if test "$_xanim" = auto ; then if test "$_xanim" = auto ; then
_xanim=no _xanim=no
if test "$_dl" = yes ; then # FreeBSD does not libdl
if freebsd || test "$_dl" = yes ; then
if test "$host_arch" = i386 ; then if test "$host_arch" = i386 ; then
if test -z "$_xanimlibdir" ; then if test -z "$_xanimlibdir" ; then
for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do
@ -1975,16 +1979,16 @@ if test "$_libavcodec" = auto ; then
_libavcodec=no _libavcodec=no
test -d libavcodec && test -f libavcodec/Makefile && _libavcodec=yes test -d libavcodec && test -f libavcodec/Makefile && _libavcodec=yes
fi fi
if test "$_libavcodec_so" = auto ; then if test "$_libavcodecso" = auto ; then
_libavcodec_so=no _libavcodecso=no
cat > $TMPC << EOF cat > $TMPC << EOF
#include <libffmpeg/avcodec.h> #include <libffmpeg/avcodec.h>
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
cc_check -lffmpeg -lm && _libavcodec_so=yes cc_check -lffmpeg -lm && _libavcodecso=yes
fi fi
_def_libavcodec='#undef USE_LIBAVCODEC' _def_libavcodec='#undef USE_LIBAVCODEC'
_def_libavcodec_so='#undef USE_LIBAVCODEC' _def_libavcodecso='#undef USE_LIBAVCODEC_SO'
_def_ffpostprocess='#undef FF_POSTPROCESS' _def_ffpostprocess='#undef FF_POSTPROCESS'
if test "$_libavcodec" = yes ; then if test "$_libavcodec" = yes ; then
_def_libavcodec='#define USE_LIBAVCODEC 1' _def_libavcodec='#define USE_LIBAVCODEC 1'
@ -1992,8 +1996,8 @@ if test "$_libavcodec" = yes ; then
_dep_libavcodec='libavcodec/libavcodec.a' _dep_libavcodec='libavcodec/libavcodec.a'
_def_ffpostprocess='#define FF_POSTPROCESS 1' _def_ffpostprocess='#define FF_POSTPROCESS 1'
echores "static libavcodec" echores "static libavcodec"
elif test "$_libavcodec_so" = yes ; then elif test "$_libavcodecso" = yes ; then
_def_libavcodec_so='#define USE_LIBAVCODEC_SO 1' _def_libavcodecso='#define USE_LIBAVCODEC_SO 1'
_ld_libavcodec='-lffmpeg' _ld_libavcodec='-lffmpeg'
_def_ffpostprocess='#define FF_POSTPROCESS 1' _def_ffpostprocess='#define FF_POSTPROCESS 1'
echores "dynamic libffmpeg.so" echores "dynamic libffmpeg.so"
@ -2412,7 +2416,7 @@ $_def_dshow
/* ffmpeg's libavcodec support (requires libavcodec source) */ /* ffmpeg's libavcodec support (requires libavcodec source) */
$_def_libavcodec $_def_libavcodec
$_def_libavcodec_so $_def_libavcodecso
/* use only decoders from libavcodec: */ /* use only decoders from libavcodec: */
#define CONFIG_DECODERS 1 #define CONFIG_DECODERS 1