Mercurial > mplayer.hg
comparison configure @ 7148:d48db6256efb
use dir/libname.a instead of -Ldir -lname
partially done by "Steven M. Schultz" <sms@2BSD.COM>
Note: some entries (libmpdvdkit, libdha) left unchanged as they may be
dynamic and not shipped with mplayer.
author | arpi |
---|---|
date | Thu, 29 Aug 2002 21:30:57 +0000 |
parents | 2c34499ef4af |
children | c672c79cb396 |
comparison
equal
deleted
inserted
replaced
7147:0541f7fb59bf | 7148:d48db6256efb |
---|---|
2818 _mp1e=no | 2818 _mp1e=no |
2819 fi | 2819 fi |
2820 if test "$_mp1e" != no ; then | 2820 if test "$_mp1e" != no ; then |
2821 _mp1e=yes | 2821 _mp1e=yes |
2822 _def_mp1e='#define USE_MP1E' | 2822 _def_mp1e='#define USE_MP1E' |
2823 _ld_mp1e="-Llibmp1e -lmp1e" | 2823 _ld_mp1e='libmp1e/libmp1e.a' |
2824 _dep_mp1e='libmp1e/libmp1e.a' | 2824 _dep_mp1e='libmp1e/libmp1e.a' |
2825 else | 2825 else |
2826 _mp1e=no | 2826 _mp1e=no |
2827 _def_mp1e='#undef USE_MP1E' | 2827 _def_mp1e='#undef USE_MP1E' |
2828 _ld_mp1e="" | 2828 _ld_mp1e="" |
2852 fi | 2852 fi |
2853 | 2853 |
2854 _def_fame='#undef USE_LIBFAME' | 2854 _def_fame='#undef USE_LIBFAME' |
2855 if test "$_fame" = yes ; then | 2855 if test "$_fame" = yes ; then |
2856 _def_fame='#define USE_LIBFAME 1' | 2856 _def_fame='#define USE_LIBFAME 1' |
2857 _ld_fame='-Llibfame -lfame' | 2857 _ld_fame='libfame/libfame.a' |
2858 fi | 2858 fi |
2859 | 2859 |
2860 | 2860 |
2861 ######### | 2861 ######### |
2862 # AUDIO # | 2862 # AUDIO # |
2863 ######### | 2863 ######### |
3368 test "$_win32libdir" && _win32=yes | 3368 test "$_win32libdir" && _win32=yes |
3369 fi | 3369 fi |
3370 fi | 3370 fi |
3371 if test "$_win32" = yes ; then | 3371 if test "$_win32" = yes ; then |
3372 _def_win32='#define USE_WIN32DLL 1' | 3372 _def_win32='#define USE_WIN32DLL 1' |
3373 _ld_win32='-Lloader -lloader' | 3373 _ld_win32='loader/libloader.a' |
3374 _dep_win32='loader/libloader.a' | 3374 _dep_win32='loader/libloader.a' |
3375 _codecmodules="win32 $_codecmodules" | 3375 _codecmodules="win32 $_codecmodules" |
3376 echores "yes (using $_win32libdir)" | 3376 echores "yes (using $_win32libdir)" |
3377 if openbsd ; then | 3377 if openbsd ; then |
3378 x86 && _ld_win32="$_ld_win32 -li386" | 3378 x86 && _ld_win32="$_ld_win32 -li386" |
3428 | 3428 |
3429 echores "$_dshow" | 3429 echores "$_dshow" |
3430 | 3430 |
3431 if test "$_dshow" = yes ; then | 3431 if test "$_dshow" = yes ; then |
3432 _def_dshow='#define USE_DIRECTSHOW 1' | 3432 _def_dshow='#define USE_DIRECTSHOW 1' |
3433 _ld_dshow='-Lloader/dshow -lDS_Filter' | 3433 _ld_dshow='loader/dshow/libDS_Filter.a' |
3434 _dep_dshow='loader/dshow/libDS_Filter.a' | 3434 _dep_dshow='loader/dshow/libDS_Filter.a' |
3435 _codecmodules="directshow $_codecmodules" | 3435 _codecmodules="directshow $_codecmodules" |
3436 else | 3436 else |
3437 _def_dshow='#undef USE_DIRECTSHOW' | 3437 _def_dshow='#undef USE_DIRECTSHOW' |
3438 _nocodecmodules="directshow $_nocodecmodules" | 3438 _nocodecmodules="directshow $_nocodecmodules" |
3650 _def_libavcodec='#undef USE_LIBAVCODEC' | 3650 _def_libavcodec='#undef USE_LIBAVCODEC' |
3651 _def_libavcodecso='#undef USE_LIBAVCODEC_SO' | 3651 _def_libavcodecso='#undef USE_LIBAVCODEC_SO' |
3652 _def_ffpostprocess='#undef FF_POSTPROCESS' | 3652 _def_ffpostprocess='#undef FF_POSTPROCESS' |
3653 if test "$_libavcodec" = yes ; then | 3653 if test "$_libavcodec" = yes ; then |
3654 _def_libavcodec='#define USE_LIBAVCODEC 1' | 3654 _def_libavcodec='#define USE_LIBAVCODEC 1' |
3655 _ld_libavcodec='-Llibavcodec -lavcodec' | 3655 _ld_libavcodec='libavcodec/libavcodec.a' |
3656 _dep_libavcodec='libavcodec/libavcodec.a' | 3656 _dep_libavcodec='libavcodec/libavcodec.a' |
3657 _def_ffpostprocess='#define FF_POSTPROCESS 1' | 3657 _def_ffpostprocess='#define FF_POSTPROCESS 1' |
3658 _codecmodules="libavcodec $_codecmodules" | 3658 _codecmodules="libavcodec $_codecmodules" |
3659 elif test "$_libavcodecso" = yes ; then | 3659 elif test "$_libavcodecso" = yes ; then |
3660 _def_libavcodec='#define USE_LIBAVCODEC 1' | 3660 _def_libavcodec='#define USE_LIBAVCODEC 1' |
3796 _nocodecmodules="divx4linux $_nocodecmodules" | 3796 _nocodecmodules="divx4linux $_nocodecmodules" |
3797 echores "DivX5linux (with libdivxdecore.so)" | 3797 echores "DivX5linux (with libdivxdecore.so)" |
3798 elif test "$_opendivx" != no ; then | 3798 elif test "$_opendivx" != no ; then |
3799 _divx4linux=no | 3799 _divx4linux=no |
3800 _opendivx=yes | 3800 _opendivx=yes |
3801 _ld_decore='-Lopendivx -ldecore' | 3801 _ld_decore='opendivx/libdecore.a' |
3802 _def_decore='#undef NEW_DECORE' | 3802 _def_decore='#undef NEW_DECORE' |
3803 _def_divx='#define USE_DIVX' | 3803 _def_divx='#define USE_DIVX' |
3804 _def_divx5='#undef DECORE_DIVX5' | 3804 _def_divx5='#undef DECORE_DIVX5' |
3805 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | 3805 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' |
3806 _codecmodules="opendivx $_codecmodules" | 3806 _codecmodules="opendivx $_codecmodules" |