1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

Check for termios.h before sys/termios.h.

The former location is the more current and standard variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31176 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-05-14 15:34:30 +00:00
parent b6bcfb4f00
commit 0a33fdb83a

2
configure vendored
View File

@ -3855,7 +3855,7 @@ def_termios_h='#undef HAVE_TERMIOS_H'
def_termios_sys_h='#undef HAVE_SYS_TERMIOS_H'
if test "$_termios" = auto ; then
_termios=no
for _termios_header in "sys/termios.h" "termios.h"; do
for _termios_header in "termios.h" "sys/termios.h"; do
cat > $TMPC <<EOF
#include <$_termios_header>
int main(void) { return 0; }