Don't build ttyemu and run tty I/O test if grantpt is not available.
[debian/tar] / tests / Makefile.am
index fd2def56accfd67708f7349b3eb64932d3cb6937..6684d1d89952ef71a4dc60106442b560936d883d 100644 (file)
@@ -263,7 +263,11 @@ installcheck-local:
 ## genfile      ##
 ## ------------ ##
 
-check_PROGRAMS = genfile ttyemu
+check_PROGRAMS = genfile
+
+if TAR_COND_GRANTPT
+check_PROGRAMS += ttyemu
+endif
 
 genfile_SOURCES = genfile.c argcv.c argcv.h