comparison configure @ 35156:101333b48b4e

Detect direct.h and io.h on Windows. Patch by Stephen Sheldon, sfsheldo gmail
author cehoyos
date Mon, 15 Oct 2012 22:04:14 +0000
parents 0dce150a6f51
children 5e11b54c9212
comparison
equal deleted inserted replaced
35155:303bf4bab982 35156:101333b48b4e
3718 _w32threads=no 3718 _w32threads=no
3719 mingw32 && _w32threads=yes 3719 mingw32 && _w32threads=yes
3720 fi 3720 fi
3721 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' 3721 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1'
3722 echores "$_w32threads" 3722 echores "$_w32threads"
3723 echocheck "direct.h"
3724 _direct_h=no
3725 header_check direct.h && _direct_h=yes
3726 if [ $_direct_h = yes ]; then
3727 def_direct_h='#define HAVE_DIRECT_H 1'
3728 else
3729 def_direct_h='#define HAVE_DIRECT_H 0'
3730 fi
3731 echores "$_direct_h"
3732 echocheck "io.h"
3733 _io_h=no
3734 header_check io.h && _io_h=yes
3735 if [ $_io_h = yes ]; then
3736 def_io_h='#define HAVE_IO_H 1'
3737 else
3738 def_io_h='#define HAVE_IO_H 0'
3739 fi
3740 echores "$_io_h"
3723 fi #if win32; then 3741 fi #if win32; then
3724 3742
3725 3743
3726 if os2 ; then 3744 if os2 ; then
3727 echocheck "os2threads" 3745 echocheck "os2threads"
8946 $def_librtmp 8964 $def_librtmp
8947 $def_libschroedinger_lavc 8965 $def_libschroedinger_lavc
8948 $def_mp3lame_lavc 8966 $def_mp3lame_lavc
8949 $def_x264_lavc 8967 $def_x264_lavc
8950 $def_xvid_lavc 8968 $def_xvid_lavc
8969 $def_direct_h
8970 $def_io_h
8951 8971
8952 $(ff_config_enable "$libavdecoders_all" "$libavdecoders" "#") 8972 $(ff_config_enable "$libavdecoders_all" "$libavdecoders" "#")
8953 $(ff_config_enable "$libavencoders_all" "$libavencoders" "#") 8973 $(ff_config_enable "$libavencoders_all" "$libavencoders" "#")
8954 $(ff_config_enable "$libavparsers_all" "$libavparsers" "#") 8974 $(ff_config_enable "$libavparsers_all" "$libavparsers" "#")
8955 $(ff_config_enable "$libavdemuxers_all" "$libavdemuxers" "#") 8975 $(ff_config_enable "$libavdemuxers_all" "$libavdemuxers" "#")