Don't build ttyemu and run tty I/O test if grantpt is not available.

* configure.ac (TAR_COND_GRANTPT): Define conditional depending
on whether grantpt is available.
* gnulib.modules: Remove grantpt. It relies upon a helper binary
pt_chown which it installs and which is useless in the testsuite.
* tests/Makefile.am [TAR_COND_GRANTPT]: Build ttyemu
* tests/iotty.at: Skip test if ttyemu is not build.
* tests/ttyemu.c (noecho): Fix error message
(main): Use TIOCSCTTY if it is defined.
This commit is contained in:
Sergey Poznyakoff
2014-07-22 04:29:25 +03:00
parent 20ab569dc3
commit a5db4ba5cb
5 changed files with 11 additions and 5 deletions
-1
View File
@@ -50,7 +50,6 @@ getpagesize
gettext
gettime
gitlog-to-changelog
grantpt
hash
human
inttostr