fix gdbtui build errors when pipe() is not available (e.g. mingw targets)

* configure.ac (AC_CHECK_FUNCS): Check for pipe.
	* config.in, configure: Regenerate.
	* tui/tui-io.c (TUI_USE_PIPE_FOR_READLINE): Define if HAVE_PIPE.
This commit is contained in:
Mike Frysinger
2009-07-20 15:24:55 +00:00
parent b4d1e8c700
commit a156a29064
5 changed files with 13 additions and 2 deletions

View File

@ -785,7 +785,7 @@ AC_FUNC_ALLOCA
AC_FUNC_MMAP
AC_FUNC_VFORK
AC_CHECK_FUNCS([canonicalize_file_name realpath getrusage getuid \
getgid poll pread64 sbrk setpgid setpgrp setsid \
getgid pipe poll pread64 sbrk setpgid setpgrp setsid \
sigaction sigprocmask sigsetmask socketpair syscall \
ttrace wborder setlocale iconvlist libiconvlist btowc])
AM_LANGINFO_CODESET