mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Remove unneded includes in autoconf tesst and add possibly needed one. Thanks to Netocrat.
darcs-hash:20060810192359-ac50b-8e38e24ada59928cf6f37e7ed625fe40a34fd5d7.gz
This commit is contained in:
parent
4b0810d7e9
commit
441c109afb
1 changed files with 2 additions and 5 deletions
|
@ -304,9 +304,6 @@ fi
|
||||||
AC_MSG_CHECKING([if struct winsize and TIOCGWINSZ exist])
|
AC_MSG_CHECKING([if struct winsize and TIOCGWINSZ exist])
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM([
|
[AC_LANG_PROGRAM([
|
||||||
#include <sys/types.h>
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TERMIOS_H
|
#ifdef HAVE_SYS_TERMIOS_H
|
||||||
#include <sys/termios.h>
|
#include <sys/termios.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -315,8 +312,8 @@ AC_LINK_IFELSE(
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SIGINFO_H
|
#ifdef HAVE_STROPTS_H
|
||||||
#include <siginfo.h>
|
#include <stropts.h>
|
||||||
#endif],
|
#endif],
|
||||||
[struct winsize termsize = {0}; TIOCGWINSZ;])],
|
[struct winsize termsize = {0}; TIOCGWINSZ;])],
|
||||||
[AC_MSG_RESULT(yes); AC_DEFINE([HAVE_WINSIZE], [1], [Define to 1 if the winsize struct and TIOCGWINSZ macro exist])],
|
[AC_MSG_RESULT(yes); AC_DEFINE([HAVE_WINSIZE], [1], [Define to 1 if the winsize struct and TIOCGWINSZ macro exist])],
|
||||||
|
|
Loading…
Reference in a new issue