Mercurial > mplayer.hg
comparison configure @ 35713:3f1ba7f174c5
configure: Unconditionally check for io.h and direct.h
They are used in libavutil, libavformat and libdvdcss, not only on Win32.
author | diego |
---|---|
date | Mon, 21 Jan 2013 18:21:55 +0000 |
parents | e9ca16ecb106 |
children | fc36990b6ae5 |
comparison
equal
deleted
inserted
replaced
35712:d206960484fe | 35713:3f1ba7f174c5 |
---|---|
3758 _w32threads=no | 3758 _w32threads=no |
3759 mingw32 && _w32threads=yes | 3759 mingw32 && _w32threads=yes |
3760 fi | 3760 fi |
3761 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' | 3761 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' |
3762 echores "$_w32threads" | 3762 echores "$_w32threads" |
3763 fi #if win32; then | |
3764 | |
3765 | |
3763 echocheck "direct.h" | 3766 echocheck "direct.h" |
3764 _direct_h=no | 3767 _direct_h=no |
3765 header_check direct.h && _direct_h=yes | 3768 header_check direct.h && _direct_h=yes |
3766 if [ $_direct_h = yes ]; then | 3769 if [ $_direct_h = yes ]; then |
3767 def_direct_h='#define HAVE_DIRECT_H 1' | 3770 def_direct_h='#define HAVE_DIRECT_H 1' |
3776 def_io_h='#define HAVE_IO_H 1' | 3779 def_io_h='#define HAVE_IO_H 1' |
3777 else | 3780 else |
3778 def_io_h='#define HAVE_IO_H 0' | 3781 def_io_h='#define HAVE_IO_H 0' |
3779 fi | 3782 fi |
3780 echores "$_io_h" | 3783 echores "$_io_h" |
3781 fi #if win32; then | |
3782 | 3784 |
3783 | 3785 |
3784 if os2 ; then | 3786 if os2 ; then |
3785 echocheck "os2threads" | 3787 echocheck "os2threads" |
3786 if test "$_pthreads" = yes ; then | 3788 if test "$_pthreads" = yes ; then |