comparison configure @ 18979:494e8de479aa

10l, xvmclib(dir) does not specify a directory name.
author diego
date Sun, 09 Jul 2006 17:00:23 +0000
parents 9f97ca988ea7
children 73b8f5ff772d
comparison
equal deleted inserted replaced
18978:9f97ca988ea7 18979:494e8de479aa
419 --with-toolamedir=DIR path to Toolame library and include file 419 --with-toolamedir=DIR path to Toolame library and include file
420 --with-xmmsplugindir=DIR XMMS plugins in DIR 420 --with-xmmsplugindir=DIR XMMS plugins in DIR
421 --with-xmmslibdir=DIR libxmms.so.1 in DIR 421 --with-xmmslibdir=DIR libxmms.so.1 in DIR
422 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR (*) 422 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR (*)
423 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR (*) 423 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR (*)
424 --with-xvmclibdir=NAME name of adapter-specific library (e.g. XvMCNVIDIA) 424 --with-xvmclib=NAME name of adapter-specific library (e.g. XvMCNVIDIA)
425 --with-termcaplib=NAME name of library with termcap functionality 425 --with-termcaplib=NAME name of library with termcap functionality
426 name should be given without leading "lib" 426 name should be given without leading "lib"
427 checks for "termcap" and "tinfo" 427 checks for "termcap" and "tinfo"
428 428
429 --with-freetype-config=PATH path to freetype-config 429 --with-freetype-config=PATH path to freetype-config
3867 int main(void) { 3867 int main(void) {
3868 (void) XvMCQueryExtension(0,0,0); 3868 (void) XvMCQueryExtension(0,0,0);
3869 (void) XvMCCreateContext(0,0,0,0,0,0,0); 3869 (void) XvMCCreateContext(0,0,0,0,0,0,0);
3870 return 0; } 3870 return 0; }
3871 EOF 3871 EOF
3872 for _ld_tmp in $_xvmclibdir XvMCNVIDIA XvMCW I810XvMC ; do 3872 for _ld_tmp in $_xvmclib XvMCNVIDIA XvMCW I810XvMC ; do
3873 cc_check $_inc_x11 -lXvMC -l$_ld_tmp $_ld_xv $_ld_x11 && _xvmc=yes && _xvmclibdir="$_ld_tmp" && break 3873 cc_check $_inc_x11 -lXvMC -l$_ld_tmp $_ld_xv $_ld_x11 && _xvmc=yes && _xvmclib="$_ld_tmp" && break
3874 done 3874 done
3875 fi 3875 fi
3876 if test "$_xvmc" = yes ; then 3876 if test "$_xvmc" = yes ; then
3877 _def_xvmc='#define HAVE_XVMC 1' 3877 _def_xvmc='#define HAVE_XVMC 1'
3878 _ld_xvmc="-lXvMC -l$_xvmclibdir" 3878 _ld_xvmc="-lXvMC -l$_xvmclib"
3879 _vosrc="$_vosrc vo_xvmc.c" 3879 _vosrc="$_vosrc vo_xvmc.c"
3880 _vomodules="xvmc $_vomodules" 3880 _vomodules="xvmc $_vomodules"
3881 _res_comment="using $_xvmclibdir" 3881 _res_comment="using $_xvmclib"
3882 else 3882 else
3883 _def_xvmc='#undef HAVE_XVMC' 3883 _def_xvmc='#undef HAVE_XVMC'
3884 _novomodules="xvmc $_novomodules" 3884 _novomodules="xvmc $_novomodules"
3885 fi 3885 fi
3886 echores "$_xvmc" 3886 echores "$_xvmc"