1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-11 09:51:56 +02:00

Add check for HAVE_FIONREAD_IN_SYS_IOCTL.

This commit is contained in:
Paul Eggert
2005-07-08 22:53:50 +00:00
parent 64890758cf
commit cb59a7d3d0

View File

@@ -244,6 +244,12 @@ if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no && \
[Define if your system defines TIOCGWINSZ in sys/pty.h.])
fi
# For src/cat.c.
AC_CHECK_DECL([FIONREAD],
[AC_DEFINE([HAVE_FIONREAD_IN_SYS_IOCTL], 1,
[Define to 1 if <sys/ioctl.h> defines FIONREAD.])],
[], [#include <sys/ioctl.h>])
# For src/kill.c.
AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist, __sys_siglist], , ,
[AC_INCLUDES_DEFAULT