Mercurial > mplayer.hg
comparison configure @ 28256:cd79547b7467
Support an "internal" dvdnav version to make it easier to compile with,
test and debug dvdnav SVN.
author | reimar |
---|---|
date | Sat, 10 Jan 2009 13:51:02 +0000 |
parents | 83266d299072 |
children | 4811678e9f05 |
comparison
equal
deleted
inserted
replaced
28255:aeefca2deed3 | 28256:cd79547b7467 |
---|---|
7773 | 7773 |
7774 #this must be the last test to be performed or the ones following it will likely fail | 7774 #this must be the last test to be performed or the ones following it will likely fail |
7775 #because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer | 7775 #because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer |
7776 # to use its own copy of the library) | 7776 # to use its own copy of the library) |
7777 echocheck "DVD support (libdvdnav)" | 7777 echocheck "DVD support (libdvdnav)" |
7778 dvdnav_internal=no | |
7778 if test "$_dvdnav" = auto ; then | 7779 if test "$_dvdnav" = auto ; then |
7779 if test "$_dvdread_internal" = yes ; then | 7780 if test "$_dvdread_internal" = yes ; then |
7780 _dvdnav=no | 7781 _dvdnav=yes |
7781 _res_comment="Disabled in favor of the internal copy of dvdread. Append --disable-dvdread-internal." | 7782 dvdnav_internal=yes |
7783 _res_comment="internal" | |
7782 else | 7784 else |
7783 $_dvdnavconfig --version --minilibs >> $TMPLOG 2>&1 || _dvdnav=no | 7785 $_dvdnavconfig --version --minilibs >> $TMPLOG 2>&1 || _dvdnav=no |
7784 fi | 7786 fi |
7785 fi | 7787 fi |
7786 if test "$_dvdnav" = auto ; then | 7788 if test "$_dvdnav" = auto ; then |
7795 cc_check $_dvdnavdir $_dvdnavlibs $_ld_dl $_ld_pthread && _dvdnav=yes | 7797 cc_check $_dvdnavdir $_dvdnavlibs $_ld_dl $_ld_pthread && _dvdnav=yes |
7796 fi | 7798 fi |
7797 if test "$_dvdnav" = yes ; then | 7799 if test "$_dvdnav" = yes ; then |
7798 _largefiles=yes | 7800 _largefiles=yes |
7799 _def_dvdnav='#define CONFIG_DVDNAV 1' | 7801 _def_dvdnav='#define CONFIG_DVDNAV 1' |
7802 if test "$dvdnav_internal" = yes ; then | |
7803 _inc_extra="$_inc_extra -Ilibdvdnav" | |
7804 else | |
7800 _inc_extra="$_inc_extra `$_dvdnavconfig --cflags`" | 7805 _inc_extra="$_inc_extra `$_dvdnavconfig --cflags`" |
7801 _ld_extra="$_ld_extra `$_dvdnavconfig --minilibs`" | 7806 _ld_extra="$_ld_extra `$_dvdnavconfig --minilibs`" |
7807 fi | |
7802 _inputmodules="dvdnav $_inputmodules" | 7808 _inputmodules="dvdnav $_inputmodules" |
7803 else | 7809 else |
7804 _def_dvdnav='#undef CONFIG_DVDNAV' | 7810 _def_dvdnav='#undef CONFIG_DVDNAV' |
7805 _noinputmodules="dvdnav $_noinputmodules" | 7811 _noinputmodules="dvdnav $_noinputmodules" |
7806 fi | 7812 fi |
7973 DIRECT3D = $_direct3d | 7979 DIRECT3D = $_direct3d |
7974 DIRECTFB = $_directfb | 7980 DIRECTFB = $_directfb |
7975 DIRECTX = $_directx | 7981 DIRECTX = $_directx |
7976 DVBIN = $_dvbin | 7982 DVBIN = $_dvbin |
7977 DVDNAV = $_dvdnav | 7983 DVDNAV = $_dvdnav |
7984 DVDNAV_INTERNAL = $dvdnav_internal | |
7978 DVDREAD = $_dvdread | 7985 DVDREAD = $_dvdread |
7979 DVDREAD_INTERNAL = $_dvdread_internal | 7986 DVDREAD_INTERNAL = $_dvdread_internal |
7980 DXR2 = $_dxr2 | 7987 DXR2 = $_dxr2 |
7981 DXR3 = $_dxr3 | 7988 DXR3 = $_dxr3 |
7982 ESD = $_esd | 7989 ESD = $_esd |