[MPlayer-cvslog] r35834 - trunk/configure

KO Myung-Hun komh78 at gmail.com
Thu Jan 24 16:46:45 CET 2013



diego wrote:
> Author: diego
> Date: Wed Jan 23 17:04:28 2013
> New Revision: 35834
> 
> Log:
> configure: Unset HAVE_DIRECT_H if direct.h is not available.
> 
> libdvdcss checks the value of that preprocessor symbol via #ifdef,
> so it needs to be explicitly undefined, not set to zero.
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Wed Jan 23 15:36:36 2013	(r35833)
> +++ trunk/configure	Wed Jan 23 17:04:28 2013	(r35834)
> @@ -3785,7 +3785,8 @@ header_check direct.h && _direct_h=yes
>  if [ $_direct_h = yes ]; then
>    def_direct_h='#define HAVE_DIRECT_H 1'
>  else
> -  def_direct_h='#define HAVE_DIRECT_H 0'
> +  # libdvdcss checks this via #ifdef, so we need #undef here.
> +  def_direct_h='#undef HAVE_DIRECT_H'
>  fi
>  echores "$_direct_h"

libavformat/os_support.h uses #if although it is guarded by WIN32.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.22 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr



More information about the MPlayer-cvslog mailing list