mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 12:02:39 +00: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:
parent
b6bcfb4f00
commit
0a33fdb83a
2
configure
vendored
2
configure
vendored
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user