Mercurial > mplayer.hg
comparison configure @ 35725:e1d80c588710
configure: Add windows.h check for libavutil
based on patches by Erik Auerswald, auerswal unix-ag.uni-kl de
and Josh Finch, joshf87 live com
author | diego |
---|---|
date | Mon, 21 Jan 2013 23:35:35 +0000 |
parents | 3df8c6cea70a |
children | bbc4ec3bf5bc |
comparison
equal
deleted
inserted
replaced
35724:3df8c6cea70a | 35725:e1d80c588710 |
---|---|
3786 def_direct_h='#define HAVE_DIRECT_H 1' | 3786 def_direct_h='#define HAVE_DIRECT_H 1' |
3787 else | 3787 else |
3788 def_direct_h='#define HAVE_DIRECT_H 0' | 3788 def_direct_h='#define HAVE_DIRECT_H 0' |
3789 fi | 3789 fi |
3790 echores "$_direct_h" | 3790 echores "$_direct_h" |
3791 | |
3792 | |
3793 echocheck "windows.h" | |
3794 windows_h=no | |
3795 def_windows_h='#define HAVE_WINDOWS_H 0' | |
3796 header_check windows.h && windows_h=yes && def_windows_h='#define HAVE_WINDOWS_H 1' | |
3797 echores "$windows_h" | |
3798 | |
3799 | |
3791 echocheck "io.h" | 3800 echocheck "io.h" |
3792 _io_h=no | 3801 _io_h=no |
3793 header_check io.h && _io_h=yes | 3802 header_check io.h && _io_h=yes |
3794 if [ $_io_h = yes ]; then | 3803 if [ $_io_h = yes ]; then |
3795 def_io_h='#define HAVE_IO_H 1' | 3804 def_io_h='#define HAVE_IO_H 1' |
8925 /* headers */ | 8934 /* headers */ |
8926 $def_arpa_inet_h | 8935 $def_arpa_inet_h |
8927 $def_direct_h | 8936 $def_direct_h |
8928 $def_io_h | 8937 $def_io_h |
8929 $def_poll_h | 8938 $def_poll_h |
8939 $def_windows_h | |
8930 | 8940 |
8931 /* external libraries */ | 8941 /* external libraries */ |
8932 $def_bzlib | 8942 $def_bzlib |
8933 $def_crystalhd | 8943 $def_crystalhd |
8934 $def_faac_lavc | 8944 $def_faac_lavc |